From b007e23a8a249af8488ffe32822b046c345bddc0 Mon Sep 17 00:00:00 2001
From: dytyqx <1342948614@qq.com>
Date: 星期五, 13 三月 2026 08:55:14 +0800
Subject: [PATCH] Merge branch 'Dev' of http://101.37.171.70:10101/r/~jhz/STUWMS into Dev

---
 pages/qitachuku_v2/OtherOutBill.vue |  213 +++++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 156 insertions(+), 57 deletions(-)

diff --git a/pages/qitachuku_v2/OtherOutBill.vue b/pages/qitachuku_v2/OtherOutBill.vue
index e8b17ba..b2c20ed 100644
--- a/pages/qitachuku_v2/OtherOutBill.vue
+++ b/pages/qitachuku_v2/OtherOutBill.vue
@@ -2,7 +2,9 @@
     <view>
         <view class="form">
             <view class="form-item">
-                <view class="title">{{ $t("Kf_OtherOutBill_PDA.BarCode") == "Kf_OtherOutBill_PDA.BarCode" ? "鏉$爜" : $t("Kf_OtherOutBill_PDA.BarCode") }}锛�</view>
+                <view class="title">
+                    {{ $t("Kf_OtherOutBill_PDA.BarCode") == "Kf_OtherOutBill_PDA.BarCode" ? "鏉$爜" : $t("Kf_OtherOutBill_PDA.BarCode") }}锛�
+                </view>
                 <view class="right" style="width: 380rpx;">
                     <input :focus="BarCodeFocus" v-model="hform.HBarCode" :placeholder="placeholder_BarCode"
                         @confirm="getCode(hform.HBarCode)" />
@@ -12,40 +14,59 @@
                 </view>
             </view>
             <view class="form-item">
-                <view class="title">{{ $t("Kf_OtherOutBill_PDA.Qty") == "Kf_OtherOutBill_PDA.Qty" ? "鏁伴噺" : $t("Kf_OtherOutBill_PDA.Qty") }}锛�</view>
+                <view class="title">
+                    {{ $t("Kf_OtherOutBill_PDA.Qty") == "Kf_OtherOutBill_PDA.Qty" ? "鏁伴噺" : $t("Kf_OtherOutBill_PDA.Qty") }}锛�
+                </view>
                 <view class="right">
                     <input v-model="hform.HQty" :placeholder="placeholder_Qty" />
                 </view>
             </view>
             <view class="form-item">
-                <view class="title">{{ $t("Kf_OtherOutBill_PDA.Warehouse") == "Kf_OtherOutBill_PDA.Warehouse" ? "浠撳簱" : $t("Kf_OtherOutBill_PDA.Warehouse") }}锛�</view>
+                <view class="title">
+                    {{ $t("Kf_OtherOutBill_PDA.Warehouse") == "Kf_OtherOutBill_PDA.Warehouse" ? "浠撳簱" : $t("Kf_OtherOutBill_PDA.Warehouse") }}锛�
+                </view>
                 <view class="right">
                     <uni-combox :candidates="arrayHWHName" :placeholder="placeholder_Warehouse" v-model="hform.HWHName"
                         @input="HWHNameChange"></uni-combox>
                 </view>
             </view>
             <view class="form-item">
-                <view class="title">{{ $t("Kf_OtherOutBill_PDA.StockPlace") == "Kf_OtherOutBill_PDA.StockPlace" ? "浠撲綅" : $t("Kf_OtherOutBill_PDA.StockPlace") }}锛�</view>
+                <view class="title">
+                    {{ $t("Kf_OtherOutBill_PDA.StockPlace") == "Kf_OtherOutBill_PDA.StockPlace" ? "浠撲綅" : $t("Kf_OtherOutBill_PDA.StockPlace") }}锛�
+                </view>
                 <view class="right" v-show="showHStockPlaceName">
                     <uni-combox :candidates="HStockPlaceNameListComputed" :placeholder="placeholder_StockPlace"
                         v-model="hform.HStockPlaceName" @input="HStockPlaceNameChange"></uni-combox>
                 </view>
                 <view class="righton" v-show="!showHStockPlaceName">
