|
@@ -264,6 +264,7 @@
|
|
size="mini"
|
|
size="mini"
|
|
filterable
|
|
filterable
|
|
@change="setText($event, scope.$index, scope.row, 'priceType')"
|
|
@change="setText($event, scope.$index, scope.row, 'priceType')"
|
|
|
|
+ @focus="handlePriceType(scope.row)"
|
|
>
|
|
>
|
|
<el-option
|
|
<el-option
|
|
v-for="item in priceList"
|
|
v-for="item in priceList"
|
|
@@ -495,7 +496,7 @@ import {
|
|
setStauts,
|
|
setStauts,
|
|
updateCondition
|
|
updateCondition
|
|
} from '@/api/policy_list'
|
|
} from '@/api/policy_list'
|
|
-import { getProductPriceListV2 } from '@/api/priceType'
|
|
|
|
|
|
+import { getPriceSalesRelaListV2 } from '@/api/priceType'
|
|
import { downloadFiles, handleImport } from '@/utils/util'
|
|
import { downloadFiles, handleImport } from '@/utils/util'
|
|
// import Transfer from './Transfer'
|
|
// import Transfer from './Transfer'
|
|
import TabelTransfer from './TabelTransfer'
|
|
import TabelTransfer from './TabelTransfer'
|
|
@@ -714,7 +715,6 @@ export default {
|
|
// 获取销售类型列表
|
|
// 获取销售类型列表
|
|
const typeData = await getTypeList(params)
|
|
const typeData = await getTypeList(params)
|
|
this.typeList = typeData.data.records
|
|
this.typeList = typeData.data.records
|
|
- this.getProductPriceListV2()
|
|
|
|
},
|
|
},
|
|
handleSalesType(e, row, index, name) {
|
|
handleSalesType(e, row, index, name) {
|
|
console.log(e)
|
|
console.log(e)
|
|
@@ -1042,13 +1042,23 @@ export default {
|
|
// this.isFlag = 1
|
|
// this.isFlag = 1
|
|
this.$emit('upDataIsFlag')
|
|
this.$emit('upDataIsFlag')
|
|
},
|
|
},
|
|
- getProductPriceListV2() {
|
|
|
|
- getProductPriceListV2({
|
|
|
|
|
|
+ getPriceSalesRelaListV2(val) {
|
|
|
|
+ getPriceSalesRelaListV2({
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
- pageSize: -1
|
|
|
|
|
|
+ pageSize: -1,
|
|
|
|
+ params: [
|
|
|
|
+ {
|
|
|
|
+ 'param': 'b.sale_code',
|
|
|
|
+ 'compare': 'like',
|
|
|
|
+ 'value': val
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.priceList = res.data.records
|
|
this.priceList = res.data.records
|
|
})
|
|
})
|
|
|
|
+ },
|
|
|
|
+ handlePriceType(e) {
|
|
|
|
+ this.getPriceSalesRelaListV2(e.saleTypeCode)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
components: {
|
|
components: {
|