|
@@ -160,14 +160,14 @@ export default {
|
|
|
name: 'QueryPart',
|
|
|
components: { STable, VSelect, Upload, productSalesRecordModal },
|
|
|
props: {
|
|
|
- buyerSn: {
|
|
|
- type: [Number, String],
|
|
|
- default: ''
|
|
|
- },
|
|
|
- priceType: {
|
|
|
- type: [Number, String],
|
|
|
- default: ''
|
|
|
- },
|
|
|
+ // buyerSn: {
|
|
|
+ // type: [Number, String],
|
|
|
+ // default: ''
|
|
|
+ // },
|
|
|
+ // priceType: {
|
|
|
+ // type: [Number, String],
|
|
|
+ // default: ''
|
|
|
+ // },
|
|
|
newLoading: Boolean
|
|
|
},
|
|
|
data () {
|
|
@@ -189,6 +189,8 @@ export default {
|
|
|
productTypeSn3: '', // 产品三级分类
|
|
|
warehouseSn: undefined // 仓库
|
|
|
},
|
|
|
+ priceType: '',
|
|
|
+ buyerSn: '',
|
|
|
rules: {
|
|
|
vinCode: [ { len: 17, message: '请输入正确的车架号(VIN)', trigger: 'change' } ]
|
|
|
},
|
|
@@ -317,8 +319,14 @@ export default {
|
|
|
this.queryParam.productCodeList = undefined
|
|
|
this.queryParam.vinCode = ''
|
|
|
this.productType = []
|
|
|
- this.$refs.table.refresh(true)
|
|
|
this.$refs.ruleForm.resetFields()
|
|
|
+ this.$refs.table.refresh(true)
|
|
|
+ },
|
|
|
+ pageInit (buyerSn, priceType) {
|
|
|
+ console.log(buyerSn, priceType)
|
|
|
+ this.priceType = priceType
|
|
|
+ this.buyerSn = buyerSn
|
|
|
+ this.resetSearchForm()
|
|
|
},
|
|
|
// 刷新当前页面
|
|
|
resetCurForm () {
|