-                    <input v-model="hform.HStockPlaceName" :disabled="!showHStockPlaceName" :placeholder="$t('Kf_OtherOutBill_PDA.disabledPlaceholder')" />
+                    <input v-model="hform.HStockPlaceName" :disabled="!showHStockPlaceName"
+                        :placeholder="$t('Kf_OtherOutBill_PDA.disabledPlaceholder')" />
                 </view>
             </view>
 
             <view class="tabs">
-                <view :class="tabs == 0 ? 'on':''" @tap="tabs = 0">{{ $t("Kf_OtherOutBill_PDA.selectSource") == "Kf_OtherOutBill_PDA.selectSource" ? "閫夋嫨婧愬崟" : $t("Kf_OtherOutBill_PDA.selectSource") }}</view>
-                <view :class="tabs == 1 ? 'on':''" @tap="tabs = 1">{{ $t("Kf_OtherOutBill_PDA.tableInfo") == "Kf_OtherOutBill_PDA.tableInfo" ? "琛ㄥご淇℃伅" : $t("Kf_OtherOutBill_PDA.tableInfo") }}</view>
-                <view :class="tabs == 2 ? 'on':''" @tap="tabs = 2">{{ $t("Kf_OtherOutBill_PDA.materInfo") == "Kf_OtherOutBill_PDA.materInfo" ? "鐗╂枡淇℃伅" : $t("Kf_OtherOutBill_PDA.materInfo") }}</view>
-                <view :class="tabs == 3 ? 'on':''" @tap="tabs = 3">{{ $t("Kf_OtherOutBill_PDA.barInfo") == "Kf_OtherOutBill_PDA.barInfo" ? "鏉$爜淇℃伅" : $t("Kf_OtherOutBill_PDA.barInfo") }}</view>
-                <view :class="tabs == 4 ? 'on':''" @tap="tabs = 4">{{ $t("Kf_OtherOutBill_PDA.removeShelvesInfo") == "Kf_OtherOutBill_PDA.removeShelvesInfo" ? "涓嬫灦淇℃伅" : $t("Kf_OtherOutBill_PDA.removeShelvesInfo") }}</view>
+                <view :class="tabs == 0 ? 'on':''" @tap="tabs = 0">
+                    {{ $t("Kf_OtherOutBill_PDA.selectSource") == "Kf_OtherOutBill_PDA.selectSource" ? "閫夋嫨婧愬崟" : $t("Kf_OtherOutBill_PDA.selectSource") }}
+                </view>
+                <view :class="tabs == 1 ? 'on':''" @tap="tabs = 1">
+                    {{ $t("Kf_OtherOutBill_PDA.tableInfo") == "Kf_OtherOutBill_PDA.tableInfo" ? "琛ㄥご淇℃伅" : $t("Kf_OtherOutBill_PDA.tableInfo") }}
+                </view>
+                <view :class="tabs == 2 ? 'on':''" @tap="tabs = 2">
+                    {{ $t("Kf_OtherOutBill_PDA.materInfo") == "Kf_OtherOutBill_PDA.materInfo" ? "鐗╂枡淇℃伅" : $t("Kf_OtherOutBill_PDA.materInfo") }}
+                </view>
+                <view :class="tabs == 3 ? 'on':''" @tap="tabs = 3">
+                    {{ $t("Kf_OtherOutBill_PDA.barInfo") == "Kf_OtherOutBill_PDA.barInfo" ? "鏉$爜淇℃伅" : $t("Kf_OtherOutBill_PDA.barInfo") }}
+                </view>
+                <view :class="tabs == 4 ? 'on':''" @tap="tabs = 4">
+                    {{ $t("Kf_OtherOutBill_PDA.removeShelvesInfo") == "Kf_OtherOutBill_PDA.removeShelvesInfo" ? "涓嬫灦淇℃伅" : $t("Kf_OtherOutBill_PDA.removeShelvesInfo") }}
+                </view>
             </view>
 
             <view v-if="tabs == 0">
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.SourceBillType") == "Kf_OtherOutBill_PDA.SourceBillType" ? "婧愬崟绫诲瀷" : $t("Kf_OtherOutBill_PDA.SourceBillType") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.SourceBillType") == "Kf_OtherOutBill_PDA.SourceBillType" ? "婧愬崟绫诲瀷" : $t("Kf_OtherOutBill_PDA.SourceBillType") }}锛�
+                    </view>
                     <view class="right" v-show="showHMainSourceBillType">
                         <picker :range="arrayHMainSourceBillType" v-model="HMainSourceBillType"
                             @change="HMainSourceBillTypeChange">
