From a27f35ea06c7b6bd9a6dc310c86c366e8052897b Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周三, 11 12月 2024 10:43:09 +0800
Subject: [PATCH] Merge branch 'master' of http://222.71.245.114:9086/r/LA24030-LuLI_PackageLine

---
 LA24030_LuLiPackageLine_Pda/pages/artificial/artificial.vue |  198 ++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 184 insertions(+), 14 deletions(-)

diff --git a/LA24030_LuLiPackageLine_Pda/pages/artificial/artificial.vue b/LA24030_LuLiPackageLine_Pda/pages/artificial/artificial.vue
index bef7f0e..4252ef1 100644
--- a/LA24030_LuLiPackageLine_Pda/pages/artificial/artificial.vue
+++ b/LA24030_LuLiPackageLine_Pda/pages/artificial/artificial.vue
@@ -20,8 +20,8 @@
             prop="packageCode"
             required
             class="uFormItem"
-          >
             <u-input
+          >
               v-model.trim="warehouse.packageCode"
               @confirm="getContainerData(1)"
               placeholder="璇峰綍鍏ユ垨鎵爜"
@@ -43,7 +43,7 @@
               ref="materialRef"
               placeholder="璇锋壂鐮佸綍鍏�"
               @focus="warehouse.upi = ''"
-			   :focus="curFoucus"
+              :focus="curFoucus"
               @confirm="getContainerData"
               style="font-weight: bolder; margin-left: 15rpx"
               class="width padding_left25rpx"
@@ -73,7 +73,6 @@
               :class="item.checked ? 'bg_item' : ''"
               class="fontSize32rpx width margin_auto background_fff padding10 relative box_sizing transition"
             >
-              <!-- 閮ㄤ欢鍚嶇О upi銆佹潗鏂欍�佸昂瀵革紝浣嶇疆銆佹澘浠剁姸鎬� -->
               <u-row>
                 <u-col span="12" class="flex align-center">
                   <!-- <u-checkbox v-model="item.checked" size="50rpx"></u-checkbox> -->
@@ -95,33 +94,69 @@
                 </u-col>
               </u-row>
               <u-row>
-                <u-col span="8">
+                <u-col span="12">
                   <text class="color_80 padding_left25rpx">
                     閮ㄤ欢鍚嶇О锛� {{ item.detailName }}
                   </text>
                 </u-col>
-                <u-col span="4">
-                  <text class="color_80"> 浣嶇疆锛歿{ item.location }} </text>
+              </u-row>
+              <u-row>
+                <u-col span="12">
+                  <text class="color_80 padding_left25rpx">
+                    浣嶇疆锛歿{ getAreaCodeEnumName(item.areaCode) }}
+                  </text>
                 </u-col>
               </u-row>
               <u-row>
-                <u-col span="8">
+                <u-col span="12">
                   <text class="color_80 padding_left25rpx">
                     鏉愭枡锛歿{ item.info18 }}
                   </text>
                 </u-col>
-                <u-col span="4">
-                  <text class="color_80"> 灏哄锛歿{ item.info16 }} </text>
+              </u-row>
+
+              <u-row>
+                <u-col span="12">
+                  <text class="color_80 padding_left25rpx">
+                    <text class="color_80"> 灏哄锛歿{ item.info16 }} </text>
+                  </text>
                 </u-col>
               </u-row>
               <u-row>
-                <u-col span="8">
+                <u-col span="12">
                   <text class="color_80 padding_left25rpx">
                     鏉夸欢鐘舵�侊細{{ getEnumName(item.upiStatus) }}
                   </text>
                 </u-col>
