|
@@ -217,6 +217,7 @@
|
|
|
</el-select>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
label="返利金额"
|
|
@@ -292,6 +293,19 @@
|
|
|
<!-- </el-table-column>-->
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
+ label="可用返利"
|
|
|
+ prop="amount"
|
|
|
+ min-width="100"
|
|
|
+ show-overflow-tooltip
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>{{ scope.row.amount | numToFixed }}</div>
|
|
|
+
|
|
|
+ </template>
|
|
|
+
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
label="实付金额"
|
|
|
prop="qty"
|
|
|
min-width="100"
|
|
@@ -968,6 +982,7 @@ export default {
|
|
|
this.$set(this.mainForm, 'k3ServiceName', service.serviceName)
|
|
|
this.$set(row, 'serviceId', service.serviceId)
|
|
|
this.$set(row, 'serviceName', service.serviceName)
|
|
|
+ this.$set(row,'amount',service.amount || 0)
|
|
|
} else {
|
|
|
console.log(index)
|
|
|
if (index === 0) {
|
|
@@ -976,7 +991,9 @@ export default {
|
|
|
}
|
|
|
this.$set(row, 'serviceId', '')
|
|
|
this.$set(row, 'serviceName', '')
|
|
|
+ this.$set(row,'amount',0 )
|
|
|
}
|
|
|
+
|
|
|
},
|
|
|
// 选择销售政策获取政策条件列表
|
|
|
async handlePolicy(e) {
|
|
@@ -1282,6 +1299,7 @@ export default {
|
|
|
this.$set(this.multipleData[i], 'customerWalletId', this.multipleData[i].wallets[0].customerWalletId)
|
|
|
this.$set(this.multipleData[i], 'serviceName', this.multipleData[i].wallets[0].serviceName)
|
|
|
this.$set(this.multipleData[i], 'serviceId', this.multipleData[i].wallets[0].serviceId)
|
|
|
+ this.$set(this.multipleData[i],'amount', this.multipleData[i].wallets[0].amount)
|
|
|
}
|
|
|
arrData = [...arrData, ...this.multipleData[i]]
|
|
|
}
|
|
@@ -1336,6 +1354,7 @@ export default {
|
|
|
this.$set(this.multipleSelections[i][j], 'customerWalletId', this.multipleSelections[i][j].wallets[0].customerWalletId)
|
|
|
this.$set(this.multipleSelections[i][j], 'serviceName', this.multipleSelections[i][j].wallets[0].serviceName)
|
|
|
this.$set(this.multipleSelections[i][j], 'serviceId', this.multipleSelections[i][j].wallets[0].serviceId)
|
|
|
+ this.$set(this.multipleSelections[i][j],'amount',this.multipleSelections[i][j].wallets[0].amount)
|
|
|
}
|
|
|
arrData = [...arrData, this.multipleSelections[i][j]]
|
|
|
}
|
|
@@ -1682,9 +1701,12 @@ export default {
|
|
|
return e === k.customerWalletId
|
|
|
})[0]
|
|
|
this.$set(row, 'rebateRate', (obj.rebateRate || 0))
|
|
|
+
|
|
|
} else {
|
|
|
this.$set(row, 'rebateRate', 0)
|
|
|
+
|
|
|
}
|
|
|
+
|
|
|
},
|
|
|
clearWallet(e) {
|
|
|
console.log(e)
|