From 28328db7ef0b0270e9e94b6a11b32cb5f9bdac88 Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期五, 06 二月 2026 13:44:07 +0800
Subject: [PATCH] Merge branch 'Dev' of http://101.37.171.70:10101/r/~jhz/STUWMS into Dev

---
 pages/MJGL/Sb_EqpMaintenance/Sb_EqpMaintenanceBill.vue | 1954 ++++++++++++++++++++++++++++++----------------------------
 1 files changed, 1,003 insertions(+), 951 deletions(-)

diff --git a/pages/MJGL/Sb_EqpMaintenance/Sb_EqpMaintenanceBill.vue b/pages/MJGL/Sb_EqpMaintenance/Sb_EqpMaintenanceBill.vue
index aa6e9b4..9d8ab35 100644
--- a/pages/MJGL/Sb_EqpMaintenance/Sb_EqpMaintenanceBill.vue
+++ b/pages/MJGL/Sb_EqpMaintenance/Sb_EqpMaintenanceBill.vue
@@ -1,938 +1,981 @@
 <template>
-	<view>
-		<view class="tabs" id="tabs">
-			<view :class="tabs == 0 ? 'on':''" @tap="tabs = 0">鍩烘湰淇℃伅</view>
-			<view :class="tabs == 2 ? 'on':''" @tap="tabs = 2">鍏朵粬淇℃伅</view>
-		</view>
-		<!-- 鍩烘湰淇℃伅 -->
-		<template v-if="tabs == 0">
-			<view class="form" :style="{
+    <view>
+        <view class="tabs" id="tabs">
+            <view :class="tabs == 0 ? 'on':''" @tap="tabs = 0">鍩烘湰淇℃伅</view>
+            <view :class="tabs == 2 ? 'on':''" @tap="tabs = 2">鍏朵粬淇℃伅</view>
+        </view>
+        <!-- 鍩烘湰淇℃伅 -->
+        <template v-if="tabs == 0">
+            <view class="form" :style="{
                 height: containerHeight + 'px',
                 overflow: 'auto'
             }">
-				<view class="form-item">
-					<view class="title">璁惧鏉$爜:</view>
-					<view :class="enableEdit?'right':'righton'">
-						<input v-model="hform.HBarCode" :disabled="!enableEdit"
-							@confirm="GetMessageByBarCode(hform.HBarCode)" placeholder="璇疯緭鍏�(鎴栨壂鎻�)璁惧鏉$爜" />
-					</view>
-					<view class="icon-wrapper">
-						<uni-icons type="scan" size="20" @click="toScanCode"></uni-icons>
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">缁翠慨寮�濮�:</view>
-					<view class="right">
-						<uni-datetime-picker type="date" :clear-icon="false" v-model="hform.HRepairPlanBeginDate">
-							<input :value="hform.HRepairBeginDate" />
-						</uni-datetime-picker>
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">缁翠慨缁撴潫:</view>
-					<view class="right">
-						<uni-datetime-picker type="date" :clear-icon="false" v-model="hform.HRepairPlanEndDate">
-							<input :value="hform.HRepairEndDate" />
-						</uni-datetime-picker>
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">缁翠慨鍐呭:</view>
-					<view class="right">
-						<textarea v-model="hform.HRepairContent" placeholder="璇疯緭鍏ョ淮淇唴瀹�" />
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">鍗曟嵁鍙�:</view>
-					<view class="righton">
-						<input disabled v-model="hform.HBillNo" />
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">鍗曟嵁鏃ユ湡:</view>
-					<view class="righton">
-						<input disabled v-model="hform.HDate" />
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">婧愬崟绫诲瀷:</view>
-					<view class="right" v-show="showHMainSourceBillType">
-						<picker :range="arrayHMainSourceBillType" @change="HMainSourceBillTypeChange">
+                <view class="form-item">
+                    <view class="title">璁惧鏉$爜:</view>
+                    <view :class="enableEdit?'right':'righton'">
+                        <input v-model="hform.HBarCode" :disabled="!enableEdit"
+                            @confirm="GetMessageByBarCode(hform.HBarCode)" placeholder="璇疯緭鍏�(鎴栨壂鎻�)璁惧鏉$爜" />
+                    </view>
+                    <view class="icon-wrapper">
+                        <uni-icons type="scan" size="20" @click="toScanCode"></uni-icons>
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">缁翠慨寮�濮�:</view>
+                    <view class="right">
+                        <uni-datetime-picker type="date" :clear-icon="false" v-model="hform.HRepairPlanBeginDate">
+                            <input :value="hform.HRepairBeginDate" />
+                        </uni-datetime-picker>
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">缁翠慨缁撴潫:</view>
+                    <view class="right">
+                        <uni-datetime-picker type="date" :clear-icon="false" v-model="hform.HRepairPlanEndDate">
+                            <input :value="hform.HRepairEndDate" />
+                        </uni-datetime-picker>
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">缁翠慨鍐呭:</view>
+                    <view class="right">
+                        <textarea v-model="hform.HRepairContent" placeholder="璇疯緭鍏ョ淮淇唴瀹�" />
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">鍗曟嵁鍙�:</view>
+                    <view class="righton">
+                        <input disabled v-model="hform.HBillNo" />
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">鍗曟嵁鏃ユ湡:</view>
+                    <view class="righton">
+                        <input disabled v-model="hform.HDate" />
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">婧愬崟绫诲瀷:</view>
+                    <view class="right" v-show="showHMainSourceBillType">
+                        <picker :range="arrayHMainSourceBillType" @change="HMainSourceBillTypeChange">
 
-							<input disabled name="HMainSourceBillType" v-model="HMainSourceBillType"
-								placeholder="璇烽�夋嫨婧愬崟绫诲瀷" />
-							<view class="picker-overlay"></view>
-						</picker>
-					</view>
-					<view class="righton" v-show="!showHMainSourceBillType">
-						<input name="HMainSourceBillType" disabled v-model="HMainSourceBillType"
-							placeholder="璇烽�夋嫨婧愬崟绫诲瀷" />
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title required">婧愬崟鍗曞彿:</view>
-					<view :class="enableSourceBillEdit?'right':'righton'">
-						<input v-model="hform.HMainSourceBillNo" :disabled="enableSourceBillEdit?false:true"
-							@confirm="GetMessageByHMainSourceBillNo(hform.HMainSourceBillNo)"
-							placeholder="璇疯緭鍏�(鎴栨壂鎻�)婧愬崟鍗曞彿" />
-					</view>
-					<view class="icon-wrapper" v-show="hform.HMainSourceBillType != '鎵嬪伐褰曞叆'"
-						:disabled="hform.HMainSourceBillType == '鎵嬪伐褰曞叆'">
-						<uni-icons type="search" size="20" @click="showBillList"></uni-icons>
-					</view>
-					<view class="icon-wrapper">
-						<uni-icons type="scan" size="20" @click="toScanHMainSourceBillNo"></uni-icons>
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">缁翠慨瑕佹眰:</view>
-					<view class="right">
-						<textarea v-model="hform.HExplanation" placeholder="璇疯緭鍏ョ淮淇姹�" />
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">鏃堕棿鍗曚綅:</view>
-					<zxz-uni-data-select class="right" :localdata="[
+                            <input disabled name="HMainSourceBillType" v-model="HMainSourceBillType"
+                                placeholder="璇烽�夋嫨婧愬崟绫诲瀷" />
+                            <view class="picker-overlay"></view>
+                        </picker>
+                    </view>
+                    <view class="righton" v-show="!showHMainSourceBillType">
+                        <input name="HMainSourceBillType" disabled v-model="HMainSourceBillType"
+                            placeholder="璇烽�夋嫨婧愬崟绫诲瀷" />
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">婧愬崟鍗曞彿:</view>
+                    <view :class="enableSourceBillEdit?'right':'righton'">
+                        <input v-model="hform.HMainSourceBillNo" :disabled="!enableSourceBillEdit"
+                            @confirm="GetMessageByHMainSourceBillNo(hform.HMainSourceBillNo)"
+                            placeholder="璇疯緭鍏�(鎴栨壂鎻�)婧愬崟鍗曞彿" />
+                    </view>
+                    <view class="icon-wrapper" v-show="hform.HMainSourceBillType != '鎵嬪伐褰曞叆'">
+                        <uni-icons :disabled="hform.HMainSourceBillType == '鎵嬪伐褰曞叆'" type="search" size="20"
+                            @click="showBillList"></uni-icons>
+                    </view>
+                    <view class="icon-wrapper" v-show="hform.HMainSourceBillType != '鎵嬪伐褰曞叆'">
+                        <uni-icons :disabled="hform.HMainSourceBillType == '鎵嬪伐褰曞叆'" type="scan" size="20"
+                            @click="toScanHMainSourceBillNo"></uni-icons>
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">缁翠慨瑕佹眰:</view>
+                    <view class="right">
+                        <textarea v-model="hform.HExplanation" placeholder="璇疯緭鍏ョ淮淇姹�" />
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">鏃堕棿鍗曚綅:</view>
+                    <zxz-uni-data-select class="right" :localdata="[
                         {key: '灏忔椂', value: '灏忔椂'},
                         {key: '澶�', value: '澶�'},
                         {key: '鏈�', value: '鏈�'},
                     ]" dataKey="key" dataValue="value" v-model="hform.HCycleUnit">
