Browse Source

2024.12.10waybillNolog

Lzw 2 weeks ago
parent
commit
b7ae201a33
1 changed files with 2 additions and 18 deletions
  1. 2 18
      src/pages/waybillNo/waybillNoLog.vue

+ 2 - 18
src/pages/waybillNo/waybillNoLog.vue

@@ -1,12 +1,8 @@
 <template>
   <view class="history">
     <view class="item" v-for="(item, i) in waybillNoHistory" :key="i">
-      <view>
-        <text class="type">库位</text>
-        <text clsaa="code" :style="{ color: item.status ? 'green' : '#666' }">{{
-          item.space
-        }}</text>
-      </view>
+      <text class="type">库位</text>
+      <text clsaa="code" :style="{ color: item.status ? 'green' : '#666' }">{{ item.space }}</text>
       <view>
         <text class="type">单号</text>
         <text class="code" ;style="{color : item.status ? 'green' : '#666'}">{{ item.code }}</text>
@@ -94,15 +90,3 @@ onLoad(async () => {
   }
 }
 </style>
-<template>
-  <view class="history">
-    <view class="title">历史运单号</view>
-    <view v-for="(item, index) in waybillNoHistory" :key="index" class="item">
-      <view class="type">运单号:</view>
-      <view class="code">{{ item }}</view>
-      <view class="status">
-        <text class="fail">已失效</text>
-      </view>
-    </view></view
-  >
-</template>