|
@@ -775,7 +775,7 @@
|
|
|
<el-select
|
|
|
v-model="form.fBusinessType"
|
|
|
filterable
|
|
|
- :disabled="browseStatus"
|
|
|
+ :disabled="contrOl"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="(dict, index) in businessTypeOption"
|
|
@@ -2535,6 +2535,7 @@ export default {
|
|
|
warehouseDrList: [],
|
|
|
printinglist: [],
|
|
|
browseStatus: false,
|
|
|
+ contrOl:false,
|
|
|
relevantAttachments: [],
|
|
|
// 非单个禁用
|
|
|
single: true,
|
|
@@ -2669,7 +2670,7 @@ export default {
|
|
|
fCorpid: null,
|
|
|
fTrademodeid: null,
|
|
|
fWarehouseid: null,
|
|
|
- fBusinessType: '出库装箱'
|
|
|
+ fBusinessType: '出库装箱',
|
|
|
},
|
|
|
// 表单校验
|
|
|
rules: {
|
|
@@ -3144,7 +3145,6 @@ export default {
|
|
|
},
|
|
|
// 库存总账导出数据
|
|
|
whgenlegData() {
|
|
|
-
|
|
|
if (this.dialogWhgenlegList.length === 0) {
|
|
|
this.$message({ message: "未勾选信息", type: "warning" });
|
|
|
return false;
|
|
@@ -3197,6 +3197,7 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
this.whgenlegVisible = false;
|
|
|
+ this.contrOl = true
|
|
|
},
|
|
|
// 收货单打印界面
|
|
|
showEditDialog_s() {
|
|
@@ -3538,10 +3539,14 @@ export default {
|
|
|
this.relevantAttachments = [];
|
|
|
this.title = "出库单";
|
|
|
this.formBrowseStatus = false;
|
|
|
+ this.form.fFeetunit = 2
|
|
|
},
|
|
|
/** 修改按钮操作 */
|
|
|
handleUpdate(row, status) {
|
|
|
this.reset();
|
|
|
+ if (this.dataList.length === 0){
|
|
|
+ this.contrOl = true
|
|
|
+ }
|
|
|
this.browseStatus = status;
|
|
|
this.detailsHidden = false;
|
|
|
this.formBrowseStatus = false;
|
|
@@ -4251,6 +4256,7 @@ export default {
|
|
|
rows.splice(index, 1);
|
|
|
if (this.dataList.length === 0) {
|
|
|
this.formBrowseStatus = false
|
|
|
+ this.contrOl = false
|
|
|
return false
|
|
|
}
|
|
|
for (let li in this.dataList) {
|