Commit fc513f11 by huangxin

brtset的bug修改

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