| | |
| | | const { proxy } = getCurrentInstance(); |
| | | const { t, locale } = useI18n(); |
| | | const { |
| | | aps_is_suspended, |
| | | aps_document_status, |
| | | aps_account, |
| | | aps_business_type, |
| | | } = proxy.useDict( |
| | | "aps_is_suspended", |
| | | "aps_document_status", |
| | | "aps_account", |
| | | "aps_business_type" |
| | | "aps_account" |
| | | ); |
| | | const exampleList = ref([]); |
| | | const planList = ref([]); |
| | |
| | | width: 60, |
| | | align: "center", |
| | | slots: { content: "expandContent" }, |
| | | fixed:"left", |
| | | }, |
| | | { type: "checkbox", width: 60, align: "center" }, |
| | | { type: "seq", title: t("plan.table.seq"), width: 60 }, |
| | |
| | | // field: 'mainPartDrawingNumber', |
| | | // width: 150, |
| | | // }, |
| | | // { |
| | | // title: '客户名称', |
| | | // field: 'customer', |
| | | // width: 200, |
| | | // }, |
| | | { |
| | | title: t('plan.table.customer'), |
| | | field: 'customer', |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: t("plan.table.businessType"), |
| | | field: "businessType", |
| | |
| | | // field: 'isOutsourcing', |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // title: '账套', |
| | | // field: 'account', |
| | | // width: 100, |
| | | // }, |
| | | { |
| | | title: t('plan.table.account'), |
| | | field: 'account', |
| | | width: 100, |
| | | // formatter: ({ cellValue, row, column }) => { |
| | | // if (cellValue) { |
| | | // console.log(cellValue,aps_account.value,"llll") |
| | | // for (let i = 0; i < aps_account.value.length; i++) { |
| | | // if (cellValue === aps_account.value[i].value) { |
| | | // return aps_account.value[i].label; |
| | | // } |
| | | // } |
| | | // } |
| | | // }, |
| | | }, |
| | | // { |
| | | // title: '上阶物料', |
| | | // field: 'advancedMaterials', |
| | |
| | | // }, |
| | | ]; |
| | | subGridOptions.value.columns = [ |
| | | { |
| | | title: t("plan.table.itemNumber"), |
| | | field: "itemNo", |
| | | width: 150, |
| | | align: "center", |
| | | }, |
| | | // { |
| | | // title: t("plan.table.itemNumber"), |
| | | // field: "itemNo", |
| | | // width: 150, |
| | | // align: "center", |
| | | // }, |
| | | { |
| | | title: t("plan.table.workOrderNo"), |
| | | field: "workOrderNo", |
| | |
| | | // width: 90, |
| | | // align:"center", |
| | | // }, |
| | | { |
| | | title: t("plan.table.standardTime"), |
| | | field: "standardTime", |
| | | width: 90, |
| | | align: "center", |
| | | }, |
| | | { |
| | | title: t("plan.table.processOrder"), |
| | | field: "processOrder", |
| | | width: 90, |
| | | align: "center", |
| | | }, |
| | | // { |
| | | // title: t("plan.table.standardTime"), |
| | | // field: "standardTime", |
| | | // width: 90, |
| | | // align: "center", |
| | | // }, |
| | | // { |
| | | // title: t("plan.table.processOrder"), |
| | | // field: "processOrder", |
| | | // width: 90, |
| | | // align: "center", |
| | | // }, |
| | | { |
| | | title: t("plan.table.integrationDay"), |
| | | field: "integrationDay", |