@@ -60,54 +81,75 @@
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.SourceBillNo") == "Kf_OtherOutBill_PDA.SourceBillNo" ? "婧愬崟鍗曞彿" : $t("Kf_OtherOutBill_PDA.SourceBillNo") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.SourceBillNo") == "Kf_OtherOutBill_PDA.SourceBillNo" ? "婧愬崟鍗曞彿" : $t("Kf_OtherOutBill_PDA.SourceBillNo") }}锛�
+                    </view>
                     <view class="right" v-show="showHSourceBillNo">
                         <input :focus="HSourceBillNoFocus" @confirm="onHSourceBillNoConfirmHandler" type="text"
-                            name="HSourceBillNo" v-model="hform.HSourceBillNo" :placeholder="placeholder_SourceBillNo" />
+                            name="HSourceBillNo" v-model="hform.HSourceBillNo"
+                            :placeholder="placeholder_SourceBillNo" />
                     </view>
+                    <view class="icon-wrapper" v-show="showHSourceBillNo" :disabled="hform.HMainSourceBillType === -1">
+                        <uni-icons type="scan" size="20" @click="toScanBillCode"></uni-icons>
+                    </view>
+
                     <view class="icon-wrapper" v-show="showHSourceBillNo" :disabled="hform.HMainSourceBillType == -1">
                         <uni-icons :hidden="hform.HMainSourceBillType == -1" type="search" size="20"
                             @click="showBillList"></uni-icons>
                     </view>
                     <view class="righton" v-show="!showHSourceBillNo">
-                        <input name="HSourceBillNo" disabled v-model="hform.HSourceBillNo" :placeholder="placeholder_SourceBillNo" />
+                        <input name="HSourceBillNo" disabled v-model="hform.HSourceBillNo"
+                            :placeholder="placeholder_SourceBillNo" />
                     </view>
                 </view>
 
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.BillSubType") == "Kf_OtherOutBill_PDA.BillSubType" ? "鍗曟嵁瀛愮被鍨�" : $t("Kf_OtherOutBill_PDA.BillSubType") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.BillSubType") == "Kf_OtherOutBill_PDA.BillSubType" ? "鍗曟嵁瀛愮被鍨�" : $t("Kf_OtherOutBill_PDA.BillSubType") }}锛�
+                    </view>
                     <view class="right">
                         <picker :range="arrayHBillSubType" v-model="hform.HBillSubType" @change="HBillSubTypeChange">
-                            <input disabled name="HMainSourceBillType" v-model="HBillSubType" :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_BillSubType')" />
+                            <input disabled name="HMainSourceBillType" v-model="HBillSubType"
+                                :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_BillSubType')" />
                             <view class="picker-overlay"></view>
                         </picker>
                     </view>
                 </view>
 
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.FIFOWarehouse") == "Kf_OtherOutBill_PDA.FIFOWarehouse" ? "鍏堣繘鍏堝嚭浠�" : $t("Kf_OtherOutBill_PDA.FIFOWarehouse") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.FIFOWarehouse") == "Kf_OtherOutBill_PDA.FIFOWarehouse" ? "鍏堣繘鍏堝嚭浠�" : $t("Kf_OtherOutBill_PDA.FIFOWarehouse") }}锛�
+                    </view>
                     <view class="right">
