商品改为产品

This commit is contained in:
yyy 2024-12-02 09:01:12 +08:00
parent 334d5d57a9
commit 0113bba6c0
7 changed files with 1335 additions and 1339 deletions

View File

@ -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 = {}

View File

@ -144,7 +144,7 @@
name: '跟进'
},
{
name: '意向品'
name: '意向品'
},
{
name: '客户信息',

View File

@ -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
})

View File

@ -775,7 +775,7 @@ const submit = () => {
if(selectList.value.length <= 0){
uni.showToast({
icon: 'error',
title: '请选择品'
title: '请选择品'
})
return

View File

@ -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 || '暂无'}}

View File

@ -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;
}

View File

@ -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)