Commit d0908e4e by panziyi

Gitcrj修改

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