-                        <uni-combox :candidates="arrayHWHName" :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_FIFOWarehouse')" v-model="hform.HFIFOWHName"
-                            @input="HFIFOWHNameChange"></uni-combox>
+                        <uni-combox :candidates="arrayHWHName"
+                            :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_FIFOWarehouse')"
+                            v-model="hform.HFIFOWHName" @input="HFIFOWHNameChange"></uni-combox>
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.Date") == "Kf_OtherOutBill_PDA.Date" ? "鏃ユ湡" : $t("Kf_OtherOutBill_PDA.Date") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.Date") == "Kf_OtherOutBill_PDA.Date" ? "鏃ユ湡" : $t("Kf_OtherOutBill_PDA.Date") }}锛�
+                    </view>
                     <view class="right">
                         <picker mode="date" v-model="hform.HDate" @change="HDateChange">
                             <view class="picker-overlay"></view>
-                            <input disabled v-model="hform.HDate" :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_Date')" />
+                            <input disabled v-model="hform.HDate"
+                                :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_Date')" />
                         </picker>
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.Maker") == "Kf_OtherOutBill_PDA.Maker" ? "鍒跺崟浜�" : $t("Kf_OtherOutBill_PDA.Maker") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.Maker") == "Kf_OtherOutBill_PDA.Maker" ? "鍒跺崟浜�" : $t("Kf_OtherOutBill_PDA.Maker") }}锛�
+                    </view>
                     <view class="righton">
                         <input name="HMaker" disabled v-model="hform.HMaker" />
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.BillNo") == "Kf_OtherOutBill_PDA.BillNo" ? "鍗曟嵁鍙�" : $t("Kf_OtherOutBill_PDA.BillNo") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.BillNo") == "Kf_OtherOutBill_PDA.BillNo" ? "鍗曟嵁鍙�" : $t("Kf_OtherOutBill_PDA.BillNo") }}锛�
+                    </view>
                     <view class="righton">
                         <input name="HBillNo" disabled v-model="hform.HBillNo" />
                     </view>
@@ -116,7 +158,9 @@
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.BillID") == "Kf_OtherOutBill_PDA.BillID" ? "鍗曟嵁ID" : $t("Kf_OtherOutBill_PDA.BillID") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.BillID") == "Kf_OtherOutBill_PDA.BillID" ? "鍗曟嵁ID" : $t("Kf_OtherOutBill_PDA.BillID") }}锛�
+                    </view>
                     <view class="righton">
                         <input name="HInterID" disabled v-model="hform.HInterID" />
                     </view>
@@ -125,34 +169,48 @@
 
             <view v-if="tabs == 1">
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.Keeper") == "Kf_OtherOutBill_PDA.Keeper" ? "淇濈" : $t("Kf_OtherOutBill_PDA.Keeper") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.Keeper") == "Kf_OtherOutBill_PDA.Keeper" ? "淇濈" : $t("Kf_OtherOutBill_PDA.Keeper") }}锛�
+                    </view>
                     <view class="right">
-                        <uni-combox :candidates="arrayHEmpName" :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_Keeper')" v-model="hform.HKeeperName"
+                        <uni-combox :candidates="arrayHEmpName"
+                            :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_Keeper')" v-model="hform.HKeeperName"
                             @input="HKeeperNameChange"></uni-combox>
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.SecManager") == "Kf_OtherOutBill_PDA.SecManager" ? "楠屾敹" : $t("Kf_OtherOutBill_PDA.SecManager") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.SecManager") == "Kf_OtherOutBill_PDA.SecManager" ? "楠屾敹" : $t("Kf_OtherOutBill_PDA.SecManager") }}锛�
+                    </view>
                     <view class="right">
