Commit 36d7621e by 李少勇

修改获取保函编号的按钮的禁用状态

parent cc3d018e
......@@ -17,21 +17,21 @@ export default {
}
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref (key) {
async queryOwnref () {
let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr,
businessType: 'LG',
tbl: 'LG'
}
const loading = this.loading()
let res = await Api.post('/service/gitopn/getOwnRef', params)
if (res.respCode == SUCCESS) {
console.log('queryOwnref', res)
loading.close()
this.model.gidgrp.rec.ownref = res.data
}
},
// 业务信息=》基本信息=》申请人-----获取申请人信息
async queryGidgrpAplPtsExtkey (type, ptytyp) {
console.log('model.gidgrp.ben.pts.extkey', this.model.gidgrp.ben)
console.log('type.toLowerCase()', type.toLowerCase())
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
......
......@@ -22,6 +22,7 @@
<i class="el-icon-info" style="font-size:15px"></i>
</c-button>
<c-button
:disabled="flag"
style="margin: 0 0"
size="small"
type="primary"
......@@ -1347,7 +1348,7 @@ export default {
flag(){
if(this.model.gitp.swiftflg == 'N') {
if(this.model.gidgrp.rec.ownref == '') {
if(this.model.gidgrp.rec.hndtyp !== '' && this.model.gidgrp.apl.pts.adrblk !== '') {
if(this.model.gidgrp.rec.hndtyp === '' && this.model.gidgrp.apl.pts.adrblk !== '') {
return false;
} else {
return true;
......
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