-					</zxz-uni-data-select>
-				</view>
-				<view class="form-item">
-					<view class="title">缁翠慨宸ユ椂:</view>
-					<view class="right">
-						<input type="number" v-model="hform.HTimes" />
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title required">閮ㄩ棬:</view>
-					<zxz-uni-data-select required class="right" :localdata="HDeptList" dataKey="閮ㄩ棬鍚嶇О"
-						dataValue="HItemID" v-model="hform.HDeptID">
-					</zxz-uni-data-select>
-				</view>
-				<view class="form-item">
-					<view class="title required">缁翠慨浜�:</view>
-					<zxz-uni-data-select required class="right" :localdata="HEmpList" dataKey="HName"
-						dataValue="HItemID" v-model="hform.HEmpID">
-					</zxz-uni-data-select>
-				</view>
-				<view class="form-item">
-					<view class="title required">缁翠慨椤圭洰:</view>
-					<zxz-uni-data-select required class="right" :localdata="HRepairList" dataKey="缁翠慨椤圭洰"
-						dataValue="hitemid" v-model="hform.HRepairID">
-					</zxz-uni-data-select>
-				</view>
-				<view class="form-item">
-					<view class="title required">璐熻矗浜�:</view>
-					<zxz-uni-data-select required class="right" :localdata="HEmpList" dataKey="HName"
-						dataValue="HItemID" v-model="hform.HManagerID">
-					</zxz-uni-data-select>
-				</view>
-				<view class="form-item">
-					<view class="title">璁惧鍚嶇О:</view>
-					<view class="righton">
-						<input v-model="hform.HBarName" disabled />
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">璁惧瑙勬牸:</view>
-					<view class="righton">
-						<input v-model="hform.HBarSpec" disabled />
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">璁惧鍨嬪彿:</view>
-					<view class="righton">
-						<input v-model="hform.HBarModel" disabled />
-					</view>
-				</view>
-			</view>
-		</template>
+                    </zxz-uni-data-select>
+                </view>
+                <view class="form-item">
+                    <view class="title">缁翠慨宸ユ椂:</view>
+                    <view class="right">
+                        <input type="number" v-model="hform.HTimes" />
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title required">閮ㄩ棬:</view>
+                    <zxz-uni-data-select required class="right" :localdata="HDeptList" dataKey="閮ㄩ棬鍚嶇О"
+                        dataValue="HItemID" v-model="hform.HDeptID">
+                    </zxz-uni-data-select>
+                </view>
+                <view class="form-item">
+                    <view class="title required">缁翠慨浜�:</view>
+                    <zxz-uni-data-select required class="right" :localdata="HEmpList" dataKey="HName"
+                        dataValue="HItemID" v-model="hform.HEmpID">
+                    </zxz-uni-data-select>
+                </view>
+                <view class="form-item">
+                    <view class="title required">缁翠慨椤圭洰:</view>
+                    <zxz-uni-data-select required class="right" :localdata="HRepairList" dataKey="缁翠慨椤圭洰"
+                        dataValue="hitemid" v-model="hform.HRepairID" filterable>
+                    </zxz-uni-data-select>
+                </view>
+                <view class="form-item">
+                    <view class="title required">璐熻矗浜�:</view>
+                    <zxz-uni-data-select required class="right" :localdata="HEmpList" dataKey="HName"
+                        dataValue="HItemID" v-model="hform.HManagerID">
+                    </zxz-uni-data-select>
+                </view>
+                <view class="form-item">
+                    <view class="title">璁惧鍚嶇О:</view>
+                    <view class="righton">
+                        <input v-model="hform.HBarName" disabled />
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">璁惧瑙勬牸:</view>
+                    <view class="righton">
+                        <input v-model="hform.HBarSpec" disabled />
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">璁惧鍨嬪彿:</view>
+                    <view class="righton">
+                        <input v-model="hform.HBarModel" disabled />
+                    </view>
+                </view>
+            </view>
+        </template>
 
-		<!-- 鍏朵粬淇℃伅 -->
-		<template v-if="tabs == 2">
-			<view class="form" :style="{
+        <!-- 鍏朵粬淇℃伅 -->
+        <template v-if="tabs == 2">
+            <view class="form" :style="{
                 height: containerHeight + 'px',
                 overflow: 'auto'
             }">
-				<view class="form-item">
-					<view class="title">鍒涘缓浜�:</view>
-					<view class="righton">
-						<input v-model="hform.HMaker" />
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">鍒涘缓鏃ユ湡:</view>
-					<view class="righton">
-						<input v-model="hform.HMakeDate" />
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">淇敼浜�:</view>
-					<view class="righton">
-						<input v-model="hform.HUpDater" />
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">淇敼鏃ユ湡:</view>
-					<view class="righton">
-						<input v-model="hform.HUpDateDate" />
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">瀹℃牳浜�:</view>
-					<view class="righton">
-						<input v-model="hform.HChecker" />
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">瀹℃牳鏃堕棿:</view>
-					<view class="righton">
-						<input v-model="hform.HCheckDate" />
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">浣滃簾浜�:</view>
-					<view class="righton">
-						<input v-model="hform.HDeleteMan" />
-					</view>
-				</view>
-				<view class="form-item">
-					<view class="title">浣滃簾鏃ユ湡:</view>
-					<view class="righton">
-						<input v-model="hform.HDeleteDate" />
-					</view>
-				</view>
-			</view>
+                <view class="form-item">
+                    <view class="title">鍒涘缓浜�:</view>
+                    <view class="righton">
+                        <input v-model="hform.HMaker" />
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">鍒涘缓鏃ユ湡:</view>
+                    <view class="righton">
+                        <input v-model="hform.HMakeDate" />
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">淇敼浜�:</view>
+                    <view class="righton">
+                        <input v-model="hform.HUpDater" />
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">淇敼鏃ユ湡:</view>
+                    <view class="righton">
+                        <input v-model="hform.HUpDateDate" />
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">瀹℃牳浜�:</view>
+                    <view class="righton">
+                        <input v-model="hform.HChecker" />
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">瀹℃牳鏃堕棿:</view>
+                    <view class="righton">
+                        <input v-model="hform.HCheckDate" />
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">浣滃簾浜�:</view>
+                    <view class="righton">
+                        <input v-model="hform.HDeleteMan" />
+                    </view>
+                </view>
+                <view class="form-item">
+                    <view class="title">浣滃簾鏃ユ湡:</view>
+                    <view class="righton">
+                        <input v-model="hform.HDeleteDate" />
+                    </view>
+                </view>
+            </view>
 
-		</template>
-		<!-- 鎿嶄綔鎸夐挳 -->
-		<view class="buttons" id="buttons">
-			<button class="btn-a" size="mini" @tap="submit">鎻愪氦</button>
-			<view style="flex: 1;"></view>
-			<button class="btn-a" v-if="operationType!=4" size="mini" @tap="addNew">鏂板</button>
-			<button class="btn-c" size="mini" @tap="goBack">閫�鍑�</button>
-		</view>
-		<!-- <xe-upload ref="XeUpload" :options="uploadOptions" @callback="handleUploadCallback"></xe-upload> -->
-		<!-- 婧愬崟鍗曟嵁鍒楄〃寮圭獥 -->
-		<BillListPopupEquipConkBookBillVue ref="billList" :HBillType="hform.HBillType"
-			:HSourceBillType="hform.HMainSourceBillType" :HStockOrgID="hform.HStockOrgID">
-		</BillListPopupEquipConkBookBillVue>
-	</view>
+        </template>
+        <!-- 鎿嶄綔鎸夐挳 -->
+        <view class="buttons" id="buttons">
+            <button class="btn-a" size="mini" @tap="submit">鎻愪氦</button>
+            <view style="flex: 1;"></view>
+            <button class="btn-a" v-if="operationType!=4" size="mini" @tap="addNew">鏂板</button>
+            <button class="btn-c" size="mini" @tap="goBack">閫�鍑�</button>
+        </view>
+        <!-- <xe-upload ref="XeUpload" :options="uploadOptions" @callback="handleUploadCallback"></xe-upload> -->
+        <!-- 婧愬崟鍗曟嵁鍒楄〃寮圭獥 -->
+        <BillListPopupEquipConkBookBillVue ref="billList" :HBillType="hform.HBillType"
+            :HSourceBillType="hform.HMainSourceBillType" :HStockOrgID="hform.HStockOrgID">
+        </BillListPopupEquipConkBookBillVue>
+    </view>
 </template>
 
 <script>
-	import dayjs from "dayjs";
-	import {
-		CommonUtils
-	} from "@/utils/common";
-	import {
-		MpaasScan
-	} from "@/utils/mpaasScan.js"
-	import {
-		getUserInfo
-	} from "../../../utils/auth";
-	// 寮曞叆婧愬崟鍗曟嵁鍒楄〃寮圭獥缁勪欢
-	import BillListPopupEquipConkBookBillVue from '../../../components/BillListPopup/BillListPopupEquipConkBookBill.vue';
+    import dayjs from "dayjs";
+    import {
+        CommonUtils
+    } from "@/utils/common";
+    import {
+        MpaasScan
+    } from "@/utils/mpaasScan.js"
+    import {
+        getUserInfo
+    } from "../../../utils/auth";
+    // 寮曞叆婧愬崟鍗曟嵁鍒楄〃寮圭獥缁勪欢
+    import BillListPopupEquipConkBookBillVue from '../../../components/BillListPopup/BillListPopupEquipConkBookBill.vue';
 
