From 175dbf8e72b8405342bae72bfc886c9de4f81fa5 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期一, 15 四月 2024 23:39:02 +0800
Subject: [PATCH] #
---
pages/phyz/stationManage/stationDetl.vue | 27 +++++++++++++++++++--------
1 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/pages/phyz/stationManage/stationDetl.vue b/pages/phyz/stationManage/stationDetl.vue
index 0cf6167..82c3684 100644
--- a/pages/phyz/stationManage/stationDetl.vue
+++ b/pages/phyz/stationManage/stationDetl.vue
@@ -19,11 +19,12 @@
<!-- 宸ヤ綔妗� -->
<view class="wrkMast" v-if="wrkMast">
<view class="wrkMast-wrkNo">
- <view style="flex:3">宸ヤ綔鍙�: {{wrkMast.wrkNo}}</view>
- <view style="flex:2;text-align: right;">{{wrkMast.ioTitle}}</view>
+ <view style="flex:5">宸ヤ綔鍙�: {{wrkMast.wrkNo}}</view>
+ <view style="flex:3;text-align: right;">{{wrkMast.ioTitle}}</view>
</view>
<view>宸ヤ綔绫诲瀷: {{wrkMast.ioType$}}</view>
<view>婧愬簱浣�: {{wrkMast.sourceLocNo}}</view>
+ <view>璐ф灦鐮�: {{wrkMast.barcode}}</view>
</view>
<!-- 鏄庣粏 -->
@@ -140,9 +141,9 @@
<view class="buttom">
<button size="mini" type="primary" @click="emptyPakin()" v-if="btnType == 'emptyPakin'">绌烘澘鍏ュ簱</button>
<button size="mini" type="primary" @click="emptyOut()" v-if="btnType == 'emptyPakin'">鍛煎彨绌烘澘</button>
- <button size="mini" type="primary" @click="doContainerMoveOut()" v-if="btnType == 'out' && station.locSts == 'F'">纭鍑哄簱</button>
- <button size="mini" type="primary" @click="doPickIn()" v-if="btnType == 'pick' && station.locSts == 'F'">宸叉嫞鏂欏洖搴�</button>
- <button size="mini" type="primary" @click="startPakin()" v-if="btnType == 'start' && station.locSts == 'F'">鍚姩鍏ュ簱</button>
+ <button size="mini" type="primary" @click="doContainerMoveOut()" v-if="btnType == 'out'">纭鍑哄簱</button>
+ <button size="mini" type="primary" @click="doPickIn()" v-if="btnType == 'pick'">宸叉嫞鏂欏洖搴�</button>
+ <button size="mini" type="primary" @click="startPakin()" v-if="btnType == 'start'">鍚姩鍏ュ簱</button>
</view>
</view>
</template>
@@ -151,6 +152,8 @@
export default {
data() {
return {
+ baseUrl: '',
+ token: '',
station: null,
reload: {
loading: false,
@@ -193,7 +196,6 @@
success(res) {
res = res.data
if (res.code === 200) {
-
if (res.data.records[0].locSts == 'O') {
_this.btnType = 'emptyPakin'
} else if (res.data.records[0].locSts == 'F') {
@@ -201,6 +203,15 @@
} else {
_this.btnType = 'working'
}
+ // if (res.data.records[0].locSts == 'O') {
+ // res.data.records[0].locSts$ = '娌℃湁璐ф灦'
+ // } else if (res.data.records[0].locSts == 'F') {
+ // res.data.records[0].locSts$ = '璐ф灦鍦ㄥ簱'
+ // } else if (res.data.records[0].locSts == 'S') {
+ // res.data.records[0].locSts$ = '璐ф灦杩涘叆涓�'
+ // } else if (res.data.records[0].locSts == 'R') {
+ // res.data.records[0].locSts$ = '璐ф灦绂诲紑涓�'
+ // }
setTimeout(()=>{
for (let k of res.data.records) {
@@ -215,8 +226,8 @@
_this.reload.loadingText = '鏇存柊鐘舵��'
_this.getContainerType()
},500)
-
_this.getWrkMast(res.data.records[0].barcode)
+ uni.showToast({ title: '鏇存柊鎴愬姛锛�', icon: "none", position: 'top' })
} else if (res.code == 403) {
uni.showToast({ title: res.msg, icon: "error", position: 'top' })
setTimeout(() => { uni.reLaunch({ url: '../login/login' }); }, 1000);
@@ -584,7 +595,7 @@
padding: 24rpx;
}
.wrkMast-wrkNo {
- font-size: 32px;
+ font-size: 30px;
font-weight: bold;
padding: 24rpx 0;
display: flex;
--
Gitblit v1.9.1