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