diff --git a/src/api/thrsys/thrOrder.js b/src/api/thrsys/thrOrder.js index 479c217..9f166be 100644 --- a/src/api/thrsys/thrOrder.js +++ b/src/api/thrsys/thrOrder.js @@ -24,6 +24,15 @@ export function delThrOrders(query) { }); } +export function delOrderDetail(query) { + return axios({ + url: "/udiwms/thrsys/delOrderDetail", + method: "post", + data: query + }); +} + + export function delAll(query) { return axios({ url: "/udiwms/thrsys/order/delAll", diff --git a/src/views/business/selectThrOrder.vue b/src/views/business/selectThrOrder.vue index 9a8e67b..fa08c4b 100644 --- a/src/views/business/selectThrOrder.vue +++ b/src/views/business/selectThrOrder.vue @@ -20,16 +20,6 @@ > - - - - - - - - - - - - - - - - - - - - - - - - @@ -81,7 +57,12 @@ - 查询 + + 查询 确定 - - - - - - - - - - - - - + - diff --git a/src/views/business/stockOrderEditor.vue b/src/views/business/stockOrderEditor.vue index 4a82d17..37d2929 100644 --- a/src/views/business/stockOrderEditor.vue +++ b/src/views/business/stockOrderEditor.vue @@ -72,7 +72,7 @@ 查询 选入订单 + :loading="loading">选入单据 @@ -474,7 +474,7 @@ + + + + + + +
+ 当前仓库: +
+
+ + + + + + {{ item.name }} + + + + +
+ + +
+ 当前分库: +
+
+ + + + + {{ item.name }} + + + + +
+
+ 提交 + 取消 +
+
+ + + + + + diff --git a/src/views/inventory/DialogInvProduct.vue b/src/views/inventory/DialogInvProduct.vue index 0aad9db..bbc4ab2 100644 --- a/src/views/inventory/DialogInvProduct.vue +++ b/src/views/inventory/DialogInvProduct.vue @@ -14,7 +14,11 @@
- + 查询 @@ -97,7 +102,7 @@ export default { type: Function, required: true, }, - invQueryData:{ + invQueryData: { type: Object, required: true, } @@ -115,6 +120,13 @@ export default { supId: null, unitFk: null, invStorageCode: null, + invWarehouseCode: null, + }, + detailQuery: { + code: null, + productIdFk: null, + page: 1, + limit: 20, }, list: [], codeDetailVisible: false, @@ -319,12 +331,13 @@ export default { created() { this.getBusType(); let query = this.$route.query; - this.filterQuery.invStorageCode = this.invQueryData.locStorageCode; + this.filterQuery = Object.assign(this.filterQuery, query); + + + this.filterQuery.invStorageCode = this.invQueryData.locStorageCode; + this.filterQuery.invWarehouseCode = this.invQueryData.invWarehouseCode; this.filterQuery.limit = parseInt(this.filterQuery.limit); - if (!isBlank(this.invQueryData.corpId)) { - this.filterQuery.supId = this.invQueryData.corpId; - } // 加载表格数据 this.getList(); }, diff --git a/src/views/thrsys/ThrOrdedrReceiveAdd.vue b/src/views/thrsys/ThrOrdedrReceiveAdd.vue index b43dcd1..a50f295 100644 --- a/src/views/thrsys/ThrOrdedrReceiveAdd.vue +++ b/src/views/thrsys/ThrOrdedrReceiveAdd.vue @@ -1,6 +1,8 @@