|
|
@@ -65,8 +65,9 @@
|
|
|
</template>
|
|
|
<template #content="{ row, rowIndex }">
|
|
|
<InvoiceReimbursementUpLoadComponent @changeConfirmList="changeConfirmList"
|
|
|
- @handleCount="handleCount" @handleUploadSuccess="handleUploadSuccess"
|
|
|
- @handleDelete="handleDelete" :ref="row.uniqueId + 'Upload'">
|
|
|
+ @changeLoading="handleChangeLoading" @handleCount="handleCount"
|
|
|
+ @handleUploadSuccess="handleUploadSuccess" @handleDelete="handleDelete"
|
|
|
+ :ref="row.uniqueId + 'Upload'">
|
|
|
</InvoiceReimbursementUpLoadComponent>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
@@ -169,7 +170,7 @@
|
|
|
<vxe-table-column title="操作" width="180">
|
|
|
<template #default="scope">
|
|
|
<el-button size="default" @click="uploadFile(scope.row, scope.$rowIndex,)"
|
|
|
- type="primary">新增</el-button>
|
|
|
+ :loading="loading" type="primary">新增</el-button>
|
|
|
<el-button size="default" type="danger"
|
|
|
@click="removeEvent(scope.row, scope.$rowIndex, 'detail')">删除</el-button>
|
|
|
</template>
|
|
|
@@ -209,8 +210,9 @@
|
|
|
</template>
|
|
|
<template #content="{ row, rowIndex }">
|
|
|
<InvoiceReimbursementUpLoadComponent @changeConfirmList="changeConfirmList"
|
|
|
- @handleCount="handleCount" @handleUploadSuccess="handleUploadSuccess"
|
|
|
- @handleDelete="handleDelete" :ref="row.uniqueId + 'Upload'">
|
|
|
+ @changeLoading="handleChangeLoading" @handleCount="handleCount"
|
|
|
+ @handleUploadSuccess="handleUploadSuccess" @handleDelete="handleDelete"
|
|
|
+ :ref="row.uniqueId + 'Upload'">
|
|
|
</InvoiceReimbursementUpLoadComponent>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
@@ -313,7 +315,7 @@
|
|
|
<vxe-table-column title="操作" width="180">
|
|
|
<template #default="scope">
|
|
|
<el-button size="default" @click="uploadFile(scope.row, scope.$rowIndex,)"
|
|
|
- type="primary">新增</el-button>
|
|
|
+ :loading="loading" type="primary">新增</el-button>
|
|
|
<el-button size="default" type="danger"
|
|
|
@click="removeEvent(scope.row, scope.$rowIndex, 'detail')">删除</el-button>
|
|
|
</template>
|
|
|
@@ -353,8 +355,9 @@
|
|
|
</template>
|
|
|
<template #content="{ row, rowIndex }">
|
|
|
<InvoiceReimbursementUpLoadComponent @changeConfirmList="changeConfirmList"
|
|
|
- @handleCount="handleCount" @handleUploadSuccess="handleUploadSuccess"
|
|
|
- @handleDelete="handleDelete" :ref="row.uniqueId + 'Upload'">
|
|
|
+ @changeLoading="handleChangeLoading" @handleCount="handleCount"
|
|
|
+ @handleUploadSuccess="handleUploadSuccess" @handleDelete="handleDelete"
|
|
|
+ :ref="row.uniqueId + 'Upload'">
|
|
|
</InvoiceReimbursementUpLoadComponent>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
@@ -452,7 +455,7 @@
|
|
|
<vxe-table-column title="操作" width="180">
|
|
|
<template #default="scope">
|
|
|
<el-button size="default" @click="uploadFile(scope.row, scope.$rowIndex,)"
|
|
|
- type="primary">新增</el-button>
|
|
|
+ :loading="loading" type="primary">新增</el-button>
|
|
|
<el-button size="default" type="danger"
|
|
|
@click="removeEvent(scope.row, scope.$rowIndex, 'detail')">删除</el-button>
|
|
|
</template>
|
|
|
@@ -576,7 +579,7 @@
|
|
|
<vxe-table-column title="操作" width="180">
|
|
|
<template #default="scope">
|
|
|
<el-button size="default" @click="uploadFile(scope.row, scope.$rowIndex,)"
|
|
|
- type="primary">新增</el-button>
|
|
|
+ :loading="loading" type="primary">新增</el-button>
|
|
|
<el-button size="default" type="danger"
|
|
|
@click="removeEvent(scope.row, scope.$rowIndex, 'contract_detail')">删除</el-button>
|
|
|
</template>
|
|
|
@@ -614,8 +617,9 @@
|
|
|
</template>
|
|
|
<template #content="{ row, rowIndex }">
|
|
|
<InvoiceReimbursementUpLoadComponent @changeConfirmList="changeConfirmList"
|
|
|
- @handleCount="handleCount" @handleUploadSuccess="handleUploadSuccess"
|
|
|
- @handleDelete="handleDelete" :ref="row.uniqueId + 'Upload'">
|
|
|
+ @changeLoading="handleChangeLoading" @handleCount="handleCount"
|
|
|
+ @handleUploadSuccess="handleUploadSuccess" @handleDelete="handleDelete"
|
|
|
+ :ref="row.uniqueId + 'Upload'">
|
|
|
</InvoiceReimbursementUpLoadComponent>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
@@ -720,7 +724,7 @@
|
|
|
<vxe-table-column title="操作" width="180">
|
|
|
<template #default="scope">
|
|
|
<el-button size="default" @click="uploadFile(scope.row, scope.$rowIndex,)"
|
|
|
- type="primary">新增</el-button>
|
|
|
+ :loading="loading" type="primary">新增</el-button>
|
|
|
<el-button size="default" type="danger"
|
|
|
@click="removeEvent(scope.row, scope.$rowIndex, 'report_detail')">删除</el-button>
|
|
|
</template>
|
|
|
@@ -759,8 +763,9 @@
|
|
|
</template>
|
|
|
<template #content="{ row, rowIndex }">
|
|
|
<InvoiceReimbursementUpLoadComponent @changeConfirmList="changeConfirmList"
|
|
|
- @handleCount="handleCount" @handleUploadSuccess="handleUploadSuccess"
|
|
|
- @handleDelete="handleDelete" :ref="row.uniqueId + 'Upload'">
|
|
|
+ @changeLoading="handleChangeLoading" @handleCount="handleCount"
|
|
|
+ @handleUploadSuccess="handleUploadSuccess" @handleDelete="handleDelete"
|
|
|
+ :ref="row.uniqueId + 'Upload'">
|
|
|
</InvoiceReimbursementUpLoadComponent>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
@@ -858,7 +863,7 @@
|
|
|
<vxe-table-column title="操作" width="180">
|
|
|
<template #default="scope">
|
|
|
<el-button size="default" @click="uploadFile(scope.row, scope.$rowIndex,)"
|
|
|
- type="primary">新增</el-button>
|
|
|
+ :loading="loading" type="primary">新增</el-button>
|
|
|
<el-button size="default" type="danger"
|
|
|
@click="removeEvent(scope.row, scope.$rowIndex, 'report_detail')">删除</el-button>
|
|
|
</template>
|
|
|
@@ -898,8 +903,9 @@
|
|
|
</template>
|
|
|
<template #content="{ row, rowIndex }">
|
|
|
<InvoiceReimbursementUpLoadComponent @changeConfirmList="changeConfirmList"
|
|
|
- @handleCount="handleCount" @handleUploadSuccess="handleUploadSuccess"
|
|
|
- @handleDelete="handleDelete" :ref="row.uniqueId + 'Upload'">
|
|
|
+ @changeLoading="handleChangeLoading" @handleCount="handleCount"
|
|
|
+ @handleUploadSuccess="handleUploadSuccess" @handleDelete="handleDelete"
|
|
|
+ :ref="row.uniqueId + 'Upload'">
|
|
|
</InvoiceReimbursementUpLoadComponent>
|
|
|
|
|
|
</template>
|
|
|
@@ -999,7 +1005,7 @@
|
|
|
<vxe-table-column title="操作" width="180">
|
|
|
<template #default="scope">
|
|
|
<el-button size="default" @click="uploadFile(scope.row, scope.$rowIndex,)"
|
|
|
- type="primary">新增</el-button>
|
|
|
+ :loading="loading" type="primary">新增</el-button>
|
|
|
<el-button size="default" type="danger"
|
|
|
@click="removeEvent(scope.row, scope.$rowIndex, 'others')">删除</el-button>
|
|
|
</template>
|
|
|
@@ -1159,8 +1165,9 @@
|
|
|
</template>
|
|
|
<template #content="{ row, rowIndex }">
|
|
|
<InvoiceReimbursementUpLoadComponent @changeConfirmList="changeConfirmList"
|
|
|
- @handleCount="handleCount" @handleUploadSuccess="handleUploadSuccess"
|
|
|
- @handleDelete="handleDelete" :ref="row.uniqueId + 'Upload'">
|
|
|
+ @changeLoading="handleChangeLoading" @handleCount="handleCount"
|
|
|
+ @handleUploadSuccess="handleUploadSuccess" @handleDelete="handleDelete"
|
|
|
+ :ref="row.uniqueId + 'Upload'">
|
|
|
</InvoiceReimbursementUpLoadComponent>
|
|
|
|
|
|
</template>
|
|
|
@@ -1279,7 +1286,7 @@
|
|
|
<vxe-table-column title="操作" width="180">
|
|
|
<template #default="scope">
|
|
|
<el-button size="default" @click="uploadFile(scope.row, scope.$rowIndex,)"
|
|
|
- type="primary">新增</el-button>
|
|
|
+ :loading="loading" type="primary">新增</el-button>
|
|
|
<el-button size="default" type="danger"
|
|
|
@click="removeEvent(scope.row, scope.$rowIndex, 'zs_project_detail')">删除</el-button>
|
|
|
</template>
|
|
|
@@ -3199,8 +3206,6 @@ export default {
|
|
|
this.$message.warning(`第${countIndex + 1}行报销费用与发票金额不一致`);
|
|
|
this.loading = false
|
|
|
throw new Error(`第${countIndex + 1}行报销费用与发票金额不一致`);
|
|
|
- } else {
|
|
|
- this.loading = false
|
|
|
}
|
|
|
},
|
|
|
handleDefaultExpand() {
|
|
|
@@ -3322,6 +3327,9 @@ export default {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ },
|
|
|
+ handleChangeLoading(value) {
|
|
|
+ this.loading = value
|
|
|
}
|
|
|
}
|
|
|
}
|