|
@@ -198,7 +198,8 @@ export default {
|
|
components: { STable, VSelect, Upload, productSalesRecordModal, carInfoModal, ProductType, ProductBrand },
|
|
components: { STable, VSelect, Upload, productSalesRecordModal, carInfoModal, ProductType, ProductBrand },
|
|
mixins: [commonMixin],
|
|
mixins: [commonMixin],
|
|
props: {
|
|
props: {
|
|
- newLoading: Boolean
|
|
|
|
|
|
+ newLoading: Boolean,
|
|
|
|
+ sourceType: String // 单据来源
|
|
},
|
|
},
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
@@ -221,7 +222,7 @@ export default {
|
|
productTypeSn3: '', // 产品三级分类
|
|
productTypeSn3: '', // 产品三级分类
|
|
warehouseSn: undefined, // 仓库、
|
|
warehouseSn: undefined, // 仓库、
|
|
enableFlag: '1', // 启用禁用
|
|
enableFlag: '1', // 启用禁用
|
|
- existStockFlag: undefined // 是否存在库存
|
|
|
|
|
|
+ existStockFlag: undefined// 是否存在库存
|
|
},
|
|
},
|
|
priceType: '', // 价格类型
|
|
priceType: '', // 价格类型
|
|
buyerSn: '', // 客户sn
|
|
buyerSn: '', // 客户sn
|
|
@@ -253,6 +254,10 @@ export default {
|
|
parameter.sortField = 'warehouseSn'
|
|
parameter.sortField = 'warehouseSn'
|
|
parameter.sortAlias = 'sd'
|
|
parameter.sortAlias = 'sd'
|
|
}
|
|
}
|
|
|
|
+ // 转单时,productTypeSn3:543766811373752320
|
|
|
|
+ if (_this.sourceType === 'TRANSFER_ORDER') {
|
|
|
|
+ _this.queryParam.productTypeSn3 = '543766811373752320'
|
|
|
|
+ }
|
|
const params = Object.assign(parameter, _this.queryParam)
|
|
const params = Object.assign(parameter, _this.queryParam)
|
|
// 输入vin,查出vin码信息后请求列表数据
|
|
// 输入vin,查出vin码信息后请求列表数据
|
|
if (_this.queryParam.vinCode && _this.queryParam.vinCode.length == 17 && !this.onlyList) {
|
|
if (_this.queryParam.vinCode && _this.queryParam.vinCode.length == 17 && !this.onlyList) {
|
|
@@ -411,6 +416,7 @@ export default {
|
|
this.priceType = priceType || ''
|
|
this.priceType = priceType || ''
|
|
this.buyerSn = buyerSn || ''
|
|
this.buyerSn = buyerSn || ''
|
|
this.queryParam.salesBillSn = salesBillSn || ''
|
|
this.queryParam.salesBillSn = salesBillSn || ''
|
|
|
|
+
|
|
if (this.onlyList) { // 不清空查询条件
|
|
if (this.onlyList) { // 不清空查询条件
|
|
this.$refs.table.refresh()
|
|
this.$refs.table.refresh()
|
|
} else {
|
|
} else {
|