|
@@ -78,7 +78,7 @@
|
|
|
</template>
|
|
|
<!-- 价格 -->
|
|
|
<template slot="productPrice" slot-scope="text, record">
|
|
|
- {{ text||text==0 ? text : '--' }} <span title="原价" v-if="promoProductClz == 'GIFT' || promoProductClz == 'DISCOUNT'">({{ record.origPrice||record.origPrice==0 ? record.origPrice : '--' }})</span>
|
|
|
+ {{ text||text==0 ? toThousands(text) : '--' }} <span title="原价" v-if="promoProductClz == 'GIFT' || promoProductClz == 'DISCOUNT'">({{ record.origPrice||record.origPrice==0 ? toThousands(record.origPrice) : '--' }})</span>
|
|
|
</template>
|
|
|
<!-- 产品名称 -->
|
|
|
<template slot="productName" slot-scope="text, record">
|
|
@@ -181,7 +181,7 @@ export default {
|
|
|
const arr = [
|
|
|
{ title: '产品编码', dataIndex: 'productCode', width: '150px', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '产品名称', dataIndex: 'productName', scopedSlots: { customRender: 'productName' }, align: 'left' },
|
|
|
- { title: '原厂编码', dataIndex: 'productOrigCode', width: '100px', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
+ { title: '原厂编码', dataIndex: 'productOrigCode', width: '150px', align: 'center', 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 : '--') } },
|
|
@@ -194,7 +194,7 @@ export default {
|
|
|
]
|
|
|
let idx = 7
|
|
|
if (this.$hasPermissions('B_salesEdit_salesPrice')) { // 售价权限
|
|
|
- arr.splice(idx, 0, { title: '售价', dataIndex: 'productPrice', width: '60px', align: 'right', scopedSlots: { customRender: 'productPrice' } })
|
|
|
+ arr.splice(idx, 0, { title: '售价', dataIndex: 'productPrice', width: '100px', align: 'right', scopedSlots: { customRender: 'productPrice' } })
|
|
|
idx = idx + 1
|
|
|
}
|
|
|
// 促销品没有起订量
|