Commit 2a7e25eb by 张立顺

商品字段问题修复

1 parent ac957dc7
export const optionalChaining = (obj, ...rest) => {
return rest.reduce((newObj, key) => newObj?.[key], obj)
return rest.reduce((newObj, key) => newObj?.[key], obj) || ''
// let tmp = obj
// for (const key in rest) {
// const name = rest[key]
......
......@@ -93,7 +93,7 @@
<el-form-item label="商品:" class="goods">
<img v-if="$$(detail, 'quotationGoodsInfo', 'titlePictureUrl')" class="order-img"
:src="$$(detail, 'quotationGoodsInfo', 'titlePictureUrl')" @click="handleEnlargeImg" />
{{ $$(detail, 'quotationGoodsInfo', 'goodsName') }}
{{ $$(detail, 'goodsName') }}
</el-form-item>
<el-form-item label="增值权益价格/元:" style="width:450px">
{{ detail.quotedPriceUpdate / 100 }}
......@@ -243,6 +243,11 @@ export default {
.goods {
height: 100px;
::v-deep .el-form-item__content {
max-width: 240px;
word-break: break-all;
}
// display: flex;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!