| | |
| | | clickFun: row => { |
| | | handleEdit(row); |
| | | }, |
| | | // 当需求数量等于完成数量的时候,按钮不可点击 |
| | | disabled: row => Number(row?.planQuantity) === Number(row?.completeQuantity), |
| | | }, |
| | | { |
| | | name: "流转卡", |
| | |
| | | clickFun: row => { |
| | | showReportDialog(row); |
| | | }, |
| | | disabled: row => row.planQuantity <= 0, |
| | | disabled: row => Number(row?.planQuantity) <= Number(row?.completeQuantity) || row.planQuantity <= 0, |
| | | }, |
| | | // { |
| | | // name:"审核", |
| | |
| | | |
| | | const showReportDialog = row => { |
| | | currentReportRowData.value = row; |
| | | reportForm.planQuantity = row.planQuantity; |
| | | reportForm.planQuantity = row.planQuantity - row.completeQuantity; |
| | | reportForm.quantity = |
| | | row.quantity !== undefined && row.quantity !== null ? row.quantity : null; |
| | | reportForm.productProcessRouteItemId = row.productProcessRouteItemId; |