Commit 4a6a0817 by wangren

Litopn交易Goods,Documents,Additional Conditions引用公共模块回填文本

parent 2fa56bd4
...@@ -6575,7 +6575,6 @@ const CodeTable = { ...@@ -6575,7 +6575,6 @@ const CodeTable = {
], ],
label5: [ label5: [
{ label: "额度已切分,结算系统将自动扣除余额,保证金(如需)符合要求;", value: "A" },
{ label: "额度已切分,结算系统将自动扣减额度,保证金(如需)符合要求;", value: "A" }, { label: "额度已切分,结算系统将自动扣减额度,保证金(如需)符合要求;", value: "A" },
{ label: "额度未切分,《信贷业务通知书》符合要求;", value: "B" }, { label: "额度未切分,《信贷业务通知书》符合要求;", value: "B" },
], ],
......
...@@ -300,12 +300,19 @@ export default { ...@@ -300,12 +300,19 @@ export default {
* @param {String} val 选种行的值(一般是首列) * @param {String} val 选种行的值(一般是首列)
* @param {String} rulePath 路径 * @param {String} rulePath 路径
*/ */
selectEty(val, rulePath) { selectEty(val, modelUrl, isCover, rulePath) {
const props = rulePath.replaceAll(".", "_") let rule;
const obj = {} if (typeof modelUrl === 'string') {
obj[props] = val; const props = modelUrl.replaceAll(".", "_")
Utils.copyValueFromVO(this.model, obj); const obj = {}
this.executeRule(rulePath).then((res) => { obj[props] = val;
Utils.copyValueFromVO(this.model, obj);
rule = modelUrl;
} else {
this.selectMsg(val, modelUrl, isCover, rulePath)
rule = rulePath;
}
this.executeRule(rule).then((res) => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
} }
......
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
"lidgrp.rec.preadvdt" :Utils.defaultFunction, "lidgrp.rec.preadvdt" :Utils.defaultFunction,
"lidgrp.rec.avbby" :Utils.defaultFunction, "lidgrp.rec.avbby" :Utils.defaultFunction,
"lidgrp.blk.defdet" :Utils.defaultFunction, "lidgrp.blk.defdet" :Utils.defaultFunction,
"lidgrp.blk.lcrgod" :Utils.defaultFunction, //"lidgrp.blk.lcrgod" :Utils.defaultFunction,
"lidgrp.ben.pts.adrblk" :Utils.defaultFunction, "lidgrp.ben.pts.adrblk" :Utils.defaultFunction,
"lidgrp.apl.pts.extkey" :Utils.defaultFunction, "lidgrp.apl.pts.extkey" :Utils.defaultFunction,
"lidgrp.apl.adrelc" :Utils.defaultFunction, "lidgrp.apl.adrelc" :Utils.defaultFunction,
......
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
} }
}, },
async onPreperButtxmsel(){ async onPreperButtxmsel(){
let rtnmsg = await this.executeRule("preper.buttxmsel") let rtnmsg = await this.executeRule("litp.preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -86,7 +86,7 @@ export default { ...@@ -86,7 +86,7 @@ export default {
} }
}, },
async onChariaButtxmsel(){ async onChariaButtxmsel(){
let rtnmsg = await this.executeRule("charia.buttxmsel") let rtnmsg = await this.executeRule("litp.charia.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -158,7 +158,7 @@ export default { ...@@ -158,7 +158,7 @@ export default {
} }
}, },
async onLcrgodButtxmsel(){ async onLcrgodButtxmsel(){
let rtnmsg = await this.executeRule("lcrgod.buttxmsel") let rtnmsg = await this.executeRule("litp.lcrgod.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -170,7 +170,7 @@ export default { ...@@ -170,7 +170,7 @@ export default {
} }
}, },
async onLcrdocButtxmsel(){ async onLcrdocButtxmsel(){
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel") let rtnmsg = await this.executeRule("litp.lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -182,7 +182,7 @@ export default { ...@@ -182,7 +182,7 @@ export default {
} }
}, },
async onAdlcndButtxmsel(){ async onAdlcndButtxmsel(){
let rtnmsg = await this.executeRule("adlcnd.buttxmsel") let rtnmsg = await this.executeRule("litp.adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -195,7 +195,7 @@ export default { ...@@ -195,7 +195,7 @@ export default {
} }
}, },
async onInsbnkButtxmsel(){ async onInsbnkButtxmsel(){
let rtnmsg = await this.executeRule("insbnk.buttxmsel") let rtnmsg = await this.executeRule("litp.insbnk.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -411,7 +411,7 @@ export default { ...@@ -411,7 +411,7 @@ export default {
} }
}, },
async onSpcrcbButtxmsel(){ async onSpcrcbButtxmsel(){
let rtnmsg = await this.executeRule("spcrcb.buttxmsel") let rtnmsg = await this.executeRule("litp.spcrcb.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -423,7 +423,7 @@ export default { ...@@ -423,7 +423,7 @@ export default {
} }
}, },
async onSpcbenButtxmsel(){ async onSpcbenButtxmsel(){
let rtnmsg = await this.executeRule("spcben.buttxmsel") let rtnmsg = await this.executeRule("litp.spcben.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
...@@ -466,18 +466,18 @@ export default { ...@@ -466,18 +466,18 @@ export default {
], ],
"lidgrp.blk.lcrgod":[ "lidgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 52000,message:"长度不能超过52000"}
], ],
"lidgrp.blk.lcrdoc":[ "lidgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 52000,message:"长度不能超过52000"}
], ],
"lidgrp.blk.adlcnd":[ "lidgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 52000,message:"长度不能超过52000"}
], ],
...@@ -485,7 +485,7 @@ export default { ...@@ -485,7 +485,7 @@ export default {
"lidgrp.blk.insbnk":[ "lidgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 1000,message:"长度不能超过1000"} {max: 12000,message:"长度不能超过12000"}
], ],
"liaall.outamt":[ "liaall.outamt":[
......
...@@ -27,7 +27,7 @@ export default class Litopn{ ...@@ -27,7 +27,7 @@ export default class Litopn{
cnfdet:"", // Confirm. Instructions .lidgrp.rec.cnfdet cnfdet:"", // Confirm. Instructions .lidgrp.rec.cnfdet
rmbflg:"", // Reimbursement Information .lidgrp.rec.rmbflg rmbflg:"", // Reimbursement Information .lidgrp.rec.rmbflg
revflg:"", // Revolving Flag .lidgrp.rec.revflg revflg:"", // Revolving Flag .lidgrp.rec.revflg
nam:".0.00", // Name .lidgrp.rec.nam nam:"", // Name .lidgrp.rec.nam
resflg:"", // Reserved Contract .lidgrp.rec.resflg resflg:"", // Reserved Contract .lidgrp.rec.resflg
shppars18:"", // Partial Shipment .lidgrp.rec.shppars18 shppars18:"", // Partial Shipment .lidgrp.rec.shppars18
shptrss18:"", // Transhipment .lidgrp.rec.shptrss18 shptrss18:"", // Transhipment .lidgrp.rec.shptrss18
......
export default class Setmod { export default class Setmod {
constructor() { constructor() {
this.data = { this.data = {
ogiamt:"",
docamttyplab: "", // settled amount description as label .setmod.docamttyplab docamttyplab: "", // settled amount description as label .setmod.docamttyplab
retmsg: "", // Label showing Retry overflow condition .setmod.retmsg retmsg: "", // Label showing Retry overflow condition .setmod.retmsg
ref: "", // our reference .setmod.ref ref: "", // our reference .setmod.ref
......
...@@ -112,7 +112,10 @@ ...@@ -112,7 +112,10 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"> <c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</div> </div>
</c-page> </c-page>
......
...@@ -3,12 +3,13 @@ ...@@ -3,12 +3,13 @@
<c-col :span="20"> <c-col :span="20">
<el-form-item label="Additional Conditions" prop="lidgrp.blk.adlcnd"> <el-form-item label="Additional Conditions" prop="lidgrp.blk.adlcnd">
<c-input type="textarea" v-model="model.lidgrp.blk.adlcnd" maxlength="52000" :rows="30" show-word-limit placeholder="请输入Additional Conditions" ></c-input> <c-input type="textarea" v-model="model.lidgrp.blk.adlcnd" maxlength="52000" :rows="25" show-word-limit placeholder="请输入Additional Conditions" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2"> <c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search"
@click="showGridPromptDialog('litp.adlcnd.buttxmsel', null, null,{TXT: 'lidgrp.blk.adlcnd'}, {TXT: false})">
</c-button> </c-button>
</c-col> </c-col>
...@@ -37,12 +38,13 @@ ...@@ -37,12 +38,13 @@
<c-col :span="20"> <c-col :span="20">
<el-form-item label="Instructions to Pay.,Accept., Negot. Bank" prop="lidgrp.blk.insbnk"> <el-form-item label="Instructions to Pay.,Accept., Negot. Bank" prop="lidgrp.blk.insbnk">
<c-input type="textarea" v-model="model.lidgrp.blk.insbnk" maxlength="780" :rows="6" show-word-limit placeholder="请输入Instructions to Pay.," ></c-input> <c-input type="textarea" v-model="model.lidgrp.blk.insbnk" maxlength="12000" :rows="8" show-word-limit placeholder="请输入Instructions to Pay.," ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2"> <c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search"
@click="showGridPromptDialog('litp.insbnk.buttxmsel', null, null,{TXT: 'lidgrp.blk.insbnk'}, {TXT: false})">
</c-button> </c-button>
</c-col> </c-col>
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
</c-col> </c-col>
<c-col :span="2"> <c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search"
@click="showGridPromptDialog('litp.lcrgod.buttxmsel', null, null,{TXT: 'lidgrp.blk.lcrgod'}, {TXT: false})">
</c-button> </c-button>
</c-col> </c-col>
......
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
</c-col> </c-col>
<c-col :span="2"> <c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search"
@click="showGridPromptDialog('litp.lcrdoc.buttxmsel',null,null,{TXT:'lidgrp.blk.lcrdoc'},{TXT:false})">
</c-button> </c-button>
</c-col> </c-col>
......
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
v-model="model.lidgrp.rec.shppar" v-model="model.lidgrp.rec.shppar"
style="width: 100%" style="width: 100%"
placeholder="请选择Partial Shipment" placeholder="请选择Partial Shipment"
:code="codes.shppars18" :code="codes.shptrss18"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -285,7 +285,7 @@ ...@@ -285,7 +285,7 @@
v-model="model.lidgrp.rec.shptrss18" v-model="model.lidgrp.rec.shptrss18"
style="width: 100%" style="width: 100%"
placeholder="请选择Transhipment" placeholder="请选择Transhipment"
:code="codes.shppars18" :code="codes.shptrss18"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -50,21 +50,24 @@ ...@@ -50,21 +50,24 @@
<!--PD000057 --> <!--PD000057 -->
<el-tab-pane label="Goods" name="dogp"> <el-tab-pane label="Goods" name="dogp">
<c-content> <c-content>
<m-dogp :model="model" :codes="codes" /> <m-doxp :model="model" :codes="codes" :dtyp="'dogp'" :rec="'lid'"
/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000060 --> <!--PD000060 -->
<el-tab-pane label="Documents" name="dorp"> <el-tab-pane label="Documents" name="dorp">
<c-content> <c-content>
<m-dorp :model="model" :codes="codes" /> <m-doxp :model="model" :codes="codes" :dtyp="'dorp'" :rec="'lid'"
/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000073 --> <!--PD000073 -->
<el-tab-pane label="Additional Conditions" name="adcp"> <el-tab-pane label="Additional Conditions" name="adcp">
<c-content> <c-content>
<m-adcp :model="model" :codes="codes" /> <m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'lid'"
/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -168,10 +171,24 @@ ...@@ -168,10 +171,24 @@
--> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog <!-- <c-grid-ety-prompt-dialog
ref="etyDialog" ref="etyDialog"
:promptData="promptData" :promptData="promptData"
v-on:select-ety="selectEty" v-on:select-ety="selectEty"
:isPty="false"
>
</c-grid-ety-prompt-dialog> -->
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
> >
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</div> </div>
...@@ -218,6 +235,7 @@ import Docpan from "~/views/Public/Docpan"; ...@@ -218,6 +235,7 @@ import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
import Doxp from '~/views/Public/Doxp'
export default { export default {
name: "Litopn", name: "Litopn",
...@@ -229,7 +247,7 @@ export default { ...@@ -229,7 +247,7 @@ export default {
"m-dogp": Dogp, "m-dogp": Dogp,
"m-dorp": Dorp, "m-dorp": Dorp,
"m-adcp": Adcp, "m-adcp": Adcp,
'm-doxp': Doxp,
"m-engp": Engp, "m-engp": Engp,
"m-ccvpan": Ccvpan, "m-ccvpan": Ccvpan,
"m-setpan": Setpan, "m-setpan": Setpan,
......
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