|
@@ -10,6 +10,7 @@
|
|
|
@saveColumn="saveColumn"
|
|
|
:page.sync="page"
|
|
|
@on-load="onLoad">
|
|
|
+ <template slot-scope="scope"></template>
|
|
|
</avue-crud>
|
|
|
<div class="botoom">
|
|
|
<span slot="footer" class="dialog-footer">
|
|
@@ -60,24 +61,25 @@
|
|
|
this.option = await this.getColumnData(this.getColumnName(42), option);
|
|
|
if (this.systemType == 'GN') {
|
|
|
this.option.column.forEach(item => {
|
|
|
+ if (item.prop == 'corpName') item.label = '供应商'
|
|
|
if (item.prop == 'billNo' || item.prop == 'invoiceWeight' || item.prop == 'billWeight' || item.prop == 'orgOrderNo'
|
|
|
- || item.prop == 'priceCategoryNames' || item.prop == 'itemType'
|
|
|
+ || item.prop == 'priceCategoryNames' || item.prop == 'itemType' || item.prop == 'marketDate'
|
|
|
) {
|
|
|
item.hide = true;
|
|
|
item.showColumn = false;
|
|
|
- }
|
|
|
- // 隐藏查询
|
|
|
- if (item.prop == 'orgOrderNo') {
|
|
|
- item.search = false
|
|
|
+ // 隐藏查询
|
|
|
+ item.search = false;
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
if(this.systemType == 'JK'){
|
|
|
this.option.column.forEach(item => {
|
|
|
- if ( item.prop == 'itemType' || item.prop == 'typeno' || item.prop == 'code' || item.prop == 'corpName'
|
|
|
+ if ( item.prop == 'itemType' || item.prop == 'typeno' || item.prop == 'code' || item.prop == 'corpName' || item.prop == 'corp'
|
|
|
+ || item.prop == 'businesDate'
|
|
|
) {
|
|
|
item.hide = true;
|
|
|
item.showColumn = false;
|
|
|
+ item.search = false;
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -86,9 +88,9 @@
|
|
|
this.option.column.forEach(item => {
|
|
|
if (item.search) i++
|
|
|
})
|
|
|
- if (i % 4 !== 0){
|
|
|
- const num = 4 - Number(i % 4)
|
|
|
- this.option.searchMenuSpan = num * 6;
|
|
|
+ if (i % 3 !== 0){
|
|
|
+ const num = 3 - Number(i % 3)
|
|
|
+ this.option.searchMenuSpan = num * 8;
|
|
|
this.option.searchMenuPosition = "right";
|
|
|
}
|
|
|
},
|