|
@@ -195,7 +195,7 @@ export default {
|
|
|
return {
|
|
|
advanced: false, // 高级搜索 展开/关闭
|
|
|
showSetting: false, // 设置弹框
|
|
|
- tableWidth: 1800,
|
|
|
+ tableWidth: 0,
|
|
|
settingColVal: ['productOrigCode', 'brandName', 'warehouseName', 'warehouseLocationName', 'currentQty', 'unit'],
|
|
|
settingColList: [
|
|
|
{ label: '原厂编码', value: 'productOrigCode' },
|
|
@@ -251,8 +251,8 @@ export default {
|
|
|
parameter.sortAlias = 'product '
|
|
|
}
|
|
|
if (parameter.sortField == 'brandName') {
|
|
|
- parameter.sortField = 'productBrandSn'
|
|
|
- parameter.sortAlias = 'product'
|
|
|
+ parameter.sortField = 'firstChar'
|
|
|
+ parameter.sortAlias = 'brand'
|
|
|
}
|
|
|
if (parameter.sortField == 'warehouseName') {
|
|
|
parameter.sortField = 'warehouseSn'
|
|
@@ -308,7 +308,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
console.log(w)
|
|
|
- this.tableWidth = w
|
|
|
+ this.tableWidth = w + 100
|
|
|
this.columns = d
|
|
|
},
|
|
|
// 双击列表
|