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