Commit e781a6b2 by lianyang

Bdtdck交易bug修改

parent eca152ad
......@@ -129,7 +129,7 @@
<c-col :span="24">
<el-form-item label="单据状态" prop="bddgrp.rec.docsta">
<c-select v-model="model.bddgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态"
:code="codes.docsta" disabled>
:code="codes.docsta1" disabled>
</c-select>
</el-form-item>
......@@ -510,7 +510,7 @@
-->
<c-col :span="24">
<el-form-item prop="bdtp.oth.namelc" :label="`付款人名称`" :prop="`bdtp.oth.namelc`">
<el-form-item prop="bdtp.oth.namelc" :label="`付款人名称`">
<c-input type="textarea" v-model="model.bdtp.oth.namelc" :placeholder="'请输入付款人名称'" :rows="2"
maxlength="35" show-word-limit disabled></c-input>
</el-form-item>
......
......@@ -6,14 +6,14 @@
<c-col :span="20">
<el-form-item label="不符点">
<c-input type="textarea"
:disabled="!model.bddgrp.rec.igndisflg && model.bddgrp.blk.docdisflg ? false : true" :rows="6"
:disabled="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>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel"
:disabled="!model.bddgrp.rec.igndisflg && model.bddgrp.blk.docdisflg ? false : true">
:disabled="model.bddgrp.blk.docdisflg ? false : true">
...
</c-button>
</c-col>
......@@ -84,12 +84,14 @@
<c-col :span="10">
<c-row>
<c-col :span="24" :offset="8">
<c-checkbox v-model="model.bddgrp.rec.igndisflg" @change="change1">
<c-checkbox v-model="model.bddgrp.rec.igndisflg" @change="igndisflgOtherDefault">
忽略不符点
</c-checkbox>
</c-col>
<c-col :span="24" :offset="8">
<c-checkbox v-model="model.bddgrp.blk.docdisflg" :disabled="model.bddgrp.rec.igndisflg ? true : false">
<c-checkbox v-model="model.bddgrp.blk.docdisflg"
@change="docdisflgOtherDefault">
<!-- :disabled="model.bddgrp.rec.igndisflg ? true : false -->
录入不符点
</c-checkbox>
</c-col>
......@@ -266,10 +268,22 @@
},
methods: {
...Event,
async change1() {
if (this.model.bddgrp.rec.igndisflg == 'X') {
this.model.bddgrp.blk.docdisflg = '';
}
async igndisflgOtherDefault() {
this.executeDefault('trnmod.trndoc.tag77atxt').then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data)
}
})
// if (this.model.bddgrp.rec.igndisflg == 'X') {
// this.model.bddgrp.blk.docdisflg = '';
// }
},
docdisflgOtherDefault(){
this.executeDefault('txmmod.buttxmsel').then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data)
}
})
},
addTableValue(index) {
var newTableValue = Object.assign({}, this.newValue);
......
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