|
|
|
@ -141,7 +141,7 @@
|
|
|
|
|
import draggable from "vuedraggable";
|
|
|
|
|
import purPlanProducts from "@/views/purchase/purPlan/purOrderSelectProduct";
|
|
|
|
|
import {auditOrder, delApplyDetail, listApplyDetail} from "@/api/purchase/purPlan";
|
|
|
|
|
import {filterAllByUser} from "@/api/system/invWarehouse";
|
|
|
|
|
import {filterAllByUser,selectByCode} from "@/api/system/invWarehouse";
|
|
|
|
|
import {filterSubByInv} from "@/api/system/invSubWarehouse";
|
|
|
|
|
import {getLocalJoinByUser} from "@/api/basic/busType";
|
|
|
|
|
|
|
|
|
@ -378,7 +378,7 @@ export default {
|
|
|
|
|
if(this.formData.targetSubInv!=null && this.tarSubList.length>0){
|
|
|
|
|
this.formData.targetDeptCode= this.subInvList.find(item => item.code == this.formData.targetSubInv).parentId
|
|
|
|
|
}
|
|
|
|
|
this.tarSubList = [];
|
|
|
|
|
this.tarSubList = [];
|
|
|
|
|
let query = {
|
|
|
|
|
pcode: 1000
|
|
|
|
|
};
|
|
|
|
@ -408,6 +408,16 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
debugger
|
|
|
|
|
let query1 = {
|
|
|
|
|
code: this.formData.targetSubInv,
|
|
|
|
|
};
|
|
|
|
|
selectByCode(query1)
|
|
|
|
|
.then((res) => {
|
|
|
|
|
if (res.code === 20000) {
|
|
|
|
|
this.formData.targetDeptCode=res.data
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|