|
@@ -198,8 +198,7 @@ export default {
|
|
|
components: { STable, VSelect, Upload, productSalesRecordModal, carInfoModal, ProductType, ProductBrand },
|
|
|
mixins: [commonMixin],
|
|
|
props: {
|
|
|
- newLoading: Boolean,
|
|
|
- sourceType: String // 单据来源
|
|
|
+ newLoading: Boolean
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
@@ -224,6 +223,7 @@ export default {
|
|
|
enableFlag: '1', // 启用禁用
|
|
|
existStockFlag: undefined// 是否存在库存
|
|
|
},
|
|
|
+ sourceType: null, // 单据来源
|
|
|
priceType: '', // 价格类型
|
|
|
buyerSn: '', // 客户sn
|
|
|
rules: { // 校验
|
|
@@ -412,7 +412,8 @@ export default {
|
|
|
this.vinInfoData = null
|
|
|
},
|
|
|
// 初始页面
|
|
|
- pageInit (buyerSn, priceType, salesBillSn) {
|
|
|
+ pageInit (buyerSn, priceType, salesBillSn, sourceType) {
|
|
|
+ this.sourceType = sourceType
|
|
|
this.priceType = priceType || ''
|
|
|
this.buyerSn = buyerSn || ''
|
|
|
this.queryParam.salesBillSn = salesBillSn || ''
|