Commit f9a51c58 by liuxin

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 883de6ea d0908e4e
......@@ -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: "必输项"},
......
......@@ -26,7 +26,7 @@
size="small"
type="primary"
@click="onCctmodButgetref"
:disabled="model.ccdgrp.rec.ownref!=''"
:disabled="model.ccdgrp.rec.ownref != ''"
>
获取
</c-button>
......@@ -201,26 +201,27 @@
</el-form-item>
</c-col>
<c-col :span="22">
<c-col :span="24">
<el-form-item label="resp.usr" prop="cctp.usr.extkey">
<c-input
v-model="model.cctp.usr.extkey"
maxlength="8"
placeholder="请输入resp.usr"
disabled
></c-input>
<c-fullbox>
<c-input
v-model="model.cctp.usr.extkey"
maxlength="8"
placeholder="请输入resp.usr"
disabled
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button
style="margin: 0 12px 0 14px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</c-col>
<c-col :span="24">
<el-form-item label="Drawer" prop="ccdgrp.cor.pts.extkey">
......@@ -394,43 +395,43 @@ export default {
mixins: [commonProcess],
data() {
return {
flag1:false,
flag2:false,
flag3:false,
flag1: false,
flag2: false,
flag3: false,
};
},
watch:{
"model.ccdgrp.cor.pts.extkey" :{
immediate:true,
handler(val ,oldVal){
if(this.model.ccdgrp.cor.pts.extkey!=''){
this.flag1=true;
}else{
this.flag1=false;
}
watch: {
"model.ccdgrp.cor.pts.extkey": {
immediate: true,
handler(val, oldVal) {
if (this.model.ccdgrp.cor.pts.extkey != "") {
this.flag1 = true;
} else {
this.flag1 = false;
}
},
"model.ccdgrp.dro.pts.extkey" :{
immediate:true,
handler(val ,oldVal){
if(this.model.ccdgrp.dro.pts.extkey!=''){
this.flag2=true;
}else{
this.flag2=false;
}
},
"model.ccdgrp.dro.pts.extkey": {
immediate: true,
handler(val, oldVal) {
if (this.model.ccdgrp.dro.pts.extkey != "") {
this.flag2 = true;
} else {
this.flag2 = false;
}
},
"model.ccdgrp.col.pts.extkey" :{
immediate:true,
handler(val ,oldVal){
if(this.model.ccdgrp.col.pts.extkey!=''){
this.flag3=true;
}else{
this.flag3=false;
}
},
"model.ccdgrp.col.pts.extkey": {
immediate: true,
handler(val, oldVal) {
if (this.model.ccdgrp.col.pts.extkey != "") {
this.flag3 = true;
} else {
this.flag3 = false;
}
},
"model.ccdgrp.rec.modset": function () {
},
"model.ccdgrp.rec.modset": function () {
if (this.model.ccdgrp.rec.modset == "2") {
this.model.ccdgrp.col.pts.extkey = "";
this.model.ccdgrp.col.pts.adrblk = "";
......
......@@ -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