|
@@ -150,13 +150,13 @@
|
|
|
<a-button
|
|
|
size="small"
|
|
|
type="link"
|
|
|
- class="button-error"
|
|
|
+ class="button-geekblue"
|
|
|
@click="handleAdd(record)"
|
|
|
id="productInfoList-edit-btn">添加</a-button>
|
|
|
<a-button
|
|
|
size="small"
|
|
|
type="link"
|
|
|
- class="button-default"
|
|
|
+ class="button-info"
|
|
|
@click="handleDetail(record)"
|
|
|
id="productInfoList-detail-btn"
|
|
|
style="margin-left: 5px;">销售记录</a-button>
|
|
@@ -288,9 +288,9 @@ export default {
|
|
|
{ title: '仓位', dataIndex: 'warehouseLocationName', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '库存数量', dataIndex: 'currentQty', width: '7%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '单位', dataIndex: 'unit', width: '4%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '售价', dataIndex: 'salePrice', scopedSlots: { customRender: 'salePrice' }, width: '9%', align: 'center' },
|
|
|
- { title: '销售数量', dataIndex: 'salesNums', scopedSlots: { customRender: 'nums' }, width: '9%', align: 'center' },
|
|
|
- { title: '操作', dataIndex: 'action', scopedSlots: { customRender: 'action' }, width: '9%', align: 'center' }
|
|
|
+ { title: '售价', dataIndex: 'salePrice', scopedSlots: { customRender: 'salePrice' }, width: '7%', align: 'center' },
|
|
|
+ { title: '销售数量', dataIndex: 'salesNums', scopedSlots: { customRender: 'nums' }, width: '7%', align: 'center' },
|
|
|
+ { title: '操作', dataIndex: 'action', scopedSlots: { customRender: 'action' }, width: '13%', align: 'center' }
|
|
|
]
|
|
|
if (this.cost) {
|
|
|
arr.splice(6, 0, { title: '成本价', dataIndex: 'putCost', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
|