diff --git a/src/views/basic/BussinessTypeLoclModify.vue b/src/views/basic/BussinessTypeLoclModify.vue index 8289850..bf3e71b 100644 --- a/src/views/basic/BussinessTypeLoclModify.vue +++ b/src/views/basic/BussinessTypeLoclModify.vue @@ -393,7 +393,7 @@ export default { key: query, onlyMain: true, } - + getOriginBusType(tQuery) .then((response) => { this.originTypes = response.data.list || []; diff --git a/src/views/purchase/purPlanEditDialog.vue b/src/views/purchase/purPlanEditDialog.vue index de750cc..99f3eb4 100644 --- a/src/views/purchase/purPlanEditDialog.vue +++ b/src/views/purchase/purPlanEditDialog.vue @@ -54,6 +54,27 @@ + + +
+ 采购类型: +
+
+ + + + + {{ item.originName }} + + + + +
采购仓库: @@ -85,6 +106,10 @@ + + + +
采购说明: @@ -197,6 +222,7 @@ import stockOrderNewSelectProduct from "../business/stockOrderNewSelectProduct"; import {inserThrOrderWeb, delApplyDetail, listApplyDetail} from "@/api/purchase/purPlan"; import {filterAllByUser} from "@/api/basic/invWarehouse"; import {filterSubByInv} from "@/api/basic/invSubWarehouse"; +import {getBusChange} from "@/api/basic/busTypeChange"; export default { name: "idQuery", @@ -371,7 +397,9 @@ export default { if (this.orderEditor) { this.detailLoading = true; if (this.$isNotBlank(row.id)) { - delApplyDetail(row.id) + let delIds = []; + delIds.push(row.id) + delApplyDetail(delIds) .then(response => { this.detailLoading = false; if (response.code === 20000) { @@ -450,6 +478,18 @@ export default { this.formData.locStorageCode = item; this.findSubInvs(); }, + getBusType() { + let query = { + enable: false, + type: 3, + }; + getBusChange(query) + .then((response) => { + this.busTypes = response.data.list || []; + }) + .catch(() => { + }); + }, }, filters: {}, mounted() { @@ -480,6 +520,7 @@ export default { this.orderEditor = false; } this.getStorage(); + this.getBusType(); this.codeArray = []; }, }; diff --git a/src/views/purchase/pureApplyDetailDialog.vue b/src/views/purchase/pureApplyDetailDialog.vue index 4a6e369..2be73b0 100644 --- a/src/views/purchase/pureApplyDetailDialog.vue +++ b/src/views/purchase/pureApplyDetailDialog.vue @@ -1,191 +1,239 @@ diff --git a/src/views/thrsys/thrOrderNew.vue b/src/views/thrsys/thrOrderNew.vue index e57713f..ed0a823 100644 --- a/src/views/thrsys/thrOrderNew.vue +++ b/src/views/thrsys/thrOrderNew.vue @@ -916,6 +916,7 @@ export default { }, getBusType() { let query = { + type: 1, enable: false, }; getBusChange(query)