diff --git a/src/views/business/stockOrderNewDistribution.vue b/src/views/business/stockOrderNewDistribution.vue index 3f8d3d5..9f4d52b 100644 --- a/src/views/business/stockOrderNewDistribution.vue +++ b/src/views/business/stockOrderNewDistribution.vue @@ -185,10 +185,11 @@ :remote-method="findDeptMethod" :loading="loading" @focus="findDeptMethod('')" + @change="ksChange" > @@ -1216,6 +1217,9 @@ export default { this.invChange(); this.findStorageMethod(); }, + ksChange(code){ + this.formData.deptCode=code; + }, subStorageChange() { 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.orderIdFk = this.idQuery.id; this.formData = this.idQuery.formData; + this.formData.deptCode=this.idQuery.formData.dept this.orderEditor = true; this.sValue = this.formData.corpName; this.getStockOrderDetailList(); - } else { this.formData = { billNo: null,