Commit 150f9ce1 by panziyi

gitset修改

parent 44698b53
...@@ -1910,6 +1910,13 @@ const CodeTable = { ...@@ -1910,6 +1910,13 @@ const CodeTable = {
{ label: "Generate Files ( PS/PDF )", value: "S" }, { label: "Generate Files ( PS/PDF )", value: "S" },
{ label: "Windows Server Printing", value: "X" }, { label: "Windows Server Printing", value: "X" },
], ],
cmtflg: [
{ label: "代理行模式", value: "C" },
{ label: "Other", value: "O" },
{ label: "CIPS系统", value: "P" },
],
cmpflg: [ cmpflg: [
{ label: "不计复息", value: "0" }, { label: "不计复息", value: "0" },
{ label: "计复息", value: "1" }, { label: "计复息", value: "1" },
...@@ -4424,6 +4431,7 @@ const CodeTable = { ...@@ -4424,6 +4431,7 @@ const CodeTable = {
{ label: "票汇", value: "D" }, { label: "票汇", value: "D" },
{ label: "电汇", value: "T" }, { label: "电汇", value: "T" },
{ label: "信汇", value: "M" }, { label: "信汇", value: "M" },
{ label: "保函", value: "G" },
], ],
methods1: [ methods1: [
{ label: "票汇", value: "D" }, { label: "票汇", value: "D" },
......
...@@ -450,7 +450,7 @@ ...@@ -450,7 +450,7 @@
:disabled="model.gcdgrp.rec.frepaylg=='X'" :disabled="model.gcdgrp.rec.frepaylg=='X'"
> >
<el-option <el-option
v-for="item in cmtflg" v-for="item in codes.cmtflg"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -733,13 +733,7 @@ export default { ...@@ -733,13 +733,7 @@ export default {
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {};
cmtflg: [
{ label: "代理行模式", value: "C" },
{ label: "Other", value: "O" },
{ label: "CIPS系统", value: "P" },
],
};
}, },
watch:{ watch:{
......
...@@ -49,6 +49,9 @@ ...@@ -49,6 +49,9 @@
v-model="model.cnybop.cnyout.spayercountrycode" v-model="model.cnybop.cnyout.spayercountrycode"
maxlength="3" maxlength="3"
placeholder="" placeholder=""
@keyup.enter.native="
showGridPromptDialog('cnybop.cnyout.spayercountrycode')
"
></c-input> ></c-input>
</c-col> </c-col>
<c-col :span="4" style="text-align: right"> <c-col :span="4" style="text-align: right">
...@@ -56,6 +59,16 @@ ...@@ -56,6 +59,16 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="
showGridPromptDialog(
'cnybop.outcty',
null,
null,
{ TXT: 'cnybop.cnyout.spayercountrycode' },
{ TXT: false },
'doxpDialog'
)
"
></c-button> ></c-button>
</c-col> </c-col>
</el-form-item> </el-form-item>
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane
label="外付款/承兑通知书-基础信息" label="外付款/承兑通知书-基础信息"
name="basp" name="basp"
v-if="model.bopmod.basflg && model.bopmod.szflg == '1'" v-if="model.bopmod.basflg && model.bopmod.szflg == '1'"
> >
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
</el-tab-pane> </el-tab-pane>
<!--PD000130 --> <!--PD000130 -->
<el-tab-pane label="Payment 756 BEN USD 330.00" name="det756"> <el-tab-pane :label=this.det756Name name="det756">
<c-content> <c-content>
<m-det756 :model="model" :codes="codes" /> <m-det756 :model="model" :codes="codes" />
</c-content> </c-content>
...@@ -145,10 +145,10 @@ ...@@ -145,10 +145,10 @@
<!--PD000131 --> <!--PD000131 -->
<el-tab-pane <el-tab-pane
label="Payment 202 BEN USD 330.00" :label=this.det202cvName
name="det202cv" name="det202cv"
v-if=" v-if="
model.trnmod.cmtflg == '1' || model.trnmod.cmtflg == 'C' ||
model.gcdgrp.cbs.max.cur != 'CNY' model.gcdgrp.cbs.max.cur != 'CNY'
" "
> >
...@@ -243,6 +243,8 @@ export default { ...@@ -243,6 +243,8 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
det202cvName:"Payment 202 PRB",
det756Name:"Payment 756 PRB" ,
tabVal: "gitsetp1", tabVal: "gitsetp1",
trnName: "gitset", trnName: "gitset",
model: new Gitset().data, model: new Gitset().data,
...@@ -253,6 +255,28 @@ export default { ...@@ -253,6 +255,28 @@ export default {
codes: { ...CodeTable }, codes: { ...CodeTable },
}; };
}, },
watch:{
"model.setmod.doccur":{
immediate:true,
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.gcdgrp.rec.docprbrol
this.det202cvName= "Payment 202 "+doc+" "+cur+" "+ amt;
this.det756Name = "Payment 756 "+doc+" "+cur+" "+ amt;
}
},
"model.mtabut.clsflg":{
immediate:true,
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.gcdgrp.rec.docprbrol
this.det202cvName= "Payment 202 "+doc+" "+cur+" "+ amt;
this.det756Name = "Payment 756 "+doc+" "+cur+" "+ amt;
}
},
},
methods: { methods: {
mimeTabClick(tab) { mimeTabClick(tab) {
this.tabClick(tab); this.tabClick(tab);
...@@ -282,6 +306,7 @@ export default { ...@@ -282,6 +306,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
this.model.mtabut.clsflg="X";
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
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