| | |
| | | otherMoney:{} |
| | | }) |
| | | onMounted(()=>{ |
| | | xGrid.value.reloadData(prop.otherMoney.filter(item => item.column.indexOf('M')>-1)) |
| | | xGrid.value.reloadData(prop.otherMoney) |
| | | }) |
| | | watch(prop,(newVal)=>{ |
| | | xGrid.value.reloadData(prop.otherMoney.filter(item => item.column.indexOf('M')>-1)) |
| | | xGrid.value.reloadData(prop.otherMoney) |
| | | }) |
| | | |
| | | const countAmount = (row) => { |
| | |
| | | orderDetails.forEach(item => { |
| | | item.otherColumns = JSON.parse(item.otherColumns) |
| | | }) |
| | | otherMoney.value =res.data.orderOtherMoneyList.filter(item => item.column.indexOf('M')>-1) |
| | | otherMoney.value =res.data.orderOtherMoneyList |
| | | //加载副表数据 |
| | | xGrid.value.reloadData(orderDetails) |
| | | gridOptions.loading = false |