修改关联第三方仓库和单据提交bug

wang
郑明梁 3 years ago
parent af3bb1cd6e
commit 4f6b82910f

@ -490,7 +490,7 @@
<div style="margin-top: 18px;margin-bottom: 18px">
<el-checkbox v-model="editQuery.isDisable" class=""
@change="diableChange"
>是否禁用{{editQuery.isDisable}}
>是否禁用
</el-checkbox>
<el-checkbox v-model="editQuery.isAdavence" class=""
>是否寄售

@ -1767,10 +1767,12 @@ export default {
},
intentSelect(row) {
debugger
this.thrWareHouseVisible = true;
if (row != null) {
this.currentSysId = row.sysId;
this.thirdQuery.thirdSysFk = this.currentSysId;
this.thirdQuery.status=1
}
console.log(" this.currentSysId = " + this.currentSysId);

@ -821,9 +821,10 @@ export default {
},
getFormStorageCode(code) {
var row= this.fromSubStorageOptions.find(item => item.code == code)
this.formData.subInvCode=row.parentId
this.formData.fromSubInvCode = row.code
this.formData.fromCorpId = row.parentId;
this.formData.fromCorp = row.name;
this.formData.fromCorpId = row.code;
this.formData.fromCorp = row.warehouseName;
},
ksChange(code){
this.formData.deptCode=code;
@ -1007,6 +1008,9 @@ export default {
},
findSubStorageMethod(val) {
if(this.subInvList.length>0){
this.query.invStorageCode= this.subInvList.find(item => item.code == this.formData.invWarehouseCode).parentId
}
this.getBusType();
let cQuery = {
code: this.formData.invWarehouseCode,

@ -274,7 +274,7 @@ export default {
this.$message.success("删除成功");
this.getList();
} else {
this.$message.success(response.message);
this.$message.error(response.message);
}
})
.catch(() => {

Loading…
Cancel
Save