|
@@ -107,7 +107,7 @@ export default {
|
|
let columnsArr = [
|
|
let columnsArr = [
|
|
{ title: '序号', dataIndex: 'no', width: '10%', align: 'center' },
|
|
{ title: '序号', dataIndex: 'no', width: '10%', align: 'center' },
|
|
{ title: '产品编码', dataIndex: 'productCode', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '产品编码', dataIndex: 'productCode', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
- { title: '产品名称', dataIndex: 'product.name', width: '70%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
|
|
|
|
+ { title: '产品名称', dataIndex: 'product.name', width: '50%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
]
|
|
]
|
|
if (_this.goodsFlag == '0') {
|
|
if (_this.goodsFlag == '0') {
|
|
const arr = [
|
|
const arr = [
|
|
@@ -124,16 +124,13 @@ export default {
|
|
let unColumnsArr = [
|
|
let unColumnsArr = [
|
|
{ title: '序号', dataIndex: 'no', width: '10%', align: 'center' },
|
|
{ title: '序号', dataIndex: 'no', width: '10%', align: 'center' },
|
|
{ title: '产品编码', dataIndex: 'productCode', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '产品编码', dataIndex: 'productCode', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
- { title: '产品名称', dataIndex: 'product.name', width: '60%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
|
|
|
+ { title: '产品名称', dataIndex: 'product.name', width: '50%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '错误说明', scopedSlots: { customRender: 'errorMsg' }, width: '20%', align: 'center' }
|
|
{ title: '错误说明', scopedSlots: { customRender: 'errorMsg' }, width: '20%', align: 'center' }
|
|
]
|
|
]
|
|
if (_this.goodsFlag == '0') {
|
|
if (_this.goodsFlag == '0') {
|
|
- const arr = [
|
|
|
|
- { title: '省价特价', dataIndex: 'provinceDiscountPriceText', width: '10%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
|
|
|
|
|
|
+ unColumnsArr.splice(3,0,{ title: '省价特价', dataIndex: 'provinceDiscountPriceText', width: '10%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
|
|
{ title: '市价特价', dataIndex: 'cityDiscountPriceText', width: '10%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
|
|
{ title: '市价特价', dataIndex: 'cityDiscountPriceText', width: '10%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
|
|
- { title: '特约特价', dataIndex: 'specialDiscountPriceText', width: '10%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } }
|
|
|
|
- ]
|
|
|
|
- unColumnsArr = unColumnsArr.concat(arr)
|
|
|
|
|
|
+ { title: '特约特价', dataIndex: 'specialDiscountPriceText', width: '10%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
|
|
}
|
|
}
|
|
return unColumnsArr
|
|
return unColumnsArr
|
|
}
|
|
}
|