From 00d1ea9ed1b95255569b97ef7d0e236fa8b7cf0a Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 17 Apr 2025 13:47:53 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=BB=B4=E4=BF=AE?= =?UTF-8?q?=E5=8D=95=E5=BA=94=E6=94=B6=E8=B0=83=E5=B7=AE=E3=80=81=E7=BB=B4?= =?UTF-8?q?=E4=BF=AE=E5=8D=95=E5=BC=80=E7=A5=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../relation/chooseRepairbill.vue | 2 +- .../workorderinvoicing/workorderinvoicingAdd.vue | 2 +- .../workorderreceivableAdd.vue | 13 ++++++++++--- .../relation/chooseRepairbill.vue | 2 +- .../gongdankaipiaoFlow/workorderinvoicingEdit.vue | 2 +- .../workorderreceivableEdit.vue | 15 +++++++++++---- 6 files changed, 25 insertions(+), 11 deletions(-) diff --git a/yxt-as-ui/src/views/operation/workorderinvoicing/relation/chooseRepairbill.vue b/yxt-as-ui/src/views/operation/workorderinvoicing/relation/chooseRepairbill.vue index b1015c8b8d..e1a556392c 100644 --- a/yxt-as-ui/src/views/operation/workorderinvoicing/relation/chooseRepairbill.vue +++ b/yxt-as-ui/src/views/operation/workorderinvoicing/relation/chooseRepairbill.vue @@ -59,7 +59,7 @@ - +
diff --git a/yxt-as-ui/src/views/operation/workorderinvoicing/workorderinvoicingAdd.vue b/yxt-as-ui/src/views/operation/workorderinvoicing/workorderinvoicingAdd.vue index 5aac017244..a94f162ee5 100644 --- a/yxt-as-ui/src/views/operation/workorderinvoicing/workorderinvoicingAdd.vue +++ b/yxt-as-ui/src/views/operation/workorderinvoicing/workorderinvoicingAdd.vue @@ -277,7 +277,7 @@ export default { outAmount: e.outAmount, rescueAmount: e.rescueAmount, otherAmount: e.otherAmount, - totalAmount: e.totalAmount + totalAmount: e.settleAmount }) }) } diff --git a/yxt-as-ui/src/views/operation/workorderreceivable/workorderreceivableAdd.vue b/yxt-as-ui/src/views/operation/workorderreceivable/workorderreceivableAdd.vue index 2e6a862416..c15e0a4139 100644 --- a/yxt-as-ui/src/views/operation/workorderreceivable/workorderreceivableAdd.vue +++ b/yxt-as-ui/src/views/operation/workorderreceivable/workorderreceivableAdd.vue @@ -43,6 +43,11 @@
维修单列表
+ + + @@ -222,8 +227,7 @@ export default { }, chooseGd() { this.viewState = 2 - const aa = [] - this.$refs['divGD'].showData(aa, this.formobj.deptSid) + this.$refs['divGD'].showData(this.formobj.asBwdiffapplyDetailList, this.formobj.deptSid) }, backData(value) { this.viewState = 1 @@ -244,7 +248,7 @@ export default { outAmount: e.outAmount, rescueAmount: e.rescueAmount, otherAmount: e.otherAmount, - totalAmount: e.totalAmount, + totalAmount: e.settleAmount, diffHourAmount: '', diffGoodsAmount: '', diffOutAomunt: '', @@ -260,6 +264,9 @@ export default { resetState() { this.viewState = 1 }, + handleDelete(index) { + this.formobj.asBwdiffapplyDetailList.splice(index, 1) + }, // 计算列表中差异调整的合计金额 jeTotal(row) { row.diffTotalAmount = Math.round((parseFloat(row.diffHourAmount === '' ? '0' : row.diffHourAmount) + parseFloat(row.diffGoodsAmount === '' ? '0' : row.diffGoodsAmount) + parseFloat(row.diffOutAomunt === '' ? '0' : row.diffOutAomunt) + parseFloat(row.diffRescueAmount === '' ? '0' : row.diffRescueAmount) + parseFloat(row.diffOtherAmount === '' ? '0' : row.diffOtherAmount)) * 100) / 100 diff --git a/yxt-as-ui/src/views/workFlow/gongdankaipiaoFlow/relation/chooseRepairbill.vue b/yxt-as-ui/src/views/workFlow/gongdankaipiaoFlow/relation/chooseRepairbill.vue index 93f9bec721..bc90412a3d 100644 --- a/yxt-as-ui/src/views/workFlow/gongdankaipiaoFlow/relation/chooseRepairbill.vue +++ b/yxt-as-ui/src/views/workFlow/gongdankaipiaoFlow/relation/chooseRepairbill.vue @@ -59,7 +59,7 @@ - +
diff --git a/yxt-as-ui/src/views/workFlow/gongdankaipiaoFlow/workorderinvoicingEdit.vue b/yxt-as-ui/src/views/workFlow/gongdankaipiaoFlow/workorderinvoicingEdit.vue index b44245a462..cafa7a0d79 100644 --- a/yxt-as-ui/src/views/workFlow/gongdankaipiaoFlow/workorderinvoicingEdit.vue +++ b/yxt-as-ui/src/views/workFlow/gongdankaipiaoFlow/workorderinvoicingEdit.vue @@ -272,7 +272,7 @@ export default { outAmount: e.outAmount, rescueAmount: e.rescueAmount, otherAmount: e.otherAmount, - totalAmount: e.totalAmount + totalAmount: e.settleAmount }) }) } diff --git a/yxt-as-ui/src/views/workFlow/gongdanyingshouFlow/workorderreceivableEdit.vue b/yxt-as-ui/src/views/workFlow/gongdanyingshouFlow/workorderreceivableEdit.vue index e6a7bdd364..c1608c0d08 100644 --- a/yxt-as-ui/src/views/workFlow/gongdanyingshouFlow/workorderreceivableEdit.vue +++ b/yxt-as-ui/src/views/workFlow/gongdanyingshouFlow/workorderreceivableEdit.vue @@ -4,7 +4,7 @@
{{ viewTitle }}
- 选择工单 + 选择维修单 保存 提交
@@ -42,6 +42,11 @@
维修单列表
+ + + @@ -221,8 +226,7 @@ export default { }, chooseGd() { this.viewState = 2 - const aa = [] - this.$refs['divGD'].showData(aa, this.formobj.deptSid) + this.$refs['divGD'].showData(this.formobj.asBwdiffapplyDetailList, this.formobj.deptSid) }, backData(value) { this.viewState = 1 @@ -243,7 +247,7 @@ export default { outAmount: e.outAmount, rescueAmount: e.rescueAmount, otherAmount: e.otherAmount, - totalAmount: e.totalAmount, + totalAmount: e.settleAmount, diffHourAmount: '', diffGoodsAmount: '', diffOutAomunt: '', @@ -259,6 +263,9 @@ export default { resetState() { this.viewState = 1 }, + handleDelete(index) { + this.formobj.asBwdiffapplyDetailList.splice(index, 1) + }, // 计算列表中差异调整的合计金额 jeTotal(row) { row.diffTotalAmount = Math.round((parseFloat(row.diffHourAmount === '' ? '0' : row.diffHourAmount) + parseFloat(row.diffGoodsAmount === '' ? '0' : row.diffGoodsAmount) + parseFloat(row.diffOutAomunt === '' ? '0' : row.diffOutAomunt) + parseFloat(row.diffRescueAmount === '' ? '0' : row.diffRescueAmount) + parseFloat(row.diffOtherAmount === '' ? '0' : row.diffOtherAmount)) * 100) / 100 From 53b45a5648426a973574671543eb27113959eb43 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 17 Apr 2025 15:10:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=B0=83=E6=8B=A8?= =?UTF-8?q?=E7=94=B3=E8=AF=B7(=E4=B8=80=E7=BA=A7=E7=AB=99=E5=86=85)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../storage/allocation/allocationAdd.vue | 989 +++++++----------- .../storage/allocation/allocationInfo.vue | 282 ++--- .../src/views/storage/allocation/index.vue | 814 +++++++------- .../allocation/relation/chooseproducts.vue | 235 +++-- .../allocationFlow/allocationDaiBan.vue | 672 ++++++------ .../allocationFlow/allocationEdit.vue | 849 ++++++--------- .../allocationFlow/allocationYiBan.vue | 304 +++--- .../relation/chooseproducts.vue | 236 +++-- 8 files changed, 1927 insertions(+), 2454 deletions(-) diff --git a/yxt-as-ui/src/views/storage/allocation/allocationAdd.vue b/yxt-as-ui/src/views/storage/allocation/allocationAdd.vue index 9d823ef5d4..2cb00f1ce9 100644 --- a/yxt-as-ui/src/views/storage/allocation/allocationAdd.vue +++ b/yxt-as-ui/src/views/storage/allocation/allocationAdd.vue @@ -10,29 +10,8 @@
- - - -
申请人
{{ formobj.createByName }} @@ -43,31 +22,18 @@
申请日期
- {{ formobj.createTime }} - + {{ formobj.createTime }}
- -
调出站
{{ formobj.outPlatName }}
-
* 调入站点
- + @@ -75,651 +41,432 @@
* 经办人
- + +
-
备注
- + + +
- -
调拨商品列表
添加
- - - - + + - - - - - - - - - + + + + + + + + + + - - - + - +
- + diff --git a/yxt-as-ui/src/views/storage/allocation/allocationInfo.vue b/yxt-as-ui/src/views/storage/allocation/allocationInfo.vue index 82da4975ec..7108018587 100644 --- a/yxt-as-ui/src/views/storage/allocation/allocationInfo.vue +++ b/yxt-as-ui/src/views/storage/allocation/allocationInfo.vue @@ -7,11 +7,8 @@
- - -
申请人
{{ formobj.createByName }} @@ -25,9 +22,7 @@ {{ formobj.createTime }}
- -
调出站
{{ formobj.outPlatName }} @@ -44,35 +39,29 @@ {{ formobj.confirmName }}
-
备注
{{ formobj.remarks }}
- - -
-
调拨商品列表
-
- - - - - - - - - - - - - - - - +
调拨商品列表
+ + + + + + + + + + + + + + + +
@@ -80,119 +69,144 @@ diff --git a/yxt-as-ui/src/views/storage/allocation/index.vue b/yxt-as-ui/src/views/storage/allocation/index.vue index 408dde9d32..82174d5fec 100644 --- a/yxt-as-ui/src/views/storage/allocation/index.vue +++ b/yxt-as-ui/src/views/storage/allocation/index.vue @@ -1,7 +1,7 @@ diff --git a/yxt-as-ui/src/views/storage/allocation/relation/chooseproducts.vue b/yxt-as-ui/src/views/storage/allocation/relation/chooseproducts.vue index a56f465ffa..988b32bc54 100644 --- a/yxt-as-ui/src/views/storage/allocation/relation/chooseproducts.vue +++ b/yxt-as-ui/src/views/storage/allocation/relation/chooseproducts.vue @@ -14,13 +14,13 @@
商品列表
-
- - - - - - - - - - - - + + + + + + + + + + + + +
-
+
- +
@@ -62,111 +60,112 @@ diff --git a/yxt-as-ui/src/views/workFlow/allocationFlow/allocationDaiBan.vue b/yxt-as-ui/src/views/workFlow/allocationFlow/allocationDaiBan.vue index 12bd0759df..82ddef49be 100644 --- a/yxt-as-ui/src/views/workFlow/allocationFlow/allocationDaiBan.vue +++ b/yxt-as-ui/src/views/workFlow/allocationFlow/allocationDaiBan.vue @@ -10,11 +10,8 @@
- - -
申请人
{{ formobj.createByName }} @@ -28,9 +25,7 @@ {{ formobj.createTime }}
- -
调出站
{{ formobj.outPlatName }} @@ -47,39 +42,32 @@ {{ formobj.confirmName }}
-
备注
{{ formobj.remarks }}
- - -
-
调拨商品列表
-
- - - - - - - - - - - - - - - - +
调拨商品列表
+ + + + + + + + + + + + + + + +
- @@ -109,8 +97,9 @@ 意见: - + + +
@@ -119,354 +108,339 @@
- diff --git a/yxt-as-ui/src/views/workFlow/allocationFlow/allocationEdit.vue b/yxt-as-ui/src/views/workFlow/allocationFlow/allocationEdit.vue index 954b5881b5..416ee61e3b 100644 --- a/yxt-as-ui/src/views/workFlow/allocationFlow/allocationEdit.vue +++ b/yxt-as-ui/src/views/workFlow/allocationFlow/allocationEdit.vue @@ -9,11 +9,8 @@
- - -
申请人
{{ formobj.createByName }} @@ -24,13 +21,10 @@
申请日期
- {{ formobj.createTime }} - + {{ formobj.createTime }}
- -
调出站
{{ formobj.outPlatName }} @@ -38,8 +32,7 @@
* 调入站点
- + @@ -47,571 +40,395 @@
* 经办人
- + +
-
备注
- + + +
- -
调拨商品列表
添加
- - - + + - - - - - - - - - + + + + + + + + + - + - +
- + diff --git a/yxt-as-ui/src/views/workFlow/allocationFlow/allocationYiBan.vue b/yxt-as-ui/src/views/workFlow/allocationFlow/allocationYiBan.vue index 5d6dff2e67..0dbe38181c 100644 --- a/yxt-as-ui/src/views/workFlow/allocationFlow/allocationYiBan.vue +++ b/yxt-as-ui/src/views/workFlow/allocationFlow/allocationYiBan.vue @@ -7,11 +7,8 @@
- - -
申请人
{{ formobj.createByName }} @@ -25,9 +22,7 @@ {{ formobj.createTime }}
- -
调出站
{{ formobj.outPlatName }} @@ -44,35 +39,29 @@ {{ formobj.confirmName }}
-
备注
{{ formobj.remarks }}
- - -
-
调拨商品列表
-
- - - - - - - - - - - - - - - - +
调拨商品列表
+ + + + + + + + + + + + + + + +
@@ -80,146 +69,145 @@ diff --git a/yxt-as-ui/src/views/workFlow/allocationFlow/relation/chooseproducts.vue b/yxt-as-ui/src/views/workFlow/allocationFlow/relation/chooseproducts.vue index a56f465ffa..d473de9213 100644 --- a/yxt-as-ui/src/views/workFlow/allocationFlow/relation/chooseproducts.vue +++ b/yxt-as-ui/src/views/workFlow/allocationFlow/relation/chooseproducts.vue @@ -14,15 +14,14 @@