uu
This commit is contained in:
parent
45d229a0e9
commit
b1574ff8ca
@ -75,7 +75,7 @@
|
|||||||
:plain="true" custom-style="height: 54rpx;margin-left: 12rpx;">进仓单</u-button>
|
:plain="true" custom-style="height: 54rpx;margin-left: 12rpx;">进仓单</u-button>
|
||||||
|
|
||||||
<template v-if="item.orderStatus == 0">
|
<template v-if="item.orderStatus == 0">
|
||||||
<u-button @click="handleDealItem(item, { type: 1 })" shape="circle"
|
<u-button @click="handleDealItem(item, { type: 2 })" shape="circle"
|
||||||
type="primary" :plain="true" custom-style="height: 54rpx;margin-left: 12rpx;">接单</u-button>
|
type="primary" :plain="true" custom-style="height: 54rpx;margin-left: 12rpx;">接单</u-button>
|
||||||
<u-button @click="handleDealItem(item, { type: 3 })" shape="circle"
|
<u-button @click="handleDealItem(item, { type: 3 })" shape="circle"
|
||||||
type="primary" :plain="true" custom-style="height: 54rpx;margin-left: 12rpx;">取消</u-button>
|
type="primary" :plain="true" custom-style="height: 54rpx;margin-left: 12rpx;">取消</u-button>
|
||||||
@ -249,9 +249,7 @@
|
|||||||
triggerListReload() {
|
triggerListReload() {
|
||||||
this?.$refs?.listRef?.getDataList?.(true) // 重置到第一页数据
|
this?.$refs?.listRef?.getDataList?.(true) // 重置到第一页数据
|
||||||
},
|
},
|
||||||
async handleDealItem(item, deal = {
|
async handleDealItem(item, deal = { type: '1' }) {
|
||||||
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: // 接单
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user