Commit 453f6401 by nanrui

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents a3db72c6 3c0ffb3d
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"brdgrp.prb.pts.adrblk":[ "brdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, //{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"} {max: 140,message:"长度不能超过140"}
], ],
"brdgrp.prb.dbfadrblkcn":[ "brdgrp.prb.dbfadrblkcn":[
...@@ -190,7 +190,7 @@ export default { ...@@ -190,7 +190,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"brtp.oth.pts.adrblk":[ "brtp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, //{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"} {max: 140,message:"长度不能超过140"}
], ],
"brtp.oth.dbfadrblkcn":[ "brtp.oth.dbfadrblkcn":[
......
...@@ -108,7 +108,7 @@ export default { ...@@ -108,7 +108,7 @@ export default {
const selIds = [idx + 1]; const selIds = [idx + 1];
const selDst = "trncorco.trnstm" //列表对应后台模型中的stream const selDst = "trncorco.trnstm" //列表对应后台模型中的stream
let params = { selDst, selIds }; let params = { selDst, selIds };
this.executeRule("dsp,reldsp",params).then((res) => { this.executeRule("dsp",params).then((res) => {
if ((res.respCode == SUCCESS)) { if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
sessionStorage.setItem('InftrnpsDetail', JSON.stringify(this.model)); sessionStorage.setItem('InftrnpsDetail', JSON.stringify(this.model));
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
const selIds = [idx + 1]; const selIds = [idx + 1];
const selDst = "trncorco.trnstm" //列表对应后台模型中的stream const selDst = "trncorco.trnstm" //列表对应后台模型中的stream
let params = { selDst, selIds }; let params = { selDst, selIds };
this.executeRule("dsp,reldsp",params).then((res) => { this.executeRule("dsp",params).then((res) => {
if ((res.respCode == SUCCESS)) { if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
sessionStorage.setItem('InftrnpsDetail', JSON.stringify(this.model)); sessionStorage.setItem('InftrnpsDetail', JSON.stringify(this.model));
......
...@@ -502,23 +502,26 @@ ...@@ -502,23 +502,26 @@
v-model="model.brdgrp.rec.docprbrol" v-model="model.brdgrp.rec.docprbrol"
style="width: 100%" style="width: 100%"
placeholder="请选择 Presented by" placeholder="请选择 Presented by"
:code="codes.docprbrol" @change="selectOrCheckboxRule('brdgrp.rec.docprbrol')"
:code="codes.docprbrol1"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap1 <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '', title: '',
grp: 'brdgrp', grp: 'brdgrp',
rol: 'prb', rol: 'prb',
}" }"
:disabled="true" :disabled="this.flag2"
@onSeainf="onSeainf" @onAplpDet="onPrbpDet" :disabledExtkey="this.flag"
:isAdrblk="true"
:noRef="true"
> >
</c-ptap1> </c-ptap>
</c-col> </c-col>
<!-- SF000087 : Payer --> <!-- SF000087 : Payer -->
<c-col :span="24"> <c-col :span="24">
...@@ -527,24 +530,26 @@ ...@@ -527,24 +530,26 @@
v-model="model.brdgrp.rec.payrol" v-model="model.brdgrp.rec.payrol"
style="width: 100%" style="width: 100%"
placeholder="请输入付款人" placeholder="请输入付款人"
@change="selectOrCheckboxRule('brdgrp.rec.payrol')"
:code="codes.payrol1" :code="codes.payrol1"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap1 <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '', title: '',
grp: 'brtp', grp: 'brtp',
rol: 'oth', rol: 'oth',
}" }"
:disabled="true" :disabled="this.flag3"
disabled1 :disabledExtkey="this.flag4"
@onSeainf="onSeainf" @onAplpDet="onOthpDet" :isAdrblk="true"
:noRef="true"
> >
</c-ptap1> </c-ptap>
<!-- <c-ptap <!-- <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -573,20 +578,71 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -573,20 +578,71 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtdck/Event"; import Event from "~/model/Brtdck/Event";
import Ptap1 from "~/views/Public/Ptap1"; import Ptap1 from "~/views/Public/Ptap1";
// import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
import Ptsmsg from "~/views/Public/Ptsmsg"; import Ptsmsg from "~/views/Public/Ptsmsg";
export default { export default {
components: { components: {
"c-ptap1": Ptap1, "c-ptap1": Ptap1,
// "c-ptap": Ptap, "c-ptap": Ptap,
"c-ptsmsg": Ptsmsg, "c-ptsmsg": Ptsmsg,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {
flag:true,
flag2:true,
flag3:true,
flag4:true,
};
},
watch:{
"model.brdgrp.rec.docprbrol":function(){
if(this.model.brdgrp.rec.docprbrol=='ADV'){
this.flag=true;
}
else if(this.model.brdgrp.rec.docprbrol=='BEN'){
this.flag=true;
}
else if(this.model.brdgrp.rec.docprbrol=='PRB'){
this.flag=false;
}
},
"model.brdgrp.prb.pts.extkey" :{
immediate:true,
handler(val ,oldVal){
if(this.model.brdgrp.prb.pts.extkey!=''){
this.flag2=true;
}else{
this.flag2=false;
}
}
},
"model.brdgrp.rec.payrol":function(){
if(this.model.brdgrp.rec.payrol=='APL'){
this.flag4=true;
}
else if(this.model.brdgrp.rec.payrol=='OTH'){
this.flag4=false;
}
},
"model.brtp.oth.pts.extkey" :{
immediate:true,
handler(val ,oldVal){
if(this.model.brtp.oth.pts.extkey!=''){
this.flag3=true;
}else{
this.flag3=false;
}
}
},
}, },
methods: { ...Event, onSeainf(){}}, methods: { ...Event, onSeainf(){}},
created: function () {}, created: function () {},
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="拒付详情" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="银行指令" name="gitbin">
<m-gitbin :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitcrj/Event";
import Gitsetp1 from "./Gitsetp1"
import Gitbin from "./Gitbin"
export default {
components:{
"m-gitsetp1" : Gitsetp1,
"m-gitbin" : Gitbin,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["gitsetp1"],
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template> <template>
<c-page title="进口保函拒付">
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-page title="进口保函拒付">
:handleSubmit="handleSubmit"
:handleCheck="handleCheck" <!-- <el-button size="small">备忘录</el-button>
:handleStash="handleStash" <el-button size="small">影像信息</el-button> -->
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">使用模板</el-button> --> <!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button> <!-- <el-button size="small">制裁信息</el-button> -->
<!-- <el-button size="small">拆分报文</el-button> --> <!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button> <!-- <el-button size="small">智能提示</el-button> -->
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000031 --> <!--PD000031 -->
<el-tab-pane label="拒付" name="gitsetp1"> <!-- <el-tab-pane label="拒付" name="gitsetp1">
<c-content> <c-content>
<m-gitsetp1 :model="model" :codes="codes"/> <m-gitsetp1 :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan"> <el-tab-pane label="费用/账务" name="setpann">
<m-setpan :model="model" :codes="codes"/> <c-content>
</el-tab-pane> <div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="备查/附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <c-content>
</el-tab-pane> <div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="面函" name="docpan"> <el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--PD000546 -->
<el-tab-pane label="交易附件" name="doctre"> <el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000076 --> <!--PD000076 -->
<el-tab-pane label="银行指令" name="gitbin"> <!-- <el-tab-pane label="银行指令" name="gitbin">
<m-gitbin :model="model" :codes="codes"/> <m-gitbin :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
-->
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" <c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData"
...@@ -64,8 +103,17 @@ ...@@ -64,8 +103,17 @@
@select-ety="selectMsg" @select-ety="selectMsg"
> >
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</c-page>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
...@@ -85,6 +133,7 @@ import Doctre from "~/views/Public/Doctre" ...@@ -85,6 +133,7 @@ import Doctre from "~/views/Public/Doctre"
import Docpan from "~/views/Public/Docpan" import Docpan from "~/views/Public/Docpan"
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp" import Coninfp from "~/views/Public/Coninfp"
import Ovwp from "./Ovwp"
export default { export default {
...@@ -97,6 +146,7 @@ export default { ...@@ -97,6 +146,7 @@ export default {
"m-doctre" : Doctre, "m-doctre" : Doctre,
"m-gitbin" : Gitbin, "m-gitbin" : Gitbin,
"m-limitbody" : Limitbody, "m-limitbody" : Limitbody,
"m-ovwp" : Ovwp,
}, },
provide() { provide() {
return { return {
...@@ -106,7 +156,7 @@ export default { ...@@ -106,7 +156,7 @@ export default {
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "gitsetp1", tabVal: "ovwp",
trnName: "gitcrj", trnName: "gitcrj",
model: new Gitcrj().data, model: new Gitcrj().data,
checkRules: Check, checkRules: Check,
...@@ -115,6 +165,7 @@ export default { ...@@ -115,6 +165,7 @@ export default {
rules: null, rules: null,
codes: {...CodeTable codes: {...CodeTable
}, },
activeNames: ["setpan","coninfp"],
} }
}, },
methods:{ methods:{
......
...@@ -35,7 +35,7 @@ export default { ...@@ -35,7 +35,7 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "sel",
trnName: "gitsel", trnName: "gitsel",
model: new Gitsel().data, model: new Gitsel().data,
checkRules: Check, checkRules: Check,
......
...@@ -91,10 +91,10 @@ ...@@ -91,10 +91,10 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="trnmod.swiadd.ameamt"> <el-form-item label="" prop="trnmod.swiadd.ameamt">
<c-input-currency <c-input-currency-min
v-model="model.trnmod.swiadd.ameamt" v-model="model.trnmod.swiadd.ameamt"
placeholder="请输入增减金额." placeholder="请输入增减金额."
></c-input-currency> ></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
......
<template> <template>
<div class="eibs"> <div class="eibs">
<el-col :span="12" style="padding-right: 20px">
<el-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="附加条款" prop="lidgrp.blk.adlcnd"> <el-form-item label="附加条款" prop="lidgrp.blk.adlcnd">
<c-input <c-input
disabled :autosize="{ minRows: 12, maxRows: 800 }"
:rows="12" :disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.adlcnd" maxlength="65" show-word-limit placeholder="请输入附加条款" ></c-input> type="textarea"
</el-form-item> v-model="model.lidgrp.blk.adlcnd"
maxlength="52000"
show-word-limit
placeholder="请输入附加条款"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="24"> <el-form-item
<el-form-item label="添加/删除补充信息" prop="litamep.adlcndamep.usrblk"> label="添加/删除当前修订中的文本"
<c-input prop="litamep.adlcndamep.usrblk"
:rows="13" >
type="textarea" v-model="model.litamep.adlcndamep.usrblk" maxlength="65" show-word-limit placeholder="请输入添加/删除补充信息" ></c-input> <c-fullbox>
</el-form-item> <c-input
:disabled="this.flag2"
:autosize="{ minRows: 22, maxRows: 800 }"
type="textarea"
v-model="model.litamep.adlcndamep.usrblk"
maxlength="52000"
show-word-limit
placeholder="请输入添加/删除补充信息"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.adlcndame.buttxmsel',
null,
null,
{ TXT: 'litamep.adlcndamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="22">
<el-form-item
label="添加/删除当前修订中的文本"
prop="litamep.adlcndamep.usrblk"
>
<c-input
:disabled="this.flag2"
:autosize="{ minRows: 22, maxRows: 800 }"
type="textarea"
v-model="model.litamep.adlcndamep.usrblk"
maxlength="52000"
show-word-limit
placeholder="请输入添加/删除补充信息"
></c-input>
</el-form-item>
</c-col> </c-col>
</el-col> <c-col :span="2">
<!-- ================================ --> <c-button
<el-col :span="11" :offset="1"> size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.adlcndame.buttxmsel',
null,
null,
{ TXT: 'litamep.adlcndamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</c-col> -->
</el-col>
<el-col :span="12" style="padding-left: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.adlcndame"> <el-form-item label="历史概述" prop="lidgrp.blk.adlcndame">
<c-input <c-input
disabled :autosize="{ minRows: 12, maxRows: 999 }"
:rows="12" disabled
type="textarea" v-model="model.lidgrp.blk.adlcndame" maxlength="50" show-word-limit placeholder="请输入Additional Conditions Amendment History" ></c-input> type="textarea"
</el-form-item> v-model="model.lidgrp.blk.adlcndame"
maxlength="4950"
show-word-limit
placeholder="请输入Additional Conditions Amendment History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox
class="checkbox-left"
style="margin: 0px 0 10px 120px"
v-model="model.lidgrp.rec.redclsflg"
>红/绿条款</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox
style="margin: 0px 0 10px 100px"
v-model="model.lidgrp.rec.spcbenflg"
>适用于受益人的特殊付款条款</c-checkbox
>
</c-col> </c-col>
<c-col :span="12">
<c-checkbox
@change="open"
class="checkbox-left"
style="margin: 0px 0 10px 120px"
v-model="model.litamep.adlcndamep.modflg"
>修改要替换的文本</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox
style="margin: 0px 0 10px 100px"
v-model="model.lidgrp.rec.spcrcbflg"
>仅适用于银行的特殊付款条款</c-checkbox
>
</c-col>
<c-col :span="12">
<el-form-item label=" " prop="litamep.adlcndamep.modmanflg">
<c-checkbox
@change="open1"
class="checkbox-left"
v-model="model.litamep.adlcndamep.modmanflg"
>内部修改文本</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.lidgrp.rec.redclsflg" style="margin-left:0px;padding: 0 10px;" >红/绿条款选项</c-checkbox> <c-button
</c-col> style="margin: 0px 0 10px 120px"
size="small"
<c-col :span="24"> type="primary"
<c-checkbox v-model="model.lidgrp.rec.spcbenflg" style="margin-left:0px;padding: 0 10px;">受益人特殊付款条件</c-checkbox> @click="onAdlcndamepButdif"
</c-col> >
<c-col :span="24">
<c-checkbox v-model="model.lidgrp.rec.spcrcbflg" style="margin-left:0px;padding: 0 10px;">银行专用特殊付款条件</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.litamep.adlcndamep.modflg" style="margin-left:0px;padding: 0 10px;">修改要替换的文本</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.litamep.adlcndamep.modmanflg" style="margin-left:0px;padding: 0 10px;">手动更新的修改字段</c-checkbox>
</c-col>
<c-col :span="24">
<c-button
size="small" type="primary" style=" margin: 0px 0px 10px 610px;" @click="onAdlcndamepButdif">
显示差异 显示差异
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
disabled style="margin: 0px 0 10px 120px"
size="small" type="primary" style=" margin: 0px 0px 10px 610px;" @click="onAdlcndamepButadd"> size="small"
type="primary"
disabled
@click="onAdlcndamepButadd"
>
添加文本 添加文本
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
disabled style="margin: 0px 0 10px 120px"
size="small" type="primary" style=" margin: 0px 0px 10px 610px;" @click="onAdlcndamepButdel"> size="small"
type="primary"
disabled
icon="el-icon-delete"
@click="onAdlcndamepButdel"
>
删除文本 删除文本
</c-button> </c-button>
</c-col> </c-col>
</el-col> </el-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
</div> import Event from "~/model/Litame/Event";
</template>
<script> export default {
import Api from "~/service/Api" inject: ["root"],
import commonProcess from "~/mixin/commonProcess"; props: ["model", "codes"],
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
},
watch: {
"model.litamep.adlcndamep.modflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.adlcndamep.usrblk = "";
} else if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.adlcndamep.modflg == "" &&
this.model.litamep.adlcndamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.adlcndamep.modflg == "" &&
this.model.litamep.adlcndamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.adlcndamep.usrblk = "";
}
},
},
"model.litamep.adlcndamep.modmanflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.adlcndamep.usrblk = "";
} else if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.adlcndamep.modflg == "" &&
this.model.litamep.adlcndamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.adlcndamep.modflg == "" &&
this.model.litamep.adlcndamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.adlcndamep.usrblk = "";
}
},
},
},
methods: {
...Event,
open(val) {
if (val === "" && !(this.model.lidgrp.blk.adlcnd == "")) {
this.$confirm(
"Do you really want to reset your manual modifications?",
"提示",
{
cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.adlcnd = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.adlcndamep.modflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (val == "X" && this.model.litamep.adlcndamep.modmanflg == "X") {
this.$confirm("Please reset internal modification first", "提示", {
confirmButtonText: "Ok",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.adlcndamep.modflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.adlcnd == "")) {
this.$confirm(
"Do you really want to reset your manual modifications?",
"提示",
{
cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.adlcnd = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.adlcndamep.modmanflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == "X"
) {
this.$confirm("Please reset modification to replace first", "提示", {
confirmButtonText: "Ok",
cancelButtonText: "",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.adlcndamep.modmanflg = "";
this.flag1 = true;
this.flag2 = false;
});
} }
},
}, },
methods:{...Event}, created: function () {},
created:function(){ };
</script>
} <style>
} </style>
</script>
<style> \ No newline at end of file
</style>
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox disabled v-model="model.litp.aamp.aammod.addamtflg">附加金额</c-checkbox> <c-checkbox v-model="model.litp.aamp.aammod.addamtflg">附加金额</c-checkbox>
</c-col> </c-col>
......
<template> <template>
<div class="eibs"> <div class="eibs">
<el-col :span="11"> <el-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="货物/服务描述" prop="lidgrp.blk.lcrgod">
<c-input
:rows="12"
disabled type="textarea" v-model="model.lidgrp.blk.lcrgod" maxlength="65" show-word-limit placeholder="请输入货物描述" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="在当前修订中添加/删除文本" prop="litamep.lcrgodamep.usrblk"> <el-form-item label="货物/服务描述" prop="lidgrp.blk.lcrgod">
<c-input <c-input
:rows="9" :autosize="{ minRows: 12, maxRows: 800 }"
type="textarea" v-model="model.litamep.lcrgodamep.usrblk" maxlength="65" show-word-limit placeholder="请输入添加/删除补充信息" ></c-input> :disabled="this.flag1"
</el-form-item> type="textarea"
</c-col> v-model="model.lidgrp.blk.lcrgod"
</el-col> maxlength="52000"
<!-- ================================================================================ --> show-word-limit
<el-col :span="11" :offset="1"> placeholder="请输入描述信息"
<c-col :span="24"> ></c-input>
<el-form-item label="历史概述" prop="lidgrp.blk.lcrgodame"> </el-form-item>
<c-input
:rows="12"
disabled type="textarea" v-model="model.lidgrp.blk.lcrgodame" maxlength="50" show-word-limit placeholder="请输入Description of Goods Amendment History" ></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.litamep.lcrgodamep.modflg" style="margin-left:0px;padding: 0 10px;">修改要替换的文本</c-checkbox> <el-form-item
</c-col> label="在当前修订中添加/删除文本"
prop="litamep.lcrgodamep.usrblk"
<c-col :span="24"> >
<c-checkbox v-model="model.litamep.lcrgodamep.modmanflg" style="margin-left:0px;padding: 0 10px;">手动更新的修改字段</c-checkbox> <c-fullbox>
</c-col> <c-input
<c-col :span="24"> :disabled="this.flag2"
<c-button :autosize="{ minRows: 22, maxRows: 800 }"
size="small" type="primary" style=" margin: 0px 0px 10px 610px;" @click="onAdlcndamepButdif"> type="textarea"
v-model="model.litamep.lcrgodamep.usrblk"
maxlength="52000"
show-word-limit
placeholder="请输入添加/删除补充信息"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.lcrgodame.buttxmsel',
null,
null,
{ TXT: 'litamep.lcrgodamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="22">
<el-form-item
label="在当前修订中添加/删除文本"
prop="litamep.lcrgodamep.usrblk"
>
<c-input
:disabled="this.flag2"
:autosize="{ minRows: 22, maxRows: 800 }"
type="textarea"
v-model="model.litamep.lcrgodamep.usrblk"
maxlength="52000"
show-word-limit
placeholder="请输入添加/删除补充信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.lcrgodame.buttxmsel',
null,
null,
{ TXT: 'litamep.lcrgodamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</c-col> -->
</el-col>
<el-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.lcrgodame">
<c-input
:autosize="{ minRows: 12, maxRows: 999 }"
disabled
type="textarea"
v-model="model.lidgrp.blk.lcrgodame"
maxlength="4950"
show-word-limit
placeholder="请输入Description of Goods Amendment History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="litamep.lcrgodamep.modflg">
<c-checkbox
@change="open"
class="checkbox-left"
v-model="model.litamep.lcrgodamep.modflg"
>修改要替换的文本</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style="margin: 0px 0 10px 125px"
v-model="model.litamep.lcrgodamep.modmanflg"
>内部修改文本</c-checkbox
>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
@click="onLcrgodamepButdif"
>
显示差异 显示差异
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
disabled style="margin: 0px 0 10px 120px"
size="small" type="primary" style=" margin: 0px 0px 10px 610px;" @click="onAdlcndamepButadd"> disabled
size="small"
type="primary"
@click="onLcrgodamepButadd"
>
添加文本 添加文本
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
disabled style="margin: 0px 0 10px 120px"
size="small" type="primary" style=" margin: 0px 0px 10px 610px;" @click="onAdlcndamepButdel"> disabled
size="small"
type="primary"
icon="el-icon-delete"
@click="onLcrgodamepButdel"
>
删除文本 删除文本
</c-button> </c-button>
</c-col> </c-col>
</el-col> </el-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Litame/Event";
export default {
inject: ["root"],
</div> props: ["model", "codes"],
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
flag1: true,
flag2: false,
};
},
watch: {
"model.litamep.lcrgodamep.modflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrgodamep.usrblk = "";
} else if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.lcrgodamep.modflg == "" &&
this.model.litamep.lcrgodamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.lcrgodamep.modflg == "" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrgodamep.usrblk = "";
}
},
},
"model.litamep.lcrgodamep.modmanflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrgodamep.usrblk = "";
} else if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.lcrgodamep.modflg == "" &&
this.model.litamep.lcrgodamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.lcrgodamep.modflg == "" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrgodamep.usrblk = "";
}
},
},
},
methods: {
...Event,
open(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrgod == "")) {
this.$confirm(
"Do you really want to reset your manual modifications?",
"提示",
{
cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrgod = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.lcrgodamep.modflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (val == "X" && this.model.litamep.lcrgodamep.modmanflg == "X") {
this.$confirm("Please reset internal modification first", "提示", {
confirmButtonText: "Ok",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrgodamep.modflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrgod == "")) {
this.$confirm(
"Do you really want to reset your manual modifications?",
"提示",
{
cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrgod = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.lcrgodamep.modmanflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
) {
this.$confirm("Please reset modification to replace first", "提示", {
confirmButtonText: "Ok",
cancelButtonText: "",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrgodamep.modmanflg = "";
this.flag1 = true;
this.flag2 = false;
});
} }
},
}, },
methods:{...Event}, created: function () {},
created:function(){ };
</script>
} <style>
} </style>
</script>
<style> \ No newline at end of file
</style>
<template> <template>
<div class="eibs"> <div class="eibs">
<el-col :span="11"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据要求" prop="lidgrp.blk.lcrdoc"> <el-form-item label="单据要求" prop="lidgrp.blk.lcrdoc">
<c-input <c-input
:rows="12" :autosize="{ minRows: 12, maxRows: 800 }"
disabled :disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.lcrdoc" maxlength="65" show-word-limit placeholder="请输入单据要求" ></c-input> type="textarea"
</el-form-item> v-model="model.lidgrp.blk.lcrdoc"
maxlength="52000"
show-word-limit
placeholder="请输入单据要求"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="在当前修订中添加/删除文本" prop="litamep.lcrdocamep.usrblk"> <el-form-item
<c-input label="添加/删除当前修订中的文本"
:rows="9" prop="litamep.lcrdocamep.usrblk"
type="textarea" v-model="model.litamep.lcrdocamep.usrblk" maxlength="65" show-word-limit placeholder="请输入添加/删除补充信息" ></c-input> >
</el-form-item> <c-fullbox>
<c-input
type="textarea"
:disabled="this.flag2"
v-model="model.litamep.lcrdocamep.usrblk"
maxlength="52000"
show-word-limit
placeholder="请输入添加/删除补充信息"
:autosize="{ minRows: 22, maxRows: 800 }"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.lcrdocame.buttxmsel',
null,
null,
{ TXT: 'litamep.lcrdocamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
</el-col> <!-- <c-col :span="22">
<!--======================== --> <el-form-item
<el-col :span="11" :offset="1"> label="添加/删除当前修订中的文本"
prop="litamep.lcrdocamep.usrblk"
>
<c-input
type="textarea"
:disabled="this.flag2"
v-model="model.litamep.lcrdocamep.usrblk"
maxlength="52000"
show-word-limit
placeholder="请输入添加/删除补充信息"
:autosize="{ minRows: 22, maxRows: 800 }"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.lcrdocame.buttxmsel',
null,
null,
{ TXT: 'litamep.lcrdocamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</c-col> -->
</c-col>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.lcrdocame"> <el-form-item label="历史概述" prop="lidgrp.blk.lcrdocame">
<c-input <c-input
:rows="12" :autosize="{ minRows: 12, maxRows: 999 }"
disabled disabled
type="textarea" v-model="model.lidgrp.blk.lcrdocame" maxlength="50" show-word-limit placeholder="请输入单据要求 Amendment History" ></c-input> type="textarea"
</el-form-item> v-model="model.lidgrp.blk.lcrdocame"
maxlength="4950"
show-word-limit
placeholder="请输入单据要求 Amendment History"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label=" " prop="litamep.lcrdocamep.modflg">
<c-checkbox
@change="open"
class="checkbox-left"
v-model="model.litamep.lcrdocamep.modflg"
>修改要替换的文本</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style="margin: 0px 0 10px 125px"
v-model="model.litamep.lcrdocamep.modmanflg"
>内部修改文本</c-checkbox
>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.litamep.lcrdocamep.modflg" style="margin-left:0px;padding: 0 10px;">修改要替换的文本</c-checkbox> <c-button
</c-col> style="margin: 0px 0 10px 120px"
size="small"
<c-col :span="24"> type="primary"
<c-checkbox v-model="model.litamep.lcrdocamep.modmanflg" style="margin-left:0px;padding: 0 10px;">手动更新的修改字段</c-checkbox> @click="onLcrdocamepButdif"
</c-col> >
<c-col :span="24">
<c-button
size="small" type="primary" style=" margin: 0px 0px 10px 610px;" @click="onAdlcndamepButdif">
显示差异 显示差异
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
disabled style="margin: 0px 0 10px 120px"
size="small" type="primary" style=" margin: 0px 0px 10px 610px;" @click="onAdlcndamepButadd"> disabled
size="small"
type="primary"
@click="onLcrdocamepButadd"
>
添加文本 添加文本
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
disabled style="margin: 0px 0 10px 120px"
size="small" type="primary" style=" margin: 0px 0px 10px 610px;" @click="onAdlcndamepButdel"> disabled
size="small"
type="primary"
icon="el-icon-delete"
@click="onLcrdocamepButdel"
>
删除文本 删除文本
</c-button> </c-button>
</c-col> </c-col>
</el-col> </c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Litame/Event";
</div> export default {
</template> inject: ["root"],
<script> props: ["model", "codes"],
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
flag1: true,
flag2: false,
};
},
watch: {
"model.litamep.lcrdocamep.modflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrdocamep.usrblk = "";
} else if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.lcrdocamep.modflg == "" &&
this.model.litamep.lcrdocamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.lcrdocamep.modflg == "" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrdocamep.usrblk = "";
}
},
},
"model.litamep.lcrdocamep.modmanflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrdocamep.usrblk = "";
} else if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.lcrdocamep.modflg == "" &&
this.model.litamep.lcrdocamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.lcrdocamep.modflg == "" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrdocamep.usrblk = "";
}
},
},
},
methods: {
...Event,
open(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrdoc == "")) {
this.$confirm(
"Do you really want to reset your manual modifications?",
"提示",
{
cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrdoc = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.lcrdocamep.modflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (val == "X" && this.model.litamep.lcrdocamep.modmanflg == "X") {
this.$confirm("Please reset internal modification first", "提示", {
confirmButtonText: "Ok",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrdocamep.modflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrdoc == "")) {
this.$confirm(
"Do you really want to reset your manual modifications?",
"提示",
{
cancelButtonText: "Cannel",
confirmButtonText: "Ok",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrdoc = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.lcrdocamep.modmanflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
) {
this.$confirm("Please reset modification to replace first", "提示", {
confirmButtonText: "Ok",
cancelButtonText: "",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrdocamep.modmanflg = "";
this.flag1 = true;
this.flag2 = false;
});
} }
},
}, },
methods:{...Event}, created: function () {},
created:function(){ };
</script>
} <style>
} </style>
</script>
<style> \ No newline at end of file
</style>
...@@ -29,12 +29,22 @@ ...@@ -29,12 +29,22 @@
<!-- 当事人信息 --> <!-- 当事人信息 -->
<m-ptyp :model="model" :codes="codes" /> <m-ptyp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="货物" name="dogp">
<!-- 货物 -->
<m-dogp :model="model" :codes="codes" :dtyp="'dorp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="货物修改" name="dogpame"> <el-collapse-item title="货物修改" name="dogpame">
<!-- 货物修改 --> <!-- 货物修改 -->
<m-dogpame :model="model" :codes="codes" /> <m-dogpame :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="单据" name="dorp">
<!-- 单据 -->
<m-dorp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="单据修改" name="dorpame"> <el-collapse-item title="单据修改" name="dorpame">
<!-- 单据修改--> <!-- 单据修改-->
<m-dorpame :model="model" :codes="codes" :dtyp="'dogp'" :rec="'lid'" /> <m-dorpame :model="model" :codes="codes" :dtyp="'dogp'" :rec="'lid'" />
...@@ -84,20 +94,11 @@ ...@@ -84,20 +94,11 @@
<m-inspame :model="model" :codes="codes" :dtyp="'adcp'" :rec="'lid'" /> <m-inspame :model="model" :codes="codes" :dtyp="'adcp'" :rec="'lid'" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="货物" name="dogp">
<!-- 货物 --> <!-- <el-collapse-item title="试算结果" name="shisuan"> -->
<m-dogp :model="model" :codes="codes" :dtyp="'dorp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="单据" name="dorp">
<!-- 单据 -->
<m-dorp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="试算结果" name="shisuan">
<!-- 试算结果 --> <!-- 试算结果 -->
<m-shisuan :model="model" :codes="codes" /> <!-- <m-shisuan :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item> -->
</el-collapse> </el-collapse>
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<c-checkbox <c-checkbox
style=" margin: 0px 0 10px 150px;" style=" margin: 0px 0px 10px 120px;" class="checkbox-left"
@change="open" @change="open"
v-model="model.litamep.spcbenamep.modflg">修改要替换的文本</c-checkbox> v-model="model.litamep.spcbenamep.modflg">修改要替换的文本</c-checkbox>
...@@ -55,13 +55,13 @@ ...@@ -55,13 +55,13 @@
<c-col :span="12"> <c-col :span="12">
<c-checkbox <c-checkbox
@change="open1" @change="open1"
style=" margin: 0px 0 10px 125px;" style=" margin: 0px 0 10px 120px;"
v-model="model.litamep.spcbenamep.modmanflg">内部修改文本</c-checkbox> v-model="model.litamep.spcbenamep.modmanflg">内部修改文本</c-checkbox>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button <c-button
style=" margin: 0px 0 10px 150px;" style=" margin: 0px 0 10px 120px;"
size="small" type="primary" @click="onLcrdocamepButdif"> size="small" type="primary" @click="onLcrdocamepButdif">
显示差异 显示差异
</c-button> </c-button>
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
style=" margin: 0px 0 10px 150px;" style=" margin: 0px 0 10px 120px;"
disabled disabled
size="small" type="primary" @click="onLcrdocamepButadd"> size="small" type="primary" @click="onLcrdocamepButadd">
添加文本 添加文本
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
style=" margin: 0px 0 10px 150px;" style=" margin: 0px 0 10px 120px;"
disabled disabled
size="small" type="primary" icon="el-icon-delete" @click="onLcrdocamepButdel"> size="small" type="primary" icon="el-icon-delete" @click="onLcrdocamepButdel">
删除文本 删除文本
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<c-checkbox <c-checkbox
style=" margin: 0px 0 10px 150px;" style=" margin: 0px 0px 10px 120px;" class="checkbox-left"
@change="open" @change="open"
v-model="model.litamep.spcrcbamep.modflg">修改要替换的文本</c-checkbox> v-model="model.litamep.spcrcbamep.modflg">修改要替换的文本</c-checkbox>
...@@ -56,13 +56,13 @@ ...@@ -56,13 +56,13 @@
<c-col :span="12"> <c-col :span="12">
<c-checkbox <c-checkbox
@change="open1" @change="open1"
style=" margin: 0px 0 10px 125px;" style=" margin: 0px 0 10px 120px;"
v-model="model.litamep.spcrcbamep.modmanflg">内部修改文本</c-checkbox> v-model="model.litamep.spcrcbamep.modmanflg">内部修改文本</c-checkbox>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button <c-button
style=" margin: 0px 0 10px 150px;" style=" margin: 0px 0 10px 120px;"
size="small" type="primary" @click="onLcrdocamepButdif"> size="small" type="primary" @click="onLcrdocamepButdif">
显示差异 显示差异
</c-button> </c-button>
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
style=" margin: 0px 0 10px 150px;" style=" margin: 0px 0 10px 120px;"
disabled disabled
size="small" type="primary" @click="onLcrdocamepButadd"> size="small" type="primary" @click="onLcrdocamepButadd">
添加文本 添加文本
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
style=" margin: 0px 0 10px 150px;" style=" margin: 0px 0 10px 120px;"
disabled disabled
size="small" type="primary" icon="el-icon-delete" @click="onLcrdocamepButdel"> size="small" type="primary" icon="el-icon-delete" @click="onLcrdocamepButdel">
删除文本 删除文本
......
...@@ -91,9 +91,20 @@ ...@@ -91,9 +91,20 @@
<m-ccvpan :model="model" :codes="codes" /> <m-ccvpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody,shisuan">
<m-limitbody :model="model" :codes="codes" /> <c-content>
</el-tab-pane> <div class="eibs-tab">
<el-collapse v-model="activeNames1">
<el-collapse-item title="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="engp,setpan,glepan"> <el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content> <c-content>
...@@ -275,6 +286,7 @@ export default { ...@@ -275,6 +286,7 @@ export default {
codes: {... CodeTable codes: {... CodeTable
}, },
activeNames: ["engp","coninfp",], activeNames: ["engp","coninfp",],
activeNames1: ["limitbody"],
} }
}, },
methods:{ methods:{
......
import Show from "./Show" import Show from "./Show"
import Detail from "./Detail" import Detail from "./Detail"
import Swift from "./Swift"
const BusRouter = [ const BusRouter = [
{path:'show',component:Show}, {path:'show',component:Show},
{path:'detail',component:Detail}, {path:'detail',component:Detail},
{path:'swift',component:Swift},
] ]
export default BusRouter export default BusRouter
\ No newline at end of file
<template>
<div>
<div style="height: 800px; overflow: auto;padding: 20px;">
<!-- {{data}} -->
<c-row v-if="!this.model.docXML">
<c-col v-for="(item, index) in model.docTXT" :key="index" >
<div>
{{item}}
</div>
</c-col>
</c-row>
</div>
</div>
</template>
<script>
export default {
data() {
return {
model: { docTXT: "",
docXML: "",
},
};
},
created() {
let doclang= window.sessionStorage.doclang||"";
this.model.docXML = window.sessionStorage.docXML;
this.model.docTXT = window.sessionStorage.docTXT
.split("\n")
// .filter((item) => item)
// .map((item) => {
// let idx = item.indexOf(":");
// return [
// item.substring(0, idx).trim(),
// item.substring(idx + 1).trim(),
// ];
// });
},
};
</script>
<style scoped>
</style>
\ No newline at end of file
...@@ -587,10 +587,14 @@ export default { ...@@ -587,10 +587,14 @@ export default {
rtnmsg = await Api.post(`${this.requestPrefix}/executeDocpan`, this.wrapper(params)) rtnmsg = await Api.post(`${this.requestPrefix}/executeDocpan`, this.wrapper(params))
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') { if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
let viewurl = rtnmsg.data.setmod_msgmod_docpth; // let viewurl = rtnmsg.data.setmod_msgmod_docpth;
this.viewurl = viewurl let viewurl = "/#/docpan/swift";
// this.viewurl = viewurl
// window.sessionStorage.docTXT = rtnmsg.data.lidgrp_blk_feetxt + rtnmsg.data.lidgrp_blk_insbnk ;
let doctxt = rtnmsg.data.trnmod_trndoc_doceot[index]['doctxt']
window.sessionStorage.docTXT = doctxt.rows.filter(d => d != '').join('\n')
this.title = "报文" this.title = "报文"
//window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'); window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
} }
else if (cortyp == 'ELC') { else if (cortyp == 'ELC') {
Modal.info({ Modal.info({
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="记账账号"> <el-form-item label="记账账号">
<c-col > <c-col >
<c-input v-model="formData.acc" /> <c-select v-model="formData.acc" />
</c-col> </c-col>
</el-form-item> </el-form-item>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="抵扣账号"> <el-form-item label="抵扣账号">
<c-col > <c-col >
<c-input v-model="formData.acc2" /> <c-input v-model="formData.acc2" disabled />
</c-col> </c-col>
</el-form-item> </el-form-item>
......
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