|
@@ -218,6 +218,15 @@ export default {
|
|
|
return text || text == 0 ? _this.toThousands(text, 2) : '--'
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '成本价',
|
|
|
+ dataIndex: 'specialPrice',
|
|
|
+ width: '7%',
|
|
|
+ align: 'right',
|
|
|
+ customRender: function (text) {
|
|
|
+ return text || text == 0 ? _this.toThousands(text, 2) : '--'
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
title: '终端价',
|
|
|
dataIndex: 'terminalPrice',
|
|
@@ -358,7 +367,7 @@ export default {
|
|
|
changeStatus (record) {
|
|
|
this.$confirm({
|
|
|
title: '提示',
|
|
|
- content: record.enabledFlag == '1' ? '产品被禁用后,不能再销售,确定禁用吗?' : '确定启用吗?',
|
|
|
+ content: record.enabledFlag == '1' ? '当前产品存在可用库存,产品被禁用后,不能再销售,确定禁用吗?' : '确定启用吗?',
|
|
|
centered: true,
|
|
|
onOk: () => {
|
|
|
this.setEnable(record.enabledFlag == 1 ? '0' : '1', [record.productSn])
|