Commit beea31e7 authored by huhaiqing's avatar huhaiqing

修改报关审核

parent 741aa4b4
...@@ -273,21 +273,11 @@ export default { ...@@ -273,21 +273,11 @@ export default {
shipmentId: this.shipmentObj.id, shipmentId: this.shipmentObj.id,
operateType, operateType,
}).then((res) => { }).then((res) => {
serviceMsg(res, this).then(() => {
// 提交审核
approvalCreate({
approvalStatus: 0,
approvalType: dcCheckStatus === "1" ? 5 : 6, // 5报关全退,6报关部分退
shipmentId: this.shipmentObj.id,
}).then((res) => {
// 按钮变成审核中
serviceMsg(res, this).then(() => { serviceMsg(res, this).then(() => {
// 触发外层重新查询出货信息 // 触发外层重新查询出货信息
this.$emit("getBoxInfo"); this.$emit("getBoxInfo");
}); });
}); });
});
});
}) })
.catch(() => {}); .catch(() => {});
} }
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
</el-table-column> </el-table-column>
<el-table-column label="异常状态" align="center" prop=""> <el-table-column label="异常状态" align="center" prop="">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" size="small" @click="handleError(scope.row)" icon="el-icon-edit">{{getOrderError(scope.row, 'errorStatus')}}</el-button> <el-button v-if="scope.row.exceptionList" type="text" size="small" @click="handleError(scope.row)" icon="el-icon-edit">{{getOrderError(scope.row, 'errorStatus')}}</el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="异常类型" align="center" prop=""> <el-table-column label="异常类型" align="center" prop="">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment