|
|
|
@ -277,9 +277,7 @@ export default {
|
|
|
|
|
submitFunction(status) {
|
|
|
|
|
let tMessage = status === '1' ? '保存' : '提交';
|
|
|
|
|
this.loading = true;
|
|
|
|
|
this.formData.id=this.pId;
|
|
|
|
|
this.formData.invCode=this.$store.getters.locInvCode
|
|
|
|
|
this.formData.deptCode=this.$store.getters.locDeptCode
|
|
|
|
|
this.formData.id=this.pId;
|
|
|
|
|
let tQuery = {
|
|
|
|
|
editStatus: status,
|
|
|
|
|
purPlanEntity: this.formData,
|
|
|
|
@ -314,8 +312,8 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
this.thisData.stockOrderLists = this.codeArray;
|
|
|
|
|
},
|
|
|
|
|
setDeptCode(obj){
|
|
|
|
|
this.formData.deptCode= this.subInvList.find(item => item.code == obj).parentId;
|
|
|
|
|
setDeptCode(obj){
|
|
|
|
|
this.formData.deptCode= this.invCodeList.find(item => item.code == obj).parentId;
|
|
|
|
|
},
|
|
|
|
|
closeDialogC2() {
|
|
|
|
|
this.selectProductVisible = false;
|
|
|
|
|