|
@@ -179,9 +179,9 @@ export default {
|
|
|
computed: {
|
|
|
columns () {
|
|
|
const arr = [
|
|
|
- { title: '产品编码', dataIndex: 'productCode', width: '150px', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '产品编码', dataIndex: 'productCode', width: '150px', align: 'left', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '产品名称', dataIndex: 'productName', scopedSlots: { customRender: 'productName' }, align: 'left' },
|
|
|
- { title: '原厂编码', dataIndex: 'productOrigCode', width: '150px', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
+ { title: '原厂编码', dataIndex: 'productOrigCode', width: '150px', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
{ title: '品牌', dataIndex: 'productBrandName', width: '100px', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
{ title: '出库仓库', dataIndex: 'warehouseName', width: '80px', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
{ title: '库存数量', dataIndex: 'currentStockQty', width: '80px', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
@@ -206,7 +206,7 @@ export default {
|
|
|
},
|
|
|
watch:{
|
|
|
advanced(a,b){
|
|
|
- this.tableHeight = window.innerHeight - (a ? 395 : 350)
|
|
|
+ this.tableHeight = window.innerHeight - (a ? 375 : 330)
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -276,7 +276,7 @@ export default {
|
|
|
}
|
|
|
this.tabList = tabList
|
|
|
this.promoProductClz = tabList[0].val
|
|
|
- this.tableHeight = window.innerHeight - 350
|
|
|
+ this.tableHeight = window.innerHeight - 330
|
|
|
|
|
|
this.resetSearchForm()
|
|
|
},
|