From be8bfbdc99c02b1b6685208084f4575b123f51db Mon Sep 17 00:00:00 2001
From: yunuo970428 <405378304@qq.com>
Date: Mon, 2 Sep 2024 10:05:01 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=8D=95=E8=BD=A6=E8=BF=94?=
=?UTF-8?q?=E5=88=A9=E6=A0=B8=E5=AF=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../bicyclerebatecheckAdd.vue | 145 ++++--------------
.../bicyclerebatecheckInfo.vue | 111 +++-----------
.../relation/bicyclerebatetobecheckedAdd.vue | 106 +++----------
.../relation/bicyclerebatetobecheckedInfo.vue | 108 +++----------
.../danchefanliheduiDaiBanInfo.vue | 111 +++-----------
.../danchefanliheduiEdit.vue | 145 ++++--------------
.../danchefanliheduiYiBanInfo.vue | 111 +++-----------
.../relation/bicyclerebatetobecheckedAdd.vue | 106 +++----------
.../relation/bicyclerebatetobecheckedInfo.vue | 108 +++----------
9 files changed, 210 insertions(+), 841 deletions(-)
diff --git a/anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatecheckAdd.vue b/anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatecheckAdd.vue
index e290b8666a..67269df352 100644
--- a/anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatecheckAdd.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatecheckAdd.vue
@@ -39,102 +39,34 @@
-
-
- {{ scope.row.rebateTypeValue }}
-
-
-
-
- {{ scope.row.num }}
-
-
-
-
- {{ scope.row.withRebate }}
-
-
-
-
- {{ scope.row.uploadMoney }}
-
-
-
-
- {{ scope.row.stayDetermineMoney }}
-
-
-
-
- {{ scope.row.adjustmentMoney }}
-
-
-
-
- {{ scope.row.money }}
-
-
+
+
+
+
+
+
+
查看
-
+
-
-
- {{ scope.row.withholdingDate }}
-
-
-
-
- {{ scope.row.withholdingAmount }}
-
-
-
-
- {{ scope.row.withRebate }}
-
-
-
-
- {{ scope.row.uploadAmount }}
-
-
-
-
- {{ scope.row.uploadMoney }}
-
-
-
-
- {{ scope.row.stayDetermineMoney }}
-
-
-
-
- {{ scope.row.adjustmentMoney }}
-
-
-
-
- {{ scope.row.money }}
-
-
-
-
- {{ scope.row.notUploadedAmount }}
-
-
-
-
- {{ scope.row.notUploadedCost }}
-
-
+
+
+
+
+
+
+
+
+
+
@@ -284,23 +216,21 @@ export default {
this.viewTitle = '【编辑】单车返利核对审核申请'
console.log('编辑回显', row.sid)
req.fetchDetailsBySid(row.sid).then((resp) => {
- this.formobj = resp.data
- this.formobj.instanceId = resp.data.procInstId
+ if (resp.success) {
+ this.formobj = resp.data
+ this.formobj.instanceId = resp.data.procInstId
+ }
}).catch((e) => {
this.formobj = row
})
},
changeBrand(value) {
- let bb = null
- this.brand_list.forEach((e) => {
- if (e.brandName === value) {
- bb = {
- name: e.brandName,
- sid: e.sid
- }
- }
- })
- this.formobj.brandSid = bb.sid
+ const choose = this.brand_list.filter((item) => item.brandName === value)
+ if (choose !== null && choose.length > 0) {
+ this.formobj.brandSid = choose[0].sid
+ } else {
+ this.formobj.brandSid = ''
+ }
},
// 明细表添加一行数据
handleSelect() {
@@ -483,11 +413,7 @@ export default {
req.save(this.formobj).then((resp) => {
this.submitdisabled = false
if (resp.success) {
- this.$message({
- showClose: true,
- type: 'success',
- message: resp.msg
- })
+ this.$message({ showClose: true, type: 'success', message: resp.msg })
this.handleReturn('true')
}
}).catch(() => {
@@ -505,11 +431,7 @@ export default {
req.submitVehicleApply(this.formobj).then((resp) => {
this.submitdisabled = false
if (resp.success) {
- this.$message({
- showClose: true,
- type: 'success',
- message: resp.msg
- })
+ this.$message({ showClose: true, type: 'success', message: resp.msg })
this.handleReturn('true')
}
}).catch(() => {
@@ -549,13 +471,8 @@ export default {
}