修改单据产品录入问题

zhairh
郑明梁 3 years ago
parent f4807835cb
commit a74fcb5761

@ -1203,6 +1203,7 @@ export default {
this.detailList.forEach((item, index, array) => {
this.detailList[index].isAdavence=item.adavence
this.detailList[index].isDisable=item.disable
this.detailList[index].useMuti=item.useMuti
if (item.zxxsbzbhsydysl > 1) {
this.isUseDyCheck = true;
}

@ -604,6 +604,9 @@ export default {
this.detailList = [];
} else {
this.$message.error(response.message);
this.list = [];
this.total = 0;
this.detailList = [];
}
})
.catch(() => {
@ -797,6 +800,9 @@ export default {
}
},
getBusType() {
if(this.subInvList.length>0){
this.query.locStorageCode= this.subInvList.find(item => item.code == this.query.invWarehouseCode).parentId
}
let query = {
code: this.query.invWarehouseCode,
enabled: true,

@ -62,7 +62,6 @@
</el-col>
<el-col :span="7">
<el-form-item prop="corpName">
<el-input v-model="formData.corpName" auto-complete="off" :disabled="true"></el-input>
<el-input v-if="formData.fromSubInvName !=null" v-model="formData.fromSubInvName"
auto-complete="off" :disabled="true"></el-input>
</el-form-item>
@ -570,7 +569,6 @@ export default {
});
},
selectProductFunction(event) {
if (event == null) {
// this.$refs.inputRef.focus();
} else {
@ -609,10 +607,10 @@ export default {
};
this.selectInvProductVisible = true;
} else {
this.invQueryData.corpId = this.formData.corpId;
this.thisData.noInvOut = this.formData.noInvOut;
this.selectProductVisible = true;
}
return;
}
this.code = this.code.trim();

@ -641,6 +641,8 @@ export default {
this.detailList = [];
} else {
this.$message.error(response.message);
this.list = [];
this.total = 0;
}
})
.catch(() => {
@ -871,6 +873,9 @@ export default {
}
},
getBusType() {
if(this.subInvList.length>0){
this.query.locStorageCode= this.subInvList.find(item => item.code == this.query.invWarehouseCode).parentId
}
let query = {
code: this.query.invWarehouseCode,
enabled: true,

Loading…
Cancel
Save