diff --git a/src/api/inout/order.js b/src/api/inout/order.js index a32fa73..031b8d6 100644 --- a/src/api/inout/order.js +++ b/src/api/inout/order.js @@ -505,3 +505,11 @@ export function updateOrderDetailBiz(params) { }); } + +export function orderDetailAdd(params) { + return axios({ + url: "/inv/inner/order/orderDetailAdd", + method: "post", + data: params + }); +} diff --git a/src/views/basic/business/stockOrderPrint.vue b/src/views/basic/business/stockOrderPrint.vue new file mode 100644 index 0000000..268cf10 --- /dev/null +++ b/src/views/basic/business/stockOrderPrint.vue @@ -0,0 +1,546 @@ + + + + + diff --git a/src/views/inventory/inner/innerCodeDetail.vue b/src/views/inventory/inner/innerCodeDetail.vue index 166ac7c..51a311b 100644 --- a/src/views/inventory/inner/innerCodeDetail.vue +++ b/src/views/inventory/inner/innerCodeDetail.vue @@ -273,7 +273,7 @@ export default { getOrderQRCodeTextList() { this.loading = true; - filterPrint({sOrderId :this.query.orderIdFk}) //查找该单号下的所有条码 + filterPrint({sOrderId :this.query.sOrderId}) //查找该单号下的所有条码 .then((response) => { console.log(response) this.codeArray = response.data.list || []; @@ -378,7 +378,7 @@ export default { type: "warning", }).then(() => { this.loading = true; - generateInnerQRCodeText({orderIdFk: this.formData.id}) + generateInnerQRCodeText({orderIdFk: this.formData.recordKey}) .then(response => { this.loading = false; if (response.code === 20000) { @@ -427,8 +427,9 @@ export default { if (this.$isNotBlank(this.inQuery.id)) { this.formData = this.inQuery.formData; this.query.orderId = this.inQuery.id; - this.query.orderIdFk = this.formData.id; + this.query.orderIdFk = this.formData.recordKey; this.query.sOrderId = this.inQuery.id; + console.log(this.query) this.getOrderQRCodeTextList(); } }, diff --git a/src/views/inventory/inner/innerOrder.vue b/src/views/inventory/inner/innerOrder.vue index e080ee3..c0a3a41 100644 --- a/src/views/inventory/inner/innerOrder.vue +++ b/src/views/inventory/inner/innerOrder.vue @@ -45,8 +45,8 @@ @@ -239,7 +239,7 @@ export default { }); }, handleDetail(row) { - let query = {orderIdFk: row.id}; + let query = {orderIdFk: row.recordKey}; this.loading = true; listInnerOrderDetail(query) //查找该单号下的所有条码 .then((response) => { diff --git a/src/views/inventory/inner/innerOrderEditDialog.vue b/src/views/inventory/inner/innerOrderEditDialog.vue index d1fa892..b4b6dab 100644 --- a/src/views/inventory/inner/innerOrderEditDialog.vue +++ b/src/views/inventory/inner/innerOrderEditDialog.vue @@ -108,6 +108,7 @@ :closeDialog="closeDialogC2" :data="thisData" :pId="pId" + :billNo="billNo" :filterType="2" > @@ -123,6 +124,11 @@ :append-to-body='true' > @@ -131,7 +137,7 @@