| | |
| | | label: "工资定额", |
| | | prop: "salaryQuota", |
| | | }, |
| | | { |
| | | label: "是否质检", |
| | | prop: "isQuality", |
| | | formatData: (params) => { |
| | | return params ? "是" : "否"; |
| | | }, |
| | | }, |
| | | // { |
| | | // label: "是否报工", |
| | | // prop: "isReportWork", |
| | | // formatData: (params) => { |
| | | // return params ? "是" : "否"; |
| | | // }, |
| | | // }, |
| | | { |
| | | label: "备注", |
| | | prop: "remark", |
| | |
| | | tableLoading.value = false; |
| | | tableData.value = res.data.records.map(item => ({ |
| | | ...item, |
| | | typeText: item.type !== undefined ? (item.type === 0 ? "计时" : "计件") : "", |
| | | typeText: item.type !== undefined && item.type !== null ? (item.type === 0 ? "计时" : "计件") : "", |
| | | })); |
| | | page.total = res.data.total; |
| | | }) |