ca08a4ad by xiaomiao

--no commit message

1 parent 59d0ea64
......@@ -311,15 +311,13 @@
}
},
handleLpbClick (item) {
this.$popup('楼盘表', 'lpb/index', {
this.$popup('楼盘表', 'lpb/index', {
width: '85%',
formData: {
bsm: item.bsm,
zrzbsm: item.bsm,
zdbsm: item.zdbsm,
bsmSqyw: this.bsmSqyw,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
bsm: item.zrzbsm,
zrzbsm: item.zrzbsm,
zdbsm: item.zrzbsm,
}
})
},
......
......@@ -242,7 +242,7 @@
* @param {*} row
* @author: renchao
*/
openBook (row) {
openDialog (row) {
var param = {
bdcdyid: row.bdcdyid,
qllx: row.qllx,
......
......@@ -105,7 +105,6 @@ class data extends filter {
render: (h, scope) => {
return (
<div>
<el-button type="text" onClick={() => { vm.handleLpbClick(scope.row) }}>楼盘表1</el-button>
<el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button>
</div>
)
......
......@@ -192,9 +192,16 @@
* @author: renchao
*/
handleLpbClick (item) {
this.$popupDialog('楼盘表', 'lpb/index', {
bsm: ''
}, '85%')
console.log("item",item);
this.$popup('楼盘表', 'lpb/index', {
width: '85%',
formData: {
bsm: item.zrzbsm,
zrzbsm: item.zrzbsm,
zdbsm: item.zrzbsm,
}
})
}
}
}
......
......@@ -89,11 +89,20 @@
}
})
},
/**
* @description: moreQueryClick
* @author: renchao
*/
moreQueryClick () { }
openDialog(){
this.$popup('楼盘表', 'lpb/index', {
width: '85%',
formData: {
bsm: item.bsm,
zrzbsm: item.bsm,
zdbsm: item.zdbsm,
bsmSqyw: this.bsmSqyw,
// onlyShow: true,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}
})
}
}
}
</script>
......