|
@@ -69,6 +69,7 @@
|
|
|
style="width: 100%;"
|
|
|
size="small"
|
|
|
placeholder="请选择"
|
|
|
+ :disabled="item.disabled ? item.disabled : false"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="(item, index) in item.dicData"
|
|
@@ -311,8 +312,7 @@
|
|
|
type="primary"
|
|
|
@click="importGoods"
|
|
|
:disabled="selectionList.length == 0"
|
|
|
- >导入</el-button
|
|
|
- >
|
|
|
+ >导入</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
@@ -549,6 +549,7 @@ export default {
|
|
|
children: "children"
|
|
|
}
|
|
|
},
|
|
|
+ roleName: localStorage.getItem("roleName").split(','),
|
|
|
goodsOption: goodsOption,
|
|
|
loading: false,
|
|
|
goodsList: [],
|
|
@@ -607,6 +608,12 @@ export default {
|
|
|
this.oldBuyFree = this.deepClone(this.contactsDataBuyFree);
|
|
|
delete this.form.specialItemList;
|
|
|
delete this.form.presentItemList;
|
|
|
+ if (this.form.auditStatus === 0){
|
|
|
+ this.findObject(this.basicData.column, "status").disabled = true
|
|
|
+ if (this.roleName.indexOf('admin') !== -1){
|
|
|
+ this.findObject(this.basicData.column, "status").disabled = false
|
|
|
+ }
|
|
|
+ }
|
|
|
this.getItemdetail();
|
|
|
this.openFullScreen(true);
|
|
|
})
|