-                        <uni-combox :candidates="arrayHEmpName" :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_SecManager')" v-model="hform.HSecManagerName"
-                            @input="HSecManagerNameChange"></uni-combox>
+                        <uni-combox :candidates="arrayHEmpName"
+                            :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_SecManager')"
+                            v-model="hform.HSecManagerName" @input="HSecManagerNameChange"></uni-combox>
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.Dept") == "Kf_OtherOutBill_PDA.Dept" ? "閮ㄩ棬" : $t("Kf_OtherOutBill_PDA.Dept") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.Dept") == "Kf_OtherOutBill_PDA.Dept" ? "閮ㄩ棬" : $t("Kf_OtherOutBill_PDA.Dept") }}锛�
+                    </view>
                     <view class="right">
-                        <uni-combox :candidates="arrayHDeptName" :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_Dept')" v-model="hform.HDeptName"
+                        <uni-combox :candidates="arrayHDeptName"
+                            :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_Dept')" v-model="hform.HDeptName"
                             @input="HDeptNameChange"></uni-combox>
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.Customer") == "Kf_OtherOutBill_PDA.Customer" ? "瀹㈡埛" : $t("Kf_OtherOutBill_PDA.Customer") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.Customer") == "Kf_OtherOutBill_PDA.Customer" ? "瀹㈡埛" : $t("Kf_OtherOutBill_PDA.Customer") }}锛�
+                    </view>
                     <view class="righton">
-                        <input name="HSupName" disabled v-model="hform.HSupName" :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_Customer')" />
+                        <input name="HSupName" disabled v-model="hform.HSupName"
+                            :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_Customer')" />
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.StockOrg") == "Kf_OtherOutBill_PDA.StockOrg" ? "缁勭粐" : $t("Kf_OtherOutBill_PDA.StockOrg") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.StockOrg") == "Kf_OtherOutBill_PDA.StockOrg" ? "缁勭粐" : $t("Kf_OtherOutBill_PDA.StockOrg") }}锛�
+                    </view>
                     <view class="righton">
                         <input name="HStockOrgName" disabled v-model="hform.HStockOrgName" />
                     </view>
@@ -184,7 +242,9 @@
                         </view>
                     </uni-card>
                 </view>
-                <view class="over" v-if="Materlist.length == 0">{{ $t("Kf_OtherOutBill_PDA.noData") == "Kf_OtherOutBill_PDA.noData" ? "鏆傛棤鏁版嵁" : $t("Kf_OtherOutBill_PDA.noData") }}</view>
+                <view class="over" v-if="Materlist.length == 0">
+                    {{ $t("Kf_OtherOutBill_PDA.noData") == "Kf_OtherOutBill_PDA.noData" ? "鏆傛棤鏁版嵁" : $t("Kf_OtherOutBill_PDA.noData") }}
+                </view>
             </view>
 
             <view v-if="tabs == 4">
@@ -216,60 +276,80 @@
                         </view>
                     </uni-card>
                 </view>
