Browse Source

完善单车返利核对

master
yunuo970428 5 months ago
parent
commit
6acc199826
  1. 4
      anrui-scm/anrui-scm-ui/src/api/bikerebate/bicyclerebatecheck.js
  2. 2
      anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatecheckAdd.vue
  3. 12
      anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatecheckInfo.vue
  4. 4
      anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/relation/bicyclerebatetobecheckedInfo.vue
  5. 12
      anrui-scm/anrui-scm-ui/src/views/workFlow/danchefanliheduiFlow/danchefanliheduiDaiBanInfo.vue
  6. 2
      anrui-scm/anrui-scm-ui/src/views/workFlow/danchefanliheduiFlow/danchefanliheduiEdit.vue
  7. 12
      anrui-scm/anrui-scm-ui/src/views/workFlow/danchefanliheduiFlow/danchefanliheduiYiBanInfo.vue
  8. 4
      anrui-scm/anrui-scm-ui/src/views/workFlow/danchefanliheduiFlow/relation/bicyclerebatetobecheckedInfo.vue

4
anrui-scm/anrui-scm-ui/src/api/bikerebate/bicyclerebatecheck.js

@ -100,9 +100,9 @@ export default {
}) })
}, },
// 查看明细 // 查看明细
vehRebateCheckDetails: function(data) { vehRebateGroupDetails: function(data) {
return request({ return request({
url: '/scm/v1/scmvehrebatecheckapplydetail/vehRebateCheckDetails/' + data, url: '/scm/v1/scmvehrebatecheckapplydetail/vehRebateGroupDetails/' + data,
method: 'get' method: 'get'
}) })
}, },

2
anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatecheckAdd.vue

