库存全品种统计表产品名规格可自定义
This commit is contained in:
@@ -812,7 +812,7 @@ const getTableData = async (isLoading = true) => {
|
||||
})
|
||||
}
|
||||
|
||||
tableData.value = processedData
|
||||
tableData.value = processedData
|
||||
Object.values(tableOption.value.column).forEach( item=>{
|
||||
let oldHide=hideCols.value.indexOf(item.prop)!==-1
|
||||
item.hide=tableData.value[0]&&((tableSearch.value['Group by']&&tableData.value[0][item.prop]===undefined&&!item.children)||(item.children?.every(child=>(!['yearplan','yearrate'].includes(child.prop))&&(tableData.value[0][child.prop]===undefined))))||oldHide
|
||||
@@ -862,7 +862,8 @@ const getTableData = async (isLoading = true) => {
|
||||
const liveWidthCol={
|
||||
'InventoryRatio':['产品ID','货品ID','产品名称','产品规格',],
|
||||
'PSI':['产品ID','货品ID','产品名称','产品规格','单位','每件数量'],
|
||||
'ZHXSQK':['标准品名','客户名称']
|
||||
'ZHXSQK':['标准品名','客户名称'],
|
||||
'kcqmltj':['产品名称','规格','商品名','通用名']
|
||||
}
|
||||
Object.keys(tableOption.value.column).forEach(key=>{
|
||||
const showCols=Object.values(tableOption.value.column).filter(item=>!item.hide)
|
||||
|
||||
Reference in New Issue
Block a user