b1568b62 by xiaomiao

--no commit message

1 parent 99afa86e
......@@ -113,9 +113,10 @@ export default {
},
mounted() {
// 根据申请单元列表数据处理选中户
console.log("window.unitData",window.unitData);
if(window.unitData.length){
window.unitData.forEach(e => {
this.unitIdList.push(e.bdcdyid)
this.unitIdList.push(e.bdcdyid)
})
this.ch.forEach((c) => {
c.hs.forEach((h) => {
......@@ -142,7 +143,7 @@ export default {
//未选中→选中
item.hs.forEach((h) => {
//加边框
e.target.className += " tdSelect";
e.target.className += " tdSelect";
h.select = true;
// 使用hbsmList时,需要去重
this.hbsmList.push(h.bsm)
......@@ -176,7 +177,7 @@ export default {
//加边框
hs.select = true;
// 将户bsm放进hbsmList
self.hbsmList.push(bsm);
self.hbsmList.push(bsm);
} else {
//选中→未选中
hs.select = false;
......
......@@ -89,7 +89,9 @@
*/
queryClick () {
this.$startLoading();
this.queryForm.zrzbsm = this.sqywInfo.zrzbsm;
console.log("this.sqywInfo.zrzbsm",this.sqywInfo);
this.queryForm.zrzbsm = this.sqywInfo.bsm;
// this.queryForm.zrzbsm = this.sqywInfo.zrzbsm;
selectHQjdc({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
......