-                <view class="over" v-if="FIFOlist.length == 0">{{ $t("Kf_OtherOutBill_PDA.noData") == "Kf_OtherOutBill_PDA.noData" ? "鏆傛棤鏁版嵁" : $t("Kf_OtherOutBill_PDA.noData") }}</view>
+                <view class="over" v-if="FIFOlist.length == 0">
+                    {{ $t("Kf_OtherOutBill_PDA.noData") == "Kf_OtherOutBill_PDA.noData" ? "鏆傛棤鏁版嵁" : $t("Kf_OtherOutBill_PDA.noData") }}
+                </view>
             </view>
 
             <view v-if="tabs == 3">
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.BarCode") == "Kf_OtherOutBill_PDA.BarCode" ? "鏉$爜" : $t("Kf_OtherOutBill_PDA.BarCode") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.BarCode") == "Kf_OtherOutBill_PDA.BarCode" ? "鏉$爜" : $t("Kf_OtherOutBill_PDA.BarCode") }}锛�
+                    </view>
                     <view class="righton">
                         <input name="HBarCode_B" disabled v-model="hform.HBarCode_B" />
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.Material") == "Kf_OtherOutBill_PDA.Material" ? "鐗╂枡" : $t("Kf_OtherOutBill_PDA.Material") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.Material") == "Kf_OtherOutBill_PDA.Material" ? "鐗╂枡" : $t("Kf_OtherOutBill_PDA.Material") }}锛�
+                    </view>
                     <view class="righton">
                         <input disabled v-model="hform.HMaterName_B" />
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.MaterModel") == "Kf_OtherOutBill_PDA.MaterModel" ? "瑙勬牸" : $t("Kf_OtherOutBill_PDA.MaterModel") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.MaterModel") == "Kf_OtherOutBill_PDA.MaterModel" ? "瑙勬牸" : $t("Kf_OtherOutBill_PDA.MaterModel") }}锛�
+                    </view>
                     <view class="righton">
                         <input disabled v-model="hform.HMaterModel_B" />
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.BatchNo") == "Kf_OtherOutBill_PDA.BatchNo" ? "鎵规" : $t("Kf_OtherOutBill_PDA.BatchNo") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.BatchNo") == "Kf_OtherOutBill_PDA.BatchNo" ? "鎵规" : $t("Kf_OtherOutBill_PDA.BatchNo") }}锛�
+                    </view>
                     <view class="righton">
                         <input disabled v-model="hform.HBatchNo_B" />
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.Unit") == "Kf_OtherOutBill_PDA.Unit" ? "鍗曚綅" : $t("Kf_OtherOutBill_PDA.Unit") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.Unit") == "Kf_OtherOutBill_PDA.Unit" ? "鍗曚綅" : $t("Kf_OtherOutBill_PDA.Unit") }}锛�
+                    </view>
                     <view class="righton">
                         <input disabled v-model="hform.HUnitName_B" />
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.Qty") == "Kf_OtherOutBill_PDA.Qty" ? "鏁伴噺" : $t("Kf_OtherOutBill_PDA.Qty") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.Qty") == "Kf_OtherOutBill_PDA.Qty" ? "鏁伴噺" : $t("Kf_OtherOutBill_PDA.Qty") }}锛�
+                    </view>
                     <view class="righton">
                         <input disabled v-model="hform.HQty_B" />
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.Capacity") == "Kf_OtherOutBill_PDA.Capacity" ? "瀹归噺" : $t("Kf_OtherOutBill_PDA.Capacity") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.Capacity") == "Kf_OtherOutBill_PDA.Capacity" ? "瀹归噺" : $t("Kf_OtherOutBill_PDA.Capacity") }}锛�
+                    </view>
                     <view class="righton">
                         <input disabled v-model="hform.HTMQty_B" />
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.Warehouse") == "Kf_OtherOutBill_PDA.Warehouse" ? "浠撳簱" : $t("Kf_OtherOutBill_PDA.Warehouse") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.Warehouse") == "Kf_OtherOutBill_PDA.Warehouse" ? "浠撳簱" : $t("Kf_OtherOutBill_PDA.Warehouse") }}锛�
+                    </view>
                     <view class="righton">
                         <input disabled v-model="hform.HWHName_B" />
                     </view>
                 </view>
                 <view class="form-item">
-                    <view class="title">{{ $t("Kf_OtherOutBill_PDA.StockPlace") == "Kf_OtherOutBill_PDA.StockPlace" ? "浠撲綅" : $t("Kf_OtherOutBill_PDA.StockPlace") }}锛�</view>
+                    <view class="title">
+                        {{ $t("Kf_OtherOutBill_PDA.StockPlace") == "Kf_OtherOutBill_PDA.StockPlace" ? "浠撲綅" : $t("Kf_OtherOutBill_PDA.StockPlace") }}锛�
+                    </view>
                     <view class="righton">
                         <input disabled v-model="hform.HSPName_B" />
                     </view>
@@ -277,10 +357,13 @@
             </view>
 
             <view class="bottom-btn">
