Commit 59d16335 by zhangquan

轮胎联调

1 parent b9c87e60
......@@ -172,6 +172,18 @@ const getPackageListApi = params => {
})
}
// 获取无忧卡套餐列表(新接口) 编辑新增调取新接口,查看调用久接口
const getNewPackageListApi = params => {
params.method = `scrm.api.equity.service.package.dj.list.without.tire`
// params.method = `scrm.api.equity.service.package.list.get`
return http({
url: 'rop-scrm-equity/router',
method: 'GET',
data: params,
sign: true
})
}
const getEquityApi = params => {
params.method = `scrm.api.equity.service.channel.order.detail`
return http({
......@@ -402,4 +414,4 @@ const getSummaryExportApi = params => {
})
}
export default { getOrdersummary, getSummaryPackage, getSummaryExportApi, 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 }
export default { getOrdersummary, getSummaryPackage, getSummaryExportApi, getUserInfoApi, getCountNoDataApi, getListApi, getMerchantApi, getExportApi, getPriteApi, getCarBrandListApi, getCarChildListApi, getCarTypeListApi, getCarSeriesListApi, getHotlineApi, getDefaultCarbrandApi, updateHotlineApi, updateCarBrandApi, getProListApi, getPackageListApi, getNewPackageListApi, getEquityApi, updateEquityApi, createCodeApi, getOrderAttrApi, getAllOrderValueApi, verifyOrderApi, checkOrderApi, updateOrderApi, uploadImgApi, backOrderApi, aduitOrderApi, judgeSetting, spaAgressData, merchantInfo, dateBycarNo, activeCodeList, updateActiveCode }
......@@ -335,7 +335,7 @@ export default {
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.3)'
})
this.$apis.contractManager.printContractApi({ packageCode: row.skuPackageCode }).then(res => {
this.$apis.contractManager.printContractApi({ packageCode: row.skuPackageCode, baseFlag: true }).then(res => {
this.pdfUrl = res
this.handlePdfClose()
loading.close()
......
......@@ -863,7 +863,8 @@ export default {
let paraFormat = {
addOrEdit,
contractNo: addOrEdit == 1 ? -1 : row.contractNo,
isSuper: this.userInfo.admin
isSuper: this.userInfo.admin,
successDate: row?.successDate ? dayjs(row.successDate).format('YYYY-MM-DD HH:mm:ss') : ''
}
const urlpara = encodeURIComponent(JSON.stringify(paraFormat))
addOrEdit == 1 ? this.$router.push('/beforeSale/editEquity/' + urlpara) : this.$router.push('/beforeSale/editEquity/' + urlpara)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!