@ -366,9 +366,9 @@ export default {
}) })
} }
}) })
let k = 0
// //
this.formobj.scmVehrebateCheckapplydetailList.forEach((s) => { this.formobj.scmVehrebateCheckapplydetailList.forEach((s) => {
let k = 0
for (var l in this.formobj.scmLastVehrebateCheckapplydetailDetails) { for (var l in this.formobj.scmLastVehrebateCheckapplydetailDetails) {
if (this.formobj.scmLastVehrebateCheckapplydetailDetails[l].withholdingDate === s.withholdingDate && this.formobj.scmLastVehrebateCheckapplydetailDetails[l].purchaseSystemName === s.purchaseSystemName && this.formobj.scmLastVehrebateCheckapplydetailDetails[l].brandName === s.brandName) { if (this.formobj.scmLastVehrebateCheckapplydetailDetails[l].withholdingDate === s.withholdingDate && this.formobj.scmLastVehrebateCheckapplydetailDetails[l].purchaseSystemName === s.purchaseSystemName && this.formobj.scmLastVehrebateCheckapplydetailDetails[l].brandName === s.brandName) {
this.formobj.scmLastVehrebateCheckapplydetailDetails[l].num = parseFloat(this.formobj.scmLastVehrebateCheckapplydetailDetails[l].num) + parseFloat(1) this.formobj.scmLastVehrebateCheckapplydetailDetails[l].num = parseFloat(this.formobj.scmLastVehrebateCheckapplydetailDetails[l].num) + parseFloat(1)

12
anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatecheckInfo.vue

@ -56,8 +56,8 @@
<el-table-column prop="adjustmentMoney" label="返利调整金额" align="center" min-width="140" /> <el-table-column prop="adjustmentMoney" label="返利调整金额" align="center" min-width="140" />
<el-table-column prop="fyAdjustmentMoney" label="其中费用调整金额" align="center" min-width="160" /> <el-table-column prop="fyAdjustmentMoney" label="其中费用调整金额" align="center" min-width="160" />
<el-table-column label="明细" align="center" min-width="100"> <el-table-column label="明细" align="center" min-width="100">
<template> <template slot-scope="scope">
<el-button type="primary" size="mini" @click="handleLook()">查看</el-button> <el-button type="primary" size="mini" @click="handleLook(scope.row)">查看</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -76,8 +76,8 @@
<el-table-column prop="adjustmentMoney" label="返利调整金额" align="center" min-width="140" /> <el-table-column prop="adjustmentMoney" label="返利调整金额" align="center" min-width="140" />
<el-table-column prop="fyAdjustmentMoney" label="其中费用调整金额" align="center" min-width="160" /> <el-table-column prop="fyAdjustmentMoney" label="其中费用调整金额" align="center" min-width="160" />
<el-table-column label="明细" align="center" min-width="100"> <el-table-column label="明细" align="center" min-width="100">
<template> <template slot-scope="scope">
<el-button type="primary" size="mini" @click="handleLook()">查看</el-button> <el-button type="primary" size="mini" @click="handleLook(scope.row)">查看</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -153,9 +153,9 @@ export default {
this.formobj = row this.formobj = row
}) })
}, },
handleLook() { handleLook(row) {
this.viewState = 2 this.viewState = 2
this.$refs['divInfo'].showInfo(this.formobj.sid) this.$refs['divInfo'].showInfo(row.vehRebateSids)
}, },
resetState() { resetState() {
this.viewState = 1 this.viewState = 1

4
anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/relation/bicyclerebatetobecheckedInfo.vue

@ -75,12 +75,12 @@ export default {
} }
}, },
methods: { methods: {
showInfo(sid) { showInfo(vehRebateSids) {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs['form_obj'].clearValidate() this.$refs['form_obj'].clearValidate()
}) })
this.viewTitle = '单车返利核对审核申请明细' this.viewTitle = '单车返利核对审核申请明细'
req.vehRebateCheckDetails(sid).then((resp) => { req.vehRebateGroupDetails(vehRebateSids).then((resp) => {
if (resp.success) { if (resp.success) {
this.list = resp.data this.list = resp.data
} }

12
anrui-scm/anrui-scm-ui/src/views/workFlow/danchefanliheduiFlow/danchefanliheduiDaiBanInfo.vue

@ -56,8 +56,8 @@
<el-table-column prop="adjustmentMoney" label="返利调整金额" align="center" min-width="140" /> <el-table-column prop="adjustmentMoney" label="返利调整金额" align="center" min-width="140" />
<el-table-column prop="fyAdjustmentMoney" label="其中费用调整金额" align="center" min-width="160" /> <el-table-column prop="fyAdjustmentMoney" label="其中费用调整金额" align="center" min-width="160" />
<el-table-column label="明细" align="center" min-width="100"> <el-table-column label="明细" align="center" min-width="100">
<template> <template slot-scope="scope">
<el-button type="primary" size="mini" @click="handleLook()">查看</el-button> <el-button type="primary" size="mini" @click="handleLook(scope.row)">查看</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -76,8 +76,8 @@
<el-table-column prop="adjustmentMoney" label="返利调整金额" align="center" min-width="140" /> <el-table-column prop="adjustmentMoney" label="返利调整金额" align="center" min-width="140" />
<el-table-column prop="fyAdjustmentMoney" label="其中费用调整金额" align="center" min-width="160" /> <el-table-column prop="fyAdjustmentMoney" label="其中费用调整金额" align="center" min-width="160" />
<el-table-column label="明细" align="center" min-width="100"> <el-table-column label="明细" align="center" min-width="100">
<template> <template slot-scope="scope">
<el-button type="primary" size="mini" @click="handleLook()">查看</el-button> <el-button type="primary" size="mini" @click="handleLook(scope.row)">查看</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -223,9 +223,9 @@ export default {
this.formobj = {} this.formobj = {}
}) })
}, },
handleLook() { handleLook(row) {
this.viewState = 2 this.viewState = 2
this.$refs['divInfo'].showInfo(this.formobj.sid) this.$refs['divInfo'].showInfo(row.vehRebateSids)
}, },
resetState() { resetState() {
this.viewState = 1 this.viewState = 1

2
anrui-scm/anrui-scm-ui/src/views/workFlow/danchefanliheduiFlow/danchefanliheduiEdit.vue

@ -334,9 +334,9 @@ export default {
}) })
} }
}) })
let k = 0
// //
this.formobj.scmVehrebateCheckapplydetailList.forEach((s) => { this.formobj.scmVehrebateCheckapplydetailList.forEach((s) => {
let k = 0
for (var l in this.formobj.scmLastVehrebateCheckapplydetailDetails) { for (var l in this.formobj.scmLastVehrebateCheckapplydetailDetails) {
if (this.formobj.scmLastVehrebateCheckapplydetailDetails[l].withholdingDate === s.withholdingDate && this.formobj.scmLastVehrebateCheckapplydetailDetails[l].purchaseSystemName === s.purchaseSystemName && this.formobj.scmLastVehrebateCheckapplydetailDetails[l].brandName === s.brandName) { if (this.formobj.scmLastVehrebateCheckapplydetailDetails[l].withholdingDate === s.withholdingDate && this.formobj.scmLastVehrebateCheckapplydetailDetails[l].purchaseSystemName === s.purchaseSystemName && this.formobj.scmLastVehrebateCheckapplydetailDetails[l].brandName === s.brandName) {
this.formobj.scmLastVehrebateCheckapplydetailDetails[l].num = parseFloat(this.formobj.scmLastVehrebateCheckapplydetailDetails[l].num) + parseFloat(1) this.formobj.scmLastVehrebateCheckapplydetailDetails[l].num = parseFloat(this.formobj.scmLastVehrebateCheckapplydetailDetails[l].num) + parseFloat(1)

12
anrui-scm/anrui-scm-ui/src/views/workFlow/danchefanliheduiFlow/danchefanliheduiYiBanInfo.vue

@ -56,8 +56,8 @@
<el-table-column prop="adjustmentMoney" label="返利调整金额" align="center" min-width="140" /> <el-table-column prop="adjustmentMoney" label="返利调整金额" align="center" min-width="140" />
<el-table-column prop="fyAdjustmentMoney" label="其中费用调整金额" align="center" min-width="160" /> <el-table-column prop="fyAdjustmentMoney" label="其中费用调整金额" align="center" min-width="160" />
<el-table-column label="明细" align="center" min-width="100"> <el-table-column label="明细" align="center" min-width="100">
<template> <template slot-scope="scope">
<el-button type="primary" size="mini" @click="handleLook()">查看</el-button> <el-button type="primary" size="mini" @click="handleLook(scope.row)">查看</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -76,8 +76,8 @@
<el-table-column prop="adjustmentMoney" label="返利调整金额" align="center" min-width="140" /> <el-table-column prop="adjustmentMoney" label="返利调整金额" align="center" min-width="140" />
<el-table-column prop="fyAdjustmentMoney" label="其中费用调整金额" align="center" min-width="160" /> <el-table-column prop="fyAdjustmentMoney" label="其中费用调整金额" align="center" min-width="160" />
<el-table-column label="明细" align="center" min-width="100"> <el-table-column label="明细" align="center" min-width="100">
<template> <template slot-scope="scope">
<el-button type="primary" size="mini" @click="handleLook()">查看</el-button> <el-button type="primary" size="mini" @click="handleLook(scope.row)">查看</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -189,9 +189,9 @@ export default {
this.formobj = {} this.formobj = {}
}) })
}, },
handleLook() { handleLook(row) {
this.viewState = 2 this.viewState = 2
this.$refs['divInfo'].showInfo(this.formobj.sid) this.$refs['divInfo'].showInfo(row.vehRebateSids)
}, },
resetState() { resetState() {
this.viewState = 1 this.viewState = 1

4
anrui-scm/anrui-scm-ui/src/views/workFlow/danchefanliheduiFlow/relation/bicyclerebatetobecheckedInfo.vue

@ -75,12 +75,12 @@ export default {
} }
}, },
methods: { methods: {
showInfo(sid) { showInfo(vehRebateSids) {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs['form_obj'].clearValidate() this.$refs['form_obj'].clearValidate()
}) })
this.viewTitle = '单车返利核对审核申请明细' this.viewTitle = '单车返利核对审核申请明细'
req.vehRebateCheckDetails(sid).then((resp) => { req.vehRebateGroupDetails(vehRebateSids).then((resp) => {
if (resp.success) { if (resp.success) {
this.list = resp.data this.list = resp.data
} }

Loading…
Cancel
Save