| | |
| | | import footSum from "@/hook/footSum"; |
| | | import {changeFilterEvent,filterChanged} from "@/hook" |
| | | import companyInfo from "@/stores/sd/companyInfo"; |
| | | import {multiply} from "@/utils/decimal"; |
| | | |
| | | //语言获取 |
| | | const { t } = useI18n() |
| | |
| | | pageTotal.value=res.data.total |
| | | titleUploadData.value=deepClone(res.data.delivery) |
| | | titleUploadData.value.deliveryId=str |
| | | console.log(titleUploadData.value) |
| | | |
| | | //根据审核状态显示审核按钮或者是反审按钮 |
| | | |
| | |
| | | customConfig: { |
| | | storage: true |
| | | }, |
| | | checkboxConfig:{checkAll:true}, |
| | | mouseConfig:{selected: true},//鼠标选中 |
| | | keyboardConfig:{isArrow: true, isDel: true, isEnter: true, isTab: true, isEdit: true, isChecked: true}, |
| | | editConfig: { |
| | |
| | | |
| | | }) |
| | | |
| | | const editClosedEvent = ({ row, column }) => { |
| | | |
| | | if (['deliveryDetail.quantity'].includes(column.property)) { |
| | | if(parseInt(row.deliveryDetail.quantity)===0){ |
| | | xGrid.value.setCheckboxRow(row, false); |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | </script> |
| | | |
| | |
| | | v-bind="gridOptions" |
| | | v-on="gridEvents" |
| | | :edit-rules="validRules" |
| | | @edit-closed="editClosedEvent" |
| | | |
| | | > |
| | | <template #num1_filter="{ column, $panel }"> |