From 52fa7ba6c0159dc6a61f12a594a56418d3e44e24 Mon Sep 17 00:00:00 2001 From: niexiting <85552560@qq.com> Date: Fri, 29 Dec 2023 10:59:36 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8E=9F=E6=96=99?= =?UTF-8?q?=E4=B8=8A=E6=9E=B6=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mycomponents/record/recordComDetailCard.vue | 8 +- pages.json | 30 +- pages/putaway/request/putawayRequest.vue | 6 +- .../putaway/request/putawayRequestCreate.vue | 428 ++++++++++++++++++ 4 files changed, 458 insertions(+), 14 deletions(-) create mode 100644 pages/putaway/request/putawayRequestCreate.vue diff --git a/mycomponents/record/recordComDetailCard.vue b/mycomponents/record/recordComDetailCard.vue index 393053e6..0915b950 100644 --- a/mycomponents/record/recordComDetailCard.vue +++ b/mycomponents/record/recordComDetailCard.vue @@ -16,7 +16,8 @@ + :isShowPack="true" :isShowFromLocation="isShowFromLocation" :isShowToLocation="isShowToLocation"> + @@ -78,6 +79,11 @@ default: true }, + isShowToLocation: { + type: Boolean, + default: true + }, + isShowItemQty: { type: Boolean, default: true diff --git a/pages.json b/pages.json index c058f1f2..b51d902d 100644 --- a/pages.json +++ b/pages.json @@ -18,8 +18,8 @@ "titleNView": { // "autoBackButton": "true", "buttons": [ - - + + ] } } @@ -43,11 +43,11 @@ "titleNView": { // "autoBackButton": "true", "buttons": [ - - + + ] } - + } }, { @@ -158,8 +158,8 @@ // } } }, - - + + { "path": "pages/purchaseReceipt/job/receiptJob", "style": { @@ -315,7 +315,13 @@ "enablePullDownRefresh": false } }, - + { + "path": "pages/putaway/request/putawayRequestCreate", + "style": { + "navigationBarTitleText": "新增原料上架申请", + "enablePullDownRefresh": false + } + }, { "path": "pages/productionReceipt/job/productionReceiptJob", "style": { @@ -1209,7 +1215,7 @@ "style": { "navigationBarTitleText": "制品上架申请创建", "enablePullDownRefresh": false - + } }, @@ -1666,7 +1672,7 @@ "enablePullDownRefresh": false } }, - + { "path": "pages/container/record/containerBindRecord", "style": { @@ -1710,8 +1716,8 @@ "titleNView": { // "autoBackButton": "true", "buttons": [ - - + + ] } } diff --git a/pages/putaway/request/putawayRequest.vue b/pages/putaway/request/putawayRequest.vue index 37a8a6a1..3e88b1bb 100644 --- a/pages/putaway/request/putawayRequest.vue +++ b/pages/putaway/request/putawayRequest.vue @@ -193,8 +193,12 @@ openScanDetailPopup() { uni.navigateTo({ - url: "../record/putawayRecord?fromType=" + this.fromType + url: "../request/putawayRequestCreate" }) + + // uni.navigateTo({ + // url: "../record/putawayRecord?fromType=" + this.fromType + // }) }, diff --git a/pages/putaway/request/putawayRequestCreate.vue b/pages/putaway/request/putawayRequestCreate.vue new file mode 100644 index 00000000..bce7f73d --- /dev/null +++ b/pages/putaway/request/putawayRequestCreate.vue @@ -0,0 +1,428 @@ + + + + + From 20f4737a95de6cc04ac08d8ae21a92eaba42fbb3 Mon Sep 17 00:00:00 2001 From: niexiting <85552560@qq.com> Date: Fri, 29 Dec 2023 11:07:14 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8A=E6=9E=B6?= =?UTF-8?q?=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mycomponents/record/recordComDetailCard.vue | 3 ++- pages/putaway/request/putawayRequestCreate.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mycomponents/record/recordComDetailCard.vue b/mycomponents/record/recordComDetailCard.vue index 0915b950..9c88cd25 100644 --- a/mycomponents/record/recordComDetailCard.vue +++ b/mycomponents/record/recordComDetailCard.vue @@ -168,7 +168,8 @@ }, confirm(qty) { - this.editItem.qty = qty; + // this.editItem.qty = qty; + this.editItem.handlQty = qty; this.$emit('updateData') } } diff --git a/pages/putaway/request/putawayRequestCreate.vue b/pages/putaway/request/putawayRequestCreate.vue index bce7f73d..5cf7c2e1 100644 --- a/pages/putaway/request/putawayRequestCreate.vue +++ b/pages/putaway/request/putawayRequestCreate.vue @@ -286,7 +286,7 @@ putawayRequestSubmit(params).then(res => { uni.hideLoading() if (res.data) { - this.showCommitSuccessMessage("提交成功
生成采购上架申请" + res.data, ) + this.showCommitSuccessMessage("提交成功
生成采购上架申请
" + res.data, ) } else { this.showErrorMessage("提交失败[" + res.msg + "]") } From 83ef84997ab52e6e7e61f3bda1a7160347e71c0e Mon Sep 17 00:00:00 2001 From: niexiting <85552560@qq.com> Date: Fri, 29 Dec 2023 14:04:06 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=B6=E5=93=81?= =?UTF-8?q?=E4=B8=8A=E6=9E=B6=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/request2.js | 2 + mycomponents/record/recordComDetailCard.vue | 2 +- pages.json | 2 +- .../request/putawayRequestCreate.vue | 417 +++++++++++++++++- static/config.json | 2 +- 5 files changed, 420 insertions(+), 5 deletions(-) diff --git a/api/request2.js b/api/request2.js index 00653601..f1143e82 100644 --- a/api/request2.js +++ b/api/request2.js @@ -1720,6 +1720,8 @@ export function productPutawayJobSubmit(params) { }); } + + /** diff --git a/mycomponents/record/recordComDetailCard.vue b/mycomponents/record/recordComDetailCard.vue index 9c88cd25..7ac5883d 100644 --- a/mycomponents/record/recordComDetailCard.vue +++ b/mycomponents/record/recordComDetailCard.vue @@ -169,7 +169,7 @@ confirm(qty) { // this.editItem.qty = qty; - this.editItem.handlQty = qty; + this.editItem.handleQty = qty; this.$emit('updateData') } } diff --git a/pages.json b/pages.json index b51d902d..207b2b99 100644 --- a/pages.json +++ b/pages.json @@ -318,7 +318,7 @@ { "path": "pages/putaway/request/putawayRequestCreate", "style": { - "navigationBarTitleText": "新增原料上架申请", + "navigationBarTitleText": "原料上架申请创建", "enablePullDownRefresh": false } }, diff --git a/pages/productPutaway/request/putawayRequestCreate.vue b/pages/productPutaway/request/putawayRequestCreate.vue index 02409e35..921823f8 100644 --- a/pages/productPutaway/request/putawayRequestCreate.vue +++ b/pages/productPutaway/request/putawayRequestCreate.vue @@ -1,8 +1,421 @@ - \ No newline at end of file + diff --git a/static/config.json b/static/config.json index 3f6576ad..5ff11180 100644 --- a/static/config.json +++ b/static/config.json @@ -18,7 +18,7 @@ "request_url": { "name": "request_url", - "value": "http://dev.ccwin-in.com:25100/api/admin-api", + "value": "http://192.168.0.230:12080/admin-api", "dev2": "http://192.168.0.157:12080/admin-api", "chefang": "http://192.168.0.176:12080/admin-api", "chenxinming": "http://192.168.0.230:12080/admin-api", From 8f3527642a67d826b1d43f4e9249467d1d4ce0fa Mon Sep 17 00:00:00 2001 From: niexiting <85552560@qq.com> Date: Fri, 29 Dec 2023 14:42:18 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=90=E5=93=81?= =?UTF-8?q?=E5=8F=91=E8=B4=A7=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../deliver/coms/comDeliverRequestCreator.vue | 44 +++------------ .../deliver/request/deliverRequestCreate.vue | 55 +++++-------------- pages/issue/coms/comIssueRequestPopup.vue | 2 +- .../request/putawayRequestCreate.vue | 1 + .../putaway/request/putawayRequestCreate.vue | 1 + 5 files changed, 26 insertions(+), 77 deletions(-) diff --git a/pages/deliver/coms/comDeliverRequestCreator.vue b/pages/deliver/coms/comDeliverRequestCreator.vue index 3fa70302..5f75ab38 100644 --- a/pages/deliver/coms/comDeliverRequestCreator.vue +++ b/pages/deliver/coms/comDeliverRequestCreator.vue @@ -1,61 +1,33 @@