Commit d0908e4e by panziyi

Gitcrj修改

parent 5bdc42d6
...@@ -25,6 +25,7 @@ let checkObj = { ...@@ -25,6 +25,7 @@ let checkObj = {
"gidgrp.rec.redamt" :null, "gidgrp.rec.redamt" :null,
"liaall.liaccv.relcshpct" :null, "liaall.liaccv.relcshpct" :null,
"mtabut.clsflg" :null, "mtabut.clsflg" :null,
"gidgrp.rec.purcan" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -49,5 +49,6 @@ export default { ...@@ -49,5 +49,6 @@ export default {
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"gcdgrp.rec.docprbrol" :Utils.defaultFunction, "gcdgrp.rec.docprbrol" :Utils.defaultFunction,
"gcdgrp.rec.msgdat" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"gcdgrp.rec.msgdat":[ "gcdgrp.rec.msgdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "必输项"}
], ],
"gctp.prbp.ptsget.sdamod.dadsnd":[ "gctp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -332,11 +332,11 @@ ...@@ -332,11 +332,11 @@
<c-col :span="11" style="margin-top: 15px"> <c-col :span="11" style="margin-top: 15px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Select Rejection type " prop="lettername"> <el-form-item label="信函名称" prop="lettername">
<c-input <c-input
v-model="model.lettername" v-model="model.lettername"
maxlength="40" maxlength="40"
placeholder="请输入Select Rejection type" placeholder="请输入信函名称"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -354,21 +354,17 @@ ...@@ -354,21 +354,17 @@
</el-radio-group> </el-radio-group>
</div> </div>
</c-col> --> </c-col> -->
<c-col :span="12"> <c-col :span="24">
<el-card class="box-card"> <el-form-item label="Select Reject Type" prop="rejtypsel">
<template> <c-select
<el-radio v-model="model.rejtypsel"
v-model="rejtypsel" style="width:100%"
label="1" placeholder=""
>Pending instructions</el-radio> :code="rejtypsel"
<el-radio ></c-select>
v-model="rejtypsel" </el-form-item>
label="2"
>Outright,return documents</el-radio>
</template>
</el-card>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="18">
<el-form-item label=" Message Date" prop="gcdgrp.rec.msgdat"> <el-form-item label=" Message Date" prop="gcdgrp.rec.msgdat">
<c-date-picker <c-date-picker
type="date" type="date"
...@@ -378,11 +374,11 @@ ...@@ -378,11 +374,11 @@
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="6">
<c-checkbox <c-checkbox
v-model="model.mtabut.clsflgp" v-model="model.mtabut.clsflg"
style="margin-left: 32px" style="margin-left: 20px"
:disabled="model.rejtypsel != 'Outright,return documents'" :disabled="model.rejtypsel != 'R'"
>Close Contract</c-checkbox >Close Contract</c-checkbox
> >
</c-col> </c-col>
...@@ -949,14 +945,29 @@ export default { ...@@ -949,14 +945,29 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
rejtypsel: "1", rejtypsel: [
{ label: "Pending instructions", value: "I" },
{ label: "Outright, return documents", value: "R" },
],
typgar2: [ typgar2: [
{ label: "农民工工资保函", value: "1" }, { label: "农民工工资保函", value: "1" },
{ label: "农民工工资保函2", value: "2" }, { label: "农民工工资保函2", value: "2" },
], ],
}; };
}, },
watch:{
"model.rejtypsel" : {
immediate: true,
handler(val,oldval){
if(this.model.rejtypsel=="I"){
this.model.mtabut.clsflg=""
}else if(this.model.rejtypsel=="R"){
this.model.mtabut.clsflg="X"
}
}
},
},
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
......
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