12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- export const mapProp = {
- value0: "companyNo",
- value1: "companyName",
- value2: "supplierNo",
- value3: "supplierName",
- value4: "payNo",
- value5: "invoiceType",
- value6: "invoiceCode",
- value7: "invoiceNumber",
- value8: "inv_subtotal_amount",
- value9: "inv_total",
- value10: "open_time",
- value11: "checkNumber"
- };
- export const requireHeaders = [];
- const columns = [
- {
- label: '购买方纳税号',
- prop: 'TODO1',
- minWidth: '100px',
- reuqired: true
- },
- {
- label: '商品编号',
- prop: 'TODO2',
- minWidth: '100px',
- reuqired: true
- },
- {
- label:'盘点数量',
- prop: 'TODO3',
- minWidth: '100px',
- reuqired: true
- }
- ]
- const orderTemplate = [columns.slice(1).reduce((prev, current) => {
- return { ...prev, [current.label]: current.detaultData ? current.defaultData : '' }
- }, {})]
- export { initheaders, columns, orderTemplate };
|