Commit 40fad329 by zhangxw

采购订单优化

1 parent 144643bb
...@@ -833,7 +833,9 @@ export default { ...@@ -833,7 +833,9 @@ export default {
console.log(res, 'res') console.log(res, 'res')
if (res?.specificationType == 2) { if (res?.specificationType == 2) {
this.handleItemInfo.purchasePrice = res.upgradeGoodsSpecificationValueDTOS[0].purchasePrice // 2026-1月份大版本 取消默认选中
// this.handleItemInfo.purchasePrice = res.upgradeGoodsSpecificationValueDTOS[0].purchasePrice
this.handleItemInfo.purchasePrice = ''
// console.log(this.handleItemInfo) // console.log(this.handleItemInfo)
// console.log(res, 'res') // console.log(res, 'res')
goodType = res.goodsSpecificationNameList.map((item, index) => { goodType = res.goodsSpecificationNameList.map((item, index) => {
...@@ -879,11 +881,12 @@ export default { ...@@ -879,11 +881,12 @@ export default {
// 默认选中 第一个选项 // 默认选中 第一个选项
// console.log(orgdata.skus[0], this.goodsTypeList, '2222') // console.log(orgdata.skus[0], this.goodsTypeList, '2222')
let norSelectSkus = orgdata.skus[0] // 2026-1月份大版本 取消默认选中
this.goodsTypeList.forEach((item, index) => { // let norSelectSkus = orgdata.skus[0]
let sku = norSelectSkus.skusTypes[index] // this.goodsTypeList.forEach((item, index) => {
this.handleClickSpecs1(item.id, sku.propertyId, sku, index, sku.index) // let sku = norSelectSkus.skusTypes[index]
}) // this.handleClickSpecs1(item.id, sku.propertyId, sku, index, sku.index)
// })
this.goodsInfo = res this.goodsInfo = res
this.tableInfo = res?.upgradeGoodsList[0]?.merchantGoodsInfo this.tableInfo = res?.upgradeGoodsList[0]?.merchantGoodsInfo
} else { } else {
......
...@@ -53,7 +53,8 @@ ...@@ -53,7 +53,8 @@
<template slot="carName" slot-scope="scope"> <template slot="carName" slot-scope="scope">
<el-tooltip v-if="scope.scope.suitCarTypeList && scope.scope.suitCarTypeList.length" placement="top"> <el-tooltip v-if="scope.scope.suitCarTypeList && scope.scope.suitCarTypeList.length" placement="top">
<div slot="content" class="car-type-list"> <div slot="content" class="car-type-list">
<div v-for="(item, index) in scope.scope.suitCarTypeList" :key="index">{{ item.carTypeName }}</div> <div v-for="(item, index) in scope.scope.suitCarTypeList" :key="index">{{
`${item.brandName}-${item.childName}-${item.seriesName}-${item.carTypeName}` }}</div>
</div> </div>
<div>{{ scope.scope.suitCarTypeList | formatCar }}</div> <div>{{ scope.scope.suitCarTypeList | formatCar }}</div>
</el-tooltip> </el-tooltip>
......
...@@ -136,7 +136,8 @@ ...@@ -136,7 +136,8 @@
<template slot="film" slot-scope="scope"> <template slot="film" slot-scope="scope">
<el-tooltip v-if="scope.scope.suitCarTypeList && scope.scope.suitCarTypeList.length" placement="top"> <el-tooltip v-if="scope.scope.suitCarTypeList && scope.scope.suitCarTypeList.length" placement="top">
<div slot="content" class="car-type-list"> <div slot="content" class="car-type-list">
<div v-for="(item, index) in scope.scope.suitCarTypeList" :key="index">{{ item.carTypeName }}</div> <div v-for="(item, index) in scope.scope.suitCarTypeList" :key="index">{{
`${item.brandName}-${item.childName}-${item.seriesName}-${item.carTypeName}` }}</div>
</div> </div>
<div>{{ scope.scope.suitCarTypeList | formatCar }}</div> <div>{{ scope.scope.suitCarTypeList | formatCar }}</div>
</el-tooltip> </el-tooltip>
...@@ -144,7 +145,7 @@ ...@@ -144,7 +145,7 @@
</template> </template>
<template slot="remark" slot-scope="scope"> <template slot="remark" slot-scope="scope">
<!-- <div>{{ JSON.stringify(scope.scope.remark) }}</div> --> <!-- <div>{{ JSON.stringify(scope.scope.remark) }}</div> -->
<el-input v-model="scope.scope.remark" placeholder="请输入" maxlength="50"></el-input> <el-input v-model="scope.scope.remark" placeholder="请输入" maxlength="100"></el-input>
</template> </template>
</GLTable> </GLTable>
</div> </div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!