Commit 8f6a2001 by Wuyuqiu

申报交易检核提交临时提交

parent 0d531601
......@@ -4,11 +4,11 @@ export default {
methods: {
// 表单提交
async handleSubmit(rulePath) {
let result;let result1;
let result;
if(rulePath==""){
result = await this.save();
}else{
result1 = await this.executeRule(rulePath);
result = await this.executeRule(rulePath);
}
if (result.respCode == SUCCESS && Object.keys(result.fieldErrors).length == 0) {
this.$notify({
......@@ -42,38 +42,6 @@ export default {
});
}
if (result1.respCode == SUCCESS && Object.keys(result1.fieldErrors).length == 0) {
this.$notify({
title: "成功",
message: "保存成功",
type: "success",
});
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", 'bopsel')
//修改待复核界面刷新状态为需要刷新
this.$store.commit("setLoadingFreshReview", true)
});
}else if(result1.fieldErrors && Object.keys(result1.fieldErrors).length > 0 ){
const tab = this.showBackendErrors(result1.fieldErrors)
if (tab) {
// tab切换之后,需出发tab-click的事件
this.tabClick(tab);
}
this.$notify({
title: "错误",
message: "检核失败!",
type: "error",
});
}
else{
this.$notify({
title: "失败",
message: "保存失败",
type: "error",
});
}
},
async handleConfirm() {
......
......@@ -31,8 +31,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit('bopbut.sav')"
:handleCheck="handleCheck('bopbut.chk')"
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<!-- ('bopbut.chk') -->
......
......@@ -165,7 +165,7 @@
v-model="model.recgrp.bas.issdate"
style="width: 100%"
placeholder="请选择开证日期"
disabled
:disabled="!(model.recgrp.bas.methods!='L'&&model.recgrp.bas.methods!='G')"
></c-date-picker>
</el-form-item>
</c-col>
......
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