6349b07d by “miaofang

证书领取输入框判断禁用

1 parent 3a5d8586
...@@ -78,9 +78,9 @@ export default { ...@@ -78,9 +78,9 @@ export default {
78 type: Number, 78 type: Number,
79 default: 0, 79 default: 0,
80 }, 80 },
81 sqywInfo: { 81 sqywInfo: {
82 type: Object, 82 type: Object,
83 default: () => { } 83 default: () => { }
84 }, 84 },
85 isJump: { type: Boolean, default: false }, 85 isJump: { type: Boolean, default: false },
86 }, 86 },
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
130 /** 130 /**
131 * @description: 保存当前楼盘表 131 * @description: 保存当前楼盘表
132 * @author: renchao 132 * @author: renchao
133 */ 133 */
134 saveLpb(){ 134 saveLpb(){
135 if (this.bsmList.length == 0) { 135 if (this.bsmList.length == 0) {
136 this.$message.error("请至少选择一条数据"); 136 this.$message.error("请至少选择一条数据");
...@@ -138,7 +138,7 @@ export default { ...@@ -138,7 +138,7 @@ export default {
138 } 138 }
139 this.loading = true; 139 this.loading = true;
140 againAddSldy({ 140 againAddSldy({
141 bsmSqyw: this.sqywInfo.bsmSqyw, 141 bsmSqyw: this.sqywInfo.bsmSqyw,
142 bsmSlsq: this.sqywInfo.bsmSlsq, 142 bsmSlsq: this.sqywInfo.bsmSlsq,
143 bdcdysz: this.bsmList, 143 bdcdysz: this.bsmList,
144 sjlx: "houses" 144 sjlx: "houses"
...@@ -208,6 +208,12 @@ export default { ...@@ -208,6 +208,12 @@ export default {
208 * @author: renchao 208 * @author: renchao
209 */ 209 */
210 getLpb(zrzbsm, scyclx, actual) { 210 getLpb(zrzbsm, scyclx, actual) {
211 if(!zrzbsm){
212 this.$message({
213 message: "暂无楼盘表",
214 type: "warning",
215 });
216 }else{
211 getLpb(zrzbsm, scyclx).then((res) => { 217 getLpb(zrzbsm, scyclx).then((res) => {
212 if (res.code == 200) { 218 if (res.code == 200) {
213 if(scyclx){ 219 if(scyclx){
...@@ -226,6 +232,8 @@ export default { ...@@ -226,6 +232,8 @@ export default {
226 }); 232 });
227 } 233 }
228 }); 234 });
235 }
236
229 }, 237 },
230 //户右键点击事件 238 //户右键点击事件
231 /** 239 /**
......
...@@ -30,30 +30,30 @@ ...@@ -30,30 +30,30 @@
30 <el-row> 30 <el-row>
31 <el-col :span="3"> 31 <el-col :span="3">
32 <el-form-item label="身份证读卡器"> 32 <el-form-item label="身份证读卡器">
33 <el-button type="text" icon="el-icon-tickets" @click="readClick">读取</el-button> 33 <el-button type="text" icon="el-icon-tickets" :disabled="show" @click="readClick">读取</el-button>
34 </el-form-item> 34 </el-form-item>
35 </el-col> 35 </el-col>
36 <el-col :span="5"> 36 <el-col :span="5">
37 <el-form-item label="领证人" prop="lzrxm" label-width="70px"> 37 <el-form-item label="领证人" prop="lzrxm" label-width="70px">
38 <el-input v-model="ruleForm.lzrxm"></el-input> 38 <el-input :disabled="show" v-model="ruleForm.lzrxm"></el-input>
39 </el-form-item> 39 </el-form-item>
40 </el-col> 40 </el-col>
41 <el-col :span="5"> 41 <el-col :span="5">
42 <el-form-item label="证件类型" prop="lzrzjlb" label-width="80px"> 42 <el-form-item label="证件类型" prop="lzrzjlb" label-width="80px">
43 <el-select v-model="ruleForm.lzrzjlb" filterable clearable placeholder="请选择"> 43 <el-select :disabled="show" v-model="ruleForm.lzrzjlb" filterable clearable placeholder="请选择">
44 <el-option v-for="item in lzrzjlbData" :key="item.dcode" :label="item.dname" :value="item.dcode"> 44 <el-option v-for="item in lzrzjlbData" :key="item.dcode" :label="item.dname" :value="item.dcode">
45 </el-option> 45 </el-option>
46 </el-select> 46 </el-select>
47 </el-form-item> 47 </el-form-item>
48 </el-col> 48 </el-col>
49 <el-col :span="5"> 49 <el-col :span="5">
50 <el-form-item label="证件号" prop="lzrzjh" label-width="70px"> 50 <el-form-item label="证件号" prop="lzrzjh" label-width="70px">
51 <el-input v-model="ruleForm.lzrzjh"></el-input> 51 <el-input :disabled="show" v-model="ruleForm.lzrzjh"></el-input>
52 </el-form-item> 52 </el-form-item>
53 </el-col> 53 </el-col>
54 <el-col :span="5"> 54 <el-col :span="5">
55 <el-form-item label="领证人电话" prop="lzrdh"> 55 <el-form-item label="领证人电话" prop="lzrdh">
56 <el-input v-model="ruleForm.lzrdh"></el-input> 56 <el-input :disabled="show" v-model="ruleForm.lzrdh"></el-input>
57 </el-form-item> 57 </el-form-item>
58 </el-col> 58 </el-col>
59 </el-row> 59 </el-row>
...@@ -133,7 +133,8 @@ ...@@ -133,7 +133,8 @@
133 total: 0, 133 total: 0,
134 columns: datas.columns().lzgrid, 134 columns: datas.columns().lzgrid,
135 data: [] 135 data: []
136 } 136 },
137 show:true
137 } 138 }
138 }, 139 },
139 mounted () { 140 mounted () {
...@@ -202,6 +203,7 @@ ...@@ -202,6 +203,7 @@
202 getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => { 203 getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => {
203 if (res.code === 200) { 204 if (res.code === 200) {
204 this.tableData.data = res.result.list; 205 this.tableData.data = res.result.list;
206 this.show=!res.result.list.length>0;
205 this.$nextTick(() => { 207 this.$nextTick(() => {
206 this.tableData.data.forEach(item => { 208 this.tableData.data.forEach(item => {
207 that.$refs.table.toggleRowSelection(item) 209 that.$refs.table.toggleRowSelection(item)
......
...@@ -98,6 +98,7 @@ ...@@ -98,6 +98,7 @@
98 import table from "@/utils/mixin/table"; 98 import table from "@/utils/mixin/table";
99 import { datas, sendThis } from "./djbcxdata"; 99 import { datas, sendThis } from "./djbcxdata";
100 import { getDjbBysearch } from "@/api/search.js"; 100 import { getDjbBysearch } from "@/api/search.js";
101 import { getZrzListByBsmSlsq } from "@/api/workflow/zjgcdyFlow.js";
101 102
102 export default { 103 export default {
103 name: "djbcx", 104 name: "djbcx",
...@@ -137,7 +138,8 @@ ...@@ -137,7 +138,8 @@
137 }, 138 },
138 qllxs: [], 139 qllxs: [],
139 isDialog: false, 140 isDialog: false,
140 djbxxData: {} 141 djbxxData: {},
142 zrzbsm:""
141 } 143 }
142 }, 144 },
143 computed: { 145 computed: {
...@@ -188,6 +190,11 @@ ...@@ -188,6 +190,11 @@
188 * @author: renchao 190 * @author: renchao
189 */ 191 */
190 handleLpbClick (item) { 192 handleLpbClick (item) {
193 let params = {zdbsm:item.bsmZd};
194 getZrzListByBsmSlsq(params).then((res) => {
195 if (res.code === 200) {
196 }
197 });
191 console.log("zrzbsm",item,item.zrzbsm); 198 console.log("zrzbsm",item,item.zrzbsm);
192 this.$popupDialog('楼盘表', 'lpb/index', { 199 this.$popupDialog('楼盘表', 'lpb/index', {
193 bsm: item.zrzbsm, 200 bsm: item.zrzbsm,
......