'!'
This commit is contained in:
@@ -138,7 +138,7 @@ let props = defineProps<PropsType>()
|
|||||||
function connectUser(item:AnyObject) {
|
function connectUser(item:AnyObject) {
|
||||||
|
|
||||||
if(item.vendorID === 1){
|
if(item.vendorID === 1){
|
||||||
if(store.getters['storeInfo/imMtStatus'][0].imStatus !== 1) return toast('美团IM状态已关闭', 1)
|
if(store.getters['storeInfo/imMtStatus'][0].imStatus !== 1) return toast('美团IM状态已关闭', 2)
|
||||||
setStorage('vendorUserInfo',{
|
setStorage('vendorUserInfo',{
|
||||||
venderOrderID:item.vendorOrderID,
|
venderOrderID:item.vendorOrderID,
|
||||||
// venderOrderID:0,
|
// venderOrderID:0,
|
||||||
|
|||||||
@@ -79,6 +79,19 @@
|
|||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<!-- 视频 -->
|
||||||
|
<view
|
||||||
|
:class="{
|
||||||
|
'chat-text-container-img': true,
|
||||||
|
'chat-text-container-me-img': item.msg_source == 1,
|
||||||
|
}"
|
||||||
|
v-else-if="item.msg_type == 6"
|
||||||
|
>
|
||||||
|
<video
|
||||||
|
:src="item.msg_content">
|
||||||
|
</video>
|
||||||
|
</view>
|
||||||
|
|
||||||
<!-- 语音 -->
|
<!-- 语音 -->
|
||||||
<view
|
<view
|
||||||
class="chat-text-container yuyin"
|
class="chat-text-container yuyin"
|
||||||
|
|||||||
@@ -226,7 +226,7 @@ function orderDetailFn() {
|
|||||||
*/
|
*/
|
||||||
function realMobile() {
|
function realMobile() {
|
||||||
if(orderData.value.vendorID === 1){
|
if(orderData.value.vendorID === 1){
|
||||||
if(store.getters['storeInfo/imMtStatus'][0].imStatus !== 1) return toast('美团IM状态已关闭', 1)
|
if(store.getters['storeInfo/imMtStatus'][0].imStatus !== 1) return toast('美团IM状态已关闭', 2)
|
||||||
setStorage('vendorUserInfo',{
|
setStorage('vendorUserInfo',{
|
||||||
venderOrderID:orderData.value.vendorOrderID,
|
venderOrderID:orderData.value.vendorOrderID,
|
||||||
orderSeq:orderData.value.orderSeq,
|
orderSeq:orderData.value.orderSeq,
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ function rightMainFn(props: any, emit: any) {
|
|||||||
if (item.storeSkuStatus) {
|
if (item.storeSkuStatus) {
|
||||||
skus.push({
|
skus.push({
|
||||||
skuID: item.id,
|
skuID: item.id,
|
||||||
|
stock:20, // 默认20个库存
|
||||||
isSale: 1
|
isSale: 1
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user