|
|
@@ -108,6 +108,11 @@
|
|
|
<dict-tag :options="order_source" :value="scope.row.orderSource" />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="所属项目" align="center" prop="dataSource">
|
|
|
+ <template #default="scope">
|
|
|
+ {{ scope.row.dataSource == 'zhongche' ? '中车' : '--' }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<!-- <el-table-column label="审核状态" align="center" prop="checkStatus">
|
|
|
<template #default="scope">
|
|
|
<dict-tag :options="order_check_status" :value="scope.row.checkStatus" />
|
|
|
@@ -508,7 +513,7 @@ const handleCheck = async (row?: OrderMainVO) => {
|
|
|
|
|
|
/** 审核按钮操作 */
|
|
|
const handleCancel = async (row?: OrderMainVO) => {
|
|
|
- const oldValue = row.checkStatus; // 保存旧值
|
|
|
+ const oldValue = row.orderStatus; // 保存旧值
|
|
|
|
|
|
// 弹出审核选择对话框
|
|
|
try {
|
|
|
@@ -519,7 +524,7 @@ const handleCancel = async (row?: OrderMainVO) => {
|
|
|
} catch (error) {
|
|
|
// 用户取消或操作失败
|
|
|
if (error !== 'cancel' && error !== 'close') {
|
|
|
- row.checkStatus = oldValue; // 失败回滚
|
|
|
+ row.orderStatus = oldValue; // 失败回滚
|
|
|
proxy?.$modal.msgError('操作失败,请重试');
|
|
|
}
|
|
|
}
|