修改bug

zhairh
wangwei 3 years ago
parent c0203b47a7
commit f7be2225cd

@ -185,10 +185,11 @@
:remote-method="findDeptMethod" :remote-method="findDeptMethod"
:loading="loading" :loading="loading"
@focus="findDeptMethod('')" @focus="findDeptMethod('')"
@change="ksChange"
> >
<el-option <el-option
v-for="item in fromDeptOptions" v-for="item in fromDeptOptions"
:key="item.id" :key="item.code"
:label="item.name" :label="item.name"
:value="item.code" :value="item.code"
> >
@ -1216,6 +1217,9 @@ export default {
this.invChange(); this.invChange();
this.findStorageMethod(); this.findStorageMethod();
}, },
ksChange(code){
this.formData.deptCode=code;
},
subStorageChange() { subStorageChange() {
this.formData.locStorageCode= this.subInvList.find(item => item.code == this.formData.invWarehouseCode).parentId this.formData.locStorageCode= this.subInvList.find(item => item.code == this.formData.invWarehouseCode).parentId
@ -1273,10 +1277,10 @@ export default {
this.query.limit = 100; this.query.limit = 100;
this.query.orderIdFk = this.idQuery.id; this.query.orderIdFk = this.idQuery.id;
this.formData = this.idQuery.formData; this.formData = this.idQuery.formData;
this.formData.deptCode=this.idQuery.formData.dept
this.orderEditor = true; this.orderEditor = true;
this.sValue = this.formData.corpName; this.sValue = this.formData.corpName;
this.getStockOrderDetailList(); this.getStockOrderDetailList();
} else { } else {
this.formData = { this.formData = {
billNo: null, billNo: null,

Loading…
Cancel
Save