Commit 4dcbd491 by liuxin
parents 1b56d318 78317b48
......@@ -39,7 +39,7 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cptp.uetr":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
......
......@@ -196,6 +196,7 @@ export default class Cptadv{
spayeename:"", // 收款人名称 .cnybop.spayeename
spayername:"", // 付款人名称 .cnybop.spayername
saddword:"", // 交易附言 .cnybop.saddword
saddwordtra:"",
sbankname:"", // 银行机构名称 .cnybop.sbankname
incscale:"", // INCSCALE .cnybop.incscale
},
......
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
......@@ -139,6 +139,7 @@
v-model="model.cpdgrp.orc.pts.adrblk"
show-word-limit
placeholder="请输入Address Block"
disabled
></c-input>
</el-form-item>
</c-col>
......
......@@ -27,7 +27,20 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="备注">
<c-input
type="textarea"
:rows="5"
maxlength="80"
v-model="model.cnybop.saddwordtra"
show-word-limit
placeholder="请输入备注"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1" style="margin-top: 10px">
......
......@@ -41,7 +41,7 @@
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Name" prop="cpdgrp.rec.nam">
<el-form-item label="摘要" prop="cpdgrp.rec.nam">
<c-input
v-model="model.cpdgrp.rec.nam"
maxlength="40"
......@@ -132,7 +132,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人常驻国家/地区代码" prop="cptp.draweecountcode">
<el-form-item label="付款人常驻国家/地区" prop="cptp.draweecountcode">
<c-fullbox>
<c-input
v-model="model.cptp.draweecountcode"
......
......@@ -43,10 +43,7 @@
<!--PD000000 -->
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="报文及面函" name="docpan">
<!--PD000000 -->
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="附件" name="doctre">
<!--PD000529 -->
<m-doctre :model="model" :codes="codes" />
......@@ -64,6 +61,10 @@
<m-incp :model="model" :codes="codes"></m-incp>
</c-content>
</el-tab-pane>
<el-tab-pane label="报文及面函" name="docpan">
<!--PD000000 -->
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
......
<template>
<!-- OCR 单据智能识别 -->
<el-dialog
custom-class="ocr-invoices-dialog"
:visible.sync="show"
:show-close="false"
width="80%"
top="10vh"
>
<div slot="title" class="ocr-title">
<span style="font-weight: bold;">OCR智能识别</span>
<div>
<c-button type="primary" @click="save">保存</c-button>
<c-button type="primary" @click="close">关闭</c-button>
</div>
</div>
<div class="invoices-recognition">
<div class="invoices-area">
<div class="file-name">{{ fileName }}</div>
<iframe class="pdf-file" :src="fileUrl" type="application/pdf" />
</div>
<div class="recognition-area">
<el-form
v-model="invoicesData"
label-width="100px"
label-position="right"
>
<el-col :span="24">
<el-form-item label="">
<c-select v-model="invoicesData.type">
<el-option v-for="(item, idx) in invoicesTypeOptions" :key="idx" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="发票日期">
<c-input type="textarea" v-model="invoicesData.date"></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="发票金额">
<c-input type="textarea" v-model="invoicesData.amount"></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="是否正本">
<c-select v-model="invoicesData.original" style="width: 100%;">
<el-option v-for="(item, idx) in invoicesOriginalOptions" :key="idx" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
</el-col>
</el-form>
</div>
</div>
</el-dialog>
</template>
<script>
// import invoicePdf from "~/assets/invoice.pdf";
export default {
name: "OcrInvoicesRecognition",
data() {
return {
show: false,
fileName: "KZ3500220597AA-001.pdf",
// fileUrl: "/invoice.pdf",
fileUrl: "assets/invoice.pdf",
invoicesTypeOptions: [
{ label: "商业发票", value: "SYFP" },
{ label: "个人发票", value: "GRFP" },
],
invoicesOriginalOptions: [
{ label: "是", value: 1 },
{ label: "否", value: 0 },
],
invoicesData: {
type: "SYFP",
date: "5 DEC 2021",
amount: "USD 223000.00",
original: 1
}
}
},
methods: {
save() {
this.close();
},
close() {
this.show = false
}
}
}
</script>
<style>
.ocr-invoices-dialog {
height: 85%;
display: flex;
flex-direction: column;
margin-bottom: unset;
}
.ocr-invoices-dialog .el-dialog__header, .ocr-invoices-dialog .el-dialog__body {
padding: 0;
}
.ocr-invoices-dialog .el-dialog__body {
flex: 1;
}
</style>
<style scoped>
.ocr-title {
display: flex;
justify-content: space-between;
padding: 5px 10px 5px 20px;
border-bottom: 1px solid #dadbdd;
}
.invoices-recognition {
height: 100%;
display: flex;
background-color: #f6fbff;
padding: 20px;
box-sizing: border-box;
}
.invoices-area {
width: 50%;
border-right: 1px solid #babec1;
box-sizing: border-box;
display: flex;
flex-direction: column;
padding: 0 10px;
}
.recognition-area {
width: 50%;
border-left: 1px solid #babec1;
box-sizing: border-box;
}
.invoices-area .file-name {
padding-bottom: 10px;
text-align: center;
}
.invoices-area .pdf-file {
flex: 1;
}
</style>
\ No newline at end of file
<template>
<div>
<c-button @click="click">KO</c-button>
<OcrInvoicesRecognition ref="ocrInvoices"></OcrInvoicesRecognition>
</div>
</template>
<script>
import OcrInvoicesRecognition from "./OcrInvoicesRecognition.vue";
export default {
components: { OcrInvoicesRecognition },
methods: {
click() {
this.$refs.ocrInvoices.show = true
}
}
}
</script>
<style>
</style>
\ No newline at end of file
......@@ -80,6 +80,9 @@
<el-tab-pane label="授信额度" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Test" name="Test">
<Test/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
......@@ -106,6 +109,7 @@ import Ovwp from "./Ovwp";
import Docpre from "./Docpre";
import Shpdet from "./Shpdet";
// import Limitbody from "./Limitbody";
import Test from "./Test.vue";
import Glepan from "~/views/Public/Glepan";
import Setpan from "~/views/Public/Setpan";
......@@ -129,6 +133,7 @@ export default {
"m-limitbody": Limitbody,
"m-coninfp": Coninfp,
"m-ccvpan": Ccvpan,
Test
},
provide() {
return {
......
<template>
<div class="eibs-tab">
<!-- <c-infsearch-group @handleSearch="handleSearch" @handleReset="handleReset"> -->
<!-- 持续展示区 -->
<!-- <template slot="keepShow"> -->
<el-form
class="m-table-search-form"
ref="paramsForm"
:inline="true"
label-position="right"
label-width="110px"
size="small"
>
<c-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="审单规则"
prop="ruleInfo"
style="width: 100%"
>
<c-input
v-model="model.ruleInfo"
maxlength="50"
placeholder="请输入审单规则"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="创建时间"
prop="opndatfrom"
style="width: 100%"
>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.opndatfrom"
style="width: 100%"
placeholder="请选择"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.opndatto"
style="width: 100%"
placeholder="请选择"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="创建人" prop="ruleCreater" style="width: 100%">
<c-input
v-model="model.ruleCreater"
maxlength="40"
placeholder="请输入Name"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
<!-- </template> -->
<c-col
:span="24"
style="text-align: right; height: 36.8px"
>
<el-button size="small" @click="handleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="handleSearch"
>查询</el-button
>
</c-col>
</el-form>
<c-col :span="24">
<div style="border-bottom: 10px solid rgb(232, 232, 232)"></div>
</c-col>
<c-col style="margin-top: 10px">
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 0 ; float :right" @click="ruleAdd()"
>+添加</c-button
>
</c-col>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column fixed="right" prop="op" label="操作" width="200px">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="ruleDetail(scope)"
>
详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="ruleEdit(scope)"
>
编辑
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="ruleDel(scope.$index)"
>
删除
</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<el-dialog :visible.sync="showPanel" :title="opttitle" append-to-body :before-close="cancel">
<el-form
class="m-table-search-form"
ref="paramsForm"
:inline="true"
label-position="right"
label-width="110px"
size="small"
>
<c-row>
<c-col :span="24">
<c-col :span="24">
<c-input v-if="showIndex" style="visibility: hidden" v-model="model.edit.index" ></c-input>
<el-form-item
label="创建时间"
prop="edit.opndat"
style="width: 100%"
>
<c-col :span="24">
<c-date-picker
type="date"
v-model="model.edit.opndat"
style="width: 95%"
placeholder="请选择"
disabled
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="单据要求内容文本"
prop="edit.ruleDesc"
style="width: 100%"
>
<c-input
v-model="model.edit.ruleDesc"
placeholder="请输入RuleDesc"
type="textarea"
:rows="4"
maxlength="200"
show-word-limit
:disabled="isDetail"
style="width: 95%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="规则判定条件"
prop="edit.ruleInfo"
style="width: 100%"
>
<c-col :span="11">
<el-form-item
label="业务模型"
prop="edit.mod"
style="width: 100%"
>
<c-select
v-model="model.edit.mod"
style="width: 100%"
placeholder="请选择业务模型"
@change="changeMod()"
:disabled="isDetail"
>
<el-option
v-for="item in select01"
:key="item.id"
:label="item.value"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="单据模型"
prop="edit.field"
style="width: 98%"
>
<c-select
v-model="model.edit.field"
style="width: 100%"
placeholder="请选择收支类型"
@change="chooseField()"
:disabled="isDetail"
>
<el-option
v-for="item in select02"
:key="item.id"
:label="item.value"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label=" "
prop="edit.ruleInfo"
style="width: 100%"
>
<c-input
v-model="model.edit.ruleInfo"
placeholder="请输入RuleDesc"
type="textarea"
:rows="4"
maxlength="200"
show-word-limit
:disabled="isDetail"
style="width: 95%"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
<c-col
:span="24"
style="text-align: center; height: 36.8px"
>
<el-button
type="primary"
size="small"
@click="submitData"
v-if="optType"
>提交</el-button
>
<el-button style="margin-left: 0" size="small" @click="cancel">
返回
</el-button>
</c-col>
</el-form>
</el-dialog>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infcpd/Event";
export default {
inject: ["root"],
props: ["model"],
mixins: [CommonProcess],
components: {},
data() {
return {
showPanel: false,
opttitle:"",
optType:true,
dialogTableVisible: false,
isDetail:true,
showIndex:false,
nowDate:'',
select01: [
{
"id": 1,
"value": "doc",
"obj":[{
"id":101,
"value":".crtdate"
},
{
"id":102,
"value":".inv.opndate"
},
{
"id":103,
"value":".inv.original"
},
]
},
{
"id": 2,
"value": "didgrp",
"obj":[{
"id":201,
"value":".rec.shpdat"
},
{
"id":202,
"value":".rec.expdat"
},
{
"id":203,
"value":".rec.bdflg"
},
{
"id":204,
"value":".rec.nomtop"
},
{
"id":205,
"value":".rec.nomton"
},
{
"id":206,
"value":".rec.opndat"
},
]
},
{
"id": 3,
"value": "dedgrp",
"obj":[{
"id":301,
"value":".rec.shpdat"
},
{
"id":302,
"value":".rec.expdat"
},
{
"id":303,
"value":".rec.bdflg"
},
{
"id":304,
"value":".rec.nomtop"
},
{
"id":305,
"value":".rec.nomton"
},
{
"id":306,
"value":".rec.opndat"
},
]
}
],//获取的一级数组数据
select02: [],//获取的二级数组数据
indexNum:0,//定义一级菜单的下标
trnData: {
columns: [
'1 1 "附加条款内容文本" 300',
'2 2 "智能审单规则" 500',
],
data: [],
},
stmData: {
columns: [
'1 1 "附加条款内容文本" 400',
'2 2 "智能审单规则" 800'
],
data: [
],
},
};
},
methods: {
...Event,
ruleDetail(scope){
this.model.edit.opndat = scope.row['srcStr'].split('\t')[3];
this.model.edit.ruleInfo = scope.row['srcStr'].split('\t')[2];
this.model.edit.ruleDesc = scope.row['srcStr'].split('\t')[1];
this.model.edit.index = scope.row['srcStr'].split('\t')[0];
this.isDetail = true;
this.opttitle = "审单规则详情";
this.optType = false;
this.showPanel = true;
},
ruleEdit(scope){
this.model.edit.opndat = scope.row['srcStr'].split('\t')[3];
this.model.edit.ruleInfo = scope.row['srcStr'].split('\t')[2];
this.model.edit.ruleDesc = scope.row['srcStr'].split('\t')[1];
this.isDetail = false;
this.opttitle = "审单规则修改";
this.optType = true;
this.showPanel = true;
},
ruleAdd(){
this.model.edit.opndat = this.nowDate;
this.isDetail = false;
this.opttitle = "审单规则新增";
this.optType = true;
this.showPanel = true;
},
ruleDel(idx){
this.stmData.data.splice(idx,1);
},
changeMod(){
let i = 0;
for (i = 0;i<this.select01.length;i++) {
if (this.select01[i].value == this.model.edit.mod){
this.indexNum = i;
break
}
}
this.select02 = this.select01[this.indexNum].obj;
},
chooseField(){
this.model.edit.ruleInfo = this.model.edit.ruleInfo +'{' + this.model.edit.mod + this.model.edit.field +'}';
},
submitData(){
const length = this.stmData.data.length;
let btnStr = this.stmData.data;
let str ;
if(this.model.edit.index == ""){ //新增
let max = 0;
for(let i=0; i < length; i++){
//获取数组中每行的数据
let arr = btnStr[i].split("\t");
if(arr[0] > max) {
max = arr[0];
}
}
max++;
str = max +'\t' + this.model.edit.ruleDesc + '\t' + this.model.edit.ruleInfo + '\t' + this.model.edit.opndat + '\t' + 'mbf';
this.stmData.data.splice(length,0,str);
}else{ //修改
let num = 0;
for(let i=0; i < length; i++){
//获取数组中每行的数据
let arr = btnStr[i].split("\t");
if(arr[0] == this.model.edit.index ) {
str = arr[0]+'\t' + this.model.edit.ruleDesc + '\t' + this.model.edit.ruleInfo + '\t' + arr[3] + '\t' + arr[4];
num = i;
break;
}
}
this.stmData.data.splice(num,1,str);
}
this.$store.commit('setCheckRuleData', this.stmData.data)
this.model.edit.opndat = '';
this.model.edit.ruleInfo = '';
this.model.edit.ruleDesc = '';
this.model.edit.ruleInfo = '';
this.model.edit.mod = '';
this.model.edit.field = '';
this.model.edit.index='';
this.showPanel = false;
},
cancel(){
this.model.edit.opndat = '';
this.model.edit.ruleInfo = '';
this.model.edit.ruleDesc = '';
this.model.edit.mod = '';
this.model.edit.field = '';
this.model.edit.index='';
this.showPanel = false;
},
handleReset() {},
},
created: function () {
this.stmData.data = this.$store.state.Status.checkRuleData;
let date = new Date();
let year = date.getFullYear();
let month = date.getMonth() + 1;
let day = date.getDate();
this.nowDate = year + '-' + month + '-' + day;
this.model.opndatfrom = this.nowDate;
this.model.opndatto = this.nowDate;
},
};
</script>
<style>
.el-dialog__body {
padding: 10px 5px 50px;
}
</style>
\ No newline at end of file
<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
......
......@@ -126,7 +126,6 @@
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
export default {
inject: ['root'],
......@@ -137,7 +136,18 @@ export default {
}
},
methods:{...Event},
methods:{
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall_butmisamt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
},
created:function(){
}
......
......@@ -9,7 +9,6 @@
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
export default {
inject: ['root'],
......@@ -43,7 +42,9 @@ export default {
immediate: true
}
},
methods:{...Event},
methods:{
},
created:function(){
}
......
......@@ -285,7 +285,7 @@
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditopn/Event";
// import Event from "~/model/Ditopn/Event";
export default {
inject: ['root'],
......@@ -296,7 +296,29 @@ export default {
tableData: {},
};
},
methods: { ...Event ,
methods: {
onSeainf() {
},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper_buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts_get1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
nonrevflg1Change(){
if (this.model.liaall.limmod.limpts.nonrevflg1 == '1'){
this.model.liaall.limmod.limpts.pfcod1 = "";
......
......@@ -1026,7 +1026,7 @@
</c-row>
</template>
<script>
import Event from "~/model/Ditopn/Event";
// import Event from "~/model/Ditopn/Event";
import CommonProcess from "~/mixin/CommonProcess";
import SetpanDialog from "./SetpanDialog.vue";
import Api from "~/service/Api"
......@@ -1075,7 +1075,6 @@ export default {
};
},
methods: {
...Event,
//第一个表格
addRow() {
let newRow = { ...dialog };
......@@ -1161,7 +1160,17 @@ export default {
},
onSetgllDetget(){
}
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
},
created: function () {},
};
......
......@@ -37,6 +37,10 @@ module.exports = (options = {}) => ({
limit: 10000
}
}]
},
{
test: /\.pdf$/,
loader: 'file-loader?mimetype=application/pdf&name=[name].pdf'
}
]
},
......
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