Commit 421dc336 by wangyanjiao

bdtdck checkbox互斥修改

parent e4da82ef
<template> <template>
<c-content> <c-content>
<c-row> <c-row>
...@@ -6,8 +5,9 @@ ...@@ -6,8 +5,9 @@
<c-col :span="14"> <c-col :span="14">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="不符点"> <el-form-item label="不符点">
<c-input type="textarea" :disabled="!model.bddgrp.rec.igndisflg && model.bddgrp.blk.docdisflg ? false : true" <c-input type="textarea"
:rows="6" v-model="model.bddgrp.blk.docdis" maxlength="65" show-word-limit placeholder="请输入不符点"></c-input> :disabled="!model.bddgrp.rec.igndisflg && model.bddgrp.blk.docdisflg ? false : true" :rows="6"
v-model="model.bddgrp.blk.docdis" maxlength="65" show-word-limit placeholder="请输入不符点"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -72,9 +72,7 @@ ...@@ -72,9 +72,7 @@
</c-col> --> </c-col> -->
<c-col> <c-col>
<c-docpre <c-docpre :model="model" :argadr="{
:model="model"
:argadr="{
path: 'bddgrp.blk.prsdoc', path: 'bddgrp.blk.prsdoc',
grp: 'bdtp', grp: 'bdtp',
code: 'bdtdck', code: 'bdtdck',
...@@ -86,7 +84,7 @@ ...@@ -86,7 +84,7 @@
<c-col :span="10"> <c-col :span="10">
<c-row> <c-row>
<c-col :span="24" :offset="8"> <c-col :span="24" :offset="8">
<c-checkbox v-model="model.bddgrp.rec.igndisflg"> <c-checkbox v-model="model.bddgrp.rec.igndisflg" @change="change1">
忽略不符点 忽略不符点
</c-checkbox> </c-checkbox>
</c-col> </c-col>
...@@ -99,7 +97,7 @@ ...@@ -99,7 +97,7 @@
<br /><br /><br /><br /> <br /><br /><br /><br />
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="收到的通知类" prop="bddgrp.rec.advtyp"> <el-form-item label="收到的通知类型" prop="bddgrp.rec.advtyp">
<c-select v-model="model.bddgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice Received" <c-select v-model="model.bddgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice Received"
:disabled="true"> :disabled="true">
</c-select> </c-select>
...@@ -217,16 +215,16 @@ ...@@ -217,16 +215,16 @@
<span v-text="model.bdtp.docgrdm.docdsclab" data-path=".bdtp.docgrdm.docdsclab" > </span> <span v-text="model.bdtp.docgrdm.docdsclab" data-path=".bdtp.docgrdm.docdsclab" > </span>
</c-col> --> </c-col> -->
</c-row> </c-row>
</c-content> </c-content>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bdtdck/Event" import Event from "~/model/Bdtdck/Event"
import Docpre from "~/views/Public/Docpre"; import Docpre from "~/views/Public/Docpre";
import Utils from "~/utils"; import Utils from "~/utils";
export default { export default {
components: { components: {
"c-docpre": Docpre, "c-docpre": Docpre,
}, },
...@@ -268,6 +266,11 @@ export default { ...@@ -268,6 +266,11 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
async change1() {
if (this.model.bddgrp.rec.igndisflg == 'X') {
this.model.bddgrp.blk.docdisflg = '';
}
},
addTableValue(index) { addTableValue(index) {
var newTableValue = Object.assign({}, this.newValue); var newTableValue = Object.assign({}, this.newValue);
const serial = Utils.generateUUID(); const serial = Utils.generateUUID();
...@@ -283,12 +286,12 @@ export default { ...@@ -283,12 +286,12 @@ export default {
} }
} }
</script> </script>
<style> <style>
.messageLabel>>>.el-form-item__label { .messageLabel>>>.el-form-item__label {
text-align: left; text-align: left;
font-weight: bold; font-weight: bold;
font-size: 12px; font-size: 12px;
} }
</style> </style>
\ No newline at end of file
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