From de860ba9e13cf81da9c40870c7887509c8ccf72f Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期五, 13 三月 2026 11:00:04 +0800
Subject: [PATCH] Merge branch 'Dev' of http://101.37.171.70:10101/r/~jhz/STUWMS into Dev

---
 pages/xiaoshouchuku/SellOutBillList.vue |   79 +++++++++++++++++++++------------------
 1 files changed, 43 insertions(+), 36 deletions(-)

diff --git a/pages/xiaoshouchuku/SellOutBillList.vue b/pages/xiaoshouchuku/SellOutBillList.vue
index ce8cd4a..4de64a2 100644
--- a/pages/xiaoshouchuku/SellOutBillList.vue
+++ b/pages/xiaoshouchuku/SellOutBillList.vue
@@ -1,33 +1,33 @@
 <template>
 	<view class="content">
 		<view class="tabs">
-			<view :class="tabs == 0 ? 'on':''" @tap="changeTab(0)">缂撳瓨鍒楄〃</view>
-			<view :class="tabs == 1 ? 'on':''" @tap="changeTab(1)">宸叉牎楠屽垪琛�</view>
+            <view :class="tabs == 0 ? 'on':''" @tap="changeTab(0)">{{ $t("SellOutBillList_PDA.cacheList") == "SellOutBillList_PDA.cacheList" ? "缂撳瓨鍒楄〃" : $t("SellOutBillList_PDA.cacheList") }}</view>
+            <view :class="tabs == 1 ? 'on':''" @tap="changeTab(1)">{{ $t("SellOutBillList_PDA.updatedList") == "SellOutBillList_PDA.updatedList" ? "宸蹭笂浼犲垪琛�" : $t("SellOutBillList_PDA.updatedList") }}</view>
 		</view>
 		
 		<view style="width: 100%;height: 16rpx;background-color: #e5e5e5;"></view>
 		
 		<view class="form" v-if="tabs == 0">
 			<view class="buttons" @tap="add">
-				<uni-icons type="plus" style="margin-right: 10rpx;" size="22"></uni-icons>鏂板
+				<uni-icons type="plus" style="margin-right: 10rpx;" size="22"></uni-icons>{{ $t("SellOutBillList_PDA.btnAdd") == "SellOutBillList_PDA.btnAdd" ? "鏂板" : $t("SellOutBillList_PDA.btnAdd") }}
 			</view>
 		</view>
 		<view class="form" v-if="tabs == 1">
 			<view class="form-item">
-				<view class="title">鍗曟嵁鍙�:</view>
+				<view class="title">{{ $t("SellOutBillList_PDA.billNo") == "SellOutBillList_PDA.billNo" ? "鍗曟嵁鍙�" : $t("SellOutBillList_PDA.billNo") }}:</view>
 				<view class="right">
-					<input v-model="hform.HBillNo" placeholder="璇疯緭鍏ュ崟鎹彿" />
+					<input v-model="hform.HBillNo" :placeholder="billNoPlaceholder" />
 				</view>
 			</view>
 			<view class="form-item">
-				<view class="title">婧愬崟鍗曞彿:</view>
+				<view class="title">{{ $t("SellOutBillList_PDA.sourceBillNo") == "SellOutBillList_PDA.sourceBillNo" ? "婧愬崟鍗曞彿" : $t("SellOutBillList_PDA.sourceBillNo") }}:</view>
 				<view class="right">
-					<input v-model="hform.HSourceBillNo" placeholder="璇疯緭鍏ユ簮鍗曞崟鍙�" />
+					<input v-model="hform.HSourceBillNo" :placeholder="sourceBillNoPlaceholder" />
 				</view>
 			</view>
 			<view class="buttons">