-                <button class="btn-a" size="mini" @tap="submit">{{ $t("Kf_OtherOutBill_PDA.btnSubmit") == "Kf_OtherOutBill_PDA.btnSubmit" ? "鎻愪氦" : $t("Kf_OtherOutBill_PDA.btnSubmit") }}</button>
+                <button class="btn-a" size="mini"
+                    @tap="submit">{{ $t("Kf_OtherOutBill_PDA.btnSubmit") == "Kf_OtherOutBill_PDA.btnSubmit" ? "鎻愪氦" : $t("Kf_OtherOutBill_PDA.btnSubmit") }}</button>
                 <view style="flex: 1;"></view>
-                <button class="btn-a" size="mini" @tap="addNew">{{ $t("Kf_OtherOutBill_PDA.btnAdd") == "Kf_OtherOutBill_PDA.btnAdd" ? "鏂板" : $t("Kf_OtherOutBill_PDA.btnAdd") }}</button>
-                <button class="btn-c" size="mini" @tap="goBack">{{ $t("Kf_OtherOutBill_PDA.btnExit") == "Kf_OtherOutBill_PDA.btnExit" ? "閫�鍑�" : $t("Kf_OtherOutBill_PDA.btnExit") }}</button>
+                <button class="btn-a" size="mini"
+                    @tap="addNew">{{ $t("Kf_OtherOutBill_PDA.btnAdd") == "Kf_OtherOutBill_PDA.btnAdd" ? "鏂板" : $t("Kf_OtherOutBill_PDA.btnAdd") }}</button>
+                <button class="btn-c" size="mini"
+                    @tap="goBack">{{ $t("Kf_OtherOutBill_PDA.btnExit") == "Kf_OtherOutBill_PDA.btnExit" ? "閫�鍑�" : $t("Kf_OtherOutBill_PDA.btnExit") }}</button>
             </view>
         </view>
         <BillListPopupVue ref="billList" :HBillType="hform.HBillType" :HSourceBillType="hform.HMainSourceBillType"
@@ -301,14 +384,24 @@
         getUserStockRelation
     } from '../../utils/userRelationManager';
     import BarCodePopupVue from "../../components/BarCodePopup/BarCodePopup.vue";
