Commit fc513f11 by huangxin

brtset的bug修改

parent bd6929bc
......@@ -149,5 +149,6 @@ export default {
"trtcre.trtmod.finmod.dinmod.jzllgz" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.matdat" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.stttendat" :Utils.defaultFunction,
"brtp.prechkdat" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -169,7 +169,7 @@ export default {
"brtp.prechkdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.prb.namelc":[
{type: "string", required: true, message: "必输项"},
......
......@@ -497,6 +497,7 @@
v-model="model.brdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择交单行"
@change="selectOrCheckboxRule('brdgrp.rec.docprbrol')"
:code="codes.docprbrol"
>
</c-select>
......
......@@ -632,7 +632,9 @@
v-model="model.brdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择交单人"
:code="codes.docprbrol"
@change="selectOrCheckboxRule('brdgrp.rec.docprbrol')"
:code="codes.docprbrol1"
>
</c-select>
</el-form-item>
......@@ -642,6 +644,7 @@
<el-form-item label="交单人地址编码" prop="brdgrp.prb.pts.extkey">
<c-fullbox>
<c-input
:disabled="this.flag4"
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
......@@ -682,7 +685,7 @@
maxlength="140"
show-word-limit
placeholder="请输入名称地址"
disabled
:disabled="model.brdgrp.prb.pts.extkey!=''"
></c-input>
</el-form-item>
</c-col>
......@@ -702,6 +705,7 @@ export default {
mixins: [commonProcess],
data() {
return {
flag4:true,
flag3: true,
cmtflg: [
{ label: "代理行模式", value: "C" },
......@@ -757,6 +761,27 @@ export default {
},
created: function () {},
watch: {
"model.brtp.ischktyp": {
immediate: true,
handler(val, oldVal) {
if (this.model.brtp.ischktyp == "N"||this.model.brtp.ischktyp == "") {
this.model.brtp.prechkdat = "";
}
},
},
"model.brdgrp.rec.docprbrol":function(){
if(this.model.brdgrp.rec.docprbrol=='ADV'){
this.flag4=true;
}
else if(this.model.brdgrp.rec.docprbrol=='BEN'){
this.flag4=true;
}
else if(this.model.brdgrp.rec.docprbrol=='PRB'){
this.flag4=false;
}
},
declareParams() {},
"model.trnmod.cmtflg": {
immediate: true,
......
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