|
@@ -91,7 +91,7 @@
|
|
|
<template slot="price" slot-scope="text, record">
|
|
|
<editable-cell
|
|
|
size="small"
|
|
|
- :text="record.price"
|
|
|
+ :text="text"
|
|
|
id="salesEdit-price"
|
|
|
:max="999999"
|
|
|
:min="0"
|
|
@@ -172,7 +172,7 @@ export default {
|
|
|
{ title: '品牌', dataIndex: 'dealerProductEntity.productBrandName', width: 100, align: 'center', sorter: true, customRender: function (text) { return text || '--' } },
|
|
|
{ title: '仓库', dataIndex: 'warehouseEntity.name', width: 100, align: 'center', sorter: true, customRender: function (text) { return text || '--' } },
|
|
|
{ title: '仓位', dataIndex: 'warehouseLocationEntity.name', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '售价', scopedSlots: { customRender: 'price' }, width: 150, align: 'center' },
|
|
|
+ { title: '售价', dataIndex: 'price', scopedSlots: { customRender: 'price' }, width: 150, align: 'center' },
|
|
|
{ title: '销售数量', scopedSlots: { customRender: 'salesNums' }, width: 150, align: 'center' },
|
|
|
{ title: '单位', dataIndex: 'dealerProductEntity.unit', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '售价小计', dataIndex: 'totalAmount', width: 100, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
|
|
@@ -249,6 +249,7 @@ export default {
|
|
|
// 重置
|
|
|
resetSearchForm (flag) {
|
|
|
this.$refs.table.refresh(!!flag)
|
|
|
+ this.getOrderDetail()
|
|
|
},
|
|
|
// 重置列表
|
|
|
resetForm () {
|