Commit 8cfbeff7 by 1377875331@qq.com

样式修改

parent 75059cef
......@@ -4900,8 +4900,8 @@ const CodeTable = {
{label:"Error",value:"E" },
],
shppar:[
{label:"NOT ALLOWED",value:"N" },
{label:"ALLOWED",value:"Y" },
{label:"不允许",value:"N" },
{label:"允许",value:"Y" },
],
shwfil:[
{label:"No",value:"" },
......
......@@ -166,7 +166,11 @@ function checkLiaallLimmodOwnrefN100(rule, value, callback) {
* ditp
*/
function checkDidgrpRecExpplcN900(rule, value, callback) {
callback()
const that = this;
that.exeuteCheck("didgrp.rec.expplc").then(res => {
//TODO
callback()
})
}
/**
* source:ditp.@0088.script
......@@ -286,7 +290,11 @@ function checkDidgrpRecShptoN100(rule, value, callback) {
* ditp.benp
*/
function checkDidgrpBenNamelcN100(rule, value, callback) {
callback()
const that = this;
that.exeuteCheck("didgrp.ben.namelc").then(res => {
//TODO
callback()
})
}
/**
* source:ptsp.@0031.script
......@@ -325,7 +333,11 @@ function checkDidgrpRmbAdrelcN100(rule, value, callback) {
* ditp.aplp.ptsget
*/
function checkDidgrpAplPtsExtkeyN950(rule, value, callback) {
callback()
const that = this;
that.exeuteCheck("didgrp.apl.pts.extkey").then(res => {
//TODO
callback()
})
}
/**
* source:ptsp.@0013.script
......@@ -416,7 +428,11 @@ function checkDidgrpRmbPtsBanknoN100(rule, value, callback) {
* ditp.benp
*/
function checkDidgrpBenAdrelcN100(rule, value, callback) {
callback()
const that = this;
that.exeuteCheck("didgrp.ben.adrelc").then(res => {
//TODO
callback()
})
}
/**
* source:ditp.@0043.script
......@@ -649,7 +665,11 @@ function checkDidgrpIssPtsDihdigN1001(rule, value, callback) {
* ditp.aplp
*/
function checkDidgrpAplNamelcN100(rule, value, callback) {
callback()
const that = this;
that.exeuteCheck("didgrp.apl.namelc").then(res => {
//TODO
callback()
})
}
/**
* source:ditp.@0039.script
......@@ -748,7 +768,12 @@ function checkDidgrpRecAvbbyN100(rule, value, callback) {
* ditp
*/
function checkDidgrpRecMytypeN100(rule, value, callback) {
const that = this;
callback()
that.model.didgrp.rec.sdsrfs = "";
that.model.didgrp.rec.shpfro = "";
that.model.didgrp.rec.shpto = "";
that.model.didgrp.rec.shppro = "";
}
/**
* source:ditp.@0012.script
......@@ -854,7 +879,11 @@ function checkDidgrpRecExpdatN100(rule, value, callback) {
* ditp.benp.ptsget
*/
function checkDidgrpBenPtsExtkeyN950(rule, value, callback) {
callback()
const that = this;
that.exeuteCheck("didgrp.ben.pts.extkey").then(res => {
//TODO
callback()
})
}
/**
* source:ptsp.@0013.script
......@@ -952,7 +981,10 @@ function checkDidgrpBlkPreperN100(rule, value, callback) {
* ditp.aplp
*/
function checkDidgrpAplAdrelcN100(rule, value, callback) {
callback()
const that = this;
that.exeuteCheck("didgrp.apl.adrelc").then(res => {
callback()
})
}
/**
* source:ptsget.@0001.script
......
......@@ -386,5 +386,8 @@ export default {
//TODO 处理数据逻辑
this.model.ditp.remark = rtnmsg.data.ditp_remark
}
},
async onExtkey(e){
}
}
\ No newline at end of file
......@@ -279,7 +279,7 @@ export default {
"didgrp.rec.tenmaxday": [
{ type: "string", required: false, message: "必输项", trigger: "blur" },
{ type: "string", required: true, message: "必输项", trigger: "blur" },
{ max: 3, message: "长度不能超过3", trigger: "blur" }
],
......
......@@ -4,25 +4,25 @@
<!-- ========================= Left ========================= -->
<el-col :span="12">
<el-form-item label="信用证兑付方式" prop="didgrp.rec.avbby">
<c-select v-model="model.didgrp.rec.avbby" style="width:100%" placeholder="请选择">
<c-select v-model="model.didgrp.rec.avbby" style="width:100%" @change="avbbykeyEvent" placeholder="请选择">
<el-option v-for="item in codes.avbby0" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item label="付款期限" prop="didgrp.rec.tenmaxday">
<c-input v-model="model.didgrp.rec.tenmaxday" placeholder="请输入"></c-input>
<c-input :disabled="model.didgrp.rec.avbby == 'P'" v-model="model.didgrp.rec.tenmaxday" placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="远期付款指示" prop="didgrp.blk.defdet">
<c-input type="textarea" v-model="model.didgrp.blk.defdet" :readonly="true" style="width:70%;margin-right:20px;" maxlength="140" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" :disabled="model.didgrp.rec.avbby == 'P'" v-model="model.didgrp.blk.defdet" style="width:70%;margin-right:20px;" maxlength="140" show-word-limit placeholder="请输入"></c-input>
<c-button size="small" type="primary" icon="el-icon-search" @click="onDefdetButtxmsel">
...
</c-button>
</el-form-item>
<el-form-item label="交单期限" prop="didgrp.blk.preper">
<c-input type="textarea" v-model="model.didgrp.blk.preper" :readonly="this.flag" style="width:70%;margin-right:20px;" maxlength="105" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" v-model="model.didgrp.blk.preper" :disabled="this.flag" style="width:70%;margin-right:20px;" maxlength="105" show-word-limit placeholder="请输入"></c-input>
<c-button size="small" type="primary" icon="el-icon-search" @click="onPreperButtxmsel">
...
</c-button>
......@@ -40,9 +40,16 @@
</c-select>
</el-form-item>
<el-form-item label="手输运输方式" prop="didgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" :readonly="true" maxlength="140" show-word-limit placeholder="请输入"></c-input>
<el-form-item v-if="model.didgrp.rec.mytype == 'H'" label="手输运输方式" prop="didgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" :disabled="model.didgrp.rec.mytype == 'H'" maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item v-if="model.didgrp.rec.mytype == 'F'" label="服务提供方式" prop="didgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item v-if="model.didgrp.rec.mytype == '3'" label="手输运输方式/服务提供方式" prop="didgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" :disabled="true" maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="合同编号" prop="didgrp.rec.conno">
<c-input v-model="model.didgrp.rec.conno" maxlength="35" placeholder="请输入"></c-input>
......@@ -70,7 +77,7 @@
</el-form-item>
<el-form-item label="分期装运/提供服务" prop="didgrp.rec.fqzytgfw">
<c-input v-model="model.didgrp.rec.fqzytgfw" placeholder="请输入" :readonly="true"></c-input>
<c-input v-model="model.didgrp.rec.fqzytgfw" placeholder="请输入" :disabled="model.didgrp.rec.shppar == 'N'"></c-input>
</el-form-item>
<el-form-item label="分期装运/提供服务约定" prop="didgrp.rec.fqtime">
......@@ -85,15 +92,15 @@
</el-form-item>
<el-form-item label="货物转运地(港)" prop="didgrp.rec.shpfro">
<c-input type="textarea" :rows="3" v-model="model.didgrp.rec.shpfro" maxlength="35" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" :rows="3" v-model="model.didgrp.rec.shpfro" :disabled="model.didgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="货物目的地/交货地(港)" prop="didgrp.rec.shpto">
<c-input type="textarea" :rows="3" v-model="model.didgrp.rec.shpto" maxlength="35" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" :rows="3" v-model="model.didgrp.rec.shpto" :disabled="model.didgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="服务提供地点" prop="didgrp.rec.shppro">
<c-input type="textarea" :rows="3" v-model="model.didgrp.rec.shppro" :readonly="true" maxlength="35" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" :rows="3" v-model="model.didgrp.rec.shppro" :disabled="model.didgrp.rec.mytype == 'H'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</el-col>
......@@ -130,8 +137,12 @@ export default {
methods:{...Event,
preperflgExtkeyEvent(){
this.flag = !this.model.didgrp.blk.preperflg
console.log(this.flag)
},
avbbykeyEvent(){
if(this.model.didgrp.rec.avbby == 'P'){
this.model.didgrp.rec.tenmaxday = 0;
}
}
},
created:function(){
......
......@@ -50,20 +50,26 @@
v-model="model.ditp.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
disabled
></c-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item
label=""
label-width="15px"
prop="didgrp.rec.resflg"
>
<c-checkbox v-model="model.didgrp.rec.resflg"
>Reserved Contract</c-checkbox
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary;width:10%"
@click="onExtkey"
>i</c-button
>
</el-form-item>
</el-col>
<el-col>
&nbsp;
</el-col>
<el-col :span="12">
<el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur">
<c-select
......@@ -101,6 +107,7 @@
v-model="model.ditp.amt"
maxlength="76"
placeholder="请输入大写金额"
disabled
></c-input>
</el-form-item>
</el-col>
......@@ -112,7 +119,6 @@
></c-input>
</el-form-item>
</el-col>
<el-col :span="12" style="text-align: left">
<el-form-item
label="-"
......@@ -127,12 +133,19 @@
></c-input>
</el-form-item>
</el-col>
<el-col>
&nbsp;
</el-col>
<el-col :span="14">
<el-form-item label="信用证最大金额" prop="didgrp.cbs.max.cur">
<c-select
v-model="model.didgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Currency"
disabled
>
<el-option
v-for="item in codes.cur"
......@@ -227,6 +240,7 @@
<el-form-item label="有效地点" prop="didgrp.rec.expplc">
<c-input
type="textarea"
:rows="3"
v-model="model.didgrp.rec.expplc"
maxlength="35"
show-word-limit
......@@ -396,7 +410,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="Chinese address">
<el-form-item label="Chinese address">Extkey</el-form-item>>
<c-input type="textarea" v-model="model.didgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</el-col>
......@@ -414,10 +428,6 @@
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label=""> </el-form-item>
</el-col>
<el-col :span="14">
<el-form-item label="邮编" prop="didgrp.apl.pts.youzbm">
<c-input
......@@ -443,10 +453,6 @@
</el-col>
<el-col :span="24">
<el-form-item label=""> </el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="申请人账号" prop="didgrp.apl.pts.extact">
<c-select
v-model="model.didgrp.apl.pts.extact"
......@@ -627,7 +633,7 @@
<el-col :span="24">
<el-form-item
label="益人开户行 联行行号"
label="益人开户行 联行行号"
prop="didgrp.beb.pts.bankno"
>
<c-input
......
......@@ -235,14 +235,19 @@ export default {
computed:{
flg(){
return this.model.didgrp.rec.elcflg
},
avbby(){
return this.model.didgrp.rec.avbby
}
},
watch:{
flg(){
this.pattern["didgrp.avb.pts.bankno"][0].required = this.model.didgrp.rec.elcflg == "Y";
console.log(this.pattern["didgrp.avb.pts.bankno"][0].required);
},
avbby(){
this.pattern["didgrp.rec.tenmaxday"][0].required = this.model.didgrp.rec.avbby == "D";
}
}
......
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