Commit 3e940f4e by 前端

Merge branch 'SAAS+V4.56.0-0908' of http://192.168.3.233:8090/saas_plus/dj-car-l…

…ife-system into SAAS+V4.56.0-0908
2 parents 86e9181c 2465c0fa
...@@ -250,15 +250,6 @@ export default { ...@@ -250,15 +250,6 @@ export default {
optionsName: 'parkServiceList' optionsName: 'parkServiceList'
}, },
{ {
label: '订单类型',
name: 'orderType',
type: 'select',
optionList: [],
optionId: 'confId',
optionLabel: 'confLabel',
optionsName: 'orderTypeList'
},
{
label: '商户名称', label: '商户名称',
name: 'merchantNameKeyWord', name: 'merchantNameKeyWord',
type: 'input', type: 'input',
...@@ -268,6 +259,15 @@ export default { ...@@ -268,6 +259,15 @@ export default {
keyFn: this.getList keyFn: this.getList
}, },
{ {
label: '订单类型',
name: 'orderType',
type: 'select',
optionList: [],
optionId: 'confId',
optionLabel: 'confLabel',
optionsName: 'orderTypeList'
},
{
label: '平台方', label: '平台方',
name: 'realityPlatformMerchantId', name: 'realityPlatformMerchantId',
type: 'select', type: 'select',
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<div v-else-if="item.type === 'checkView'"> <div v-else-if="item.type === 'checkView'">
<el-timeline v-show="formData[item.name]"> <el-timeline v-show="formData[item.name]">
<el-timeline-item v-for="(reviewInfo, infoId) in formData[item.name]" color="#0bbd87" :key="infoId" <el-timeline-item v-for="(reviewInfo, infoId) in formData[item.name]" color="#0bbd87" :key="infoId"
:timestamp="reviewInfo.updatedDate"> :timestamp="reviewInfo.updatedDateStr">
{{ reviewInfo.logContent }} {{ reviewInfo.logContent }}
</el-timeline-item> </el-timeline-item>
</el-timeline> </el-timeline>
......
...@@ -158,12 +158,12 @@ ...@@ -158,12 +158,12 @@
<el-radio v-for="(subItem, subIndex) in item.radioGroupList" :key="subIndex" :label="subItem.value">{{ <el-radio v-for="(subItem, subIndex) in item.radioGroupList" :key="subIndex" :label="subItem.value">{{
subItem.label }}</el-radio> subItem.label }}</el-radio>
</el-radio-group> </el-radio-group>
<el-tooltip class="item" effect="dark" placement="top"> <span class="carTips">设置“专用”,服务商/园区店进行采购下单时,必须选择具体的车型。</span>
<!-- <el-tooltip class="item" effect="dark" placement="top">
<template slot="content"> <template slot="content">
<p style="width: 400px"><i class="el-icon-info"></i>设置“专用”,服务商/园区店进行采购下单时,必须选择具体的车型。</p>
</template> </template>
<i class="el-icon-info" style="margin-left: 20px"></i> <i class="el-icon-info" style="margin-left: 20px"></i>
</el-tooltip> </el-tooltip> -->
</el-form-item> </el-form-item>
</div> </div>
<!-- 按钮 --> <!-- 按钮 -->
...@@ -1251,4 +1251,9 @@ export default { ...@@ -1251,4 +1251,9 @@ export default {
::v-deep .el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner { ::v-deep .el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner {
box-shadow: none !important; box-shadow: none !important;
} }
.carTips {
color: #999999;
margin-left: 30px;
}
</style> </style>
...@@ -18,7 +18,7 @@ import { productList, baseSupplyModeList, upgradeSupplyModeList, crowdUpgradeSup ...@@ -18,7 +18,7 @@ import { productList, baseSupplyModeList, upgradeSupplyModeList, crowdUpgradeSup
import { baseConfig } from "@/main" import { baseConfig } from "@/main"
import { filterSpecsStr, convertYuanToWan } from '../filterOption' import { filterSpecsStr, convertYuanToWan } from '../filterOption'
export default { export default {
name: 'GroundingDetail', name: 'purchaseOnShelvesGroundingDetail',
components: { components: {
detail detail
}, },
...@@ -272,7 +272,7 @@ export default { ...@@ -272,7 +272,7 @@ export default {
productList.forEach(v => { productList.forEach(v => {
if (productType.includes(v.confId)) productTypeTextArr.push(v.confName) if (productType.includes(v.confId)) productTypeTextArr.push(v.confName)
}) })
res.reviewLogList?.forEach(val => { res.logList?.forEach(val => {
val.updatedDateStr = val.updatedDate ? Util.dateFormate(val.updatedDate, 'YYYY-MM-DD HH:mm:ss') : '' val.updatedDateStr = val.updatedDate ? Util.dateFormate(val.updatedDate, 'YYYY-MM-DD HH:mm:ss') : ''
}) })
let arr = [] let arr = []
......
...@@ -301,7 +301,7 @@ export default { ...@@ -301,7 +301,7 @@ export default {
}, { }, {
label: '上架ID', label: '上架ID',
prop: 'purchaseGoodsCode', prop: 'purchaseGoodsCode',
width: 180, width: 200,
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.purchaseGoodsCode || '-' return cellValue.purchaseGoodsCode || '-'
} }
...@@ -309,7 +309,7 @@ export default { ...@@ -309,7 +309,7 @@ export default {
label: '商品名称', label: '商品名称',
prop: 'upgradeGoodsName', prop: 'upgradeGoodsName',
parentProp: 'upgradeGoods', parentProp: 'upgradeGoods',
width: 150 width: 200
// formatter: (cellValue) => { // formatter: (cellValue) => {
// return cellValue.upgradeGoods.upgradeGoodsName || '-' // return cellValue.upgradeGoods.upgradeGoodsName || '-'
// } // }
......
...@@ -272,7 +272,6 @@ export default { ...@@ -272,7 +272,6 @@ export default {
// console.log(this.merchantDistributionRules) // console.log(this.merchantDistributionRules)
const obj = this.classificationObjSelect const obj = this.classificationObjSelect
// 多商户处理 // 多商户处理
const form = {} const form = {}
if (this.tableSelectOptionsId) { if (this.tableSelectOptionsId) {
for (const key in obj) { for (const key in obj) {
...@@ -312,33 +311,48 @@ export default { ...@@ -312,33 +311,48 @@ export default {
// this.merchantDistributionRules // this.merchantDistributionRules
// console.log(this.merchantDistributionRules) // console.log(this.merchantDistributionRules)
const obj = this.classificationObjSelect const obj = this.classificationObjSelect
const tableSelectOptionsId = this.tableSelectOptions.some(item => item.merchantId == 1)
const form = {} const form = {}
// console.log('obj', obj) // console.log('obj', obj)
// 判断是不是多商户的,是改一下结构绑定 // 判断是不是多商户的,是改一下结构绑定
for (const key in obj) { if (this.tableSelectOptionsId) {
obj[key].map((item) => { for (const key in obj) {
// 数字转字符串 obj[key].map((item) => {
const name = "id" + item.expenseCategoryId // 数字转字符串
// console.log(name, item.id || item.expenseCategoryId, 'item.id') const name = "id" + item.expenseCategoryId
// 做回显用数据 // console.log(name, item.id || item.expenseCategoryId, 'item.id')
const findObj = this.owningMerchantDistributionRules.find((el) => { // 做回显用数据
return el.expenseCategoryId == item.expenseCategoryId const findObj = this.owningMerchantDistributionRules.find((el) => {
return el.expenseCategoryId == item.expenseCategoryId
})
form[name] = findObj?.targetMerchantType || ""
}) })
// console.log('findObj', findObj) }
// if (findObj?.targetMerchantType == 3 && tableSelectOptionsId) { } else {
// this.copyMerchantInfo = findObj for (const key in obj) {
// } obj[key].map((item) => {
// 还要跟存在现在的选项里面 // 数字转字符串
// console.log(name) const name = "id" + item.expenseCategoryId
// const optIndex = this.tableSelectOptions.findIndex((opt) => { return opt.merchantId == findObj?.merchantId }) // console.log(name, item.id || item.expenseCategoryId, 'item.id')
// console.log(optIndex, 'optIndex') // 做回显用数据
// form[name] = parseInt(findObj?.merchantId) || "" const findObj = this.owningMerchantDistributionRules.find((el) => {
// console.log(findObj, tableSelectOptionsId) return el.expenseCategoryId == item.expenseCategoryId
// console.log(findObj.targetMerchantType == 3 && tableSelectOptionsId) })
form[name] = findObj?.merchantId || "" // console.log('findObj', findObj)
}) // if (findObj?.targetMerchantType == 3 && tableSelectOptionsId) {
// this.copyMerchantInfo = findObj
// }
// 还要跟存在现在的选项里面
// console.log(name)
// const optIndex = this.tableSelectOptions.findIndex((opt) => { return opt.merchantId == findObj?.merchantId })
// console.log(optIndex, 'optIndex')
// form[name] = parseInt(findObj?.merchantId) || ""
// console.log(findObj, tableSelectOptionsId)
// console.log(findObj.targetMerchantType == 3 && tableSelectOptionsId)
form[name] = findObj?.merchantId || ""
})
}
} }
// 判断id是否有在选项里面 没有就去掉 // 判断id是否有在选项里面 没有就去掉
this.form2 = form this.form2 = form
console.log(this.form, 'this.form') console.log(this.form, 'this.form')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!