|
@@ -137,10 +137,6 @@
|
|
|
label="冻结定金(元)"
|
|
|
width="90"
|
|
|
>
|
|
|
- <template slot-scope="scope" >
|
|
|
- <span v-if="scope.row.totalDeposit > scope.row.shouldFreeze">{{scope.row.shouldFreeze}}</span>
|
|
|
- <span v-else-if="scope.row.totalDeposit < scope.row.shouldFreeze">{{scope.row.totalDeposit}}</span>
|
|
|
- </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
class="table_td"
|
|
@@ -1313,11 +1309,7 @@ export default {
|
|
|
this.$set(this.replenishlist, 'id', item.id)
|
|
|
this.$set(this.replenishlist, 'customer', item.customer)
|
|
|
this.$set(this.replenishlist, 'defaultDeposit', item.defaultDeposit)
|
|
|
- this.$set(
|
|
|
- this.replenishlist,
|
|
|
- 'totalDeposit',
|
|
|
- item.customerInfo.totalDeposit
|
|
|
- )
|
|
|
+ this.$set(this.replenishlist,'totalDeposit', item.customerInfo.totalDeposit)
|
|
|
this.$set(this.replenishlist, 'freezingDeposit', item.freezingDeposit)
|
|
|
},
|
|
|
aduit(item) {
|
|
@@ -1336,6 +1328,8 @@ export default {
|
|
|
this.$set(this.aduitlist, 'typeKey', item.typeKey)
|
|
|
this.$set(this.aduitlist, 'procurementPlanType', item.procurementPlanType)
|
|
|
this.$set(this.aduitlist, 'basis', Math.abs(item.basis))
|
|
|
+ this.$set(this.aduitlist, 'depositRatio', item.customerInfo.depositRatio)
|
|
|
+ this.$set(this.aduitlist, 'totalDeposit', item.customerInfo.totalDeposit)
|
|
|
},
|
|
|
aduitconfirm() {
|
|
|
if (!this.aduitlist.unitPrice) {
|
|
@@ -1420,7 +1414,7 @@ export default {
|
|
|
this.aduitlist.unloadingCharge = '-' + this.aduitlist.unloadingCharge
|
|
|
this.aduitlist.basis = '-' + this.aduitlist.basis
|
|
|
this.aduitlist.procurementPlanType = this.aduitlist.procurementPlanType
|
|
|
- //this.aduitlist.freezingDeposit = this.aduitlist.freezingDeposit
|
|
|
+ this.aduitlist.freezingDeposit = this.aduitlist.transactionsNumber*this.aduitlist.depositRatio
|
|
|
this.dialogFormVisible4 = false
|
|
|
this.$confirm(`审核通过后,将通知客户订单生效,是否确定通过审核?`, {
|
|
|
confirmButtonText: '确定',
|