|
|
@@ -16,8 +16,7 @@
|
|
|
@on-load="onLoad"
|
|
|
>
|
|
|
<template slot="indexHeader" slot-scope="{ row }">
|
|
|
- <el-button type="primary" size="small" icon="el-icon-plus" circle @click="addRow"
|
|
|
- :disabled="form.cashierStatus == 2"></el-button>
|
|
|
+ <el-button type="primary" size="small" icon="el-icon-plus" circle @click="addRow" :disabled="form.cashierStatus == 2"></el-button>
|
|
|
</template>
|
|
|
<template slot="index" slot-scope="{ row, index }">
|
|
|
<span>{{ index + 1 }}</span>
|
|
|
@@ -267,6 +266,7 @@ export default {
|
|
|
},
|
|
|
//生成指示
|
|
|
async processData(row, list, dataList) {
|
|
|
+ this.loading = true;
|
|
|
let amountDr = 0;
|
|
|
let amountDrUsd = 0;
|
|
|
let amountCr = 0;
|
|
|
@@ -365,6 +365,7 @@ export default {
|
|
|
const res = await submitList(this.data);
|
|
|
this.data = res.data.data;
|
|
|
}
|
|
|
+ this.loading = false;
|
|
|
},
|
|
|
rowEdit(row) {
|
|
|
if (row.$cellEdit) {
|
|
|
@@ -539,6 +540,7 @@ export default {
|
|
|
},
|
|
|
openDialog(row, dataList, type) {
|
|
|
this.dialogVisible = true;
|
|
|
+ this.selectionList = [];
|
|
|
this.form = row;
|
|
|
let obj = {
|
|
|
srcId: row.id
|