|
@@ -108,6 +108,7 @@
|
|
|
<div @dblclick.stop>
|
|
|
¥
|
|
|
<a-input-number
|
|
|
+ size="small"
|
|
|
v-model="record.salePrice"
|
|
|
:precision="2"
|
|
|
:min="0"
|
|
@@ -119,6 +120,7 @@
|
|
|
<template slot="nums" slot-scope="text, record">
|
|
|
<div @dblclick.stop>
|
|
|
<a-input-number
|
|
|
+ size="small"
|
|
|
v-model="record.salesNums"
|
|
|
:precision="0"
|
|
|
:min="0"
|
|
@@ -223,13 +225,13 @@ export default {
|
|
|
warehouseList: [], // 仓库列表
|
|
|
columnsBak: [
|
|
|
{ title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
|
- { title: '产品编码', dataIndex: 'productCode', width: 140, align: 'center', sorter: true },
|
|
|
- { title: '产品名称', dataIndex: 'productName', width: 200, align: 'center' },
|
|
|
- { title: '原厂编码', dataIndex: 'productOrigCode', width: 140, align: 'center' },
|
|
|
- { title: '品牌', dataIndex: 'brandName', width: 100, align: 'center', sorter: true },
|
|
|
- { title: '仓库', dataIndex: 'warehouseName', width: 100, align: 'center', sorter: true },
|
|
|
- { title: '仓位', dataIndex: 'warehouseLocationName', width: 100, align: 'center' },
|
|
|
- { title: '库存数量', dataIndex: 'currentQty', width: 100, align: 'center' },
|
|
|
+ { title: '产品编码', dataIndex: 'productCode', width: 140, align: 'center', sorter: true, customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '产品名称', dataIndex: 'productName', width: 200, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '原厂编码', dataIndex: 'productOrigCode', width: 140, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '品牌', dataIndex: 'brandName', width: 100, align: 'center', sorter: true, customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '仓库', dataIndex: 'warehouseName', width: 100, align: 'center', sorter: true, customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '仓位', dataIndex: 'warehouseLocationName', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '库存数量', dataIndex: 'currentQty', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '单位', dataIndex: 'unit', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '成本价', dataIndex: 'putCost', width: 100, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
|
|
|
{ title: '市级价', dataIndex: 'dealerProduct.cityPrice', width: 100, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
|