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

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

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

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

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

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

Loading…
Cancel
Save