-                <u-col span="4">
-                  <text class="color_80"> 娆″簭锛歿{ item.shelf }} </text>
+              </u-row>
+              <u-row>
+                <u-col span="12">
+                  <text class="color_80 padding_left25rpx">
+                    <text class="color_80"> 娆″簭锛歿{ item.shelf }} </text>
+                  </text>
+                </u-col>
+              </u-row>
+              <u-row>
+                <u-col span="12">
+                  <text class="color_80 padding_left25rpx">
+                    <text class="color_80"> 鐢熶骇鍗曞彿锛歿{ item.info5 }} </text>
+                  </text>
+                </u-col>
+              </u-row>
+              <u-row>
+                <u-col span="12">
+                  <text class="color_80 padding_left25rpx">
+                    <text class="color_80">
+                      鍖呰缂栧彿锛歿{ item.packageCode }}</text
+                    >
+                  </text>
+                </u-col>
+              </u-row>
+              <u-row>
+                <u-col span="12">
+                  <text class="color_80 padding_left25rpx">
+                    <text class="color_80"> 鎵规鍙凤細{{ item.planNo }}</text>
+                  </text>
                 </u-col>
               </u-row>
             </view>
@@ -130,6 +165,129 @@
       </u-swipe-action>
     </view>
     <modal-code :rescode="rescode" :resmessage="resmessage" ref="resmodal" />
+
+    <u-popup
+      v-model="detailshow"
+      border-radius="14"
+      @close="detailshow = false"
+      mode="bottom"
+    >
+      <h2 class="text_align_center padding_bottom18 padding15">淇℃伅</h2>
+      <div style="height: 400px; overflow-y: auto; padding: 0 15rpx">
+        <view class="line flex justify-between">
+          <text class="text-gray">璁㈠崟鍙�</text>
+          <text>{{ materlist.orderId }}</text>
+        </view>
+        <view class="line flex justify-between">
+          <text class="text-gray">闀�</text>
+          <text>{{ materlist.length }}</text>
+        </view>
+        <view class="line flex justify-between">
+          <text class="text-gray">瀹�</text>
+          <text>{{ materlist.width }}</text>
+        </view>
+        <view class="line flex justify-between">
+          <text class="text-gray">鍘�</text>
+          <text>{{ materlist.thk }}</text>
+        </view>
+        <!-- <view class="line flex justify-between">
+          <text class="text-gray">琛屽彿</text>
+          <text>{{ materlist.lineNumber }}</text>
+        </view> -->
+        <!-- <view class="line flex justify-between">
+        <text class="text-gray">閮ㄤ欢绾圭悊</text>
+        <text>{{ materlist.Matgrid }}</text>
+      </view> -->
+        <!-- <view class="line flex justify-between">
+        <text class="text-gray">鎵撳瓟璁惧缂栧彿</text>
+        <text>{{ materlist.DRNum }}</text>
+      </view> -->
+
+        <!-- <view class="line flex justify-between">
+          <text class="text-gray">閿垏鍥惧彿</text>
+          <text>{{ materlist.materialIndex }}</text>
+        </view> -->
+
+        <view class="line flex justify-between">
+          <text class="text-gray">鍖呰X鍧愭爣</text>
+          <text>{{ materlist.machineXCenter }}</text>
+        </view>
+
+        <view class="line flex justify-between">
+          <text class="text-gray">鍖呰Y鍧愭爣</text>
+          <text>{{ materlist.machineYCenter }}</text>
+        </view>
+
+        <view class="line flex justify-between">
+          <text class="text-gray">鍖呰Z鍧愭爣</text>
+          <text>{{ materlist.machineZCenter }}</text>
+        </view>
+        <!-- <view class="line flex justify-between">
+          <text class="text-gray">杞悜瑙掑害</text>
+          <text>{{ materlist.rotation }}</text>
+        </view> -->
+        <view class="line flex justify-between">
+          <text class="text-gray">灞傛暟</text>
+          <text>{{ materlist.sequence }}</text>
+        </view>
+        <view class="line flex justify-between">
+          <text class="text-gray">閿�鍞悎鍚屽崟鍙�</text>
+          <text>{{ materlist.info4 }}</text>
+        </view>
+        <view class="line flex justify-between">
+          <text class="text-gray">鐢熶骇鍗曞彿</text>
+          <text>{{ materlist.info5 }}</text>
+        </view>
+        <view class="line flex justify-between">
+          <text class="text-gray">绗嚑鍖�</text>
+          <text>{{ materlist.info6 }}</text>
+        </view>
+        <view class="line flex justify-between">
+          <text class="text-gray">缁忛攢搴楀悕绉�</text>
+          <text>{{ materlist.info7 }}</text>
+        </view>
+        <view class="line flex justify-between">
+          <text class="text-gray">浜у搧鍚嶇О</text>
+          <text>{{ materlist.info8 }}</text>
+        </view>
+        <view class="line flex justify-between">
+          <text class="text-gray">鍖呰缂栫爜</text>
+          <text>{{ materlist.info9 }}</text>
+        </view>
+        <view class="line flex justify-between">
+          <text class="text-gray">瀹㈡埛鍚嶇О</text>
+          <text>{{ materlist.info10 }}</text>
+        </view>
+        <view class="line flex justify-between">
+          <text class="text-gray">鑷彁鎴栧彂璐�</text>
+          <text>{{ materlist.info11 }}</text>
+        </view>
+        <view class="line flex justify-between">
+          <text class="text-gray">鍖呰閮ㄤ欢鎬绘暟閲�</text>
+          <text>{{ materlist.info12 }}</text>
+        </view>
+        <view class="line flex justify-between">
+          <text class="text-gray">鍖呰闈㈢Н</text>
+          <text>{{ materlist.info13 }}</text>
+        </view>
+        <!-- <view class="line flex justify-between">
+          <text class="text-gray">閮ㄤ欢鍚嶇О</text>
+          <text>{{ materlist.info14 }}</text>
+        </view> -->
+        <view class="line flex justify-between">
+          <text class="text-gray">閮ㄤ欢鏁伴噺</text>
+          <text>{{ materlist.info15 }}</text>
+        </view>
+        <view class="line flex justify-between">
+          <text class="text-gray">閮ㄤ欢灏哄</text>
+          <text>{{ materlist.info16 }}</text>
+        </view>
+        <view class="line flex justify-between">
+          <text class="text-gray">鍖呰鏈烘鎵嬫棆杞�</text>
+          <text>{{ materlist.info17 }}</text>
+        </view>
+      </div>
+    </u-popup>
 
     <button-modal
       :subShow="true"
