商品改为产品
This commit is contained in:
parent
334d5d57a9
commit
0113bba6c0
@ -373,7 +373,7 @@
|
||||
// if(selectList.value.length <= 0){
|
||||
// uni.showToast({
|
||||
// icon: 'error',
|
||||
// title: '请选择商品'
|
||||
// title: '请选择产品'
|
||||
// })
|
||||
|
||||
// return
|
||||
@ -384,7 +384,7 @@
|
||||
|
||||
// 修确认提交
|
||||
const onSubmit = async () => {
|
||||
// 已选商品数据处理
|
||||
// 已选产品数据处理
|
||||
let newArr = []
|
||||
selectList.value.forEach((item, index) => {
|
||||
let obj = {}
|
||||
|
@ -144,7 +144,7 @@
|
||||
name: '跟进'
|
||||
},
|
||||
{
|
||||
name: '意向商品'
|
||||
name: '意向产品'
|
||||
},
|
||||
{
|
||||
name: '客户信息',
|
||||
|
@ -13,7 +13,7 @@
|
||||
</uv-navbar>
|
||||
<view class="container">
|
||||
<view class="pb-2 flex px-5" style="background-color: #09b4f1;">
|
||||
<uv-search placeholder="搜索商品名称" v-model="keyword" bgColor="#ffffff" :customStyle="customStyle" :show-action="false" @change="onSearch"></uv-search>
|
||||
<uv-search placeholder="搜索产品名称" v-model="keyword" bgColor="#ffffff" :customStyle="customStyle" :show-action="false" @change="onSearch"></uv-search>
|
||||
<uv-icon name="/static/images/screen.png" :size="26" @click="openSearch"></uv-icon>
|
||||
</view>
|
||||
<view class="wrap">
|
||||
@ -105,7 +105,7 @@
|
||||
<view class="popup-title">
|
||||
<view class="" style="width: 45px;">
|
||||
</view>
|
||||
<text class="">选择商品规格</text>
|
||||
<text class="">选择产品规格</text>
|
||||
<view class="" @click="selectShowClose" style="width: 45px;">
|
||||
<uv-icon name="close" color="#909399" size="30"></uv-icon>
|
||||
</view>
|
||||
@ -146,7 +146,7 @@ import { formatDateTime,prePage } from '@/utils/util'
|
||||
import { useMainStore } from '@/store/store'
|
||||
import { storeToRefs } from 'pinia'
|
||||
const main = useMainStore()
|
||||
const title = ref('选择商品')
|
||||
const title = ref('选择产品')
|
||||
const keyword = ref('')
|
||||
const selected = ref(false)
|
||||
const priceShow = ref(false)
|
||||
@ -202,7 +202,7 @@ const selectShowRef = ref()
|
||||
const onSelect = (val,i)=> {
|
||||
if(!val.sku){
|
||||
uni.showToast({
|
||||
title: '请先选择商品规格',
|
||||
title: '请先选择产品规格',
|
||||
icon: 'error',
|
||||
duration: 2000
|
||||
})
|
||||
|
@ -775,7 +775,7 @@ const submit = () => {
|
||||
if(selectList.value.length <= 0){
|
||||
uni.showToast({
|
||||
icon: 'error',
|
||||
title: '请选择商品'
|
||||
title: '请选择产品'
|
||||
})
|
||||
|
||||
return
|
||||
|
@ -4,7 +4,7 @@
|
||||
<uv-icon name="arrow-left" size="19" color="#ffffff"></uv-icon>
|
||||
</template>
|
||||
<template v-slot:center>
|
||||
<text style="color:#ffffff">商品详情</text>
|
||||
<text style="color:#ffffff">产品详情</text>
|
||||
</template>
|
||||
</uv-navbar>
|
||||
<view class="page" v-if="state.productInfo">
|
||||
@ -25,10 +25,6 @@
|
||||
<view class="info">
|
||||
{{state.productInfo.cate_id}}
|
||||
</view>
|
||||
<view class="title">产品价格</view>
|
||||
<view class="info">
|
||||
{{state.productInfo.price || 0}}
|
||||
</view>
|
||||
<view class="title">产品简介</view>
|
||||
<view class="info">
|
||||
{{state.productInfo.store_info || '暂无'}}
|
||||
|
@ -12,7 +12,7 @@
|
||||
</view>
|
||||
<view class="info">
|
||||
<view class="title">名称:{{ item.storeName }}</view>
|
||||
<view class="price">价格:<text class="num">{{ item.price }}</text></view>
|
||||
<!-- <view class="price">价格:<text class="num">{{ item.price }}</text></view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -27,7 +27,7 @@
|
||||
</view>
|
||||
<view class="info">
|
||||
<view class="title">名称:{{ item.storeName }}</view>
|
||||
<view class="price">价格:<text class="num">{{ item.price }}</text></view>
|
||||
<!-- <view class="price">价格:<text class="num">{{ item.price }}</text></view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -111,14 +111,14 @@
|
||||
}
|
||||
|
||||
.info {
|
||||
padding: 10rpx 12rpx 20rpx 16rpx;
|
||||
padding: 14rpx 16rpx 24rpx 16rpx;
|
||||
|
||||
.title {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
-o-text-overflow: ellipsis;
|
||||
font-size: 28rpx;
|
||||
font-size: 30rpx;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
</template>
|
||||
</uv-navbar>
|
||||
<view class="pb-2 flex px-5" style="background-color: #09b4f1;">
|
||||
<uv-search placeholder="搜索商品名称" v-model="keyword" bgColor="#ffffff" :customStyle="customStyle"
|
||||
<uv-search placeholder="搜索产品名称" v-model="keyword" bgColor="#ffffff" :customStyle="customStyle"
|
||||
:show-action="false" @change="onSearch"></uv-search>
|
||||
<!-- <uv-icon name="/static/images/screen.png" :size="26" @click="openSearch"></uv-icon> -->
|
||||
</view>
|
||||
@ -52,7 +52,7 @@
|
||||
storeToRefs
|
||||
} from 'pinia'
|
||||
const main = useMainStore()
|
||||
const title = ref('商品')
|
||||
const title = ref('产品')
|
||||
const keyword = ref('')
|
||||
const listStatus = ref('loadmore')
|
||||
const total = ref(-1)
|
||||
|
Loading…
Reference in New Issue
Block a user