From bf3a148e06932416187842b03b0c1532a2b2b7eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Mon, 4 Nov 2024 11:35:33 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inspection/project/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/inspection/project/index.vue b/src/views/inspection/project/index.vue index 678a1cc..9f57085 100644 --- a/src/views/inspection/project/index.vue +++ b/src/views/inspection/project/index.vue @@ -32,7 +32,7 @@ 新增 + >新增 @@ -58,10 +58,10 @@ From ba90e8c90db0a73698a85983787e9407184cf14c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Tue, 5 Nov 2024 18:02:58 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/partner/api/workOrder.js | 7 + src/views/partner/workOrder.vue | 1203 +++++++++++++++------------- 2 files changed, 654 insertions(+), 556 deletions(-) diff --git a/src/views/partner/api/workOrder.js b/src/views/partner/api/workOrder.js index f2025b2..5963abc 100644 --- a/src/views/partner/api/workOrder.js +++ b/src/views/partner/api/workOrder.js @@ -136,3 +136,10 @@ export function delWorkInfo(id) { method: 'post' }) } +export function detail(params) { + return request({ + url: '/partnerOwn/partner/inspectionDetail', + method: 'get', + params: params + }) +} diff --git a/src/views/partner/workOrder.vue b/src/views/partner/workOrder.vue index 92bf591..a318aac 100644 --- a/src/views/partner/workOrder.vue +++ b/src/views/partner/workOrder.vue @@ -28,21 +28,21 @@ - + - - 录入 - - - 导出 - + + 录入 + + + + 导出 + +
- 公示价格汇总:{{moneyData.goodsPriceSum/100}} 元 + 公示价格汇总:{{ moneyData.goodsPriceSum / 100 }} 元 - 实付金额汇总:{{moneyData.payMoneySum/100}} 元 + 实付金额汇总:{{ moneyData.payMoneySum / 100 }} 元
@@ -106,24 +108,24 @@ - - - - + + + + - - - + + + @@ -136,7 +138,7 @@ @@ -149,13 +151,15 @@ type="text" icon="el-icon-edit" @click="watchWork(scope.row)" - >打印 + >打印 + 结算 + >结算 + 制证 + >制证 + + 详情 + 完工 + >完工 + 修改 + >修改 + 删除 + >删除 + @@ -198,109 +214,122 @@ -
+
- 打印 + 打印 +
- + -
- - - - -
-
- - - - -
+
+ + + + +
+
+ + + + +
-
- - - -
+
+ + + +
确定
- - {{goodsPrice/100}} - - - - - - - - - - - - - - - - + {{ goodsPrice / 100 }} + + + + + + + + + + + + + + + + - - - - - + > + +
+ + + 确 定 + +
+
+ {{ item.title }} + {{ item.createTime }} +
+
+ {{ item.content }} +
+
+
- + - + - + - + - + - + - + - + - + - + - + From 7881c6022b541b55468d025f3cb3f604d1c471b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Thu, 7 Nov 2024 09:20:25 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=95=86=E5=93=81=E7=AE=A1=E7=90=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/partner/shopadministration/shopadministration.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/partner/shopadministration/shopadministration.vue b/src/views/partner/shopadministration/shopadministration.vue index ae46280..c112288 100644 --- a/src/views/partner/shopadministration/shopadministration.vue +++ b/src/views/partner/shopadministration/shopadministration.vue @@ -449,7 +449,8 @@ getList() { this.loading = true; listInspectionGoods(this.queryParams).then(response => { - this.inspectionGoodsList = response.rows; + console.log('resp',response) + this.inspectionGoodsList = response.data.records; this.inspectionGoodsList.price=this.inspectionGoodsList.price / 100 this.total = response.total; this.loading = false; From 70fe5aebc95ed5f039dc049a7d3a08797a492f2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Thu, 7 Nov 2024 14:50:34 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=AD=90=E8=A1=A8=E6=93=8D=E4=BD=9C=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A3=80=E6=B5=8B=E5=B7=A5=E5=8D=95=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E6=98=BE=E7=A4=BA=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inspection/project/index.js | 12 ++++ .../project/DlInspectionProjectForm.vue | 56 ++++++++++++++++++- src/views/inspection/project/index.vue | 3 +- src/views/partner/workOrder.vue | 20 +++---- 4 files changed, 77 insertions(+), 14 deletions(-) diff --git a/src/api/inspection/project/index.js b/src/api/inspection/project/index.js index cc0de69..a5295f4 100644 --- a/src/api/inspection/project/index.js +++ b/src/api/inspection/project/index.js @@ -61,3 +61,15 @@ export function getRole(params) { }, }) } + +// 获取商品 Excel +export function getGoods(params) { + return request({ + url: 'system/inspectionGoods/listPartnerGoods', + method: 'get', + params: { + pageNum: 1, + pageSize: 10000 + }, + }) +} diff --git a/src/views/inspection/project/DlInspectionProjectForm.vue b/src/views/inspection/project/DlInspectionProjectForm.vue index 14658e0..c5d9433 100644 --- a/src/views/inspection/project/DlInspectionProjectForm.vue +++ b/src/views/inspection/project/DlInspectionProjectForm.vue @@ -19,6 +19,17 @@ + + + + + + + + +