|
@@ -95,7 +95,7 @@
|
|
<s-table
|
|
<s-table
|
|
class="sTable"
|
|
class="sTable"
|
|
ref="table"
|
|
ref="table"
|
|
- size="default"
|
|
|
|
|
|
+ size="small"
|
|
:rowKey="(record) => record.id"
|
|
:rowKey="(record) => record.id"
|
|
:columns="columns"
|
|
:columns="columns"
|
|
:data="loadData"
|
|
:data="loadData"
|
|
@@ -182,6 +182,10 @@ export default {
|
|
type: [Number, String],
|
|
type: [Number, String],
|
|
default: ''
|
|
default: ''
|
|
},
|
|
},
|
|
|
|
+ priceType: {
|
|
|
|
+ type: [Number, String],
|
|
|
|
+ default: ''
|
|
|
|
+ },
|
|
newLoading: Boolean
|
|
newLoading: Boolean
|
|
},
|
|
},
|
|
data () {
|
|
data () {
|
|
@@ -202,6 +206,7 @@ export default {
|
|
],
|
|
],
|
|
productType: [],
|
|
productType: [],
|
|
queryParam: { // 查询条件
|
|
queryParam: { // 查询条件
|
|
|
|
+ salePriceType: '',
|
|
productCode: '', // 产品编码
|
|
productCode: '', // 产品编码
|
|
productName: '', // 产品名称
|
|
productName: '', // 产品名称
|
|
productOrigCode: '', // 原厂编码
|
|
productOrigCode: '', // 原厂编码
|
|
@@ -236,6 +241,7 @@ export default {
|
|
// 加载数据方法 必须为 Promise 对象
|
|
// 加载数据方法 必须为 Promise 对象
|
|
loadData: parameter => {
|
|
loadData: parameter => {
|
|
this.disabled = true
|
|
this.disabled = true
|
|
|
|
+ this.queryParam.salePriceType = this.priceType
|
|
return querySumByProductLocation(Object.assign(parameter, this.queryParam)).then(res => {
|
|
return querySumByProductLocation(Object.assign(parameter, this.queryParam)).then(res => {
|
|
const data = res.data
|
|
const data = res.data
|
|
const no = (data.pageNo - 1) * data.pageSize
|
|
const no = (data.pageNo - 1) * data.pageSize
|