|
@@ -57,12 +57,28 @@
|
|
|
this.option = await this.getColumnData(this.getColumnName(42), option);
|
|
|
if (this.systemType == 'GN') {
|
|
|
this.option.column.forEach(item => {
|
|
|
- if (item.prop == 'billNo' || item.prop == 'invoiceWeight' || item.prop == 'billWeight') {
|
|
|
+ if (item.prop == 'billNo' || item.prop == 'invoiceWeight' || item.prop == 'billWeight' || item.prop == 'orderNo'
|
|
|
+ || item.prop == 'priceCategoryNames' || item.prop == 'itemType'
|
|
|
+ ) {
|
|
|
item.hide = true;
|
|
|
item.showColumn = false;
|
|
|
}
|
|
|
+ // 隐藏查询
|
|
|
+ if (item.prop == 'orderNo') {
|
|
|
+ item.search = false
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
+ // 搜索按钮位置自适应
|
|
|
+ let i = 0;
|
|
|
+ this.option.column.forEach(item => {
|
|
|
+ if (item.search) i++
|
|
|
+ })
|
|
|
+ if (i % 4 !== 0){
|
|
|
+ const num = 4 - Number(i % 4)
|
|
|
+ this.option.searchMenuSpan = num * 6;
|
|
|
+ this.option.searchMenuPosition = "right";
|
|
|
+ }
|
|
|
},
|
|
|
methods:{
|
|
|
refreshChange(){
|