+    import { MpaasScan } from '../../utils/mpaasScan';
     export default {
         data() {
             return {
-                 placeholder_BarCode: this.$t("Kf_OtherOutBill_PDA.placeholder_BarCode") == "Kf_OtherOutBill_PDA.placeholder_BarCode" ? "璇锋壂鎻�(鎴栬緭鍏�)鏉$爜" : this.$t("Kf_OtherOutBill_PDA.placeholder_BarCode"),
-        placeholder_Qty: this.$t("Kf_OtherOutBill_PDA.placeholder_Qty") == "Kf_OtherOutBill_PDA.placeholder_Qty" ? "璇疯緭鍏ユ暟閲�" : this.$t("Kf_OtherOutBill_PDA.placeholder_Qty"),
-        placeholder_Warehouse: this.$t("Kf_OtherOutBill_PDA.placeholder_Warehouse") == "Kf_OtherOutBill_PDA.placeholder_Warehouse" ? "璇疯緭鍏�(鎴栨壂鎻�)浠撳簱" : this.$t("Kf_OtherOutBill_PDA.placeholder_Warehouse"),
-        placeholder_StockPlace: this.$t("Kf_OtherOutBill_PDA.placeholder_StockPlace") == "Kf_OtherOutBill_PDA.placeholder_StockPlace" ? "璇疯緭鍏�(鎴栨壂鎻�)浠撲綅" : this.$t("Kf_OtherOutBill_PDA.placeholder_StockPlace"),
-        placeholder_SourceBillNo: this.$t("Kf_OtherOutBill_PDA.placeholder_SourceBillNo") == "Kf_OtherOutBill_PDA.placeholder_SourceBillNo" ? "璇疯緭鍏ユ簮鍗曞崟鍙�" : this.$t("Kf_OtherOutBill_PDA.placeholder_SourceBillNo"),
+                placeholder_BarCode: this.$t("Kf_OtherOutBill_PDA.placeholder_BarCode") ==
+                    "Kf_OtherOutBill_PDA.placeholder_BarCode" ? "璇锋壂鎻�(鎴栬緭鍏�)鏉$爜" : this.$t(
+                        "Kf_OtherOutBill_PDA.placeholder_BarCode"),
+                placeholder_Qty: this.$t("Kf_OtherOutBill_PDA.placeholder_Qty") ==
+                    "Kf_OtherOutBill_PDA.placeholder_Qty" ? "璇疯緭鍏ユ暟閲�" : this.$t("Kf_OtherOutBill_PDA.placeholder_Qty"),
+                placeholder_Warehouse: this.$t("Kf_OtherOutBill_PDA.placeholder_Warehouse") ==
+                    "Kf_OtherOutBill_PDA.placeholder_Warehouse" ? "璇疯緭鍏�(鎴栨壂鎻�)浠撳簱" : this.$t(
+                        "Kf_OtherOutBill_PDA.placeholder_Warehouse"),
+                placeholder_StockPlace: this.$t("Kf_OtherOutBill_PDA.placeholder_StockPlace") ==
+                    "Kf_OtherOutBill_PDA.placeholder_StockPlace" ? "璇疯緭鍏�(鎴栨壂鎻�)浠撲綅" : this.$t(
+                        "Kf_OtherOutBill_PDA.placeholder_StockPlace"),
+                placeholder_SourceBillNo: this.$t("Kf_OtherOutBill_PDA.placeholder_SourceBillNo") ==
+                    "Kf_OtherOutBill_PDA.placeholder_SourceBillNo" ? "璇疯緭鍏ユ簮鍗曞崟鍙�" : this.$t(
+                        "Kf_OtherOutBill_PDA.placeholder_SourceBillNo"),
                 userInfo: getUserInfo(),
                 serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
                 HModName: 'Kf_OtherOutBill_PDA',
@@ -419,8 +512,9 @@
         },
         onLoad(e) {
             uni.setNavigationBarTitle({
-                    title: this.$t("Kf_OtherOutBill_PDA.title")
-                });
+                title: this.$t("Kf_OtherOutBill_PDA.title") == 'Kf_OtherOutBill_PDA.title' ?
+                    '鍏朵粬鍑哄簱鍗�' : this.$t("Kf_OtherOutBill_PDA.title")
+            });
             console.log(e, this.userInfo)
             this.OperationType = e.OperationType
             if (e.HInterID) {
@@ -453,6 +547,11 @@
             uni.$off('BillSelectComplete')
         },
         methods: {
+            toScanBillCode() {
+                MpaasScan.scanCode((res) => {
+                    this.getHBarCodeData(res)
+                })
+            },
             async HWHNameScan(e) {
                 // 鎵弿浠撳簱鐮�
                 console.log('浠撳簱鐮�: ', e);
@@ -470,7 +569,7 @@
                 // 鎵弿浠撲綅鐮�
                 console.log('浠撲綅鐮�: ', e);
                 let index = this.HStockPlaceNameList.findIndex(elem => elem['鏉$爜缂栧彿'] == e.trim())
-               // 涓嶅厛缃┖鐨勮瘽锛屾暟鎹啀娆℃壂鎻忕浉鍚岀殑浠撲綅鐮� 涓嶄細瑙﹀彂缁勪欢鍐呯殑鍒锋柊
+                // 涓嶅厛缃┖鐨勮瘽锛屾暟鎹啀娆℃壂鎻忕浉鍚岀殑浠撲綅鐮� 涓嶄細瑙﹀彂缁勪欢鍐呯殑鍒锋柊
                 this.hform.HStockPlaceID = 0
                 this.hform.HStockPlaceName = ''
                 await this.$nextTick()
@@ -1907,7 +2006,7 @@
                 font-weight: bold;
             }
         }
-        
+
 
         .right {
             // width: 450rpx;

--
Gitblit v1.9.1