Commit 69a9dc8e by 吴佳

2022-02-23 wujia 智能审单跪着设置

parent 55b1e9f8
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class ExamRule{
constructor () {
this.data = {
ruleDesc: "", // ctx的key
ruleInfo:"",
opndatfrom:"",
opndatto:"",
opndat:"",
ruleCreater:"",
edit:{
index:"",
ruleDesc: "", // ctx的key
ruleInfo:"",
opndat:"",
ruleCreater:"",
mod:"",
field:"",
},
rows:[],
}
}
}
\ No newline at end of file
......@@ -7,6 +7,10 @@ const Status = {
mode: 'normal',
highlights: [],
highlightChanges: [],
checkRuleData:[
"1\t此证不允许保兑\t{dedgrp.rec.bdflg}==Y\t2022-02-21\tzl",
"2\t单据必须自货物装运日后15日内提交,但不能晚于信用证有效期\t{doc.crtdate} - {didgrp.rec.shpdat} <=15 && {doc.crtdate} <= {didgrp.rec.expdate}\t2022-02-20\tmbf"
],
remark: '', //复核意见
homeStatus: { // 任务列表页状态
listConfig: undefined,
......@@ -40,6 +44,9 @@ const Status = {
setHighlights(state, value) {
state.highlights = value
},
setCheckRuleData(state, value) {
state.checkRuleData = value
},
setHighlightChanges (state, value) {
state.highlightChanges = value
},
......
......@@ -111,6 +111,7 @@ import Bftset from "./Bftset"
import Detdrv from "./Detdrv"
import Bftacc from "./Bftacc"
import Bftdcr from "./Bftdcr"
import ExamRule from "./ExamRule";
/**
* 带有name的才会被添加进顶部的标签页里
*/
......@@ -233,5 +234,6 @@ const BusRouter = [
{ path: 'detdrv', component: Detdrv, name: 'Detdrv', meta: { title: '卖方信用证收单' } },
{ path: 'bftacc', component: Bftacc, name: 'Bftacc', meta: { title: '卖方信用证单据承兑' } },
{ path: 'bftdcr', component: Bftdcr, name: 'Bftdcr', meta: { title: '卖方信用证单据电提不符点/开证行拒付' } },
{ path: 'examRule', component: ExamRule, name: 'ExamRule', meta: { title: '智能审单规则设置' } },
]
export default BusRouter
<template>
<div class="eContainer">
<el-form
:model="model"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
>
<m-infsea :model="model" />
</el-form>
</div>
</template>
<script>
import Utils from "~/utils/index";
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import ExamRule from "~/model/ExamRule"
import Infsea from "./Infsea"
export default {
name: "exaRule",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
model: new ExamRule().data,
};
},
methods: {},
created: async function () {
// console.log("进入ditsel交易");
// let rtnmsg = await Api.post("ditsel/init", { params: {} });
// if (rtnmsg.respCode == SUCCESS) {
// //TODO 处理数据逻辑
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// } else {
// this.$notify.error({ title: "错误", message: "服务请求失败!" });
// }
},
};
</script>
<style>
.infcpdTab .el-tabs__content {
padding: 10px 0 10px 0;
}
.infcpdTab .infrow {
padding: 0 10px 0 10px;
}
.m-table-search-form {
position: flex;
flex-direction: row;
}
.m-table-search-form .el-form-item__content {
width: calc(100% - 110px);
}
</style>
......@@ -120,6 +120,8 @@ export default {
{ inifrm: "detopn", ininam: "信用证开立", pntmiu: "11" },
{ inifrm: "detame", ininam: "信用证修改", pntmiu: "11" },
{ inifrm: "detsel", ininam: "信用证查询", pntmiu: "11" },
{ inifrm: "12",ininam: "智能审单", pntmiu: "" },
{ inifrm: "examRule", ininam: "智能审单规则配置", pntmiu: "12" },
],
menus: [],
menusHeight: 0
......
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