6349b07d by “miaofang

证书领取输入框判断禁用

1 parent 3a5d8586
......@@ -208,6 +208,12 @@ export default {
* @author: renchao
*/
getLpb(zrzbsm, scyclx, actual) {
if(!zrzbsm){
this.$message({
message: "暂无楼盘表",
type: "warning",
});
}else{
getLpb(zrzbsm, scyclx).then((res) => {
if (res.code == 200) {
if(scyclx){
......@@ -226,6 +232,8 @@ export default {
});
}
});
}
},
//户右键点击事件
/**
......
......@@ -30,17 +30,17 @@
<el-row>
<el-col :span="3">
<el-form-item label="身份证读卡器">
<el-button type="text" icon="el-icon-tickets" @click="readClick">读取</el-button>
<el-button type="text" icon="el-icon-tickets" :disabled="show" @click="readClick">读取</el-button>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="领证人" prop="lzrxm" label-width="70px">
<el-input v-model="ruleForm.lzrxm"></el-input>
<el-input :disabled="show" v-model="ruleForm.lzrxm"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="证件类型" prop="lzrzjlb" label-width="80px">
<el-select v-model="ruleForm.lzrzjlb" filterable clearable placeholder="请选择">
<el-select :disabled="show" v-model="ruleForm.lzrzjlb" filterable clearable placeholder="请选择">
<el-option v-for="item in lzrzjlbData" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -48,12 +48,12 @@
</el-col>
<el-col :span="5">
<el-form-item label="证件号" prop="lzrzjh" label-width="70px">
<el-input v-model="ruleForm.lzrzjh"></el-input>
<el-input :disabled="show" v-model="ruleForm.lzrzjh"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="领证人电话" prop="lzrdh">
<el-input v-model="ruleForm.lzrdh"></el-input>
<el-input :disabled="show" v-model="ruleForm.lzrdh"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -133,7 +133,8 @@
total: 0,
columns: datas.columns().lzgrid,
data: []
}
},
show:true
}
},
mounted () {
......@@ -202,6 +203,7 @@
getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => {
if (res.code === 200) {
this.tableData.data = res.result.list;
this.show=!res.result.list.length>0;
this.$nextTick(() => {
this.tableData.data.forEach(item => {
that.$refs.table.toggleRowSelection(item)
......
......@@ -98,6 +98,7 @@
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./djbcxdata";
import { getDjbBysearch } from "@/api/search.js";
import { getZrzListByBsmSlsq } from "@/api/workflow/zjgcdyFlow.js";
export default {
name: "djbcx",
......@@ -137,7 +138,8 @@
},
qllxs: [],
isDialog: false,
djbxxData: {}
djbxxData: {},
zrzbsm:""
}
},
computed: {
......@@ -188,6 +190,11 @@
* @author: renchao
*/
handleLpbClick (item) {
let params = {zdbsm:item.bsmZd};
getZrzListByBsmSlsq(params).then((res) => {
if (res.code === 200) {
}
});
console.log("zrzbsm",item,item.zrzbsm);
this.$popupDialog('楼盘表', 'lpb/index', {
bsm: item.zrzbsm,
......