Commit 8ee94ae1 by 前端

Merge branch 'SAAS+V4.51.1-0415' into 'master'

上线合并

See merge request !26
2 parents e9af8d2d ed03fc2c
...@@ -440,4 +440,15 @@ const saveWriteOff = params => { ...@@ -440,4 +440,15 @@ const saveWriteOff = params => {
}) })
} }
export default { getUserInfoApi, getCountNoDataApi, getListApi, getMerchantApi, getExportApi, getPriteApi, getCarBrandListApi, getCarChildListApi, getCarTypeListApi, getCarSeriesListApi, getHotlineApi, getDefaultCarbrandApi, updateHotlineApi, updateCarBrandApi, getProListApi, getPackageListApi, getEquityApi, updateEquityApi, createCodeApi, getOrderAttrApi, getAllOrderValueApi, verifyOrderApi, checkOrderApi, updateOrderApi, uploadImgApi, backOrderApi, aduitOrderApi, judgeSetting, spaAgressData, merchantInfo, dateBycarNo, activeCodeList, updateActiveCode, getWriteOffList, exportWriteOffData, getWriteOffService, getWriteOffDetail, saveWriteOff, getNewPackageListApi } // 获取产品名称 (权益订单列表查询条件)
const getProductListApi = params => {
params.method = 'scrm.api.equity.service.spu.select.get'
return http({
url: 'rop-scrm-equity/router',
method: 'GET',
data: params,
sign: true
})
}
export default { getUserInfoApi, getCountNoDataApi, getListApi, getMerchantApi, getExportApi, getPriteApi, getCarBrandListApi, getCarChildListApi, getCarTypeListApi, getCarSeriesListApi, getHotlineApi, getDefaultCarbrandApi, updateHotlineApi, updateCarBrandApi, getProListApi, getPackageListApi, getEquityApi, updateEquityApi, createCodeApi, getOrderAttrApi, getAllOrderValueApi, verifyOrderApi, checkOrderApi, updateOrderApi, uploadImgApi, backOrderApi, aduitOrderApi, judgeSetting, spaAgressData, merchantInfo, dateBycarNo, activeCodeList, updateActiveCode, getWriteOffList, exportWriteOffData, getWriteOffService, getWriteOffDetail, saveWriteOff, getNewPackageListApi, getProductListApi }
...@@ -186,6 +186,7 @@ export default { ...@@ -186,6 +186,7 @@ export default {
queryText: '', queryText: '',
orderStatus: '', orderStatus: '',
packageCodeList: [], packageCodeList: [],
spuNameList: [],
merchantId: '', merchantId: '',
dqtId: '', dqtId: '',
pqId: '', pqId: '',
...@@ -256,11 +257,11 @@ export default { ...@@ -256,11 +257,11 @@ export default {
}, },
{ {
label: '产品名称', label: '产品名称',
name: 'packageCodeList', name: 'spuNameList',
type: 'select', type: 'select',
optionList: [], optionList: [],
optionId: 'packageCode', optionId: 'spuNameCode',
optionLabel: 'packageName', optionLabel: 'spuName',
optionsName: 'goodsStatusList', optionsName: 'goodsStatusList',
multiple: true multiple: true
}, },
...@@ -454,6 +455,14 @@ export default { ...@@ -454,6 +455,14 @@ export default {
}, },
{ {
label: '产品名称', label: '产品名称',
prop: 'spuName',
width: '200px',
formatter: cellValue => {
return cellValue.spuName || '-'
}
},
{
label: '商品名称',
prop: 'packageName', prop: 'packageName',
width: '200px', width: '200px',
formatter: cellValue => { formatter: cellValue => {
...@@ -649,9 +658,10 @@ export default { ...@@ -649,9 +658,10 @@ export default {
// ) // )
// } // }
this.$refs.equityRef.page.pageSize = 5 this.$refs.equityRef.page.pageSize = 5
this.$apis.beforeSale.getProListApi({}).then(res => { this.$apis.beforeSale.getProductListApi({}).then(res => {
res?.forEach(v => v.spuNameCode = v.spuName)
this.baseData.goodsStatusList = res this.baseData.goodsStatusList = res
this.getOptionsList('searchFormData', false, 'packageCodeList') this.getOptionsList('searchFormData', false, 'spuNameList')
}) })
//服务状态 //服务状态
this.getOptionsList('searchFormData', true, 'orderStatus') this.getOptionsList('searchFormData', true, 'orderStatus')
...@@ -1134,4 +1144,12 @@ export default { ...@@ -1134,4 +1144,12 @@ export default {
.tips-dialog .el-dialog__body { .tips-dialog .el-dialog__body {
padding: 10px 15px 20px !important; padding: 10px 15px 20px !important;
} }
.before-sale {
::v-deep .el-select .el-tag{
max-width: 60%;
}
::v-deep .el-select__input {
margin-left: 5px;
}
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!