|
@@ -131,7 +131,7 @@ export default {
|
|
|
code: '', // 产品编码
|
|
|
name: '', // 产品名称
|
|
|
vinCode: '',
|
|
|
- productCodeList: undefined, // 车架号
|
|
|
+ codeList: undefined, // 车架号
|
|
|
productBrandSn: undefined, // 产品品牌
|
|
|
productTypeSn1: '', // 产品一级分类
|
|
|
productTypeSn2: '', // 产品二级分类
|
|
@@ -163,7 +163,7 @@ export default {
|
|
|
return supperCodeByVin({ vin: _this.queryParam.vinCode }).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
_this.vinInfoData = res.data
|
|
|
- params.productCodeList = res.data.partCodeList || []
|
|
|
+ params.codeList = res.data.partCodeList || []
|
|
|
return _this.getList(params)
|
|
|
} else {
|
|
|
_this.vinInfoData = null
|
|
@@ -177,7 +177,7 @@ export default {
|
|
|
} else if (this.onlyList) {
|
|
|
_this.disabled = true
|
|
|
if (_this.queryParam.vinCode && _this.vinInfoData) {
|
|
|
- return _this.getList(Object.assign(params, { productCodeList: _this.vinInfoData.partCodeList }))
|
|
|
+ return _this.getList(Object.assign(params, { codeList: _this.vinInfoData.partCodeList }))
|
|
|
} else {
|
|
|
return _this.getList(params)
|
|
|
}
|
|
@@ -240,6 +240,7 @@ export default {
|
|
|
this.queryParam.productTypeSn2 = ''
|
|
|
this.queryParam.productTypeSn3 = ''
|
|
|
this.queryParam.state = 'ONLINE'
|
|
|
+ this.queryParam.codeList = undefined
|
|
|
this.productType = []
|
|
|
this.$refs.ruleForm.resetFields()
|
|
|
this.$refs.table.refresh(true)
|