Commit eddd1962 by WH

Merge remote-tracking branch 'origin/settle-test-20230110' into settle-test-20230110

parents 793d1b09 a2dd540f
...@@ -160,15 +160,15 @@ export default { ...@@ -160,15 +160,15 @@ export default {
{ required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"bedgrp.blk.matper":[ "bedgrp.blk.matper":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"bedgrp.blk.intdis":[ "bedgrp.blk.intdis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 1300,message:"长度不能超过1300"} {max: 1300,message:"长度不能超过1300"}
], ],
"bedgrp.blk.comcon":[ "bedgrp.blk.comcon":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 1300,message:"长度不能超过1300"} {max: 1300,message:"长度不能超过1300"}
], ],
"bedgrp.rec.disdat":[ "bedgrp.rec.disdat":[
...@@ -216,11 +216,11 @@ export default { ...@@ -216,11 +216,11 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bedsnd.usadet":[ "bedsnd.usadet":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 650,message:"长度不能超过650"} {max: 650,message:"长度不能超过650"}
], ],
"bedsnd.addphr":[ "bedsnd.addphr":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 650,message:"长度不能超过650"} {max: 650,message:"长度不能超过650"}
], ],
// "bedsnd.newbenadr":[ // "bedsnd.newbenadr":[
......
...@@ -17,7 +17,7 @@ export default class Betsnd { ...@@ -17,7 +17,7 @@ export default class Betsnd {
cre752flg: '', cre752flg: '',
docgrdm: { docgrdm: {
docdsclab: "", // Label of document description .brtp.docgrdm.docdsclab docdsclab: "", // Label of document description .brtp.docgrdm.docdsclab
docgrd: "", //brtp.docgrdm.docgrd docgrdVos: "", //brtp.docgrdm.docgrd
}, },
}, },
rmbclmlate: '', rmbclmlate: '',
...@@ -97,7 +97,7 @@ export default class Betsnd { ...@@ -97,7 +97,7 @@ export default class Betsnd {
disdat: '', disdat: '',
doctypcod: '', doctypcod: '',
docrolflg: '', docrolflg: '',
lescom: '', lescom: '0.00',
shpdat: '', shpdat: '',
docrol: '', docrol: '',
matdat: '', matdat: '',
......
...@@ -217,7 +217,11 @@ export default { ...@@ -217,7 +217,11 @@ export default {
computed: { computed: {
bedsndIngdsc: { bedsndIngdsc: {
get() { get() {
if(this.model.bedsnd.ingdsc == ''){
return this.model.bedsnd.ingdsc = 'X'
}else{
return this.model.bedsnd.ingdsc != '' return this.model.bedsnd.ingdsc != ''
}
}, },
set(val) { set(val) {
this.model.bedsnd.ingdsc = val ? 'X' : '' this.model.bedsnd.ingdsc = val ? 'X' : ''
......
...@@ -79,7 +79,8 @@ export default { ...@@ -79,7 +79,8 @@ export default {
}, },
ptsList: ptsptaList, ptsList: ptsptaList,
transName: trnName, transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL' userId: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL',
setglg: model.setmod.setglg,
}; };
return dataObj return dataObj
}, },
......
...@@ -61,6 +61,10 @@ export default { ...@@ -61,6 +61,10 @@ export default {
} }
}) })
}, },
async maxAmtChange(){
let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest);
},
async tabClick(tab) { async tabClick(tab) {
if (this.isInDisplay) { if (this.isInDisplay) {
return; return;
......
...@@ -38,7 +38,7 @@ export default class Bctset { ...@@ -38,7 +38,7 @@ export default class Bctset {
cbs: { cbs: {
opn1: { opn1: {
cur: '', cur: '',
amt: '', amt: '0.00',
}, },
opn2: { opn2: {
cur: '', cur: '',
...@@ -127,7 +127,7 @@ export default class Bctset { ...@@ -127,7 +127,7 @@ export default class Bctset {
}, },
aamset: { aamset: {
utlamt: '', utlamt: '',
utlamt2: '', utlamt2: '0.00',
}, },
trtcre: { trtcre: {
trtmod: { trtmod: {
...@@ -428,7 +428,7 @@ export default class Bctset { ...@@ -428,7 +428,7 @@ export default class Bctset {
cbs: { cbs: {
opn1: { opn1: {
cur: '', cur: '',
amt: '', amt: '0.00',
}, },
}, },
}, },
......
...@@ -101,6 +101,7 @@ ...@@ -101,6 +101,7 @@
v-model="model.brdgrp.cbs.opn1.cur" v-model="model.brdgrp.cbs.opn1.cur"
maxlength="3" maxlength="3"
placeholder="请输入单据余额币种" placeholder="请输入单据余额币种"
:code="codes.cur"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -226,9 +227,10 @@ ...@@ -226,9 +227,10 @@
<c-col :span="13"> <c-col :span="13">
<el-form-item label="应付金额" prop="setmod.doccur"> <el-form-item label="应付金额" prop="setmod.doccur">
<c-input <c-input
v-model="model.setmod.doccur" v-model="doccur"
maxlength="3" maxlength="3"
placeholder="请选择币种" placeholder="请选择币种"
:code="codes.cur"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -249,6 +251,7 @@ ...@@ -249,6 +251,7 @@
v-model="model.setmod.doccur" v-model="model.setmod.doccur"
maxlength="3" maxlength="3"
placeholder="请选择币种" placeholder="请选择币种"
:code="codes.cur"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -284,6 +287,7 @@ ...@@ -284,6 +287,7 @@
<c-input <c-input
v-model="model.aamset.utlamt" v-model="model.aamset.utlamt"
placeholder="请输入金额" placeholder="请输入金额"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -307,6 +311,7 @@ ...@@ -307,6 +311,7 @@
<c-input <c-input
v-model="model.aamset.utlamt2" v-model="model.aamset.utlamt2"
placeholder="请输入金额" placeholder="请输入金额"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -484,6 +489,7 @@ ...@@ -484,6 +489,7 @@
v-model="model.lidgrp.cbs.opn1.cur" v-model="model.lidgrp.cbs.opn1.cur"
maxlength="3" maxlength="3"
placeholder="请输入币种" placeholder="请输入币种"
:code="codes.cur"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -581,6 +587,7 @@ ...@@ -581,6 +587,7 @@
v-model="model.setmod.doccur" v-model="model.setmod.doccur"
maxlength="3" maxlength="3"
placeholder="请输入币种" placeholder="请输入币种"
:code="codes.cur"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -692,6 +699,7 @@ export default { ...@@ -692,6 +699,7 @@ export default {
return { return {
flag4:true, flag4:true,
flag3: true, flag3: true,
trnName: "brtset",
cmtflg: [ cmtflg: [
{ label: "代理行模式", value: "C" }, { label: "代理行模式", value: "C" },
{ label: "其他", value: "O" }, { label: "其他", value: "O" },
...@@ -712,6 +720,19 @@ export default { ...@@ -712,6 +720,19 @@ export default {
}, },
created: function () {}, created: function () {},
watch: { watch: {
"model.setmod.docamt":{
immediate: true,
handler(val, oldVal) {
this.model.brdgrp.cbs.max.amt=this.model.setmod.docamt;
this.model.aamset.utlamt=this.model.setmod.docamt-this.model.aamset.utlamt2;
},
},
"model.brdgrp.cbs.max.amt":{
immediate: true,
handler(val, oldVal) {
this.maxAmtChange();
},
},
"model.brtp.ischktyp": { "model.brtp.ischktyp": {
immediate: true, immediate: true,
handler(val, oldVal) { handler(val, oldVal) {
...@@ -749,7 +770,11 @@ export default { ...@@ -749,7 +770,11 @@ export default {
opn2cur(){ opn2cur(){
this.model.brdgrp.cbs.opn2.cur = this.model.brdgrp.cbs.max.cur this.model.brdgrp.cbs.opn2.cur = this.model.brdgrp.cbs.max.cur
return this.model.brdgrp.cbs.opn2.cur return this.model.brdgrp.cbs.opn2.cur
} },
doccur(){
this.model.setmod.doccur = this.model.brdgrp.cbs.max.cur
return this.model.setmod.doccur
} ,
} }
}; };
</script> </script>
......
...@@ -101,6 +101,7 @@ export default { ...@@ -101,6 +101,7 @@ export default {
const params = { const params = {
//根据xx字段 查询处理的数据 //根据xx字段 查询处理的数据
seaownref: row.seaownref, seaownref: row.seaownref,
userId: window.sessionStorage.userId || 'ZL',
}; };
const res = await Api.post('/service/infbed/dealWithByOwnref', params); const res = await Api.post('/service/infbed/dealWithByOwnref', params);
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
......
...@@ -21,7 +21,7 @@ export default class Letopn { ...@@ -21,7 +21,7 @@ export default class Letopn {
spcrcb: '', spcrcb: '',
}, },
rec: { rec: {
branchinr: '00000047', branchinr: '',
stagod: '', stagod: '',
tenmaxday: '', tenmaxday: '',
nomton: '0', nomton: '0',
......
...@@ -7187,7 +7187,8 @@ const CodeTable = { ...@@ -7187,7 +7187,8 @@ const CodeTable = {
{ label: "航空公司账单", value: "Airway Bills" }, { label: "航空公司账单", value: "Airway Bills" },
{ label: "受益人声明", value: "Beneficiary's Declaration" }, { label: "受益人声明", value: "Beneficiary's Declaration" },
{ label: "提单复印件", value: "Bill of Lading Copies" }, { label: "提单复印件", value: "Bill of Lading Copies" },
{ label: "提单原件", value: "Bill of Lading Originals" }, // { label: "提单原件", value: "Bill of Lading Originals" },
{ label: "提单原件", value: "Original Bills of Lading" },
{ label: "证明书", value: "Certificate" }, { label: "证明书", value: "Certificate" },
{ label: "分析证书", value: "Certificate of Analysis" }, { label: "分析证书", value: "Certificate of Analysis" },
{ label: "原产地证书", value: "Certificate of Origin" }, { label: "原产地证书", value: "Certificate of Origin" },
......
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