| | |
| | | label: "申请单编号", |
| | | prop: "applyNo", |
| | | width: "150px", |
| | | className: "code-cell", |
| | | }, |
| | | { |
| | | label: "客户名称", |
| | |
| | | { |
| | | label: "产品名称", |
| | | prop: "productName", |
| | | width: "200px", |
| | | width: "100px", |
| | | dataType: "tag", |
| | | formatType: params => { |
| | | const typeMap = { |
| | | 板材: "primary", |
| | | 砌块: "info", |
| | | }; |
| | | return typeMap[params] || "info"; |
| | | return "primary"; |
| | | }, |
| | | }, |
| | | { |
| | |
| | | label: "物料编码", |
| | | prop: "materialCode", |
| | | width: "150px", |
| | | className: "code-cell", |
| | | }, |
| | | { |
| | | label: "块数", |
| | | prop: "quantity", |
| | | className: "quantity-cell", |
| | | formatData: cell => (cell ? `${cell}块` : ""), |
| | | }, |
| | | { |
| | |
| | | |
| | | { |
| | | label: "备注 1", |
| | | width: "150px", |
| | | prop: "remarkOne", |
| | | }, |
| | | { |
| | | label: "备注 2", |
| | | width: "150px", |
| | | prop: "remarkTwo", |
| | | }, |
| | | |
| | |
| | | { |
| | | label: "物料编码", |
| | | prop: "materialCode", |
| | | className: "code-cell", |
| | | }, |
| | | { |
| | | label: "产品名称", |
| | | prop: "productName", |
| | | dataType: "tag", |
| | | formatType: params => { |
| | | const typeMap = { |
| | | 板材: "primary", |
| | | 砌块: "info", |
| | | }; |
| | | return typeMap[params] || "info"; |
| | | return "primary"; |
| | | }, |
| | | }, |
| | | { |
| | |
| | | { |
| | | label: "长", |
| | | prop: "length", |
| | | className: "dimension-cell", |
| | | formatData: cell => (cell ? `${cell}mm` : ""), |
| | | }, |
| | | { |
| | | label: "宽", |
| | | prop: "width", |
| | | className: "dimension-cell", |
| | | formatData: cell => (cell ? `${cell}mm` : ""), |
| | | }, |
| | | { |
| | | label: "高", |
| | | prop: "height", |
| | | className: "dimension-cell", |
| | | formatData: cell => (cell ? `${cell}mm` : ""), |
| | | }, |
| | | { |
| | | label: "块数", |
| | | prop: "quantity", |
| | | className: "quantity-cell", |
| | | formatData: cell => (cell ? `${cell}块` : ""), |
| | | }, |
| | | { |