From 8d354069eb74959c95314827f1296fb1f1190b48 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Thu, 28 Mar 2024 16:42:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=B6=E5=93=81=E5=9B=9E=E6=94=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/request2.js | 82 +++ src/pages.json | 52 ++ .../productRecycle/coms/comRecycleJobCard.vue | 40 ++ .../coms/comReturnRequestCard.vue | 39 ++ .../coms/recycleDetailInfoPopup.vue | 57 +++ .../coms/requestDetailInfoPopup.vue | 105 ++++ .../productRecycle/coms/requestInfoPopup.vue | 102 ++++ .../productRecycle/coms/returnInfoPopup.vue | 79 +++ .../coms/returnJobListPopup.vue | 52 ++ .../productRecycle/job/productRecycleJob.vue | 306 +++++++++++ .../job/productRecycleJobDetail.vue | 474 ++++++++++++++++++ .../record/productRecycleRecord.vue | 395 +++++++++++++++ src/pages/setter/index.vue | 4 + 13 files changed, 1787 insertions(+) create mode 100644 src/pages/productRecycle/coms/comRecycleJobCard.vue create mode 100644 src/pages/productRecycle/coms/comReturnRequestCard.vue create mode 100644 src/pages/productRecycle/coms/recycleDetailInfoPopup.vue create mode 100644 src/pages/productRecycle/coms/requestDetailInfoPopup.vue create mode 100644 src/pages/productRecycle/coms/requestInfoPopup.vue create mode 100644 src/pages/productRecycle/coms/returnInfoPopup.vue create mode 100644 src/pages/productRecycle/coms/returnJobListPopup.vue create mode 100644 src/pages/productRecycle/job/productRecycleJob.vue create mode 100644 src/pages/productRecycle/job/productRecycleJobDetail.vue create mode 100644 src/pages/productRecycle/record/productRecycleRecord.vue diff --git a/src/api/request2.js b/src/api/request2.js index c25d17c1..424742a2 100644 --- a/src/api/request2.js +++ b/src/api/request2.js @@ -2393,6 +2393,88 @@ export function deliverRecordSubmit(params) { }); } +/** + * 制品回收 任务 + * status 任务状态 + * 开始日期 + * 结束日期 + * 获取日期任务列表 + * @param {*} + */ +export function getProductRecycleJobList(params) { + return request({ + url: baseApi + "/wms/productredress-job-main/senior", + method: "post", + data: params, + }); +} + + +/** + * 制品回收 承接任务 + * @param {*} id + * + */ +export function takeProductRecycleJob(id) { + return request({ + url: baseApi + "/wms/productredress-job-main/accept?id=" + id, + method: "put", + data: {}, + }); +} + +/** + * 制品收货任务 放弃承接 + * @param {*} id + * + */ +export function cancleTakeProductRecycleJob(id) { + return request({ + url: baseApi + "/wms/productredress-job-main/abandon?id=" + id, + method: "put", + data: {}, + }); +} + +/** + * 制品回收 获取任务明细 + * @param {*} id 任务id + * + */ + +export function getProductRecycleDetail(id) { + return request({ + url: baseApi + "/wms/productredress-job-main/getProductredressJobById?id=" + id, + method: "get", + data: {}, + }); +} + +/** + * 制品回收 任务提交 + * @param {*} params + */ +export function productRecycleJobsubmit(params) { + return request({ + url: baseApi + "/wms/productredress-job-main/execute", + method: "put", + data: params, + }); +} + +/** + * 制品回收 记录提交 + * @param {*} params + */ +export function productRecycleRecordSubmit(params) { + return request({ + url: baseApi + "/wms/productredress-record-main/create", + method: "post", + data: params, + }); +} + + /** * 客户退货 任务 * status 任务状态 diff --git a/src/pages.json b/src/pages.json index 79b15b87..c9e4cc17 100644 --- a/src/pages.json +++ b/src/pages.json @@ -109,6 +109,13 @@ "enablePullDownRefresh": false } }, + { + "path": "pages/setter/test", + "style": { + "navigationBarTitleText": "修改密码", + "enablePullDownRefresh": false + } + }, { "path": "pages/supplierDeliver/record/supplierDeliverRecord", "style": { @@ -1023,6 +1030,51 @@ } }, + + { + "path": "pages/productRecycle/job/productRecycleJob", + "style": { + "navigationBarTitleText": "制品回收任务", + "enablePullDownRefresh": true, + "titleNView": { + // "autoBackButton": "true", + "buttons": [ + // 右边按钮 + { + "float": "right", + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" + + }, + { + + "float": "right", + "fontSize": "52rpx", //按钮上文字的大小 + "text": "\ue6e2", + "fontSrc": "/static/ali_icon/iconfont.ttf" + } + ] + } + } + }, + + { + "path": "pages/productRecycle/job/productRecycleJobDetail", + "style": { + "navigationBarTitleText": "制品回收任务详情", + "enablePullDownRefresh": false + + } + }, + { + "path": "pages/productRecycle/record/productRecycleRecord", + "style": { + "navigationBarTitleText": "制品回收记录", + "enablePullDownRefresh": false + + } + }, { "path": "pages/deliver/request/deliverRequest", "style": { diff --git a/src/pages/productRecycle/coms/comRecycleJobCard.vue b/src/pages/productRecycle/coms/comRecycleJobCard.vue new file mode 100644 index 00000000..42adb984 --- /dev/null +++ b/src/pages/productRecycle/coms/comRecycleJobCard.vue @@ -0,0 +1,40 @@ + + + + + diff --git a/src/pages/productRecycle/coms/comReturnRequestCard.vue b/src/pages/productRecycle/coms/comReturnRequestCard.vue new file mode 100644 index 00000000..ee1589bb --- /dev/null +++ b/src/pages/productRecycle/coms/comReturnRequestCard.vue @@ -0,0 +1,39 @@ + + + + + diff --git a/src/pages/productRecycle/coms/recycleDetailInfoPopup.vue b/src/pages/productRecycle/coms/recycleDetailInfoPopup.vue new file mode 100644 index 00000000..642fa7ee --- /dev/null +++ b/src/pages/productRecycle/coms/recycleDetailInfoPopup.vue @@ -0,0 +1,57 @@ + + + + + diff --git a/src/pages/productRecycle/coms/requestDetailInfoPopup.vue b/src/pages/productRecycle/coms/requestDetailInfoPopup.vue new file mode 100644 index 00000000..b7edbb2e --- /dev/null +++ b/src/pages/productRecycle/coms/requestDetailInfoPopup.vue @@ -0,0 +1,105 @@ + + + + + diff --git a/src/pages/productRecycle/coms/requestInfoPopup.vue b/src/pages/productRecycle/coms/requestInfoPopup.vue new file mode 100644 index 00000000..80d32c45 --- /dev/null +++ b/src/pages/productRecycle/coms/requestInfoPopup.vue @@ -0,0 +1,102 @@ + + + + + diff --git a/src/pages/productRecycle/coms/returnInfoPopup.vue b/src/pages/productRecycle/coms/returnInfoPopup.vue new file mode 100644 index 00000000..abef1359 --- /dev/null +++ b/src/pages/productRecycle/coms/returnInfoPopup.vue @@ -0,0 +1,79 @@ + + + + + diff --git a/src/pages/productRecycle/coms/returnJobListPopup.vue b/src/pages/productRecycle/coms/returnJobListPopup.vue new file mode 100644 index 00000000..56759af1 --- /dev/null +++ b/src/pages/productRecycle/coms/returnJobListPopup.vue @@ -0,0 +1,52 @@ + + + + + diff --git a/src/pages/productRecycle/job/productRecycleJob.vue b/src/pages/productRecycle/job/productRecycleJob.vue new file mode 100644 index 00000000..c894b253 --- /dev/null +++ b/src/pages/productRecycle/job/productRecycleJob.vue @@ -0,0 +1,306 @@ + + + + + diff --git a/src/pages/productRecycle/job/productRecycleJobDetail.vue b/src/pages/productRecycle/job/productRecycleJobDetail.vue new file mode 100644 index 00000000..6add20a8 --- /dev/null +++ b/src/pages/productRecycle/job/productRecycleJobDetail.vue @@ -0,0 +1,474 @@ + + + + + diff --git a/src/pages/productRecycle/record/productRecycleRecord.vue b/src/pages/productRecycle/record/productRecycleRecord.vue new file mode 100644 index 00000000..f524bb56 --- /dev/null +++ b/src/pages/productRecycle/record/productRecycleRecord.vue @@ -0,0 +1,395 @@ + + + + + diff --git a/src/pages/setter/index.vue b/src/pages/setter/index.vue index e5304ea6..96af657b 100644 --- a/src/pages/setter/index.vue +++ b/src/pages/setter/index.vue @@ -23,6 +23,7 @@ + 跳转 @@ -72,6 +73,9 @@ // }) }) + uni.$on('getName', function(data) { + console.log('我在B页面选择了:', data); + }) });