@@ -160,7 +318,7 @@
       resmessage: "",
       options: [
         {
-          text: "鎵撳嵃",
+          text: "璇︽儏",
           style: {
             backgroundColor: "#fc9f35",
           },
@@ -177,6 +335,7 @@
       gridable: true,
       kwbhAllowed: false,
       enumList: [],
+      areaCodeEnum: [],
     };
   },
   components: {
@@ -189,6 +348,11 @@
     }).then((res) => {
       this.enumList = res.result || [];
     });
+    getenumDataList({
+      EnumName: "AreaCodeEnum",
+    }).then((res) => {
+      this.areaCodeEnum = res.result || [];
+    });
   },
   onLoad() {
     this.operator = JSON.parse(uni.getStorageSync("userInfo")).name;
@@ -198,6 +362,10 @@
   methods: {
     getEnumName(value) {
       const name = this.enumList.find((item) => item.value === value);
+      return name ? name.name : "";
+    },
+    getAreaCodeEnumName(value) {
+      const name = this.areaCodeEnum.find((item) => item.value === value);
       return name ? name.name : "";
     },
     // 濡傛灉鎵撳紑涓�涓殑鏃跺�欙紝涓嶉渶瑕佸叧闂叾浠栵紝鍒欐棤闇�瀹炵幇鏈柟娉�
@@ -242,10 +410,12 @@
           uni.showToast({
             title: "鏁版嵁涓嶅瓨鍦�",
             icon: "none",
-            duration: 2000,
+            duration: 5000,
           });
+         this.singlist = [];
           return;
         }
+
         this.singlist = res.result;
       });
     },

--
Gitblit v1.9.3