|
|
@@ -7,6 +7,9 @@
|
|
|
<template slot="menuLeft">
|
|
|
<slot name="menuLeft"></slot>
|
|
|
</template>
|
|
|
+ <template slot="index" slot-scope="{ row,index }">
|
|
|
+ <span>{{ index+1 }}</span>
|
|
|
+ </template>
|
|
|
<tempalte slot="currentStlAmountRMB" slot-scope="{ row }">
|
|
|
<el-input-number v-if="brfalse" v-model="row.currentStlAmountRMB" @change="armbChange(row)"
|
|
|
:controls="false" placeholder="请输入 本次对账CNY" size="mini" style="width: 100%;"
|
|
|
@@ -95,6 +98,12 @@ export default {
|
|
|
// menuFixed: false,
|
|
|
column: [
|
|
|
{
|
|
|
+ label: "序号",
|
|
|
+ prop: "index",
|
|
|
+ width: 60,
|
|
|
+ overHidden: true
|
|
|
+ },
|
|
|
+ {
|
|
|
label: "所属公司",
|
|
|
prop: "branchName",
|
|
|
width: 120,
|
|
|
@@ -403,6 +412,7 @@ export default {
|
|
|
handelLoadmore(currentStartIndex, currentEndIndex) {
|
|
|
this.currentStartIndex = currentStartIndex;
|
|
|
this.currentEndIndex = currentEndIndex;
|
|
|
+ console.log(currentStartIndex, currentEndIndex)
|
|
|
},
|
|
|
armbChange(row) {
|
|
|
if (Number(row.amount - row.reconciliationAmount) > 0) {
|
|
|
@@ -529,6 +539,7 @@ export default {
|
|
|
// this.$set(item,'tableSelect',0)
|
|
|
// }
|
|
|
// }
|
|
|
+ console.log(arr)
|
|
|
this.$emit('handleSelectionChange', arr)
|
|
|
},
|
|
|
// // 多选
|
|
|
@@ -634,7 +645,7 @@ export default {
|
|
|
} else if (row.dc == 'C') {
|
|
|
rowStyle = 'color:#F56C6C;'
|
|
|
}
|
|
|
- return rowStyle + 'padding:0px;fontSize:12px'
|
|
|
+ return rowStyle
|
|
|
},
|
|
|
//自定义列保存
|
|
|
async saveColumn(ref, option, optionBack, code) {
|
|
|
@@ -687,6 +698,7 @@ export default {
|
|
|
return true;
|
|
|
}
|
|
|
});
|
|
|
+ console.log(list)
|
|
|
return list
|
|
|
}
|
|
|
},
|