-	export default {
-		// 璁惧缁翠慨璁板綍鍗�
-		name: 'Sb_EqpMaintenanceBill',
-		components: {
-			BillListPopupEquipConkBookBillVue
-		},
-		data() {
-			return {
-				tabs: 0,
-				
-				btnTop: 0,
-				tabsBottom: 0,
-				HModName: "Sb_EqpMaintenanceBill",
-				HBillType: '3910',
-				operationType: 1,
-				uploadOptions: {},
-				enableEdit: true,
-				enableSourceBillEdit: true,
+    export default {
+        // 璁惧缁翠慨璁板綍鍗�
+        name: 'Sb_EqpMaintenanceBill',
+        components: {
+            BillListPopupEquipConkBookBillVue
+        },
+        data() {
+            return {
+                tabs: 0,
 
-				// 婧愬崟绫诲瀷鐩稿叧
-				HMainSourceBillType: "璁惧缁翠慨鐧昏鍗�", // 鐢ㄤ簬鏄剧ず鐨勬簮鍗曠被鍨�
-				arrayHMainSourceBillType: ['璁惧缁翠慨鐧昏鍗�', '鎵嬪伐褰曞叆', '璁惧缁翠慨娲惧伐鍗�'],
-				arrayHMainSourceBillTypeID: ['璁惧缁翠慨鐧昏鍗�', '鎵嬪伐褰曞叆', '璁惧缁翠慨娲惧伐鍗�'], // 瀵瑰簲鐨勫崟鎹被鍨婭D
-				showHMainSourceBillType: true,
+                btnTop: 0,
+                tabsBottom: 0,
+                HModName: "Sb_EqpMaintenanceBill",
+                HBillType: '3910',
+                operationType: 1,
+                uploadOptions: {},
+                enableEdit: true,
+                enableSourceBillEdit: false,
 
-				HDeptList: [],
-				HRepairCheckList: [],
-				HEmpList: [],
-				HRepairList: [],
+                // 婧愬崟绫诲瀷鐩稿叧
+                HMainSourceBillType: "鎵嬪伐褰曞叆", // 鐢ㄤ簬鏄剧ず鐨勬簮鍗曠被鍨�
+                arrayHMainSourceBillType: ['璁惧缁翠慨鐧昏鍗�', '鎵嬪伐褰曞叆', '璁惧缁翠慨娲惧伐鍗�'],
+                arrayHMainSourceBillTypeID: ['璁惧缁翠慨鐧昏鍗�', '鎵嬪伐褰曞叆', '璁惧缁翠慨娲惧伐鍗�'], // 瀵瑰簲鐨勫崟鎹被鍨婭D
+                showHMainSourceBillType: true,
 
-				hform: {
-					HBillType: '3910',
-					HStockOrgID: uni.getStorageSync("OrganizationID"),
-					HBarCode: "",
-					HBarCode: '',
-					HRepairBeginDate: dayjs(new Date()).format("YYYY-MM-DD HH:mm:ss"),
-					HRepairEndDate: dayjs(new Date()).format("YYYY-MM-DD HH:mm:ss"),
-					HRepairContent: '',
-					HBillNo: '',
-					HInterID: 0,
-					HDate: dayjs(new Date()).format("YYYY-MM-DD HH:mm:ss"),
-					HDeptName: getUserInfo().HDeptName,
-					HDeptID: getUserInfo().HDeptID,
-					HEmpName: getUserInfo().HEmpName,
-					HEmpID: getUserInfo().HEmpID,
-					HRepair: '',
-					HRepairID: 0,
-					HExplanation: '',
-					HMainSourceBillType: '璁惧缁翠慨鐧昏鍗�', // 榛樿涓鸿澶囩淮淇櫥璁板崟
-					HMainSourceBillNo: '',
-					HMainSourceInterID: 0,
-					HMainSourceEntryID: 0,
-					HManagerName: getUserInfo().HManagerName,
-					HManagerID: getUserInfo().HManagerID,
-					HTimes: 0,
-					HCycleUnit: '灏忔椂',
-					HBarName: '',
-					HNumber: '',
-					HEquipID: 0,
-					HBarSpec: '',
-					HBarModel: '',
-					HMaker: getUserInfo()["Czymc"],
-					HChecker: '',
-					HCloseMan: '',
-					HUpDater: '',
-					HMakeDate: dayjs(new Date()).format("YYYY-MM-DD"),
-					HCheckDate: '',
-					HCloseDate: '',
-					HUpDateDate: '',
-					HDeleteMan: '',
-					HDeleteDate: ''
-				},
-				HDetailList: [{
-					"HRepairID": 0,
-					"HRepairCode": "",
-					"HRepairName": "",
-					"HManagerID": 0,
-					"HManagerCode": "",
-					"HManagerName": "",
-					"HRepairExplanation": '',
-					"HRemark": "",
-					"HEmpID": '',
-					"HSourceInterID": 0,
-					"HSourceEntryID": 0,
-					"HSourceBillNo": ''
-				}]
-			};
-		},
-		computed: {
-			containerHeight: {
-				get() {
-					return this.btnTop - this.tabsBottom - 5
-				}
-			},
-		},
-		methods: {
-			// 鏄剧ず婧愬崟鍗曟嵁鍒楄〃寮圭獥
-			showBillList() {
-				this.$refs.billList.showPopup()
-			},
+                HDeptList: [],
+                HRepairCheckList: [],
+                HEmpList: [],
+                HRepairList: [],
 
-			// 閫夋嫨婧愬崟绫诲瀷
-			HMainSourceBillTypeChange(e) {
-				if (e.detail.value == -1 || e.detail.value == NaN) {
-					this.HMainSourceBillType = '鎵嬪伐褰曞叆'
-					this.hform.HMainSourceBillType = '鎵嬪伐褰曞叆'
-					return
-				}
-
-				this.HMainSourceBillType = this.arrayHMainSourceBillType[e.detail.value]
-				this.hform.HMainSourceBillType = this.arrayHMainSourceBillTypeID[e.detail.value]
-
-				// 缂撳瓨褰撳墠椤甸潰閫夋嫨
-				const pages = getCurrentPages()
-				const currentPage = pages[pages.length - 1]
-				uni.setStorageSync(`${currentPage.route.split("/").pop()}_HSourceBillTypeCache`, {
-					HSourceBillTypeName: this.HMainSourceBillType,
-					HSourceBillType: this.hform.HMainSourceBillType
-				})
-			},
-
-			// 璇诲彇缂撳瓨
-			loadCache() {
-				const pages = getCurrentPages()
-				const currentPage = pages[pages.length - 1]
-				let HBillTypeCache = uni.getStorageSync(`${currentPage.route.split("/").pop()}_HSourceBillTypeCache`)
-				if (HBillTypeCache) {
-					this.HMainSourceBillType = HBillTypeCache.HSourceBillTypeName
-					this.hform.HMainSourceBillType = HBillTypeCache.HSourceBillType
-				}
-			},
-
-			// 缁翠慨椤圭洰
-			async getRepairList() {
-				try {
-					let res = await CommonUtils.doRequest2Async({
-						url: '/Gy_Repair/GetRepairList',
-						data: {
-							sWhere: '',
-							user: getUserInfo()["Czymc"]
-						}
-					})
-
-					let {
-						data,
-						count,
-						Message
-					} = res.data
-					if (count == 1) {
-						this.HRepairList = data
-					} else {
-						CommonUtils.showTips({
-							title: '娓╅Θ鎻愮ず',
-							message: `鑾峰彇缁翠慨椤圭洰澶辫触: ${Message}`
-						})
-					}
-				} catch (err) {
-					CommonUtils.showTips({
-						title: '娓╅Θ鎻愮ず',
-						message: `鑾峰彇缁翠慨椤圭洰澶辫触: ${err}`
-					})
-				}
-			},
-			// 鍒犻櫎鏄庣粏
-			delDetail(item) {
-
-			},
-			// 鎻愪氦鏁版嵁鏈夋晥鎬ф牎楠�
-			ValidCheck() {
-				if (this.hform.HEquipID == 0) {
-					return {
-						Message: "鏈綍鍏ヨ澶囦俊鎭紝璇峰厛褰曞叆璁惧淇℃伅!",
-						state: false
-					}
-				}
-				if (this.hform.HDeptID == 0) {
-					return {
-						Message: "閮ㄩ棬涓嶅緱涓虹┖!",
-						state: false
-					}
-				}
-				if (this.hform.HEmpID == 0) {
-					return {
-						Message: "楠屾敹浜轰笉寰椾负绌�!",
-						state: false
-					}
-				}
-				if (this.hform.HRepairCheckMainID == 0) {
-					return {
-						Message: "缁翠慨椤圭洰涓嶅緱涓虹┖!",
-						state: false
-					}
-				}
-				if (this.hform.HManagerID == 0) {
-					return {
-						Message: "璐熻矗浜轰笉寰椾负绌�!",
-						state: false
-					}
-				}
-				if (this.hform.HMainSourceBillType !== '鎵嬪伐褰曞叆') {
-					if (!this.hform.HMainSourceBillNo || this.hform.HMainSourceBillNo.trim() === '') {
-						CommonUtils.showTips({
-							message: '婧愬崟绫诲瀷闈炴墜宸ュ綍鍏ワ紝蹇呴』閫夋嫨婧愬崟锛�'
-						})
-						return
-					}
-				}
-				return {
-					Message: "",
-					state: true
-				}
-			},
-			addNew() {
-				uni.redirectTo({
-					url: './Sb_EqpMaintenanceBill?operationType=1'
-				})
-			},
-			goBack() {
-				uni.navigateBack()
-			},
-			checkBoxChangeHandler(index, e) {
-				let cr = e.detail.value
-				if (cr.length == 0) {
-					this.HCheckFileList[index]["HDotCheckResult"] = false
-				} else {
-					this.HCheckFileList[index]["HDotCheckResult"] = true
-				}
-			},
-			uploadFile(index) {
-				console.log('filePath: ', this.attachmentInfo[index].filePath);
-				// 閫氳繃涓存椂璺緞璇诲彇鏂囦欢
-				uni.uploadFile({
-					url: CommonUtils.getServerUrl() + "/Sb_EquipDotCheckBill/UploadFile",
-					filePath: this.attachmentInfo[index].filePath,
-					name: 'file',
-					formData: {
-						HBillNo: this.hform.HBillNo,
-						HRemark: "",
-						HUserName: getUserInfo()["Czymc"]
-					},
-					success: (uploadRes) => {
-						CommonUtils.showTips({
-							message: "涓婁紶鎴愬姛"
-						})
-						this.attachmentInfo[index].status = "涓婁紶鎴愬姛"
-					},
-					fail: (err) => {
-						CommonUtils.showTips({
-							title: '娓╅Θ鎻愮ず',
-							message: `涓婁紶澶辫触: ${err}`
-						})
-					}
-				})
-			},
-			delFile(index) {
-				console.log('attachmentInfo: ', this.attachmentInfo[index]);
-				uni.showModal({
-					title: '鎻愮ず',
-					content: '纭瑕佸垹闄� " ' + this.attachmentInfo[index].fileName + ' " 鍒犻櫎鍚庡皢涓嶅彲鎭㈠锛�',
-					success: (res) => {
-						if (res.confirm) {
-							this.attachmentInfo.splice(index, 1)
-						}
-					},
-				})
-
-			},
-			handleUploadCallback(res) { // 鏂囦欢涓婁紶鍥炶皟
-				console.log('file: ', res);
-				let fileInfo = res.data[0]
-				this.attachmentInfo.push({
-					fileName: fileInfo.name,
-					size: fileInfo.size,
-					status: '绛夊緟涓婁紶',
-					filePath: fileInfo.tempFilePath
-				})
-			},
-			// 涓婁紶鏂囦欢
-			fileUpload() {
-				this.$refs.XeUpload.upload('file', {});
-			},
-			//鑾峰彇鐝鏁版嵁
-			async getShiftList() {
-				try {
-					let res = await CommonUtils.doRequest2Async({
-						url: '/Web/GetGy_ShiftsList_Json',
-						data: {
-							Shifts: "",
-						}
-					})
-
-					let {
-						data,
-						count,
-						Message
-					} = res.data
-					if (count == 1) {
-						this.HShiftsList = data
-					} else {
-						CommonUtils.showTips({
-							title: '娓╅Θ鎻愮ず',
-							message: Message
-						})
-					}
-				} catch (err) {
-					CommonUtils.showTips({
-						title: '娓╅Θ鎻愮ず',
-						message: err
-					})
-				}
-			},
-			//鑾峰彇浣跨敤閮ㄩ棬鏁版嵁
-			async getHDeptList() {
-				try {
-					let res = await CommonUtils.doRequest2Async({
-						url: '/Gy_Department/list',
-						data: {
-							sWhere: ` and HUSEORGID = ${uni.getStorageSync('OrganizationID')} `,
-							user: uni.getStorageSync('HUserName'),
-							Organization: uni.getStorageSync('Organization')
-						}
-					})
-
-					let {
-						data,
-						count,
-						Message
-					} = res.data
-					if (count == 1) {
-						this.HDeptList = data
-					} else {
-						CommonUtils.showTips({
-							title: '娓╅Θ鎻愮ず',
-							message: Message
-						})
-					}
-				} catch (err) {
-					CommonUtils.showTips({
-						title: '娓╅Θ鎻愮ず',
-						message: err
-					})
-				}
-			},
-			// 鑾峰彇鑱屽憳鏁版嵁
-			async getEmpList() {
-                let sWhere=  " where 1=1"
-                if(this.hform.HDeptName){
-                    // sWhere += ` and HDeptName = '${this.hform.HDeptName}'`
+                hform: {
+                    HBillType: '3910',
+                    HStockOrgID: uni.getStorageSync("OrganizationID"),
+                    HBarCode: "",
+                    HBarCode: '',
+                    HRepairBeginDate: dayjs(new Date()).format("YYYY-MM-DD"),
+                    HRepairEndDate: dayjs(new Date()).format("YYYY-MM-DD"),
+                    HRepairContent: '',
+                    HBillNo: '',
+                    HInterID: 0,
+                    HDate: dayjs(new Date()).format("YYYY-MM-DD"),
+                    HDeptName: getUserInfo().HDeptName,
+                    HDeptID: getUserInfo().HDeptID,
+                    HEmpName: getUserInfo().HEmpName,
+                    HEmpID: getUserInfo().HEmpID,
+                    HRepair: '',
+                    HRepairID: 0,
+                    HExplanation: '',
+                    HMainSourceBillType: '璁惧缁翠慨鐧昏鍗�', // 榛樿涓鸿澶囩淮淇櫥璁板崟
+                    HMainSourceBillNo: '',
+                    HMainSourceInterID: 0,
+                    HMainSourceEntryID: 0,
+                    HManagerName: getUserInfo().HManagerName,
+                    HManagerID: getUserInfo().HManagerID,
+                    HTimes: 0,
+                    HCycleUnit: '灏忔椂',
+                    HBarName: '',
+                    HNumber: '',
+                    HEquipID: 0,
+                    HBarSpec: '',
+                    HBarModel: '',
+                    HMaker: getUserInfo()["Czymc"],
+                    HChecker: '',
+                    HCloseMan: '',
+                    HUpDater: '',
+                    HMakeDate: dayjs(new Date()).format("YYYY-MM-DD"),
+                    HCheckDate: '',
+                    HCloseDate: '',
+                    HUpDateDate: '',
+                    HDeleteMan: '',
+                    HDeleteDate: ''
+                },
+                HDetailList: [{
+                    "HRepairID": 0,
+                    "HRepairCode": "",
+                    "HRepairName": "",
+                    "HManagerID": 0,
+                    "HManagerCode": "",
+                    "HManagerName": "",
+                    "HRepairExplanation": '',
+                    "HRemark": "",
+                    "HEmpID": '',
+                    "HSourceInterID": 0,
+                    "HSourceEntryID": 0,
+                    "HSourceBillNo": ''
+                }]
+            };
+        },
+        computed: {
+            containerHeight: {
+                get() {
+                    return this.btnTop - this.tabsBottom - 5
                 }
-				try {
-					let res = await CommonUtils.doRequest2Async({
-						url: '/PublicPageMethod/UserList',
-						data: {
-							sWhere: sWhere
-						}
-					})
+            },
+        },
+        methods: {
+            // 鏄剧ず婧愬崟鍗曟嵁鍒楄〃寮圭獥
+            showBillList() {
+                this.$refs.billList.showPopup()
+            },
 
-					let {
-						data,
-						count,
-						Message
-					} = res.data
-					if (count == 1) {
-						this.HEmpList = data
-					} else {
-						CommonUtils.showTips({
-							title: '娓╅Θ鎻愮ず',
-							message: Message
-						})
-					}
-				} catch (err) {
-					CommonUtils.showTips({
-						title: '娓╅Θ鎻愮ず',
-						message: err
-					})
-				}
-			},
-			// 鑾峰彇楠岃瘉椤圭洰鏁版嵁
-			async getCheckProjList() {
-				try {
-					let res = await CommonUtils.doRequest2Async({
-						url: '/Gy_RepairCheck/GetRepairCheckList',
-						data: {
-							sWhere: "",
-							user: uni.getStorageSync('HUserName'),
-						}
-					})
+            // 閫夋嫨婧愬崟绫诲瀷
+            HMainSourceBillTypeChange(e) {
+                if (e.detail.value == -1 || e.detail.value == NaN) {
+                    this.HMainSourceBillType = '鎵嬪伐褰曞叆'
+                    this.hform.HMainSourceBillType = '鎵嬪伐褰曞叆'
+                    this.enableSourceBillEdit = false
+                    return
+                }
 
-					let {
-						data,
-						count,
-						Message
-					} = res.data
-					if (count == 1) {
-						this.HRepairCheckList = data
-					} else {
-						CommonUtils.showTips({
-							title: '娓╅Θ鎻愮ず',
-							message: Message
-						})
-					}
-				} catch (err) {
-					CommonUtils.showTips({
-						title: '娓╅Θ鎻愮ず',
-						message: err
-					})
-				}
-			},
-			toScanCode() {
-				MpaasScan.scanCode(cb => {
-					this.hform.HBarCode = cb
-					this.GetMessageByBarCode(cb)
-				})
-			},
-			toScanHMainSourceBillNo() {
-				MpaasScan.scanCode(cb => {
-					this.hfrom.HMainSourceBillNo = cb
-					this.GetMessageByHMainSourceBillNo(cb)
-				})
-			},
-			async GetMessageByHMainSourceBillNo(HSouceBillNo) {
-				try {
+                if (e.detail.value == 1) {
+                    this.enableSourceBillEdit = false
+                } else {
+                    this.enableSourceBillEdit = true
+                }
+
+                this.HMainSourceBillType = this.arrayHMainSourceBillType[e.detail.value]
+                this.hform.HMainSourceBillType = this.arrayHMainSourceBillTypeID[e.detail.value]
+
+                // 缂撳瓨褰撳墠椤甸潰閫夋嫨
+                const pages = getCurrentPages()
+                const currentPage = pages[pages.length - 1]
+                uni.setStorageSync(`${currentPage.route.split("/").pop()}_HSourceBillTypeCache`, {
+                    HSourceBillTypeName: this.HMainSourceBillType,
+                    HSourceBillType: this.hform.HMainSourceBillType
+                })
+            },
+
+            // 璇诲彇缂撳瓨
+            loadCache() {
+                const pages = getCurrentPages()
+                const currentPage = pages[pages.length - 1]
+                let HBillTypeCache = uni.getStorageSync(`${currentPage.route.split("/").pop()}_HSourceBillTypeCache`)
+                if (HBillTypeCache) {
+                    this.HMainSourceBillType = HBillTypeCache.HSourceBillTypeName
+                    this.hform.HMainSourceBillType = HBillTypeCache.HSourceBillType
+                }
+            },
+
+            // 缁翠慨椤圭洰
+            async getRepairList() {
+                try {
+                    let res = await CommonUtils.doRequest2Async({
+                        url: '/Gy_Repair/GetRepairList',
+                        data: {
+                            sWhere: '',
+                            user: getUserInfo()["Czymc"]
+                        }
+                    })
+
+                    let {
+                        data,
+                        count,
+                        Message
+                    } = res.data
+                    if (count == 1) {
+                        this.HRepairList = data
+                    } else {
+                        CommonUtils.showTips({
+                            title: '娓╅Θ鎻愮ず',
+                            message: `鑾峰彇缁翠慨椤圭洰澶辫触: ${Message}`
+                        })
+                    }
+                } catch (err) {
+                    CommonUtils.showTips({
+                        title: '娓╅Θ鎻愮ず',
+                        message: `鑾峰彇缁翠慨椤圭洰澶辫触: ${err}`
+                    })
+                }
+            },
+            // 鍒犻櫎鏄庣粏
+            delDetail(item) {
+
+            },
+            // 鎻愪氦鏁版嵁鏈夋晥鎬ф牎楠�
+            ValidCheck() {
+                if (this.hform.HEquipID == 0) {
+                    return {
+                        Message: "鏈綍鍏ヨ澶囦俊鎭紝璇峰厛褰曞叆璁惧淇℃伅!",
+                        state: false
+                    }
+                }
+                if (this.hform.HDeptID == 0) {
+                    return {
+                        Message: "閮ㄩ棬涓嶅緱涓虹┖!",
+                        state: false
+                    }
+                }
+                if (this.hform.HEmpID == 0) {
+                    return {
+                        Message: "楠屾敹浜轰笉寰椾负绌�!",
+                        state: false
+                    }
+                }
+                if (this.hform.HRepairCheckMainID == 0) {
+                    return {
+                        Message: "缁翠慨椤圭洰涓嶅緱涓虹┖!",
+                        state: false
+                    }
+                }
+                if (this.hform.HManagerID == 0) {
+                    return {
+                        Message: "璐熻矗浜轰笉寰椾负绌�!",
+                        state: false
+                    }
+                }
+                if (this.hform.HMainSourceBillType !== '鎵嬪伐褰曞叆') {
+                    if (!this.hform.HMainSourceBillNo || this.hform.HMainSourceBillNo.trim() === '') {
+                        CommonUtils.showTips({
+                            message: '婧愬崟绫诲瀷闈炴墜宸ュ綍鍏ワ紝蹇呴』閫夋嫨婧愬崟锛�'
+                        })
+                        return
+                    }
+                }
+                return {
+                    Message: "",
+                    state: true
+                }
+            },
+            addNew() {
+                uni.redirectTo({
+                    url: './Sb_EqpMaintenanceBill?operationType=1'
+                })
+            },
+            goBack() {
+                uni.navigateBack()
+            },
+            checkBoxChangeHandler(index, e) {
+                let cr = e.detail.value
+                if (cr.length == 0) {
+                    this.HCheckFileList[index]["HDotCheckResult"] = false
+                } else {
+                    this.HCheckFileList[index]["HDotCheckResult"] = true
+                }
+            },
+            uploadFile(index) {
+                console.log('filePath: ', this.attachmentInfo[index].filePath);
+                // 閫氳繃涓存椂璺緞璇诲彇鏂囦欢
+                uni.uploadFile({
+                    url: CommonUtils.getServerUrl() + "/Sb_EquipDotCheckBill/UploadFile",
+                    filePath: this.attachmentInfo[index].filePath,
+                    name: 'file',
+                    formData: {
+                        HBillNo: this.hform.HBillNo,
+                        HRemark: "",
+                        HUserName: getUserInfo()["Czymc"]
+                    },
+                    success: (uploadRes) => {
+                        CommonUtils.showTips({
+                            message: "涓婁紶鎴愬姛"
+                        })
+                        this.attachmentInfo[index].status = "涓婁紶鎴愬姛"
+                    },
+                    fail: (err) => {
+                        CommonUtils.showTips({
+                            title: '娓╅Θ鎻愮ず',
+                            message: `涓婁紶澶辫触: ${err}`
+                        })
+                    }
+                })
+            },
+            delFile(index) {
+                console.log('attachmentInfo: ', this.attachmentInfo[index]);
+                uni.showModal({
+                    title: '鎻愮ず',
+                    content: '纭瑕佸垹闄� " ' + this.attachmentInfo[index].fileName + ' " 鍒犻櫎鍚庡皢涓嶅彲鎭㈠锛�',
+                    success: (res) => {
+                        if (res.confirm) {
+                            this.attachmentInfo.splice(index, 1)
+                        }
+                    },
+                })
+
+            },
+            handleUploadCallback(res) { // 鏂囦欢涓婁紶鍥炶皟
+                console.log('file: ', res);
+                let fileInfo = res.data[0]
+                this.attachmentInfo.push({
+                    fileName: fileInfo.name,
+                    size: fileInfo.size,
+                    status: '绛夊緟涓婁紶',
+                    filePath: fileInfo.tempFilePath
+                })
+            },
+            // 涓婁紶鏂囦欢
+            fileUpload() {
+                this.$refs.XeUpload.upload('file', {});
+            },
+            //鑾峰彇鐝鏁版嵁
+            async getShiftList() {
+                try {
+                    let res = await CommonUtils.doRequest2Async({
+                        url: '/Web/GetGy_ShiftsList_Json',
+                        data: {
+                            Shifts: "",
+                        }
+                    })
+
+                    let {
+                        data,
+                        count,
+                        Message
+                    } = res.data
+                    if (count == 1) {
+                        this.HShiftsList = data
+                    } else {
+                        CommonUtils.showTips({
+                            title: '娓╅Θ鎻愮ず',
+                            message: Message
+                        })
+                    }
+                } catch (err) {
+                    CommonUtils.showTips({
+                        title: '娓╅Θ鎻愮ず',
+                        message: err
+                    })
+                }
+            },
+            //鑾峰彇浣跨敤閮ㄩ棬鏁版嵁
+            async getHDeptList() {
+                try {
+                    let res = await CommonUtils.doRequest2Async({
+                        url: '/Gy_Department/list',
+                        data: {
+                            sWhere: ` and HUSEORGID = ${uni.getStorageSync('OrganizationID')} `,
+                            user: uni.getStorageSync('HUserName'),
+                            Organization: uni.getStorageSync('Organization')
+                        }
+                    })
+
+                    let {
+                        data,
+                        count,
+                        Message
+                    } = res.data
+                    if (count == 1) {
+                        this.HDeptList = data
+                    } else {
+                        CommonUtils.showTips({
+                            title: '娓╅Θ鎻愮ず',
+                            message: Message
+                        })
+                    }
+                } catch (err) {
+                    CommonUtils.showTips({
+                        title: '娓╅Θ鎻愮ず',
+                        message: err
+                    })
+                }
+            },
+            // 鑾峰彇鑱屽憳鏁版嵁
+            async getEmpList() {
+                let sWhere = " where 1=1 "
+                if (this.hform.HDeptName && uni.getStorageSync("Organization") == '瀹佹尝甯傚崕鑸熷寘瑁呮湁闄愬叕鍙�') {
+                    sWhere += ` and HDeptName = '${this.hform.HDeptName}'`
+                }
+                try {
+                    let res = await CommonUtils.doRequest2Async({
+                        url: '/PublicPageMethod/UserList',
+                        data: {
+                            sWhere: sWhere
+                        }
+                    })
+
+                    let {
+                        data,
+                        count,
+                        Message
+                    } = res.data
+                    if (count == 1) {
+                        this.HEmpList = data
+                    } else {
+                        CommonUtils.showTips({
+                            title: '娓╅Θ鎻愮ず',
+                            message: Message
+                        })
+                    }
+                } catch (err) {
+                    CommonUtils.showTips({
+                        title: '娓╅Θ鎻愮ず',
+                        message: err
+                    })
+                }
+            },
+            // 鑾峰彇楠岃瘉椤圭洰鏁版嵁
+            async getCheckProjList() {
+                try {
+                    let res = await CommonUtils.doRequest2Async({
+                        url: '/Gy_RepairCheck/GetRepairCheckList',
+                        data: {
+                            sWhere: "",
+                            user: uni.getStorageSync('HUserName'),
+                        }
+                    })
+
+                    let {
+                        data,
+                        count,
+                        Message
+                    } = res.data
+                    if (count == 1) {
+                        this.HRepairCheckList = data
+                    } else {
+                        CommonUtils.showTips({
+                            title: '娓╅Θ鎻愮ず',
+                            message: Message
+                        })
+                    }
+                } catch (err) {
+                    CommonUtils.showTips({
+                        title: '娓╅Θ鎻愮ず',
+                        message: err
+                    })
+                }
+            },
+            toScanCode() {
+                MpaasScan.scanCode(cb => {
+                    this.hform.HBarCode = cb
+                    this.GetMessageByBarCode(cb)
+                })
+            },
+            toScanHMainSourceBillNo() {
+                MpaasScan.scanCode(cb => {
+                    this.hfrom.HMainSourceBillNo = cb
+                    this.GetMessageByHMainSourceBillNo(cb)
+                })
+            },
+            async GetMessageByHMainSourceBillNo(HSouceBillNo) {
+                try {
                     let url = ''
                     let dataField = ''
-					// 鏍规嵁婧愬崟绫诲瀷閫夋嫨涓嶅悓鐨勬帴鍙�
-					if (this.hform.HMainSourceBillType === '璁惧缁翠慨鐧昏鍗�')
-                    {
-						url = "/Sb_EqpRepairWorkBill/GetEqpConkBookBillListPage";
-						dataField = {
-							sWhere: ` and 鍗曟嵁鍙� = '${HSouceBillNo}'`,
-							user: getUserInfo()["Czymc"],
-							page: 1,
-							size: 1,
-						};
-					} else if (this.hform.HMainSourceBillType === '璁惧缁翠慨娲惧伐鍗�') {
-						url = "/Sb_EquipRepairSendWorkBill/GetEquipRepairSendWorkBillListPage";
-						dataField = {
-							sWhere: ` and 鍗曟嵁鍙� = '${HSouceBillNo}'`,
-							user: getUserInfo()["Czymc"],
-							page: 1,
-							size: 1,
-						};
-					} else {
-						CommonUtils.showTips({
-							title: "娓╅Θ鎻愮ず",
-							message: `鏆備笉鏀寔璇ユ簮鍗曠被鍨嬶細${this.hform.HMainSourceBillType}`
-						})
-						return;
-					}
+                    // 鏍规嵁婧愬崟绫诲瀷閫夋嫨涓嶅悓鐨勬帴鍙�
+                    if (this.hform.HMainSourceBillType === '璁惧缁翠慨鐧昏鍗�') {
+                        url = "/Sb_EqpRepairWorkBill/GetEqpConkBookBillListPage";
+                        dataField = {
+                            sWhere: ` and 鍗曟嵁鍙� = '${HSouceBillNo}'`,
+                            user: getUserInfo()["Czymc"],
+                            page: 1,
+                            size: 1,
+                        };
+                    } else if (this.hform.HMainSourceBillType === '璁惧缁翠慨娲惧伐鍗�') {
+                        url = "/Sb_EquipRepairSendWorkBill/GetEquipRepairSendWorkBillListPage";
+                        dataField = {
+                            sWhere: ` and 鍗曟嵁鍙� = '${HSouceBillNo}'`,
+                            user: getUserInfo()["Czymc"],
+                            page: 1,
+                            size: 1,
+                        };
+                    } else {
+                        CommonUtils.showTips({
+                            title: "娓╅Θ鎻愮ず",
+                            message: `鏆備笉鏀寔璇ユ簮鍗曠被鍨嬶細${this.hform.HMainSourceBillType}`
+                        })
+                        return;
+                    }
 
-					let res = await CommonUtils.doRequest2Async({
-						url: url,
-						data: dataField
-					})
+                    let res = await CommonUtils.doRequest2Async({
+                        url: url,
+                        data: dataField
+                    })
 
-					let { count, Message, data } = res.data
-					if (count == 1) {
-						this.hform.HMainSourceBillNo = data[0]["鍗曟嵁鍙�"]
-						this.hform.HMainSourceInterID = data[0]["hmainid"]
-						this.hform.HMainSourceEntryID = data[0]["hsubid"]
+                    let {
+                        count,
+                        Message,
+                        data
+                    } = res.data
+                    if (count == 1) {
+                        this.hform.HMainSourceBillNo = data[0]["鍗曟嵁鍙�"]
+                        this.hform.HMainSourceInterID = data[0]["hmainid"]
+                        this.hform.HMainSourceEntryID = data[0]["hsubid"]
 
-					} else {
-						CommonUtils.showTips({
-							title: "娓╅Θ鎻愮ず",
-							message: `鑾峰彇婧愬崟鍗曞彿澶辫触: ${Message}`
-						})
-					}
-				} catch (err) {
-					CommonUtils.showTips({
-						title: "娓╅Θ鎻愮ず",
-						message: `鑾峰彇婧愬崟鍗曞彿澶辫触: ${err}`
-					})
-				}
-			},
-			async GetMessageByBarCode(HBarCode) {
-				try {
-					let res = await CommonUtils.doRequest2Sync({
-						url: "/Sb_PDA_EquipDotCheckBill/txtHBarCode_KeyDown_List",
-						data: {
-							HBarCode: HBarCode,
-						},
-					})
+                    } else {
+                        CommonUtils.showTips({
+                            title: "娓╅Θ鎻愮ず",
+                            message: `鑾峰彇婧愬崟鍗曞彿澶辫触: ${Message}`
+                        })
+                    }
+                } catch (err) {
+                    CommonUtils.showTips({
+                        title: "娓╅Θ鎻愮ず",
+                        message: `鑾峰彇婧愬崟鍗曞彿澶辫触: ${err}`
+                    })
+                }
+            },
+            async GetMessageByBarCode(HBarCode) {
+                try {
+                    let res = await CommonUtils.doRequest2Sync({
+                        url: "/Sb_PDA_EquipDotCheckBill/txtHBarCode_KeyDown_List",
+                        data: {
+                            HBarCode: HBarCode,
+                        },
+                    })
 
 
-					if (!res) {
-						return
-					}
+                    if (!res) {
+                        return
+                    }
 
-					let {
-						data,
-						count,
-						Message
-					} = res.data
+                    let {
+                        data,
+                        count,
+                        Message
+                    } = res.data
 
-					if (count == 1) {
-						console.log('data: ', data);
-						this.hform.HEquipID = data[0].hmainid
-						this.hform.HBarName = data[0].璁惧鍚嶇О
-						this.hform.HBarSpec = data[0].璁惧瑙勬牸
-						this.hform.HBarModel = data[0].璁惧鍨嬪彿
-						this.hform.HQty = 1
+                    if (count == 1) {
+                        console.log('data: ', data);
+                        this.hform.HEquipID = data[0].hmainid
+                        this.hform.HBarName = data[0].璁惧鍚嶇О
+                        this.hform.HBarSpec = data[0].璁惧瑙勬牸
+                        this.hform.HBarModel = data[0].璁惧鍨嬪彿
+                        this.hform.HQty = 1
 
-						this.enableEdit = false
-					} else {
-						CommonUtils.showTips({
-							title: "娓╅Θ鎻愮ず",
-							message: Message
-						})
-					}
+                        this.enableEdit = false
+                    } else {
+                        CommonUtils.showTips({
+                            title: "娓╅Θ鎻愮ず",
+                            message: Message
+                        })
+                    }
 
-				} catch (err) {
-					CommonUtils.showTips({
-						title: "娓╅Θ鎻愮ず",
-						message: err
-					})
-				}
-			},
-			radioChange({
-				detail: {
-					value
-				}
-			}) {
-				this.hform.HCheckResult = value
-			},
-			async getMaxNum() {
-				try {
-					let res = await CommonUtils.doRequest2Async({
-						url: "/Web/GetMAXNum",
-						data: {
-							"HBillType": this.HBillType
-						}
-					})
-					let {
-						count,
-						data,
-						Message
-					} = res.data
-					this.hform.HInterID = 0
-					this.hform.HBillNo = data[0]["HBillNo"]
-				} catch (err) {
-					CommonUtils.showTips({
-						title: "娓╅Θ鎻愮ず",
-						message: "鑾峰彇鍗曟嵁淇℃伅寮傚父: " + err
-					})
-				}
-			},
-			async submit() {
-				let valid = this.ValidCheck()
-				if (!valid.state) {
-					CommonUtils.showTips({
-						message: valid.Message
-					})
-					return
-				}
-                
-				try {
-					let oMain = JSON.stringify(this.hform);
-					this.HDetailList[0].HManagerID = this.hform.HManagerID
-					this.HDetailList[0].HRepairID = this.hform.HRepairID
-					this.HDetailList[0].HRepairExplanation = this.hform.HExplanation
-					this.HDetailList[0].HEmpID = this.hform.HEmpID
-					this.HDetailList[0].HSourceInterID = this.hform.HMainSourceInterID
-					this.HDetailList[0].HSourceEntryID = this.hform.HMainSourceEntryID
-					this.HDetailList[0].HSourceBillNo = this.hform.HMainSourceBillNo
+                } catch (err) {
+                    CommonUtils.showTips({
+                        title: "娓╅Θ鎻愮ず",
+                        message: err
+                    })
+                }
+            },
+            radioChange({
+                detail: {
+                    value
+                }
+            }) {
+                this.hform.HCheckResult = value
+            },
+            async getMaxNum() {
+                try {
+                    let res = await CommonUtils.doRequest2Async({
+                        url: "/Web/GetMAXNum",
+                        data: {
+                            "HBillType": this.HBillType
+                        }
+                    })
+                    let {
+                        count,
+                        data,
+                        Message
+                    } = res.data
+                    this.hform.HInterID = 0
+                    this.hform.HBillNo = data[0]["HBillNo"]
+                } catch (err) {
+                    CommonUtils.showTips({
+                        title: "娓╅Θ鎻愮ず",
+                        message: "鑾峰彇鍗曟嵁淇℃伅寮傚父: " + err
+                    })
+                }
+            },
+            async submit() {
+                let valid = this.ValidCheck()
+                if (!valid.state) {
+                    CommonUtils.showTips({
+                        message: valid.Message
+                    })
+                    return
+                }
 
-					let sSubStr = JSON.stringify(this.HDetailList);
-					let sMainSub = oMain + ';' + sSubStr;
-					let res = await CommonUtils.doRequest2Sync({
-						url: "/Sb_PDA_EqpRepairWorkBill/SaveGetEqpRepairWorkBillList",
-						data: {
-							"msg": sMainSub
-						},
-						method: "POST"
-					})
+                try {
+                    let oMain = JSON.stringify(this.hform);
+                    this.HDetailList[0].HManagerID = this.hform.HManagerID
+                    this.HDetailList[0].HRepairID = this.hform.HRepairID
+                    this.HDetailList[0].HRepairExplanation = this.hform.HExplanation
+                    this.HDetailList[0].HEmpID = this.hform.HEmpID
+                    this.HDetailList[0].HSourceInterID = this.hform.HMainSourceInterID
+                    this.HDetailList[0].HSourceEntryID = this.hform.HMainSourceEntryID
+                    this.HDetailList[0].HSourceBillNo = this.hform.HMainSourceBillNo
 
-					if (!res) {
-						return
-					}
+                    let sSubStr = JSON.stringify(this.HDetailList);
+                    let sMainSub = oMain + ';' + sSubStr;
+                    let res = await CommonUtils.doRequest2Sync({
+                        url: "/Sb_PDA_EqpRepairWorkBill/SaveGetEqpRepairWorkBillList",
+                        data: {
+                            "msg": sMainSub
+                        },
+                        method: "POST"
+                    })
 
-					let {
-						count,
-						Message
-					} = res.data
-					if (count == 1) {
-						if (this.operationType == 4) {
-							uni.showModal({
-								title: '鎻愮ず',
-								content: res.data.Message + '銆傚嵆灏嗚繑鍥炰笂绾ч〉闈�',
-								showCancel: false,
-								success: (res) => {
-									if (res.confirm) {
-										console.log('鐢ㄦ埛鐐瑰嚮纭畾');
-										setTimeout(() => {
-											uni.navigateBack();
-										}, 50)
-										// uni.redirectTo({
-										//     url: './Sb_EquipRepairSendWorkBill?operationType=1'
-										// })
-									} else if (res.cancel) {
-										console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
-										setTimeout(() => {
-											uni.navigateBack();
-										}, 50)
-									}
-								}
-							});
-							return
-						}
-						uni.showModal({
-							title: '鎻愮ず',
-							content: res.data.Message + '銆傛槸鍚︾户缁柊澧烇紵(鐐瑰嚮鍙栨秷杩斿洖涓婄骇椤甸潰)',
-							success: (res) => {
-								if (res.confirm) {
-									console.log('鐢ㄦ埛鐐瑰嚮纭畾');
-									uni.redirectTo({
-										url: './Sb_EqpMaintenanceBill?operationType=1'
-									})
-								} else if (res.cancel) {
-									console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
-									setTimeout(() => {
-										uni.navigateBack();
-									}, 50)
-								}
-							}
-						});
-					} else {
-						CommonUtils.showTips({
-							title: "娓╅Θ鎻愮ず",
-							message: "鎻愪氦鍗曟嵁澶辫触: " + Message
-						})
-					}
+                    if (!res) {
+                        return
+                    }
+
+                    let {
+                        count,
+                        Message
+                    } = res.data
+                    if (count == 1) {
+                        if (this.operationType == 4) {
+                            uni.showModal({
+                                title: '鎻愮ず',
+                                content: res.data.Message + '銆傚嵆灏嗚繑鍥炰笂绾ч〉闈�',
+                                showCancel: false,
+                                success: (res) => {
+                                    if (res.confirm) {
+                                        console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+                                        setTimeout(() => {
+                                            uni.navigateBack();
+                                        }, 50)
+                                        // uni.redirectTo({
+                                        //     url: './Sb_EquipRepairSendWorkBill?operationType=1'
+                                        // })
+                                    } else if (res.cancel) {
+                                        console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+                                        setTimeout(() => {
+                                            uni.navigateBack();
+                                        }, 50)
+                                    }
+                                }
+                            });
+                            return
+                        }
+                        uni.showModal({
+                            title: '鎻愮ず',
+                            content: res.data.Message + '銆傛槸鍚︾户缁柊澧烇紵(鐐瑰嚮鍙栨秷杩斿洖涓婄骇椤甸潰)',
+                            success: (res) => {
+                                if (res.confirm) {
+                                    console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+                                    uni.redirectTo({
+                                        url: './Sb_EqpMaintenanceBill?operationType=1'
+                                    })
+                                } else if (res.cancel) {
+                                    console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+                                    setTimeout(() => {
+                                        uni.navigateBack();
+                                    }, 50)
+                                }
+                            }
+                        });
+                    } else {
+                        CommonUtils.showTips({
+                            title: "娓╅Θ鎻愮ず",
+                            message: "鎻愪氦鍗曟嵁澶辫触: " + Message
+                        })
+                    }
 
 
-				} catch (err) {
-					CommonUtils.showTips({
-						title: "娓╅Θ鎻愮ず",
-						message: "鎻愪氦鍗曟嵁澶辫触: " + err
-					})
-				}
-			},
-			async getEquipFileMain(HInterID) {
-				try {
-					let res = await CommonUtils.doRequest2Sync({
-						url: "/Sb_PDA_EquipDotCheckBill/txtHBarCode_KeyDown_ListByHEquipID",
-						data: {
-							HEquipID: HInterID,
-						},
-					})
+                } catch (err) {
+                    CommonUtils.showTips({
+                        title: "娓╅Θ鎻愮ず",
+                        message: "鎻愪氦鍗曟嵁澶辫触: " + err
+                    })
+                }
+            },
+            async getEquipFileMain(HInterID) {
+                try {
+                    let res = await CommonUtils.doRequest2Sync({
+                        url: "/Sb_PDA_EquipDotCheckBill/txtHBarCode_KeyDown_ListByHEquipID",
+                        data: {
+                            HEquipID: HInterID,
+                        },
+                    })
 
 
-					if (!res) {
-						return
-					}
+                    if (!res) {
+                        return
+                    }
 
-					let {
-						data,
-						count,
-						Message
-					} = res.data
+                    let {
+                        data,
+                        count,
+                        Message
+                    } = res.data
 
-					if (count == 1) {
-						console.log('data: ', data);
-						this.hform.HEquipID = data[0].hmainid
-						this.hform.HBarName = data[0].璁惧鍚嶇О
-						this.hform.HBarSpec = data[0].璁惧瑙勬牸
-						this.hform.HBarModel = data[0].璁惧鍨嬪彿
-						this.hform.HQty = 1
+                    if (count == 1) {
+                        console.log('data: ', data);
+                        this.hform.HEquipID = data[0].hmainid
+                        this.hform.HBarName = data[0].璁惧鍚嶇О
+                        this.hform.HBarSpec = data[0].璁惧瑙勬牸
+                        this.hform.HBarModel = data[0].璁惧鍨嬪彿
+                        this.hform.HQty = 1
 
-						this.enableEdit = false
-					} else {
-						CommonUtils.showTips({
-							title: "娓╅Θ鎻愮ず",
-							message: Message
-						})
-					}
+                        this.enableEdit = false
+                    } else {
+                        CommonUtils.showTips({
+                            title: "娓╅Θ鎻愮ず",
+                            message: Message
+                        })
+                    }
 
-				} catch (err) {
-					CommonUtils.showTips({
-						title: "娓╅Θ鎻愮ず",
-						message: err
-					})
-				}
-			},
-            async getSourceBillInfo(HSourceBillType, HInterID, HBillNo) {
+                } catch (err) {
+                    CommonUtils.showTips({
+                        title: "娓╅Θ鎻愮ず",
+                        message: err
+                    })
+                }
+            },
+            async getSendWorkBill(HSendWorkID) {
+                try{
+                    let res = await CommonUtils.doRequest2Async({
+                        url: "/Sb_EquipRepairSendWorkBill/GetEquipRepairSendWorkBillList",
+                        data: {
+                            sWhere: ` and hmainid ='${HSendWorkID}' `,
+                            user: getUserInfo()["Czymc"]
+                        }
+                    })
+                    
+                    let {data, count, Message} = res.data
+                    if(count == 1) {
+                        console.log('data: ',data);
+                        this.hform.HRepairID = this.HRepairList.find(item => data[0]["琛ㄤ綋缁翠慨椤圭洰"] == item["缁翠慨椤圭洰"])?.hitemid
+                    }else {
+                       CommonUtils.showTips({
+                           title: "娓╅Θ鎻愮ず",
+                           message: `鑾峰彇娲惧伐鍗曞け璐�: ${Message}`
+                       }) 
+                    }
+                }catch(err) {
+                    CommonUtils.showTips({
+                        title: "娓╅Θ鎻愮ず",
+                        message: `鑾峰彇娲惧伐鍗曞け璐�: ${err}`
+                    })
+                }
+            },
+            async getSourceBillInfo(HSourceBillType, HInterID, HBillNo, HSendWorkID) {
                 // 涓嬫帹鍗曟嵁绫诲瀷涓鸿澶囨晠闅滅櫥璁板崟
-                if(HSourceBillType == 3907) {
+                if (HSourceBillType == 3907) {
                     let res = await CommonUtils.doRequest2Async({
                         url: "/Sb_EqpRepairWorkBill/Sb_EqpConkBookBillListCheckDetai",
                         data: {
                             HID: HInterID
                         }
                     })
-                    
-                    let {data,code, count, Message} = res.data
-                    
-                    if(code == 1) {
-                        console.log('data: ',data.h_v_Sb_EquipConkBookBillList_Edit);
+
+                    let {
+                        data,
+                        code,
+                        count,
+                        Message
+                    } = res.data
+
+                    if (code == 1) {
+                        console.log('data: ', data.h_v_Sb_EquipConkBookBillList_Edit);
                         let data1 = data.h_v_Sb_EquipConkBookBillList_Edit[0]
                         this.hform.HMainSourceBillType = HSourceBillType
                         this.HMainSourceBillType = '璁惧鏁呴殰鐧昏鍗�'
@@ -942,11 +985,15 @@
                         this.hform.HEquipID = data1.HEquipID
                         this.hform.HManagerName = data1.璐熻矗浜�
                         this.hform.HManagerID = data1.HManagerID
+                        this.hform.HEmpID = data1["HEmpID"] || getUserInfo()["HEmpID"]
                         this.hform.HBarName = data1.璁惧鍚嶇О
                         this.hform.HBarModel = data1.璁惧鍨嬪彿
                         this.hform.HBarSpec = data1.璁惧瑙勬牸
-                    }
-                    else {
+                        this.hform.HExplanation = data1.鏁呴殰鍘熷洜鎻忚堪
+                        this.hform.HRepairContent = data1.鏁呴殰鍘熷洜鎻忚堪
+                    
+                        this.getSendWorkBill(HSendWorkID)
+                    } else {
                         CommonUtils.showTips({
                             title: '娓╅Θ鎻愮ず',
                             message: `鑾峰彇婧愬崟澶辫触: ${Message}`
@@ -954,79 +1001,84 @@
                     }
                 }
             }
-		},
-		onLoad(e) {
-			console.log('e: ', e);
-			if (!e.operationType) {
-				this.operationType = 1
-			} else {
-				this.operationType = e.operationType
-			}
-
-			if (this.operationType == 1) {
-				// 鏂板
-				this.getMaxNum()
-			} else if (this.operationType == 2) {
-				// 澶嶅埗
-			} else if (this.operationType == 3) {
-				// 缂栬緫
-
-			} else if (this.operationType == 4) {
-				// 鐢辨姤宸ュ钩鍙版墦寮�
-				let HEquipID = e.HEquipID
-				this.getMaxNum()
-				this.getEquipFileMain(HEquipID)
-			} else if(this.operationType == 5) {
-                let {HSourceBillType, HInterID, HBillNo} = e
-                // 涓嬫帹
-                this.getMaxNum()
-                this.getSourceBillInfo(HSourceBillType, HInterID, HBillNo)
+        },
+        onLoad(e) {
+            console.log('e: ', e);
+            if (!e.operationType) {
+                this.operationType = 1
+            } else {
+                this.operationType = e.operationType
             }
 
-			this.getHDeptList()
-			this.getEmpList()
-			this.getRepairList()
-			this.loadCache()
+            if (this.operationType == 1) {
+                // 鏂板
+                this.getMaxNum()
+            } else if (this.operationType == 2) {
+                // 澶嶅埗
+            } else if (this.operationType == 3) {
+                // 缂栬緫
 
-			// 鐩戝惉鍗曟嵁閫夋嫨瀹屾垚浜嬩欢
-			uni.$on('BillSelectComplete', (e) => {
-				console.log("鎺ユ敹鍒扮殑娑堟伅: ", e)
-				this.hform.HMainSourceInterID = e.HInterID
-				this.hform.HMainSourceBillNo = e.HBillNo
-				this.hform.HMainSourceEntryID = e.HEntryID
-				this.hform.HEquipID = e.HEquipID
-				this.hform.HBarName = e.HEquipName
-				this.hform.HBarSpec = e.HEquipSpec
-				this.hform.HBarModel = e.HEquipModel
-				this.$refs.billList.exit()
-			})
-		},
-		onUnload() {
-			uni.$off('BillSelectComplete')
-		},
-		onReady() {
-			const query = uni.createSelectorQuery().in(this)
-			query.select("#buttons")
-				.boundingClientRect()
-				.select("#tabs")
-				.boundingClientRect()
-				.exec(res => {
-					this.btnTop = Math.floor(res[0].top)
-					this.tabsBottom = Math.ceil(res[1].bottom)
-				})
-		}
-	}
+            } else if (this.operationType == 4) {
+                // 鐢辨姤宸ュ钩鍙版墦寮�
+                let HEquipID = e.HEquipID
+                this.getMaxNum()
+                this.getEquipFileMain(HEquipID)
+            } else if (this.operationType == 5) {
+                let {
+                    HSourceBillType,
+                    HInterID,
+                    HBillNo,
+                    HSendWorkID
+                } = e
+                // 涓嬫帹
+                this.getMaxNum()
+                this.getSourceBillInfo(HSourceBillType, HInterID, HBillNo,HSendWorkID)
+            }
+
+            this.getHDeptList()
+            this.getEmpList()
+            this.getRepairList()
+            this.loadCache()
+
+            // 鐩戝惉鍗曟嵁閫夋嫨瀹屾垚浜嬩欢
+            uni.$on('BillSelectComplete', (e) => {
+                console.log("鎺ユ敹鍒扮殑娑堟伅: ", e)
+                this.hform.HMainSourceInterID = e.HInterID
+                this.hform.HMainSourceBillNo = e.HBillNo
+                this.hform.HMainSourceEntryID = e.HEntryID
+                this.hform.HEquipID = e.HEquipID
+                this.hform.HBarName = e.HEquipName
+                this.hform.HBarSpec = e.HEquipSpec
+                this.hform.HBarModel = e.HEquipModel
+                this.$refs.billList.exit()
+            })
+        },
+        onUnload() {
+            uni.$off('BillSelectComplete')
+        },
+        onReady() {
+            const query = uni.createSelectorQuery().in(this)
+            query.select("#buttons")
+                .boundingClientRect()
+                .select("#tabs")
+                .boundingClientRect()
+                .exec(res => {
+                    this.btnTop = Math.floor(res[0].top)
+                    this.tabsBottom = Math.ceil(res[1].bottom)
+                })
+        }
+    }
 </script>
 
 <style lang="scss" scoped>
-	@import "@/pages/MJGL/style/MJBillStyle.scss";
+    @import "@/pages/MJGL/style/MJBillStyle.scss";
 
-	.picker-overlay {
-		position: absolute;
-		top: 0;
-		left: 0;
-		right: 0;
-		bottom: 0;
-		z-index: 1;
-	}
+    .picker-overlay {
+        position: absolute;
+        top: 0;
+        left: 0;
+        right: 0;
+        bottom: 0;
+        z-index: 1;
+    }
 </style>
\ No newline at end of file

--
Gitblit v1.9.1