| | |
| | | :props="defaultProp" |
| | | show-checkbox |
| | | node-key="id" |
| | | @check="handlepackage" |
| | | @check-change="handlepackage" |
| | | :default-checked-keys="checkedkeys" |
| | | :filter-node-method="filterpackage" |
| | | ref="treas" |
| | |
| | | </el-table-column> |
| | | </el-table> |
| | | |
| | | <h3 style="font-weight: 600">合计:{{ marryalls }}元</h3> |
| | | <!-- <h3 style="font-weight: 600">合计:{{ marryalls }}元</h3> --> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | }, |
| | | handlepackage(data, checked, checkedNodes) { |
| | | if (checked == true) { |
| | | this.$refs.treas.setCheckedKeys([data.id]); |
| | | // this.$refs.treas.setCheckedKeys([data.id]); |
| | | let datas = { |
| | | zhId: data.id, |
| | | }; |
| | |
| | | this.DataList3.forEach((item) => { |
| | | console.log(item.proPrice); |
| | | this.TotalPrice1 += item.proPrice * item.sl; |
| | | this.marryalls += item.proPrice; |
| | | this.marryalls += item.proPrice * item.sl; |
| | | }); |
| | | |
| | | // 为每个项目添加 propinName |
| | |
| | | this.orderId = row.orderId; |
| | | this.cusId = row.tjCusIdCard; |
| | | this.userId = row.userId; |
| | | console.log(row, 666); |
| | | |
| | | this.customer = { |
| | | cusIdcard: row.tjCusIdCard, |
| | | cusName: row.tjCustomerName, |
| | |
| | | this.checkedObj = checked; |
| | | |
| | | if (checked === true) { |
| | | this.$refs.tree.setCheckedKeys([data.proId]); |
| | | // this.$refs.tree.setCheckedKeys([data.proId]); |
| | | let proId = data.proId; |
| | | getProSonDxList(proId).then((res) => { |
| | | this.TreedataList = res.data.list; |
| | | this.TreedataList.forEach((item) => { |
| | | item.disabled = true; |
| | | // item.disabled = true; |
| | | this.checkedListkey.push(item.proId); |
| | | this.DataList3.push(item); |
| | | this.spliceData(); |