From b10f549bf55bbf9e4e4ee996ecc065d400eff91e Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期二, 07 五月 2024 19:28:10 +0800
Subject: [PATCH] #
---
pages/phyz/bcp/bcpDbList.vue | 47 ++++++++++++++++++++++++++++++++++++++---------
1 files changed, 38 insertions(+), 9 deletions(-)
diff --git a/pages/phyz/bcp/bcpDbList.vue b/pages/phyz/bcp/bcpDbList.vue
index bcb2d89..69604c6 100644
--- a/pages/phyz/bcp/bcpDbList.vue
+++ b/pages/phyz/bcp/bcpDbList.vue
@@ -1,15 +1,19 @@
<template>
<view>
- <view class="station" :class="station.style" v-if="station">
+ <view class="station station-wrk" v-if="station">
<view class="mt-flex">
- <view class="station-title" style="flex: 1;">{{station.devNo}}</view>
+ <view class="station-title" style="flex: 1;">{{station.threeCode}}</view>
</view>
- <view>绔欑偣绫诲瀷锛歿{station.locType1$}}鍖�</view>
- <view>璐ф灦鍓嶄袱浣嶏細{{station.locType2$}}</view>
- <view>绔欑偣鐘舵�侊細{{station.locSts$}}</view>
- <view class="mt-flex">
- <view class="station-barcode" style="flex: 1">璐ф灦鐮侊細<text>{{station.barcode ? station.barcode : '--'}}</text></view>
- <view v-if="station.barcode && station.locSts == 'F'"><button size="mini" type="warn" @click="unbind()">瑙i櫎缁戝畾</button></view>
+ <view>璋冩嫧鍗曞彿锛歿{station.orderNo}}</view>
+ <view>鐗╂枡缂栧彿锛歿{station.matnr}}</view>
+ <view style="width: 100%;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;">鐗╂枡鍚嶇О锛歿{station.maktx}}</view>
+ <view style="display: flex;">
+ <view style="flex: 2;">璋冩嫧鏁伴噺锛歿{station.anfme}}</view>
+ <view style="flex: 3;">搴撳瓨鏁伴噺锛歿{station.stock}}</view>
+ </view>
+ <view style="display: flex;">
+ <view style="flex: 2;">宸茶皟鎷ㄦ暟閲忥細{{station.qty}}</view>
+ <view style="flex: 3;">褰撳墠閫夋嫨璋冩嫧鏁伴噺锛歿{station.count ? station.count : 0}}</view>
</view>
</view>
<view class="list list-font-color" :class="orderDetl.color" v-for="(orderDetl,index) in dataList" :key="index">
@@ -59,7 +63,8 @@
isOpen: true,
option: '',
selects: [],
- orderId: ''
+ orderId: '',
+ station: ''
}
},
onShow() {
@@ -71,6 +76,7 @@
// 鐩戝惉acceptDataFromOpenerPage浜嬩欢锛岃幏鍙栦笂涓�椤甸潰閫氳繃eventChannel浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹�
eventChannel.on('item', function(data) {
console.log(data.item);
+ _this.station = data.item
_this.orderId = data.item.id
_this.getLocDetl(data.item.orderNo,data.item.threeCode,data.item.matnr,data.item.id)
})
@@ -170,6 +176,29 @@
<style>
@import url('../../../static/css/common/order.css');
+
+ .station {
+ font-size: 18px;
+ padding: 24rpx;
+ }
+ .station-title {
+ font-size: 32px;
+ font-weight: bold;
+ padding: 2rpx 0;
+ }
+ .station-barcode {
+ font-size: 24px;
+ font-weight: bold;
+ padding: 24rpx 0;
+ }
+ .station-wrk {
+ background-color: #ff7356;
+ color: #fff;
+ }
+ .station-nowrk {
+ background-color: #3eb689;
+ color: #fff;
+ }
.list-font-color {
color: #fff;
/* background-color: #33bb44; */
--
Gitblit v1.9.1