|
@@ -122,6 +122,15 @@
|
|
>
|
|
>
|
|
审核进度
|
|
审核进度
|
|
</a-button>
|
|
</a-button>
|
|
|
|
+ <a-button
|
|
|
|
+ v-if="record.state=='AUDIT_REJECT'"
|
|
|
|
+ size="small"
|
|
|
|
+ type="link"
|
|
|
|
+ class="button-info"
|
|
|
|
+ @click="againEdit(record)"
|
|
|
|
+ >
|
|
|
|
+ 再次编辑
|
|
|
|
+ </a-button>
|
|
<!-- <span v-if="record.state=='AUDIT_REJECT' || record.state=='AUDIT_PASS'">--</span> -->
|
|
<!-- <span v-if="record.state=='AUDIT_REJECT' || record.state=='AUDIT_PASS'">--</span> -->
|
|
</template>
|
|
</template>
|
|
</s-table>
|
|
</s-table>
|
|
@@ -141,7 +150,7 @@ import subarea from '@/views/common/subarea.js'
|
|
import employee from './employee.js'
|
|
import employee from './employee.js'
|
|
import { STable, VSelect } from '@/components'
|
|
import { STable, VSelect } from '@/components'
|
|
import verifyModal from './verifyModal.vue'
|
|
import verifyModal from './verifyModal.vue'
|
|
-import { expenseAccountList, expenseAccountDelete } from '@/api/expenseManagement'
|
|
|
|
|
|
+import { expenseAccountList, expenseAccountDelete, expenseAccountAgainEdit } from '@/api/expenseManagement'
|
|
import baseDataModal from './baseDataModal.vue'
|
|
import baseDataModal from './baseDataModal.vue'
|
|
export default {
|
|
export default {
|
|
name: 'ExpenseReimbursementList',
|
|
name: 'ExpenseReimbursementList',
|
|
@@ -249,6 +258,26 @@ export default {
|
|
this.openModal = true
|
|
this.openModal = true
|
|
this.itemSn = row.expenseAccountSn
|
|
this.itemSn = row.expenseAccountSn
|
|
},
|
|
},
|
|
|
|
+ // 再次编辑
|
|
|
|
+ againEdit (row) {
|
|
|
|
+ const _this = this
|
|
|
|
+ this.$confirm({
|
|
|
|
+ title: '操作提示',
|
|
|
|
+ content: '系统将自动生成一个新的费用报销单,与原审核不通过的单据内容相同。您可以对新单据进行编辑、提交等操作,原单据保持不变,确认操作吗?',
|
|
|
|
+ centered: true,
|
|
|
|
+ closable: true,
|
|
|
|
+ onOk () {
|
|
|
|
+ _this.spinning = true
|
|
|
|
+ expenseAccountAgainEdit({ expenseAccountSn: row.expenseAccountSn }).then(res => {
|
|
|
|
+ if (res.status == 200) {
|
|
|
|
+ _this.$message.success(res.message)
|
|
|
|
+ _this.resetSearchForm()
|
|
|
|
+ }
|
|
|
|
+ _this.spinning = false
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ },
|
|
// 重置
|
|
// 重置
|
|
resetSearchForm () {
|
|
resetSearchForm () {
|
|
this.queryParam = {
|
|
this.queryParam = {
|