Commit d7edad83 authored by zhoutong's avatar zhoutong

删单退场bug修复

parent 66c486d8
...@@ -124,6 +124,7 @@ ...@@ -124,6 +124,7 @@
<el-button type="primary" plain @click="canclAudit">{{cusDeclarationObj.dcCheckStatus === '1' ? $t('取消全部退场审核') : $t('取消部分退场审核')}}</el-button> <el-button type="primary" plain @click="canclAudit">{{cusDeclarationObj.dcCheckStatus === '1' ? $t('取消全部退场审核') : $t('取消部分退场审核')}}</el-button>
</el-row> </el-row>
<el-row class="operate-button"> <el-row class="operate-button">
<el-button type="primary" v-if="inOverReview" @click="exitReviewDetail">{{$t('删单退场审核中')}}</el-button>
<el-button type="primary" v-if="inOverReview" plain @click="canclOverAudit">{{$t('取消删单退场审核')}}</el-button> <el-button type="primary" v-if="inOverReview" plain @click="canclOverAudit">{{$t('取消删单退场审核')}}</el-button>
<el-button type="primary" @click="onSubmit(1)" :disabled="isCheckDeal('submit')">{{$t('保存')}}</el-button> <el-button type="primary" @click="onSubmit(1)" :disabled="isCheckDeal('submit')">{{$t('保存')}}</el-button>
<el-button type="success" v-if="!inReview&&!inOverReview" @click="onSubmit(2)" :disabled="isCheckDeal('submit')">{{$t('提交')}}</el-button> <el-button type="success" v-if="!inReview&&!inOverReview" @click="onSubmit(2)" :disabled="isCheckDeal('submit')">{{$t('提交')}}</el-button>
...@@ -397,6 +398,9 @@ export default { ...@@ -397,6 +398,9 @@ export default {
}, },
//提交删单退场审核 //提交删单退场审核
approvalCreate(){ approvalCreate(){
// this.$refs["cusDeclarationForm"].validate((valid) => {
// if (valid) {}
// })
if(!this.cusDeclarationObj.deleteExitType){ if(!this.cusDeclarationObj.deleteExitType){
this.$message.error(this.$t("请选择删单退场类型或者时间")); this.$message.error(this.$t("请选择删单退场类型或者时间"));
return; return;
...@@ -414,10 +418,8 @@ export default { ...@@ -414,10 +418,8 @@ export default {
approvalStatus: 0, approvalStatus: 0,
approvalType: 11, approvalType: 11,
details: JSON.stringify(details) details: JSON.stringify(details)
}).then((res) => { }).then(() => {
serviceMsg(res, this).then(() => { this.onSubmit(1)
this.cancel("submit");
});
}); });
}, },
/** 提交 */ /** 提交 */
...@@ -603,6 +605,12 @@ export default { ...@@ -603,6 +605,12 @@ export default {
toReviewDetail.apply(this, [customsApprovalInfo.bpmProcessId]); toReviewDetail.apply(this, [customsApprovalInfo.bpmProcessId]);
this.cancel("close"); this.cancel("close");
}, },
//删单退场审核详情
exitReviewDetail() {
const { customsDeleteExitApprovalInfo } = this.shipmentObj;
toReviewDetail.apply(this, [customsDeleteExitApprovalInfo.bpmProcessId]);
this.cancel("close");
},
/* 取消退场审核 */ /* 取消退场审核 */
canclAudit() { canclAudit() {
console.log(this.shipmentObj) console.log(this.shipmentObj)
......
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