提交 7c1cb524 authored 作者: 刘旭's avatar 刘旭

展示配件信息

上级 720ec15c
...@@ -61,14 +61,12 @@ let onPlus = (index: number) => { ...@@ -61,14 +61,12 @@ let onPlus = (index: number) => {
// 失去输入自定义规格输入框焦点 // 失去输入自定义规格输入框焦点
let onBlur = (val: string, index: number) => { let onBlur = (val: string, index: number) => {
goodsInfo.value.spec_list[index].isPlus = true if(!val) return goodsInfo.value.spec_list[index].isPlus = true
if(!val) return
goodsInfo.value.spec_list[index].custom = val goodsInfo.value.spec_list[index].custom = val
} }
let onConfirm = (val: string, index: number) => { let onConfirm = (val: string, index: number) => {
goodsInfo.value.spec_list[index].isPlus = true if(!val) return goodsInfo.value.spec_list[index].isPlus = true
if(!val) return
goodsInfo.value.spec_list[index].custom = val goodsInfo.value.spec_list[index].custom = val
} }
......
...@@ -34,6 +34,16 @@ ...@@ -34,6 +34,16 @@
/> />
</block> </block>
</view> </view>
<view class="tag1">
<block v-for="(item2, index2) in item.partList?.length" :key="index2">
<u-tag
:text="item?.partList[index2]"
type="warning"
size="mini"
style="margin: 8rpx 8rpx 8rpx 0pt;"
/>
</block>
</view>
<view class="sum-price"> <view class="sum-price">
<!-- <text>{{ item.price.toFixed(2) }}</text> --> <!-- <text>{{ item.price.toFixed(2) }}</text> -->
...@@ -224,6 +234,12 @@ onShow(() => { ...@@ -224,6 +234,12 @@ onShow(() => {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
}
.tag1 {
margin-top: 1%;
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin-bottom: 13%; margin-bottom: 13%;
} }
......
...@@ -276,7 +276,6 @@ let orderQuotation = (orderId: number, type: number) => { ...@@ -276,7 +276,6 @@ let orderQuotation = (orderId: number, type: number) => {
url: '../productLine/productLineDetails?orderId=' + orderId url: '../productLine/productLineDetails?orderId=' + orderId
}) })
} }
} }
// 跳转到订单详情 // 跳转到订单详情
...@@ -315,7 +314,6 @@ let onConfirm = () => { ...@@ -315,7 +314,6 @@ let onConfirm = () => {
}) })
} else { } else {
pushOrder({ orderId: orderIds.value }).then((res: any) => { pushOrder({ orderId: orderIds.value }).then((res: any) => {
console.log(res);
if(res.data.code === 200) { if(res.data.code === 200) {
orderData.value = [] orderData.value = []
listQuery.value.page = 1 listQuery.value.page = 1
......
...@@ -2,8 +2,8 @@ const CONFIG: any = { ...@@ -2,8 +2,8 @@ const CONFIG: any = {
// 开发环境配置 // 开发环境配置
development: { development: {
assetsPath: 'http://192.168.60:81', // 静态资源路径 assetsPath: 'http://192.168.60:81', // 静态资源路径
baseUrl: 'http://192.168.0.9:8089', // 后台接口请求地址 // baseUrl: 'http://192.168.0.9:8089', // 后台接口请求地址
// baseUrl: 'http://192.168.0.60:81', // 后台接口请求地址 baseUrl: 'http://192.168.0.60:81', // 后台接口请求地址
hostUrl: 'http://192.168.0.60:81', // H5地址(前端运行地址) hostUrl: 'http://192.168.0.60:81', // H5地址(前端运行地址)
websocketUrl: '', // websocket服务端地址 websocketUrl: '', // websocket服务端地址
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论