|
|
@@ -16,7 +16,7 @@
|
|
|
<slot name="addOrder"></slot>
|
|
|
</div>
|
|
|
<div style="margin-top: 15px">
|
|
|
- <tableLayout :layout="tablecols" :data="list" :custom="true" :width="true" fixedName="operation writeoffamount unwriteoffamount">
|
|
|
+ <tableLayout :layout="tablecols" :data="list" :custom="true" :width="true" fixedName="writeoffamount unwriteoffamount operation" >
|
|
|
<template v-slot:customcol="scope">
|
|
|
<div v-if="scope.column.columnname == 'writeoffamount'">
|
|
|
<el-input size="small" v-if="currentItem.sa_writeoffbill_orderid == scope.column.data.sa_writeoffbill_orderid" v-model="scope.column.data.writeoffamount"></el-input>
|
|
|
@@ -28,7 +28,7 @@
|
|
|
<span v-else-if="scope.column.columnname == 'price'">
|
|
|
{{'¥ '+ tool.formatAmount(scope.column.data.price,2)}}
|
|
|
</span>
|
|
|
- <span v-else-if="scope.column.columnname == 'amount'">
|
|
|
+ <span v-else-if="scope.column.columnname == 'amounts'">
|
|
|
{{'¥ '+ tool.formatAmount(scope.column.data.amount,2)}}
|
|
|
</span>
|
|
|
<p v-else>{{scope.column.data[scope.column.columnname]}}</p>
|
|
|
@@ -125,7 +125,6 @@ export default {
|
|
|
const res = await this.$api.requested(this.params)
|
|
|
this.list = res.data
|
|
|
this.total = res.total
|
|
|
- console.log(this.list)
|
|
|
},
|
|
|
handleSizeChange(val) {
|
|
|
// console.log(`每页 ${val} 条`);
|