uu
This commit is contained in:
parent
70d450f800
commit
ee81d7f6c0
@ -85,14 +85,14 @@
|
||||
<u-row justify="end" custom-style="margin-top:20rpx;">
|
||||
<view style="display: inline-block;white-space: nowrap;">
|
||||
<u-row>
|
||||
<u-button @click="goto(`warehousing/detail?id=${211}`)" shape="circle" type="primary" :plain="true"
|
||||
<u-button @click="handleDealItem(item, { type: 4 })" shape="circle" type="primary" :plain="true"
|
||||
custom-style="height: 54rpx;margin-left: 12rpx;">进仓确认</u-button>
|
||||
<u-button @click="goto(`post/post?copyBillCode=${item.billCode}`)" shape="circle" type="primary"
|
||||
<u-button @click="handleDealItem(item, { type: 2 })" shape="circle" type="primary"
|
||||
custom-style="height: 54rpx;margin-left: 12rpx;">再来一单</u-button>
|
||||
<!-- <u-button shape="circle" type="primary" :plain="true" custom-style="height: 54rpx;margin-left: 16rpx;">单据</u-button> -->
|
||||
<u-button @click="handleDealItem(item, { type: 3 })" shape="circle" type="primary"
|
||||
:plain="true" custom-style="height: 54rpx;margin-left: 12rpx;">取消</u-button>
|
||||
<u-button @click="goto(`bill/detail?id=${222}`)" shape="circle" type="primary" :plain="true"
|
||||
<u-button @click="handleDealItem(item, { type: 5 })" shape="circle" type="primary" :plain="true"
|
||||
custom-style="height: 54rpx;margin-left: 12rpx;">去付款</u-button>
|
||||
</u-row>
|
||||
</view>
|
||||
@ -187,11 +187,11 @@
|
||||
async handleDealItem(item, deal = { type: '1' }) {
|
||||
let itemQuery = `?billCode=${item.billCode || ''}&orderSn=${item.orderSn || ''}`
|
||||
switch (deal.type){
|
||||
case 1: // 跳转
|
||||
case 1: // 运单详情
|
||||
this.goto(`post/detail${itemQuery}`)
|
||||
break;
|
||||
case 2: // 复制订单号
|
||||
this.setClipboardData(item.billCode || item.orderSn)
|
||||
case 2: // 再来一单
|
||||
this.goto(`post/post?copyBillCode=${item.billCode}`)
|
||||
break;
|
||||
case 3: // 取消
|
||||
let canBl = await this.$refs.cancelRef.getConfirmResult()
|
||||
@ -202,8 +202,11 @@
|
||||
this.cancelModal.data = { }
|
||||
this.cancelModal.show = false
|
||||
break;
|
||||
case 4: // 取消
|
||||
await this.confirmModal('确认要取消吗?')
|
||||
case 4: // 进仓确认
|
||||
this.goto(`warehousing/detail${itemQuery}`)
|
||||
break;
|
||||
case 5: // 付款
|
||||
this.goto(`bill/detail${itemQuery}`)
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
|
||||
<tpx-page>
|
||||
<view style="position: relative;background-color: #fff;">
|
||||
<view class="customer_nav_bar">
|
||||
<!-- 这里是状态栏 -->
|
||||
@ -52,10 +52,13 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</tpx-page>
|
||||
</template>
|
||||
<script>
|
||||
|
||||
import getCdnUrl from "@/common/getCdnUrl"
|
||||
import { goto, scanCode } from "@/common/untool"
|
||||
|
||||
export default {
|
||||
props: {
|
||||
// hasLeftWin: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user