-				<button class="btn-a" size="mini" type="default" @tap="clear">閲嶇疆</button>
-				<button class="btn-c" size="mini" type="default" @tap="search">鏌ヨ</button>
+				<button class="btn-a" size="mini" type="default" @tap="clear">{{ $t("SellOutBillList_PDA.btn_Reset") == "SellOutBillList_PDA.btn_Reset" ? "閲嶇疆" : $t("SellOutBillList_PDA.btn_Reset") }}</button>
+				<button class="btn-c" size="mini" type="default" @tap="search">{{ $t("SellOutBillList_PDA.btn_Query") == "SellOutBillList_PDA.btn_Query" ? "鏌ヨ" : $t("SellOutBillList_PDA.btn_Query") }}</button>
 			</view>
 		</view>
 		
@@ -37,28 +37,29 @@
 			<uni-card :title="item.鍒跺崟鏃ユ湡.substr(0,10)" :extra="item.鍗曟嵁鍙�" style="margin: 10px;" @tap="showDetail = showDetail==index?-1:index">
 				<view class="card-detail">
 					<view class="detail" v-if="item.鍒跺崟浜�">
-						<text>鍒跺崟浜猴細</text>{{item.鍒跺崟浜簘}
-					</view>
-					<view class="detail" v-if="item.鍗曟嵁鍐呯爜">
-						<text>鍗曟嵁鍐呯爜锛�</text>{{item.鍗曟嵁鍐呯爜}}
-					</view>
-					<view class="detail" v-if="item.鏁伴噺">
-						<text>鏁伴噺锛�</text>{{item.鏁伴噺}}
-					</view>
-					<view class="detail" v-if="item.婧愬崟鍗曞彿">
-						<text>婧愬崟鍗曞彿锛�</text>{{item.婧愬崟鍗曞彿}}
-					</view>
-					<view class="detail" v-if="item.缁勭粐">
-						<text>缁勭粐锛�</text>{{item.缁勭粐}}
+                        <text>{{ $t("SellOutBillList_PDA.table_Maker") == "SellOutBillList_PDA.table_Maker" ? "鍒跺崟浜�" : $t("SellOutBillList_PDA.table_Maker") }}锛�</text>{{item.鍒跺崟浜簘}
+                    </view>
+                    <view class="detail" v-if="item.鍗曟嵁鍐呯爜">
+                        <text>{{ $t("SellOutBillList_PDA.table_BillID") == "SellOutBillList_PDA.table_BillID" ? "鍗曟嵁鍐呯爜" : $t("SellOutBillList_PDA.table_BillID") }}锛�</text>{{item.鍗曟嵁鍐呯爜}}
+                    </view>
+                    <view class="detail" v-if="item.鏁伴噺">
+                        <text>{{ $t("SellOutBillList_PDA.table_Qty") == "SellOutBillList_PDA.table_Qty" ? "鏁伴噺" : $t("SellOutBillList_PDA.table_Qty") }}锛�</text>{{item.鏁伴噺}}
+                    </view>
+                    <view class="detail" v-if="item.婧愬崟鍗曞彿">
+                        <text>{{ $t("SellOutBillList_PDA.table_SourceBillNo") == "SellOutBillList_PDA.table_SourceBillNo" ? "婧愬崟鍗曞彿" : $t("SellOutBillList_PDA.table_SourceBillNo") }}锛�</text>{{item.婧愬崟鍗曞彿}}
+                    </view>
+                    <view class="detail" v-if="item.缁勭粐">
+                        <text>{{ $t("SellOutBillList_PDA.table_Org") == "SellOutBillList_PDA.table_Org" ? "缁勭粐" : $t("SellOutBillList_PDA.table_Org") }}锛�</text>{{item.缁勭粐}}
+
 					</view>
 				</view>
 
 				<view class="more">
 					<view class="part" style="border-right: 1px solid #eee;color: #3a78ff;" @tap.stop="edit(item)">
-						<uni-icons type="compose" style="color: #3a78ff;margin-right: 10rpx;" size="18"></uni-icons>缂栬緫
+						<uni-icons type="compose" style="color: #3a78ff;margin-right: 10rpx;" size="18"></uni-icons></uni-icons>{{ $t("SellOutBillList_PDA.btn_Edit") == "SellOutBillList_PDA.btn_Edit" ? "缂栬緫" : $t("SellOutBillList_PDA.btn_Edit") }}
 					</view>
 					<view class="part" style="color: #da0000;" @tap.stop="del(item)">
-						<uni-icons type="trash" style="color: #da0000;margin-right: 10rpx;" size="18"></uni-icons>鍒犻櫎
+						<uni-icons type="trash" style="color: #da0000;margin-right: 10rpx;" size="18"></uni-icons>{{ $t("SellOutBillList_PDA.btn_Del") == "SellOutBillList_PDA.btn_Del" ? "鍒犻櫎" : $t("SellOutBillList_PDA.btn_Del") }}
 					</view>
 				</view>
 			</uni-card>
@@ -67,42 +68,42 @@
 			<uni-card :title="item.鏃ユ湡" :extra="item.鍗曟嵁鍙�" style="margin: 10px;" @tap="showDetail = showDetail==index?-1:index">
 				<view class="card-detail">
 					<view class="detail" v-if="item.鍒跺崟浜�">
-						<text>鍒跺崟浜猴細</text>{{item.鍒跺崟浜簘}
+						<text>{{ $t("SellOutBillList_PDA.table_Maker") == "SellOutBillList_PDA.table_Maker" ? "鍒跺崟浜�" : $t("SellOutBillList_PDA.table_Maker") }}锛�</text>{{item.鍒跺崟浜簘}
 					</view>
 					<view class="detail" v-if="item.鏁伴噺">
-						<text>鏁伴噺锛�</text>{{item.鏁伴噺}}
+						<text>{{ $t("SellOutBillList_PDA.table_Qty") == "SellOutBillList_PDA.table_Qty" ? "鏁伴噺" : $t("SellOutBillList_PDA.table_Qty") }}锛�</text>{{item.鏁伴噺}}
 					</view>
 					<view class="detail" v-if="item.婧愬崟鍗曞彿">
-						<text>婧愬崟鍗曞彿锛�</text>{{item.婧愬崟鍗曞彿}}
+						<text>{{ $t("SellOutBillList_PDA.sourceBillNo") == "SellOutBillList_PDA.sourceBillNo" ? "婧愬崟鍗曞彿" : $t("SellOutBillList_PDA.sourceBillNo") }}锛�</text>{{item.婧愬崟鍗曞彿}}
 					</view>
 					<view class="detail" v-if="item.鐗╂枡浠g爜">
-						<text>鐗╂枡浠g爜锛�</text>{{item.鐗╂枡浠g爜}}
+						<text>{{ $t("SellOutBillList_PDA.table_MaterNumber") == "SellOutBillList_PDA.table_MaterNumber" ? "鐗╂枡浠g爜" : $t("SellOutBillList_PDA.table_MaterNumber") }}锛�</text>{{item.鐗╂枡浠g爜}}
 					</view>
 					<view class="detail" v-if="item.鐗╂枡鍚嶇О">
-						<text>鐗╂枡鍚嶇О锛�</text>{{item.鐗╂枡鍚嶇О}}
+						<text>{{ $t("SellOutBillList_PDA.table_MaterName") == "SellOutBillList_PDA.table_MaterName" ? "鐗╂枡鍚嶇О" : $t("SellOutBillList_PDA.table_MaterName") }}锛�</text>{{item.鐗╂枡鍚嶇О}}
 					</view>
 					<view class="detail" v-if="item.瑙勬牸鍨嬪彿">
-						<text>瑙勬牸鍨嬪彿锛�</text>{{item.瑙勬牸鍨嬪彿}}
+						<text>{{ $t("SellOutBillList_PDA.table_MaterModel") == "SellOutBillList_PDA.table_MaterModel" ? "瑙勬牸鍨嬪彿" : $t("SellOutBillList_PDA.table_MaterModel") }}锛�</text>{{item.瑙勬牸鍨嬪彿}}
 					</view>
 					<view class="detail" v-if="item.缁勭粐">
-						<text>缁勭粐锛�</text>{{item.缁勭粐}}
+						<text>{{ $t("SellOutBillList_PDA.table_Org") == "SellOutBillList_PDA.table_Org" ? "缁勭粐" : $t("SellOutBillList_PDA.table_Org") }}锛�</text>{{item.缁勭粐}}
 					</view>
 				</view>
 		
 				<view class="more">
                     <view class="part" style="color: #3a78ff;width: 100%;" @tap.stop="qrCodeDisplay(item)">
-                        <uni-icons type="scan" style="color: #3a78ff;margin-right: 10rpx;" size="18"></uni-icons>鏄剧ず浜岀淮鐮�
+                        <uni-icons type="scan" style="color: #3a78ff;margin-right: 10rpx;" size="18"></uni-icons>{{ $t("SellOutBillList_PDA.btn_DisplayCode") == "SellOutBillList_PDA.btn_DisplayCode" ? "鏄剧ず浜岀淮鐮�" : $t("SellOutBillList_PDA.btn_DisplayCode") }}
                     </view>
 					<view class="part" style="color: #d98d00;width: 100%;" @tap.stop="revoke(item)">
-						<uni-icons type="undo" style="color: #d98d00;margin-right: 10rpx;" size="18"></uni-icons>鎾ら攢
+						<uni-icons type="undo" style="color: #d98d00;margin-right: 10rpx;" size="18"></uni-icons>{{ $t("SellOutBillList_PDA.btn_Revoke") == "SellOutBillList_PDA.btn_Revoke" ? "鎾ら攢" : $t("SellOutBillList_PDA.btn_Revoke") }}
 					</view>
 				</view>
 			</uni-card>
 		</view>
 		
-		<view class="over" v-if="!listData || listData.length == 0">鏆傛棤鏁版嵁</view>
-		<view class="over" v-if="listData.length != 0 && listData.length != showList.length">鍔犺浇涓�...</view>
-		<view class="over" v-if="listData.length != 0 && listData.length == showList.length">宸插埌搴�</view>
+        <view class="over" v-if="!listData || listData.length == 0">{{ $t("SellOutBillList_PDA.noDate") == "SellOutBillList_PDA.noDate" ? "鏆傛棤鏁版嵁" : $t("SellOutBillList_PDA.noDate") }}</view>
+        <view class="over" v-if="listData.length != 0 && listData.length != showList.length">{{ $t("SellOutBillList_PDA.Loading") == "SellOutBillList_PDA.Loading" ? "鍔犺浇涓�..." : $t("SellOutBillList_PDA.Loading") }}</view>
+        <view class="over" v-if="listData.length != 0 && listData.length == showList.length">{{ $t("SellOutBillList_PDA.bottom") == "SellOutBillList_PDA.bottom" ? "宸插埌搴�" : $t("SellOutBillList_PDA.bottom") }}</view>
         <BarCodePopupVue ref="barcodePopup"></BarCodePopupVue>
     </view>
 </template>
@@ -125,6 +126,9 @@
 					HMaker: uni.getStorageSync('HUserName'),
 					HStockOrgID: uni.getStorageSync('OrganizationID'),
 				},
+				billNoPlaceholder:this.$t("SellOutBillList_PDA.billNoPlaceholder") == "SellOutBillList_PDA.billNoPlaceholder" ? "璇疯緭鍏ュ崟鎹彿" : this.$t("SellOutBillList_PDA.billNoPlaceholder"),
+				sourceBillNoPlaceholder:this.$t("SellOutBillList_PDA.sourceBillNoPlaceholder") == "SellOutBillList_PDA.sourceBillNoPlaceholder" ? "璇疯緭鍏ユ簮鍗曠紪鍙�" : this.$t("SellOutBillList_PDA.sourceBillNoPlaceholder"),
+				
 				sWhere:'',
 				listData:[],
 				showList:[],
@@ -134,6 +138,9 @@
 	        }
 	    },
 		onLoad() {
+			uni.setNavigationBarTitle({
+			    title: this.$t("SellOutBillList_PDA.title")
+			})
 			//鐢ㄦ埛妯″潡鏉冮檺鍒ゆ柇
 			this.CheckModRight()
 			this.changeTab(0)

--
Gitblit v1.9.1