|
@@ -47,7 +47,7 @@
|
|
{{form.creditLimit||'--'}}
|
|
{{form.creditLimit||'--'}}
|
|
</u-form-item>
|
|
</u-form-item>
|
|
<u-form-item label="价格权限设置" >
|
|
<u-form-item label="价格权限设置" >
|
|
- {{form.priceShowName||'--'}}
|
|
|
|
|
|
+ {{showPriceStr.length ? showPriceStr.join("/") : '--'}}
|
|
</u-form-item>
|
|
</u-form-item>
|
|
</u-form>
|
|
</u-form>
|
|
</view>
|
|
</view>
|
|
@@ -56,6 +56,7 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import { xprhStoreApplyDetail } from '@/api/approveStore'
|
|
import { xprhStoreApplyDetail } from '@/api/approveStore'
|
|
|
|
+ import { getShelfPriceShow } from '@/api/shelf'
|
|
export default{
|
|
export default{
|
|
data(){
|
|
data(){
|
|
return{
|
|
return{
|
|
@@ -86,6 +87,7 @@
|
|
rules: {},
|
|
rules: {},
|
|
areaIdArr: [], // 省市区id数组
|
|
areaIdArr: [], // 省市区id数组
|
|
labelArr: [],
|
|
labelArr: [],
|
|
|
|
+ showPriceStr: []
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad(options) {
|
|
onLoad(options) {
|
|
@@ -110,9 +112,29 @@
|
|
this.areaIdArr = []
|
|
this.areaIdArr = []
|
|
this.form.label = '--'
|
|
this.form.label = '--'
|
|
}
|
|
}
|
|
|
|
+ this.getShelfPriceShow(res.data)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ // 获取价格显示设置
|
|
|
|
+ getShelfPriceShow(data) {
|
|
|
|
+ this.showPriceStr = []
|
|
|
|
+ getShelfPriceShow({
|
|
|
|
+ shelfSn: data.shelfSn
|
|
|
|
+ }).then(res => {
|
|
|
|
+ if (res.status == 200) {
|
|
|
|
+ const ret = res.data && res.data
|
|
|
|
+ ret.map(item => {
|
|
|
|
+ if (item.paramCode == 'shelf_price_show' && item.paramValue == 1) {
|
|
|
|
+ this.showPriceStr.push("车主价")
|
|
|
|
+ }
|
|
|
|
+ if (item.paramCode == 'shelf_cost_show' && item.paramValue == 1) {
|
|
|
|
+ this.showPriceStr.push("结算价")
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ },
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|