|
@@ -86,23 +86,53 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "currencyName", title: "币种" },
|
|
|
+ item: { key: "materialCodeList", title: "物料编码" },
|
|
|
attr: {
|
|
|
- is: "el-popover-select-v2",
|
|
|
- referName: "CURRENCY_PARAM",
|
|
|
- valueKey: "name",
|
|
|
- dataMapping: { currency: "id", currencyName: "name" },
|
|
|
+ clearable: true,
|
|
|
+ is: "el-popover-multiple-select-v2",
|
|
|
+ valueKey: "code",
|
|
|
+ referName: "MATERIAL_PARAM",
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- item: { key: "puDeptName", title: "采购部门" },
|
|
|
+ item: { key: "materialCodes", title: "物料编码" },
|
|
|
+ attr: {
|
|
|
+ clearable: true,
|
|
|
+ is: "el-input",
|
|
|
+ placeholder: '多物料编码使用 , 隔开',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ item: { width: 100, key: "manufacturer", title: "生产厂家" },
|
|
|
attr: {
|
|
|
is: "el-popover-select-v2",
|
|
|
- referName: "DEPT_PARAM",
|
|
|
- valueKey: "name",
|
|
|
- dataMapping: { puDept: "id", puDeptName: "name" },
|
|
|
+ clearable: true,
|
|
|
+ referName: "MANUFACTURER_PARAM",
|
|
|
+ valueKey: "id",
|
|
|
+ dataMapping: {
|
|
|
+ manufacturer: "id",
|
|
|
+ manufacturerName: "name",
|
|
|
+ },
|
|
|
},
|
|
|
},
|
|
|
+ // {
|
|
|
+ // item: { key: "currencyName", title: "币种" },
|
|
|
+ // attr: {
|
|
|
+ // is: "el-popover-select-v2",
|
|
|
+ // referName: "CURRENCY_PARAM",
|
|
|
+ // valueKey: "name",
|
|
|
+ // dataMapping: { currency: "id", currencyName: "name" },
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // item: { key: "puDeptName", title: "采购部门" },
|
|
|
+ // attr: {
|
|
|
+ // is: "el-popover-select-v2",
|
|
|
+ // referName: "DEPT_PARAM",
|
|
|
+ // valueKey: "name",
|
|
|
+ // dataMapping: { puDept: "id", puDeptName: "name" },
|
|
|
+ // },
|
|
|
+ // },
|
|
|
{
|
|
|
item: { key: "isEffective", title: "是否推价" },
|
|
|
attr: {
|
|
@@ -119,6 +149,25 @@ export default function useColumns() {
|
|
|
clearable: true,
|
|
|
},
|
|
|
},
|
|
|
+ {
|
|
|
+ item: { key: "explainStr", title: "内审备注" },
|
|
|
+ attr: {
|
|
|
+ clearable: true,
|
|
|
+ is: "el-input",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ item: { width: 100, key: "billDates", title: "单据日期", span: 8 },
|
|
|
+ attr: {
|
|
|
+ clearable: true,
|
|
|
+ is: "el-date-picker",
|
|
|
+ type: "datetimerange",
|
|
|
+ rangeSeparator: "至",
|
|
|
+ startPlaceholder: "开始日期",
|
|
|
+ endPlaceholder: "结束日期",
|
|
|
+ valueFormat: "yyyy-MM-dd hh:mm:ss",
|
|
|
+ },
|
|
|
+ },
|
|
|
];
|
|
|
|
|
|
return { TableColumns, SearchColumns };
|