From 50af5a02728476be0cdd8a983a364dfae5909e9f Mon Sep 17 00:00:00 2001
From: llj <132905093+newwwwwwtree@users.noreply.github.com>
Date: 星期二, 27 一月 2026 16:14:10 +0800
Subject: [PATCH] Merge branch 'Dev' of http://101.37.171.70:10101/r/~jhz/STUWMS into Dev

---
 pages/ZLGL/mojianjianyan/ProcessCheckBill.vue                 | 4943 ++++++++++++++++++++--------------------
 manifest.json                                                 |    8 
 pages/MJGL/shangmudan/MouldUpperBill.vue                      |   12 
 pages/EmployeeRecords/EmployeeRecordsBill.vue                 | 2166 ++++++-----------
 pages/ZLGL/lailiaojianyan_fast/Kf_QCStockInCheckBill_Fast.vue |    2 
 5 files changed, 3,260 insertions(+), 3,871 deletions(-)

diff --git a/manifest.json b/manifest.json
index 3f16198..20eb879 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,9 @@
     "name" : "鏅轰簯LMES",
     "appid" : "__UNI__B002F49",
     "description" : "",
-    "versionName" : "2.0.61",
-    "versionCode" : 261,
+
+    "versionName" : "2.0.63",
+    "versionCode" : 263,
     "transformPx" : false,
     /* 5+App鐗规湁鐩稿叧 */
     "app-plus" : {
@@ -162,7 +163,8 @@
             "LcPrinter" : {
                 "__plugin_info__" : {
                     "name" : "LcPrinter",
-                    "description" : "鎵撳嵃鎻掍欢",
+                    // "description" : "鎵撳嵃鎻掍欢",
+                    "description" : "鏂扮増鎵撳嵃鎻掍欢",
                     "platforms" : "Android",
                     "url" : "",
                     "android_package_name" : "",
diff --git a/pages/EmployeeRecords/EmployeeRecordsBill.vue b/pages/EmployeeRecords/EmployeeRecordsBill.vue
index 834c809..7cbb4af 100644
--- a/pages/EmployeeRecords/EmployeeRecordsBill.vue
+++ b/pages/EmployeeRecords/EmployeeRecordsBill.vue
@@ -1,541 +1,520 @@
 <template>
-	<view class="form">
-		<view class="form-base-info">
+	<view>
+		<view class="form">
 			<view class="form-item">
 				<view class="title">鏉$爜</view>
-				<view class="right">
-					<input type="text" :focus="HBarCodeFocus" v-model="HBarCode"
-						@confirm="GetMeesageByBarCode(HBarCode)" />
+				<view class="right" style="width: 350rpx;">
+					<input type="text" :focus="HBarCodeFocus" v-model="hform.HBarCode" placeholder="璇锋壂鎻�(鎴栬緭鍏�)鏉$爜"
+						@confirm="getHBarCodeData(hform.HBarCode)" />
 				</view>
-				<view class="right-icon">
-					<uni-icons type="scan"
-						style="background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;" size="20"
-						@click="toScanCode2"></uni-icons>
-				</view>
+				<uni-icons type="scan"
+					style="margin-left: 10rpx;background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;"
+					size="20" @click="toScanCode"></uni-icons>
 			</view>
-			<view class="form-item">
-				<view class="title">瑙掕壊</view>
-				<view class="right">
-					<!-- 澶氶�変笅鎷夋 -->
-					<uni-data-select v-model="hform.HRoles" :multiple="true" :localdata="roleOptions"
-						placeholder="璇烽�夋嫨瑙掕壊" :clear="false" @change="onRoleChange">
-					</uni-data-select>
-				</view>
+			<view class="tabs">
+				<view :class="tabs == 0 ? 'on':''" @tap="() => { tabs = 0; reFocusBarCode(); }">鍗曟嵁淇℃伅</view>
+				<view :class="tabs == 1 ? 'on':''" @tap="() => { tabs = 1; reFocusBarCode(); }">宸ュ崟淇℃伅</view>
+				<view :class="tabs == 2 ? 'on':''" @tap="() => { tabs = 2; reFocusBarCode(); }">鍒跺崟淇℃伅</view>
 			</view>
-			<view class="form-item">
-				<view class="title">鐢熶骇杞﹂棿:</view>
-				<view class="right">
-					<uni-combox :candidates="arrayHDeptName" placeholder="璇烽�夋嫨杞﹂棿" v-model="hform.HDeptName"
-						@input="HDeptNameChange"></uni-combox>
-				</view>
-			</view>
-			<view class="form-item">
-				<view class="title">绛惧埌浜哄憳:</view>
-				<view class="right">
-					<uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨绛惧埌浜哄憳" v-model="hform.HEmpName"
-						@input="HEmpNameChange"></uni-combox>
-				</view>
-			</view>
-			
-			<view class="form-item">
-				<view class="title">鐝粍:</view>
-				<view class="right">
-					<uni-combox :candidates="arrayHGroupName" placeholder="璇烽�夋嫨鐝粍" v-model="hform.HGroupName"
-						@input="HGroupNameChange"></uni-combox>
-				</view>
-			</view>
-			<view class="form-item">
-				<view class="title">鐝:</view>
-				<view class="right">
-					<uni-combox :candidates="arrayHShiftsName" placeholder="璇烽�夋嫨鐝" v-model="hform.HShiftsName"
-						@input="HShiftsNameChange"></uni-combox>
-				</view>
-			</view>	
-			<view class="form-item">
-				<view class="title">鐢熶骇璧勬簮:</view>
-				<view class="right">
-					<uni-combox :candidates="arrayHSourceName" placeholder="璇烽�夋嫨鐢熶骇璧勬簮" v-model="hform.HSourceName"
-						@input="HSourceNameChange"></uni-combox>
-				</view>
-			</view>	
-			<view class="form-item">
-				<view class="title">宸ュ簭:</view>
-				<view class="right">
-					<uni-combox :candidates="arrayHProcName" placeholder="璇烽�夋嫨宸ュ簭" v-model="hform.HProcName"
-						@input="HProcNameChange"></uni-combox>
-				</view>
-			</view>	
-			<view class="form-item">
-				<view class="title">鏃ユ湡</view>
-				<view class="right disabled">
-					<input type="text" disabled :value="hform.HDate" />
-				</view>
-			</view>
-			<view class="form-item">
-				<view class="title">鍗曟嵁鍙�</view>
-				<view class="right disabled">
-					<input type="text" disabled :value="hform.HBillNo" />
-				</view>
-			</view>
-		</view>
-		<view class="tabs">
-			<view :class="tabs == 0 ? 'on':''" @tap="tabs = 0">鏈哄彴淇℃伅</view>
-			<view :class="tabs == 1 ? 'on':''" @tap="tabs = 1">宸ュ崟淇℃伅</view>
-			<view :class="tabs == 2 ? 'on':''" @tap="tabs = 2">鍒跺崟淇℃伅</view>
-		</view>
-		<!-- 瑁呯淇℃伅 -->
-		<view v-if="tabs == 1" class="work-order-cards">
-					<view v-for="(item, index) in listData" :key="item.index" class="work-order-card">
-						<view class="card-header">
-							<text class="card-title">宸ュ崟淇℃伅 {{ index + 1 }}</text>
-							<checkbox :checked="item.checked" style="transform:scale(0.8)" color="#3A78FF" 
-								@change="onCardCheckChange(item, index)" />
-						</view>
-						<view class="card-content">
-							<view class="card-row">
-								<text class="card-label">娴佽浆鍗″彿锛�</text>
-								<text class="card-value">{{ item['娴佽浆鍗″彿'] || '-' }}</text>
-							</view>
-							<view class="card-row">
-								<text class="card-label">鐗╂枡浠g爜锛�</text>
-								<text class="card-value">{{ item['鐗╂枡浠g爜'] || '-' }}</text>
-							</view>
-							<view class="card-row">
-								<text class="card-label">鐗╂枡鍚嶇О锛�</text>
-								<text class="card-value">{{ item['鐗╂枡鍚嶇О'] || '-' }}</text>
-							</view>
-							<view class="card-row">
-								<text class="card-label">瑙勬牸鍨嬪彿锛�</text>
-								<text class="card-value">{{ item['瑙勬牸鍨嬪彿'] || '-' }}</text>
-							</view>
-							<view class="card-row">
-								<text class="card-label">鏁伴噺锛�</text>
-								<text class="card-value">{{ item['鏁伴噺'] || '0' }}</text>
-							</view>
-							<view class="card-row">
-								<text class="card-label">鐢熶骇璧勬簮锛�</text>
-								<text class="card-value">{{ item['鐢熶骇璧勬簮'] || '-' }}</text>
-							</view>
-						</view>
-					</view>
-					
-					<view v-if="listData.length === 0" class="empty-card">
-						<uni-icons type="info" size="30" color="#999"></uni-icons>
-						<text class="empty-text">鏆傛棤宸ュ崟淇℃伅</text>
-						<text class="empty-tip">璇峰厛鎵弿鏉$爜鑾峰彇宸ュ崟淇℃伅</text>
-					</view>
-				</view>
-		<view v-if="tabs == 0" class="machine-info-container">
-			<view class="form-item" v-if="false">
-				<view class="title">璁惧ID:</view>
-				<view class="righton">
-					<input name="HEquipID" disabled v-model="hform.HEquipID" />
-				</view>
-			</view>
-			<view class="form-item">
-				<view class="title">璁惧鍚嶇О:</view>
-				<view class="righton">
-					<input name="HEquipName" disabled v-model="hform.HEquipName" />
-				</view>
-			</view>
-			<view class="form-item">
-				<view class="title">妯″叿缂栫爜:</view>
-				<view class="righton">
-					<input name="HMouldNo" disabled v-model="hform.HMouldNo" />
-				</view>
-			</view>
-			<view class="form-item">
-				<view class="title">妯″叿鍚嶇О:</view>
-				<view class="righton">
-					<input name="HMouldName" disabled v-model="hform.HMouldName" />
-				</view>
-			</view>
-			<view class="form-item">
-				<view class="title">妯″叿鐘舵��:</view>
-				<view class="righton">
-					<input name="HMouldState" disabled v-model="hform.HMouldState" />
-				</view>
-			</view>
-			<!--                <label class="checkbox" style="float: right;">
-                    <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc" />鏉$爜鏍稿
-                </label> -->
-		</view>
-		<!-- 鍒跺崟淇℃伅 -->
-		<view v-if="tabs == 2">
-			<view class="bill-info">
+
+			<!-- 鍗曟嵁淇℃伅 -->
+			<view v-if="tabs == 0">
 				<view class="form-item">
-					<view class="title">鍒涘缓鏃ユ湡</view>
+					<view class="title">瑙掕壊</view>
 					<view class="right">
-						<uni-datetime-picker type="date" v-model="hform.HDate">
-							<input type="text" v-model="hform.HDate" disabled />
-						</uni-datetime-picker>
+						<!-- 澶氶�変笅鎷夋 -->
+						<uni-data-select v-model="hform.HRoles" :multiple="true" :localdata="roleOptions"
+							placeholder="璇烽�夋嫨瑙掕壊" :clear="false" @change="onRoleChange">
+						</uni-data-select>
 					</view>
 				</view>
-			</view>
-			<view class="bill-info">
 				<view class="form-item">
-					<view class="title">鍒涘缓浜�</view>
-					<view class="right disabled">
-						<input type="text" disabled :value="hform.HMaker" />
-					</view>
-				</view>
-			</view>
-			<view class="bill-info">
-				<view class="form-item">
-					<view class="title">淇敼鏃ユ湡</view>
+					<view class="title"><text>*</text>鐢熶骇杞﹂棿:</view>
 					<view class="right">
-						<uni-datetime-picker type="date" v-model="hform.HUpDateDate">
-							<input type="text" v-model="hform.HDate" disabled />
-						</uni-datetime-picker>
+						<uni-combox :candidates="arrayHDeptName" placeholder="璇烽�夋嫨閮ㄩ棬" v-model="hform.HDeptName"
+							@input="HDeptNameChange"></uni-combox>
 					</view>
 				</view>
-			</view>
-			<view class="bill-info">
 				<view class="form-item">
-					<view class="title">淇敼浜�</view>
-					<view class="right disabled">
-						<input type="text" disabled :value="hform.HUpDater" />
-					</view>
-				</view>
-			</view>
-			<view class="bill-info">
-				<view class="form-item">
-					<view class="title">淇敼鏃ユ湡</view>
+					<view class="title"><text>*</text>绛惧埌浜哄憳:</view>
 					<view class="right">
-						<uni-datetime-picker type="date" v-model="hform.HCheckDate">
-							<input type="text" v-model="hform.HDate" disabled />
-						</uni-datetime-picker>
+						<uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎿嶄綔鍛�" v-model="hform.HEmpName"
+							@input="HEmpNameChange"></uni-combox>
 					</view>
 				</view>
-			</view>
-			<view class="bill-info">
 				<view class="form-item">
-					<view class="title">淇敼浜�</view>
-					<view class="right disabled">
-						<input type="text" disabled :value="hform.HChecker" />
+					<view class="title"><text>*</text>鐢熶骇璧勬簮:</view>
+					<view class="right">
+						<uni-combox :candidates="arrayHSourceName" placeholder="璇烽�夋嫨鐢熶骇璧勬簮" v-model="hform.HSourceName"
+							@input="HSourceNameChange"></uni-combox>
 					</view>
 				</view>
-			</view>
-			<view class="bill-info">
 				<view class="form-item">
-					<view class="title">鍗曟嵁鍙�</view>
-					<view class="right disabled">
-						<input type="text" disabled :value="hform.HBillNo" />
+					<view class="title"><text>*</text>鐢熶骇鐝粍:</view>
+					<view class="right">
+						<uni-combox :candidates="arrayHGroupName" placeholder="璇烽�夋嫨鐝粍" v-model="hform.HGroupName"
+							@input="HGroupNameChange"></uni-combox>
 					</view>
 				</view>
-			</view>
-
-			<view class="bill-info">
 				<view class="form-item">
-					<view class="title">缁勭粐</view>
-					<view class="right disabled">
-						<input type="text" disabled :value="hform.HStockOrgName" />
+					<view class="title"><text>*</text>鐢熶骇鐝:</view>
+					<view class="right">
+						<uni-combox :candidates="arrayHShiftsName" placeholder="璇烽�夋嫨鐝" v-model="hform.HShiftsName"
+							@input="HShiftsNameChange"></uni-combox>
 					</view>
 				</view>
+				<view class="form-item">
+					<view class="title"><text>*</text>妯″叿瀹為檯鍑烘暟:</view>
+					<view class="right">
+						<input name="HMouldRelQty" v-model="hform.HMouldRelQty" />
+					</view>
+				</view>
+				<view class="form-item">
+					<view class="title">宸ュ簭:</view>
+					<view class="right">
+						<uni-combox :candidates="arrayHProcName" placeholder="璇烽�夋嫨宸ュ簭" v-model="hform.HProcName"
+							@input="HProcNameChange"></uni-combox>
+					</view>
+				</view>
+				<view class="form-item">
+					<view class="title">璁惧缂栧彿:</view>
+					<view class="righton">
+						<input name="HEquipNumber" disabled v-model="hform.HEquipNumber" />
+					</view>
+				</view>
+				<view class="form-item">
+					<view class="title">璁惧鍚嶇О:</view>
+					<view class="righton">
+						<input name="HEquipName" disabled v-model="hform.HEquipName" />
+					</view>
+				</view>
+				<view class="form-item">
+					<view class="title">妯″叿缂栫爜:</view>
+					<view class="righton">
+						<input name="HMouldNo" disabled v-model="hform.HMouldNo" />
+					</view>
+				</view>
+				<view class="form-item">
+					<view class="title">妯″叿鍚嶇О:</view>
+					<view class="righton">
+						<input name="HMouldName" disabled v-model="hform.HMouldName" />
+					</view>
+				</view>
+				<view class="form-item">
+					<view class="title">妯″叿鐘舵��:</view>
+					<view class="righton">
+						<input name="HMouldState" disabled v-model="hform.HMouldState" />
+					</view>
+				</view>
+				<view class="form-item">
+					<view class="title">鍗曟嵁鍙�:</view>
+					<view class="righton">
+						<input name="HBillNo" disabled v-model="hform.HBillNo" />
+					</view>
+				</view>
+				<view class="form-item">
+					<view class="title">鍗曟嵁鏃ユ湡:</view>
+					<view class="righton">
+						<picker mode="date" v-model="hform.HDate" @change="HDateChange">
+							<input disabled v-model="hform.HDate" placeholder="璇烽�夋嫨鏃ユ湡" />
+						</picker>
+					</view>
+				</view>
+				<view class="form-item">
+					<view class="title">澶囨敞:</view>
+					<view class="right">
+						<textarea name="HRemark" v-model="hform.HRemark" auto-height placeholder="璇疯緭鍏ュ娉�"></textarea>
+					</view>
+				</view>
+
 			</view>
+			<!-- 妯″叿淇℃伅 -->
+			<view v-if="tabs == 1">
+				<view class="card-list" :style="{height: `${listTableHeight}px`, overflow: 'auto'}">
+					<!-- 鍗$墖鍒楄〃 -->
+					<view v-for="(item, index) in listData" :key="index" class="card-item">
+						<uni-card style="margin: 10rpx 0;">
+							<view class="card-content">
+								<view class="card-row">
+									<text class="card-label">娴佽浆鍗″彿锛�</text>
+									<text class="card-value">{{ item['娴佽浆鍗″彿'] || '-' }}</text>
+								</view>
+								<view class="card-row">
+									<text class="card-label">鐗╂枡浠g爜锛�</text>
+									<text class="card-value">{{ item['鐗╂枡浠g爜'] || '-' }}</text>
+								</view>
+								<view class="card-row">
+									<text class="card-label">鐗╂枡鍚嶇О锛�</text>
+									<text class="card-value">{{ item['鐗╂枡鍚嶇О'] || '-' }}</text>
+								</view>
+								<view class="card-row">
+									<text class="card-label">瑙勬牸鍨嬪彿锛�</text>
+									<text class="card-value">{{ item['瑙勬牸鍨嬪彿'] || '-' }}</text>
+								</view>
+								<view class="card-row">
+									<text class="card-label">鏁伴噺锛�</text>
+									<text class="card-value">{{ item['鏁伴噺'] || '0' }}</text>
+								</view>
+								<view class="card-row">
+									<text class="card-label">鐢熶骇璧勬簮锛�</text>
+									<text class="card-value">{{ item['鐢熶骇璧勬簮'] || '-' }}</text>
+								</view>
+							</view>
+						</uni-card>
+					</view>
 
-		</view>
-		<view class="bottom-btn" id="bottom-btn">
-			<button :class="EnableSubmit?'btn-a':'btn-c'" :disabled="!EnableSubmit" size="mini"
-				@tap="cmdSubmit">鎻愪氦</button>
-			<view style="flex: 1;"></view>
-			<!-- <button class="btn-d" size="mini" @tap="cmdDelete">鍒犻櫎</button> -->
-			<button class="btn-c" size="mini" @tap="cmdExit">閫�鍑�</button>
-		</view>
-		<!-- 鎵撳嵃妯″潡 -->
-		<labelPrinterComponentVue ref="labelPrinter" :printInfo="printInfo" :printMode="'cpcl'">
-		</labelPrinterComponentVue>
-
-		<!-- 鎵撳嵃鏈洪�夋嫨鍒楄〃 -->
-		<view v-if="maskShow" class="uni-mask" @tap="maskShow = false">
-			<scroll-view class="uni-scroll_box" scroll-y>
-				<view class="uni-list-box" v-for="(device, index) in discoveredDevices" :key="index"
-					@tap="connectBT(device)">
-					<view class="uni-list_name">鍚嶇О锛歿{ device.name }}</view>
-					<view class="uni-list_item">{{ connectedDeviceId === device.address?'宸茶繛鎺�':'鏈繛鎺�' }}</view>
-				</view>
-			</scroll-view>
-		</view>
-		<view v-if="showResultTable" class="result-modal">
-			<view class="modal-mask" @tap="closeResultTable"></view>
-			<view class="modal-content">
-				<view class="modal-header">
-					<text class="modal-title">绛惧埌缁撴灉</text>
-					<uni-icons type="close" size="20" @tap="closeResultTable"></uni-icons>
-				</view>
-				<view class="modal-body">
-					<zb-table :fit="true" :style="{height: '400px'}" :columns="resultTableColumns"
-						:data="resultTableData" :show-header="true" :border="true" :row-key="row => row.index" />
-				</view>
-				<view class="modal-footer">
-					<button class="btn-a" size="mini" @tap="toAddNew">鏂板</button>
-					<button class="btn-a" size="mini" @tap="search">鎵撳嵃</button>
-					<view style="flex: 1;"></view>
-					<button class="btn-c" size="mini" @tap="closeResultTable">鍏抽棴</button>
+					<view class="over" v-if="listData.length == 0">鏆傛棤宸ュ崟淇℃伅</view>
 				</view>
 			</view>
 
+			<view v-if="tabs == 2">
+				<view class="form-item">
+					<view class="title">鍒跺崟浜�:</view>
+					<view class="righton">
+						<input v-model="hform.HMaker" disabled />
+					</view>
+				</view>
+				<view class="form-item">
+					<view class="title">鍒跺崟鏃ユ湡:</view>
+					<view class="righton">
+						<input v-if="hform.HMakeDate" v-model="hform.HMakeDate.substr(0,10)" disabled />
+						<input v-else v-model="hform.HMakeDate" disabled />
+					</view>
+				</view>
+				<view class="form-item">
+					<view class="title">淇敼浜�:</view>
+					<view class="righton">
+						<input v-model="hform.HUpDater" disabled />
+					</view>
+				</view>
+				<view class="form-item">
+					<view class="title">淇敼鏃ユ湡:</view>
+					<view class="righton">
+						<input v-if="hform.HUpDateDate" v-model="hform.HUpDateDate.substr(0,10)" disabled />
+						<input v-else v-model="hform.HUpDateDate" disabled />
+					</view>
+				</view>
+				<view class="form-item">
+					<view class="title">瀹℃牳浜�:</view>
+					<view class="righton">
+						<input v-model="hform.HChecker" disabled />
+					</view>
+				</view>
+				<view class="form-item">
+					<view class="title">瀹℃牳鏃ユ湡:</view>
+					<view class="righton">
+						<input v-if="hform.HCheckDate" v-model="hform.HCheckDate.substr(0,10)" disabled />
+						<input v-else v-model="hform.HCheckDate" disabled />
+					</view>
+				</view>
+
+			</view>
+
+			<view class="bottom-btn">
+				<button v-if="btnType == 1 && !isEdit" class="btn-a" size="mini" @tap="submit">鎻愪氦</button>
+				<button v-if="btnType != 1 && !isEdit" class="btn-a" size="mini" @tap="ifEdit">淇敼</button>
+				<button v-if="btnType != 1 && isEdit" class="btn-a" size="mini" @tap="submit">鎻愪氦</button>
+				<button class="btn-c" size="mini" @tap="goBack">閫�鍑�</button>
+			</view>
 		</view>
+
 	</view>
 </template>
-
 <script>
-	import dayjs from 'dayjs'
+	import getDateTime from '@/utils/getdateTime.js';
 	import {
 		getUserInfo
-	} from "../../utils/auth";
+	} from "@/utils/auth.js";
+	import dayjs from 'dayjs'
 	import {
 		CommonUtils
 	} from "@/utils/common.js"
 	import {
 		MpaasScan
 	} from "@/utils/mpaasScan.js"
-	import labelPrinterComponentVue from "@/components/labelPrinterComponent/labelPrinterComponent.vue"
-	import getdateTime from '../../utils/getdateTime';
 	export default {
-		components: {
-			labelPrinterComponentVue
-		},
 		data() {
 			return {
-
-				serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
 				// 璁$畻鍒楄〃楂樺害
 				bottomBtnTop: 0,
 				listTableTop: 0,
-				// 鍏叡鍙橀噺 
+				tabs: 0,
+
+				userInfo: getUserInfo(),
+				serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
+				linterid: '',
+				HBillNo: '',
+				btnType: 1, //1鏂板锛�3淇敼
+				showmore: false,
+				HBarCodeFocus: false,
+
 				arrayHDeptName: [], //閮ㄩ棬
 				HDeptNameList: [],
-				arrayHEmpName: [], //鍛樺伐
+				arrayHEmpName: [], //鍙戠幇浜�/璐熻矗浜�
 				HEmpNameList: [],
+				arrayHSourceName: [], //鐢熶骇璧勬簮
+				HSourceNameList: [],
 				arrayHGroupName: [], //鐝粍
 				HGroupNameList: [],
 				arrayHShiftsName: [], //鐝
 				HShiftsNameList: [],
-				arrayHSourceName: [], //鐢熶骇璧勬簮
-				HSourceNameList: [],
 				arrayHProcName: [], //宸ュ簭
 				HProcNameList: [],
-				
-				maskShow:false,
-				printInfo:false,
-				EnableScanBarCodePack: true,
-				EnableSubmit: true,
-				HBarCodePackFocus: false,
-				HBarCodeFocus: false,
 
-				HBarCode: '', // 鍖呮潯鐮�
-				tabs: 0,
-				HBillType: '4616',
-				HBillSubType: '1', //瀛愮被鍨嬶紙1瑁呯銆�2缁勬墭锛�
-				OperationType: 1, //鎿嶄綔绫诲瀷锛�1鏂板銆�2浠庣紦瀛樺垪琛ㄤ腑杩斿洖锛�
-				HMaterNumber_Pack: "", //鎵樻潯鐮佸搴旂墿鏂欎唬鐮�
-				listOption: [],
-				listData: [],
-				columns: [{
-						type: 'selection',
-						fixed: true,
-						width: 50
-					},
-					{
-						name: 'index',
-						label: '搴忓彿',
-						width: 60,
-						hidden: true
-					},
-					{
-						name: '娴佽浆鍗″彿',
-						label: '娴佽浆鍗″彿',
-						width: 100,
-					},
-					{
-						name: '鏁伴噺',
-						label: '鏁伴噺',
-						width: 100,
-					},
-					{
-						name: '鐗╂枡浠g爜',
-						label: '鐗╂枡浠g爜',
-						width: 100,
-					},
-					{
-						name: '鐗╂枡鍚嶇О',
-						label: '鐗╂枡鍚嶇О',
-						width: 100,
-					},
-					{
-						name: '瑙勬牸鍨嬪彿',
-						label: '瑙勬牸鍨嬪彿',
-						width: 100,
-					},
-					{
-						name: '鏁伴噺',
-						label: '鏁伴噺',
-						width: 100,
-					},
-					{
-						name: '鐢熶骇璧勬簮',
-						label: '鐢熶骇璧勬簮',
-						width: 100,
-					}
-				],
-				selectedRows: [], // 瀛樺偍閫変腑鐨勬暟鎹�
-				titleData: [], //涓嶉渶瑕佹樉绀虹殑瀛楁
-				OperationType: 1, //浠庣紦瀛樺垪琛ㄤ腑杩斿洖鏁版嵁绫诲瀷锛�1鏂板銆�2浠庣紦瀛樺垪琛ㄤ腑杩�
-				//灞曠ず琛ㄥ崟
-				showResultTable: false, // 鎺у埗缁撴灉琛ㄦ牸鏄剧ず
-				resultTableData: [], // 缁撴灉琛ㄦ牸鏁版嵁
-				resultTableColumns: [{
-						name: '璁惧缂栫爜',
-						label: '璁惧缂栫爜',
-						width: 120,
-					},
-					{
-						name: '璁惧鍚嶇О',
-						label: '璁惧鍚嶇О',
-						width: 120,
-					},
-					{
-						name: '绛惧埌瑙掕壊',
-						label: '绛惧埌瑙掕壊',
-						width: 100,
-					},
-					{
-						name: '鐢熶骇璧勬簮鍚嶇О',
-						label: '鐢熶骇璧勬簮鍚嶇О',
-						width: 100,
-					}
-				],
-				//
 
-				// 琛ㄥ崟鎻愪氦鍊�
+				isEdit: false,
+				listOption: [], // 鍒楄〃閫夐」
+				listData: [], // 琛ㄦ牸鏁版嵁
+				selectedRows: [], // 琛ㄦ牸閫変腑鐨勬暟鎹�
+				roleOptions: [], // 涓嬫媺妗嗛�夐」
+				roleList: [], // 瀹屾暣瑙掕壊鍒楄〃锛堝寘鍚獻D锛�
+
+				// 娣诲姞鐢ㄦ埛宸茬粦瀹氳鑹叉暟鎹�
+				userBoundRoles: [], // 鐢ㄦ埛宸茬粦瀹氱殑瑙掕壊ID鍒楄〃
+				HBillType: 4616,
+
 				hform: {
-					HDate: dayjs(new Date()).format('YYYY-MM-DD'),
-					HMaker: getUserInfo()['Czymc'],
 					HInterID: '',
-					HStockOrgName: uni.getStorageSync("Organization"),
-					HStockOrgID: uni.getStorageSync("OrganizationID"),
-
-					HQualityApproval: false,
-
-					HMainID: '',
-					HSubID: '',
-					HSourceBillSEQ: '',
 					HBillNo: '',
-					HEmpID: getUserInfo()['HEmpID'] || '',
-					HEmpName: getUserInfo()['Czymc'] || '',
-					HEmpNumber: getUserInfo()['Czybm'] || uni.getStorageSync("HEmpNumber"),
-
-
-					HCheckEmpName: '',
-
-					HRemark: '',
-
-					HProduceDate: dayjs(new Date()).format('YYYY-MM-DD'),
-
-					//鑷畾涔�
+					HDate: getDateTime.dateTimeStr('y-m-d'),
+					HBarCode: '',
+					HDeptName: uni.getStorageSync('HDeptName'),
+					HDeptID: uni.getStorageSync('HDeptID'),
+					HEmpName: uni.getStorageSync('HEmpName'),
+					HEmpID: uni.getStorageSync('HEmpID'),
+					HSourceID: uni.getStorageSync('HSourceID'),
+					HSourceName: uni.getStorageSync('HSourceName'),
+					HProcID: uni.getStorageSync('HProcID'),
+					HProcName: uni.getStorageSync('HProcName'),
+					HGroupID: uni.getStorageSync('HGroupID'),
+					HGroupName: uni.getStorageSync('HGroupName'),
+					HShiftsID: 0,
+					HShiftsName: '',
 					HMouldID: 0,
 					HMouldName: '',
 					HMouldNumber: '',
 					HMouldNo: '',
 					HMouldState: '',
 					HEquipID: 0,
+					HEquipNumber: '',
 					HEquipName: '',
-					HSourceID: uni.getStorageSync('HSourceID'),
-					HSourceName: uni.getStorageSync('HSourceName'),
-					HProcID: uni.getStorageSync('HProcID'),
-					HProcName:uni.getStorageSync('HProcName'),
-					HGroupID:uni.getStorageSync('HGroupID'),
-					HGroupName: uni.getStorageSync('HGroupName'),
-					HShiftsID: 0,
-					HShiftsName: '',
-					HDeptName: uni.getStorageSync('HDeptName'),
-					HDeptID: uni.getStorageSync('HDeptID'),
-					//HEmpID:0,
-					//HEmpName:'',
 					HSignInReason: '',
 					HSignRemark: '',
+					HMouldRelQty: 0,
+					HOrgID: uni.getStorageSync('OrganizationID'),
 
-					HMaterID: 0,
-					HMaterNumber: '',
-					HMaterName: '',
-					HMaterModel: '',
+					HMaker: '',
+					HMakeDate: '',
+					HUpDater: '',
+					HUpDateDate: '',
+					HChecker: '',
+					HCheckDate: '',
+					HCloseMan: '',
+					HCloseDate: '',
+					HDeleteMan: '',
+					HDeleteDate: '',
+
 					HRoles: [],
-				},
-				roleOptions: [],				
-				// 鍒嗛〉妯″潡鍏冩暟鎹�
-				paginationMeta: {
-
+					eventType: 'Add'
+				}
+			}
+		},
+		onLoad(e) {
+			this.HBarCodeFocus = true
+			this.getHDeptList()
+			this.getHEmpList()
+			this.getHSourceList()
+			this.getHGroupList()
+			this.getHShiftsList()
+			this.getHProcList()
+			//鍏堣幏鍙栬鑹插垪琛紝鐒跺悗鑾峰彇鐢ㄦ埛缁戝畾鐨勮鑹�
+			this.getRoleList().then(() => {
+				this.getUserBoundRoles();
+			});
+			this.hform.HMaker = uni.getStorageSync('HUserName')
+			console.log(e, this.userInfo)
+			if (e.linterid) {
+				this.btnType = 3
+				this.linterid = e.linterid
+				this.HBillNo = e.HBillNo
+			} else {
+				this.getNewData()
+			}
+			this.tabs = 0
+		},
+		// ==================== 璁$畻灞炴�� ====================
+		computed: {
+			// 璁$畻琛ㄦ牸楂樺害
+			listTableHeight: {
+				get() {
+					return this.bottomBtnTop - this.listTableTop - 10
 				}
 			}
 		},
 		methods: {
-			onCardCheckChange(item, index) {
-							item.checked = !item.checked;
-							if (item.checked) {
-								this.selectedRows.push(item);
-							} else {
-								const idx = this.selectedRows.findIndex(row => row.index === item.index);
-								if (idx > -1) {
-									this.selectedRows.splice(idx, 1);
-								}
-							}
-							console.log('褰撳墠閫変腑鐨勮:', this.selectedRows);
-						},
-			onTableRowClickHandler(row, index) {
-				console.log('row: ', row);
-				if (!this.listData[index].checked) {
-					this.$set(this.listData[index], 'checked', true)
-				} else {
-					this.listData[index].checked = !this.listData[index].checked
-				}
+			//鎵爜
+			toScanCode() {
+				var mpaasScanModule = uni.requireNativePlugin("Mpaas-Scan-Module")
+				mpaasScanModule.mpaasScan({
+					'hideAlbum': true,
+					'timeoutInterval': '10', //瓒呮椂鏃堕棿
+					'timeoutText': '鏈瘑鍒埌浜岀淮鐮�' //瓒呮椂鎻愰啋            
+				}, (ret) => {
+					console.log(ret.resp_result)
+					this.hform.HBarCode = ret.resp_result
+					this.getHBarCodeData(ret.resp_result)
+				})
 			},
-			async HBarCodeFocusRefresh() {
-				this.HBarCode = ''
+			//鍏夋爣
+			async refreshBarCodeState() {
 				this.HBarCodeFocus = false
-				await this.$nextTick()
-				this.HBarCodeFocus = true
+				await this.$nextTick(() => {
+					this.HBarCodeFocus = true
+					this.hform.HBarCode = ""
+				})
 			},
-			async HBarCodePackFocusRefresh() {
-				this.HBarCode_Pack = ''
-				this.HBarCodePackFocus = false
-				await this.$nextTick()
-				this.HBarCodePackFocus = true
+			// 娣诲姞涓�涓噸鏂拌仛鐒︾殑鏂规硶
+			reFocusBarCode() {
+				this.HBarCodeFocus = false;
+				this.$nextTick(() => {
+					this.HBarCodeFocus = true;
+				});
 			},
-			//#region 涓嬫媺妗�
-			//鑾峰彇浣跨敤閮ㄩ棬鏁版嵁
-			async getHDeptList() {
-				try{
-					let res = await CommonUtils.doRequest2Async({
-						url: '/PublicPageMethod/DeptList',
-						data: {
-							sWhere: "where HStopFlag=0 and HEndFlag=1 and HUSEORGID = " + uni.getStorageSync(
-								'OrganizationID') + ""
-						},
-					})
-					
-					console.log('res: ', res);
-					if (res.data.count == 1) {
-						console.log('res.data.data: ', res.data.data);
-						this.HDeptNameList = res.data.data
-						// for (var i = 0; i < res.data.data.length; i++) {
-						// 	this.arrayHDeptName[i] = res.data.data[i].HName
-						// }
-						this.arrayHDeptName = res.data.data.map(item => item.HName)
-						this.$forceUpdate();
-					} else {
+			//鏃ユ湡
+			HDateChange(e) {
+				console.log(e.detail.value)
+				this.hform.HDate = e.detail.value
+			},
+			getHBarCodeData(HBarCode) {
+				uni.request({
+					url: this.serverUrl + '/Sc_EmployeeSignInNoteBillController/txtHBarCode_KeyDown',
+					data: {
+						HBarCode: this.hform.HBarCode
+					},
+					success: (res) => {
+						if (res.data.code == 1) {
+							var data = res.data.data[0];
+							this.hform.HEquipID = data.HInterID
+							this.hform.HEquipNumber = data.璁惧浠g爜
+							this.hform.HEquipName = data.璁惧鍚嶇О
+							this.hform.HSourceID = data.HSourceID
+							this.hform.HSourceName = data.鐢熶骇璧勬簮鍚嶇О
+							this.getHMouldList()
+							this.getHIcmoList()
+							uni.showToast({
+								title: res.data.Message,
+								icon: 'none'
+							})
+						} else {
+							uni.showToast({
+								title: res.data.Message,
+								icon: 'none'
+							})
+						}
+					},
+					fail: (res) => {
+						console.log(res);
 						uni.showToast({
-							title: res.data.Message,
+							title: '鎺ュ彛璇锋眰澶辫触',
 							icon: 'none'
 						})
-					}
-				}catch(err) {
-					uni.showToast({
-						title: err,
-						icon: 'none'
-					})
-				}
-				
+					},
+				});
+			},
+			//鑾峰彇妯″叿淇℃伅
+			getHMouldList() {
+				uni.request({
+					url: this.serverUrl + '/Sc_EmployeeSignInNoteBillController/Get_HMouldList',
+					data: {
+						HInterID: this.hform.HEquipID,
+						UserNmae: uni.getStorageSync('Czybm'),
+					},
+					success: (res) => {
+						if (res.data.code == 1) {
+							var data = res.data.data[0];
+							this.hform.HMouldID = data.妯″叿id
+							this.hform.HMouldNo = data.妯″叿缂栫爜
+							this.hform.HMouldName = data.妯″叿鍚嶇О
+							this.hform.HMouldState = data.妯″叿鐘舵��
+						} else {
+							uni.showToast({
+								title: res.data.Message,
+								icon: 'none'
+							})
+						}
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			//鑾峰彇鐢熶骇宸ュ崟
+			getHIcmoList() {
+				uni.request({
+					url: this.serverUrl + '/Sc_EmployeeSignInNoteBillController/Get_HIcmoList',
+					data: {
+						HInterID: this.hform.HSourceID,
+						UserNmae: uni.getStorageSync('Czybm'),
+					},
+					success: (res) => {
+						if (res.data.code == 1) {
+							var data = res.data.data;
+							console.log(data)
+							for (let i = 0; i < data.length; i++) {
+								this.listData.push(Object.assign(data[i], {
+									index: i
+								}))
+							}
+						} else {
+							uni.showToast({
+								title: res.data.Message,
+								icon: 'none'
+							})
+						}
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			//鑾峰彇浣跨敤閮ㄩ棬鏁版嵁
+			getHDeptList() {
+				uni.request({
+					url: this.serverUrl + '/PublicPageMethod/DeptList',
+					data: {
+						sWhere: "where HStopFlag=0 and HEndFlag=1 and HUSEORGID = " + uni.getStorageSync(
+							'OrganizationID') + ""
+					},
+					success: (res) => {
+						if (res.data.count == 1) {
+							this.HDeptNameList = res.data.data
+							for (var i = 0; i < res.data.data.length; i++) {
+								this.arrayHDeptName[i] = res.data.data[i].HName
+							}
+							this.$forceUpdate();
+						} else {
+							uni.showToast({
+								title: res.data.Message,
+								icon: 'none'
+							})
+						}
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
 			},
 			//閫夋嫨浣跨敤閮ㄩ棬
 			HDeptNameChange(e) {
@@ -546,38 +525,35 @@
 				}
 			},
 			//鎿嶄綔鍛樸�佽礋璐d汉
-			async getHEmpList() {
-				try{
-					let res = await CommonUtils.doRequest2Async({
-						url: '/Web/GetEmployeeList_Json',
-						data: {
-							Employee: '',
-							HGroupID: 0
-						},
-					})
-					
-					console.log('res: ', res);
-					if (res.data.count == 1) {
-						console.log('res.data.data: ', res.data.data);
-						this.HEmpNameList = res.data.data
-						// for (var i = 0; i < res.data.data.length; i++) {
-						// 	this.arrayHDeptName[i] = res.data.data[i].HName
-						// }
-						this.arrayHEmpName = res.data.data.map(item => item.HName)
-						this.$forceUpdate();
-					} else {
+			getHEmpList() {
+				uni.request({
+					url: this.serverUrl + '/Web/GetEmployeeList_Json',
+					data: {
+						Employee: '',
+						HGroupID: 0
+					},
+					success: (res) => {
+						if (res.data.count == 1) {
+							this.HEmpNameList = res.data.data
+							for (var i = 0; i < res.data.data.length; i++) {
+								this.arrayHEmpName[i] = res.data.data[i].HName
+							}
+							this.$forceUpdate();
+						} else {
+							uni.showToast({
+								title: res.data.Message,
+								icon: 'none'
+							})
+						}
+					},
+					fail: (res) => {
+						console.log(res);
 						uni.showToast({
-							title: res.data.Message,
+							title: '鎺ュ彛璇锋眰澶辫触',
 							icon: 'none'
 						})
-					}
-				}catch(err) {
-					uni.showToast({
-						title: err,
-						icon: 'none'
-					})
-				}
-				
+					},
+				});
 			},
 			//閫夋嫨鎿嶄綔鍛�
 			HEmpNameChange(e) {
@@ -587,10 +563,47 @@
 					}
 				}
 			},
-			
+			//鐢熶骇璧勬簮
+			getHSourceList() {
+				uni.request({
+					url: this.serverUrl + '/api/newBill/getSourceList',
+					data: {
+						sWhere: " and HUSEORGID = " + uni.getStorageSync('OrganizationID') + ""
+					},
+					success: (res) => {
+						if (res.data.code == 1) {
+							this.HSourceNameList = res.data.data.Gy_Source
+							for (var i = 0; i < res.data.data.Gy_Source.length; i++) {
+								this.arrayHSourceName[i] = res.data.data.Gy_Source[i].鐢熶骇璧勬簮
+							}
+							this.$forceUpdate();
+						} else {
+							uni.showToast({
+								title: res.data.Message,
+								icon: 'none'
+							})
+						}
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			//閫夋嫨鐢熶骇璧勬簮
+			HSourceNameChange(e) {
+				for (var i = 0; i < this.HSourceNameList.length; i++) {
+					if (this.HSourceNameList[i].鐢熶骇璧勬簮 == e) {
+						this.hform.HSourceID = this.HSourceNameList[i].HItemID
+					}
+				}
+			},
 			//鐝粍
 			async getHGroupList() {
-				try{
+				try {
 					let res = await CommonUtils.doRequest2Async({
 						url: '/Gy_Group/list',
 						data: {
@@ -598,14 +611,11 @@
 							user: getUserInfo()['Czymc'] || '',
 						},
 					})
-					
+
 					console.log('res: ', res);
 					if (res.data.count > 0) {
 						console.log('res.data.data: ', res.data.data);
 						this.HGroupNameList = res.data.data
-						// for (var i = 0; i < res.data.data.length; i++) {
-						// 	this.arrayHDeptName[i] = res.data.data[i].HName
-						// }
 						this.arrayHGroupName = res.data.data.map(item => item.鐝粍鍚嶇О)
 						this.$forceUpdate();
 					} else {
@@ -614,13 +624,13 @@
 							icon: 'none'
 						})
 					}
-				}catch(err) {
+				} catch (err) {
 					uni.showToast({
 						title: err,
 						icon: 'none'
 					})
 				}
-				
+
 			},
 			//閫夋嫨鐝粍
 			HGroupNameChange(e) {
@@ -630,9 +640,9 @@
 					}
 				}
 			},
-			//鐝璫i
+			//鐝
 			async getHShiftsList() {
-				try{
+				try {
 					let res = await CommonUtils.doRequest2Async({
 						url: '/Gy_ShiftsController/Get_Gy_WorkShiftList',
 						data: {
@@ -640,14 +650,11 @@
 							HMaker: getUserInfo()['Czymc'] || '',
 						},
 					})
-					
+
 					console.log('res: ', res);
 					if (res.data.count > 0) {
 						console.log('res.data.data: ', res.data.data);
 						this.HShiftsNameList = res.data.data
-						// for (var i = 0; i < res.data.data.length; i++) {
-						// 	this.arrayHDeptName[i] = res.data.data[i].HName
-						// }
 						this.arrayHShiftsName = res.data.data.map(item => item.鐝鍚嶇О)
 						this.$forceUpdate();
 					} else {
@@ -656,15 +663,15 @@
 							icon: 'none'
 						})
 					}
-				}catch(err) {
+				} catch (err) {
 					uni.showToast({
 						title: err,
 						icon: 'none'
 					})
 				}
-				
+
 			},
-			//閫夋嫨鐝璫i
+			//閫夋嫨鐝
 			HShiftsNameChange(e) {
 				for (var i = 0; i < this.HSourceNameList.length; i++) {
 					if (this.HSourceNameList[i].鐝鍚嶇О == e) {
@@ -672,52 +679,9 @@
 					}
 				}
 			},
-			//鐢熶骇璧勬簮
-			async getHSourceList() {
-				try{
-					let res = await CommonUtils.doRequest2Async({
-						url: '/Gy_Source/list',
-						data: {
-							sWhere: '',
-							user: getUserInfo()['Czymc'] || '',
-						},
-					})
-					
-					console.log('鐢熶骇璧勬簮res: ', res);
-					if (res.data.count > 0) {
-						console.log('鐢熶骇璧勬簮res.data.data: ', res.data.data);
-						this.HSourceNameList = res.data.data
-						// for (var i = 0; i < res.data.data.length; i++) {
-						// 	this.arrayHDeptName[i] = res.data.data[i].HName
-						// }
-						this.arrayHSourceName = res.data.data.map(item => item.鐢熶骇璧勬簮鍚嶇О)
-						this.$forceUpdate();
-					} else {
-						uni.showToast({
-							title: res.data.Message,
-							icon: 'none'
-						})
-					}
-				}catch(err) {
-					uni.showToast({
-						title: err,
-						icon: 'none'
-					})
-				}
-				
-			},
-			//閫夋嫨shengcanziyuan
-			HSourceNameChange(e) {
-				for (var i = 0; i < this.HSourceNameList.length; i++) {
-					if (this.HSourceNameList[i].鐢熶骇璧勬簮鍚嶇О == e) {
-						this.hform.HSourceID = this.HSourceNameList[i].HItemID
-						console.log("HSourceID涓�",this.hform.HSourceID)
-					}
-				}
-			},	
 			//宸ュ簭
 			async getHProcList() {
-				try{
+				try {
 					let res = await CommonUtils.doRequest2Async({
 						url: '/Gy_Process/list',
 						data: {
@@ -725,14 +689,11 @@
 							user: getUserInfo()['Czymc'] || '',
 						},
 					})
-					
+
 					console.log('宸ュ簭res: ', res);
 					if (res.data.count > 0) {
 						console.log('宸ュ簭res.data.data: ', res.data.data);
 						this.HProcNameList = res.data.data
-						// for (var i = 0; i < res.data.data.length; i++) {
-						// 	this.arrayHDeptName[i] = res.data.data[i].HName
-						// }
 						this.arrayHProcName = res.data.data.map(item => item.宸ュ簭鍚嶇О)
 						this.$forceUpdate();
 					} else {
@@ -741,13 +702,13 @@
 							icon: 'none'
 						})
 					}
-				}catch(err) {
+				} catch (err) {
 					uni.showToast({
 						title: err,
 						icon: 'none'
 					})
 				}
-				
+
 			},
 			//閫夋嫨Proc
 			HProcNameChange(e) {
@@ -756,687 +717,316 @@
 						this.hform.HProcID = this.HProcNameList[i].HItemID
 					}
 				}
-			},	
-			
-			
-			// 鑾峰彇瑙掕壊鍒楄〃
-			async getRoleList() {
-			  try {
-			    let res = await CommonUtils.doRequest2Async({
-			      url: '/Xt_UserGroup/list',
-			      data: {
-			        sWhere: '',
-			      },
-			    })
-			    
-			    console.log('瑙掕壊鍒楄〃res: ', res);
-			    if (res.data.count > 0) {
-			      console.log('瑙掕壊鍒楄〃res.data.data: ', res.data.data);
-			      // 灏嗘帴鍙h繑鍥炵殑鏁版嵁杞崲涓� uni-data-select 闇�瑕佺殑鏍煎紡
-			      this.roleOptions = res.data.data.map(item => {
-
-			        return {
-			          value: item.瑙掕壊 ,  
-			          text: item.瑙掕壊 
-			        };
-			      });
-			      this.$forceUpdate();
-			    } else {
-			      uni.showToast({
-			        title: res.data.Message || '鑾峰彇瑙掕壊鍒楄〃澶辫触',
-			        icon: 'none'
-			      });
-			      // 濡傛灉鎺ュ彛澶辫触锛屽彲浠ヨ缃粯璁ら�夐」
-			      this.roleOptions = [];
-			    }
-			  } catch(err) {
-			    uni.showToast({
-			      title: err.message || '鑾峰彇瑙掕壊鍒楄〃寮傚父',
-			      icon: 'none'
-			    });
-			    // 寮傚父鎯呭喌璁剧疆榛樿閫夐」
-			    this.roleOptions = [];
-			  }
 			},
-			//#endregion
-			
-			
-			toScanCode2() {
-				MpaasScan.scanCode((scanCode) => {
-					this.HBarCode = scanCode
-					GetMeesageByBarCode(scanCode)
-				})
-			},
-			GetMeesageByBarCode(HBarCode) {
-				let sBarCode = this.HBarCode
-				if (!sBarCode) {
-					return uni.showToast({
-						icon: 'none',
-						title: '鏉$爜涓嶈兘涓虹┖锛岃鎵弿鏉$爜锛�',
-					})
-				}
-				CommonUtils.doRequest2({
-					url: '/Sc_EmployeeSignInNoteBillController/Get_equipmentMes',
-					data: {
-						"HInterID": this.hform.HInterID,
-						"HBarCode": sBarCode,
-					},
-				
-					resFunction: (res) => {
-						let {
-							data,
-							count,
-							Message
-						} = res.data
-						if (count == 1) {
-							//let data=res.data
-							console.log(sBarCode)
-							console.log(res.data.data[0])
-							var moulddate=res.data.data[0]
-							this.hform.HMouldID = moulddate.妯″叿id
-							this.hform.HMouldNo = moulddate.妯″叿缂栫爜
-							this.hform.HMouldName = moulddate.妯″叿鍚嶇О
-							this.hform.HMouldState = moulddate.妯″叿鐘舵��
-							this.GetEquipmentMsg(this.HBarCode)
-							
-							
-					
-						} else {
-							this.GetEquipmentMsg(this.HBarCode)
-							CommonUtils.playSound(0)
-							this.listData = []
-							
-							this.HBarCodeFocusRefresh()
-							uni.showToast({
-								icon: 'none',
-								title: "妯″叿涓虹┖"
-							})
-						}
+			// 鑾峰彇鐢ㄦ埛宸茬粦瀹氱殑瑙掕壊
+			async getUserBoundRoles() {
+				try {
+					// 纭繚瑙掕壊鍒楄〃宸插姞杞�
+					if (!this.roleList || this.roleList.length === 0) {
+						console.log('瑙掕壊鍒楄〃鏈姞杞斤紝鍏堝姞杞借鑹插垪琛�');
+						await this.getRoleList();
 					}
-				})
-			},
-			GetEquipmentMsg(HBarCode)
-			{
-				CommonUtils.doRequest2({
-					url: '/Sc_EmployeeSignInNoteBillController/APP_Edit_json',
-					data: {
-						"HInterID": this.hform.HInterID,
-						"HBarCode": HBarCode,
-					},
-				
-					resFunction: (res) => {
-						let {
-							data,
-							count,
-							Message
-						} = res.data
-						if (count == 1) {
-							//let data=res.data
-							//console.log(sBarCode)
-							console.log(res.data.data[0])
-							var tabledata=res.data.data[0]
-							this.hform.HEquipID = tabledata[0].璁惧鍐呯爜
-							this.hform.HEquipName = tabledata[0].璁惧鍚嶇О
-							this.listData = []
+					let res = await CommonUtils.doRequest2Async({
+						url: '/Xt_UserGroup/UserGroupInfoList',
+						data: {
+							sWhere: ' and userid = '+getUserInfo()['Czybm']+''
+						},
+					});
 
-							if (data[1].length > 0) {
-								this.hform.HMaterID = data[1].HMaterID
-								for (let i = 0; i < data[1].length; i++) {
-									this.listData.push(Object.assign(data[1][i], {
-										index: i
-									}))
-								}
+					if (res.data.count > 0) {
+
+						// 鎻愬彇瑙掕壊ID
+						const boundRoleIds = res.data.data.map(item => item.GroupId);
+						this.userBoundRoles = boundRoleIds;
+
+						// 灏嗚鑹睮D杞崲涓鸿鑹插悕绉�
+						const boundRoleNames = [];
+						for (const roleId of boundRoleIds) {
+							// 鍦ㄨ鑹插垪琛ㄤ腑鏌ユ壘瀵瑰簲鐨勮鑹�
+							const roleItem = this.roleList.find(r => r.HGroupID == roleId);
+							if (roleItem && roleItem.瑙掕壊) {
+								boundRoleNames.push(roleItem.瑙掕壊);
 							}
-					
-						} else {
-							CommonUtils.playSound(0)
-							this.listData = []
-							
-							this.HBarCodeFocusRefresh()
-							uni.showToast({
-								icon: 'none',
-								title: "宸ュ崟淇℃伅鍜岃澶囦俊鎭负绌�"
-							})
 						}
+
+						console.log('鐢ㄦ埛缁戝畾瑙掕壊鍚嶇О: ', boundRoleNames);
+
+						// 濡傛灉鏄柊澧炴ā寮忥紝璁剧疆榛樿閫変腑鐨勮鑹�
+						if (this.btnType == 1) {
+							this.hform.HRoles = boundRoleNames;
+							console.log('宸茶缃粯璁よ鑹�: ', this.hform.HRoles);
+						}
+
+						this.$forceUpdate();
+					} else {
+						// 濡傛灉娌℃湁缁戝畾瑙掕壊锛屾竻绌洪�夋嫨
+						if (this.btnType == 1) {
+							this.hform.HRoles = [];
+						}
+						console.log('鐢ㄦ埛鏈粦瀹氫换浣曡鑹�');
 					}
-				})
-				
-			},
-			onRoleChange(e) {
-				console.log('閫変腑鐨勮鑹�:', this.hform.HRoles);
+				} catch (err) {
+					console.error('鑾峰彇鐢ㄦ埛缁戝畾瑙掕壊澶辫触:', err);
+					uni.showToast({
+						title: err.message || '鑾峰彇鐢ㄦ埛瑙掕壊澶辫触',
+						icon: 'none'
+					});
+				}
 			},
 
+			// 鑾峰彇瑙掕壊淇℃伅
+			async getRoleList() {
+				try {
+					let res = await CommonUtils.doRequest2Async({
+						url: '/Xt_UserGroup/list',
+						data: {
+							sWhere: '',
+						},
+					});
+					if (res.data.count > 0) {
+						console.log('瑙掕壊鍒楄〃res.data.data: ', res.data.data);
 
-			handleSelect(selected, array) {
-				this.selectedRows = array
+						// 淇濆瓨鍘熷瑙掕壊鍒楄〃锛屽寘鍚鑹睮D
+						this.roleList = res.data.data;
+
+						// 鐢熸垚涓嬫媺妗嗛�夐」
+						this.roleOptions = res.data.data.map(item => {
+							return {
+								value: item.瑙掕壊,
+								text: item.瑙掕壊
+							};
+						});
+
+						// 鏇存柊瑙嗗浘
+						this.$forceUpdate();
+
+						// 杩斿洖Promise浠ヤ究閾惧紡璋冪敤
+						return Promise.resolve();
+					} else {
+						uni.showToast({
+							title: res.data.Message || '鑾峰彇瑙掕壊鍒楄〃澶辫触',
+							icon: 'none'
+						});
+
+						// 璁剧疆绌烘暟缁�
+						this.roleList = [];
+						this.roleOptions = [];
+
+						// 杩斿洖Promise浠ヤ究閾惧紡璋冪敤
+						return Promise.reject('鑾峰彇瑙掕壊鍒楄〃澶辫触');
+					}
+				} catch (err) {
+					uni.showToast({
+						title: err.message || '鑾峰彇瑙掕壊鍒楄〃寮傚父',
+						icon: 'none'
+					});
+
+					// 璁剧疆绌烘暟缁�
+					this.roleList = [];
+					this.roleOptions = [];
+
+					// 杩斿洖Promise浠ヤ究閾惧紡璋冪敤
+					return Promise.reject(err);
+				}
 			},
-			handleSelectAll(selected, array) {
-				this.selectedRows = array
-			},
-			getMaxNo() {
-				CommonUtils.doRequest2({
-					url: "/WEBSController/GetMaxBillNoAndID_Json",
+
+			//鏂板
+			getNewData() {
+				uni.request({
+					url: this.serverUrl + '/Web/GetMAXNum',
 					data: {
-						"HBillType": this.HBillType
+						HBillType: '4616'
 					},
-					resFunction: (d) => {
-						let {
-							count,
-							data,
-							Message
-						} = d.data
-						if (count == 1) {
-							this.hform.HInterID = data[0].HInterID;
-							this.hform.HBillNo = data[0].HBillNo
+					success: (res) => {
+						console.log(res.data)
+						if (res.data.count == 1) {
+							this.hform.HInterID = 0
+							this.hform.HBillNo = res.data.data[0].HBillNo
+							this.hform.HMakeDate = getDateTime.dateTimeStr('y-m-d')
+							this.btnType = 1
 						} else {
-
-							uni.showModal({
-								title: "娓╅Θ鎻愮ず",
-								showCancel: false,
-								content: Message
-
+							uni.showToast({
+								title: res.data.Message,
+								icon: 'none'
 							})
-
 						}
-					}
-				})
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
 			},
-			submitPreCheck() {
-				if (CommonUtils.isEmpty(this.hform.HInterID)) {
-					uni.showToast({
-						icon: 'none',
-						title: '鍗曟嵁鍐呯爜鑾峰彇澶辫触锛岄敊璇殑鍗曟嵁鍐呯爜锛�'
-					})
-					return false
+			submit() {
+				this.hform.HInterID = 0
+				for (let i = 0; i < this.hform.HRoles.length; i++) {
+					this.hform.HSignRemark = this.hform.HSignRemark + this.hform.HRoles[i] + ","
 				}
-				if (CommonUtils.isEmpty(this.hform.HBillNo)) {
-					uni.showToast({
-						icon: 'none',
-						title: '鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�'
-					})
-					return false
-				}
-				if (this.listData.length < 1) {
-					uni.showToast({
-						icon: 'none',
-						title: '娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�'
-					})
-					return false
-				}
-				return true
-			},
-			cmdDelete() {
-				console.log('this.selectedRows: ', this.selectedRows);
-				if (this.selectedRows.length != 1) {
-					return uni.showToast({
-						icon: 'none',
-						title: '璇烽�夋嫨涓�琛岃褰曪紝杩涜鍒犻櫎锛�'
-					})
-				}
-				uni.showModal({
-					title: '鍒犻櫎纭',
-					content: '纭瑕佸垹闄ら�変腑琛屾墍鏈夋壂鐮佽褰曪紵鍒犻櫎鍚庡皢涓嶅彲鎭㈠!',
-					success: () => {
-						if (confirm) {
-							CommonUtils.doRequest2({
-								url: '/WEBSController/set_DelPackUnionBill_Temp_Pack_Json',
-								data: {
-									HInterID: this.hform.HInterID,
-									HBillType: this.HBillType,
-									HBarCode: this.selectedRows[0].HBarCode
-								},
-								resFunction: (res) => {
-									let {
-										data,
-										count,
-										Message
-									} = res.data
-									if (count == 1) {
-										CommonUtils.playSound(1)
-										uni.showToast({
-											icon: 'none',
-											title: Message
+				let oMain = JSON.stringify(this.hform);
+				console.log("鎻愪氦鐨刯son", oMain)
+
+				let sMainSub = oMain + ';' + getUserInfo()['OrganizationID'] + ';' + getUserInfo()['Czymc'];
+				CommonUtils.doRequest2({
+					url: "/Sc_EmployeeSignInNoteBillController/SaveBill_APP",
+					data: {
+						"msg": sMainSub
+					},
+					method: "POST",
+					resFunction: (res) => {
+						let {
+							data,
+							count,
+							Message
+						} = res.data
+						if (count == 1) {
+							uni.showModal({
+								title: '鎻愮ず',
+								content: res.data.Message + ' 鏄惁缁х画鏂板锛�',
+								success: (res) => {
+									if (res.confirm) {
+										console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+										uni.redirectTo({
+											url: '/pages/EmployeeRecords/EmployeeRecordsBill'
 										})
-										//this.DisBillEntryList()
-									} else {
-										CommonUtils.playSound(0)
-										uni.showToast({
-											icon: 'none',
-											title: Message
-										})
+									} else if (res.cancel) {
+										console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+										setTimeout(() => {
+											uni.navigateBack();
+										}, 50)
 									}
 								}
-							})
-						}
-					}
-				})
-			},
-
-			async cmdSubmit() {
-				let checkRes = this.submitPreCheck()
-				if (!checkRes) {
-					return
-				}
-				this.EnableSubmit = false
-
-				try {
-					debugger
-					this.hform.HInterID = 0
-					for (let i = 0; i < this.hform.HRoles.length; i++) {
-						this.hform.HSignRemark = this.hform.HSignRemark + this.hform.HRoles[i] + ","
-					}
-					let oMain = JSON.stringify(this.hform);
-					console.log("鎻愪氦鐨刯son", oMain)
-					// this.HBillSub[0].HRepairCheckID = this.hform.HRepairCheckMainID
-					// this.HBillSub[0].HManagerID = this.hform.HManagerID
-					// this.HBillSub[0].HRepairCheckContent = this.hform.HRepairCheckMainContent
-					// let sSubStr = JSON.stringify(this.HBillSub);
-					let sMainSub = oMain + ';' + getUserInfo()['OrganizationID'] + ';' + getUserInfo()['Czymc'];
-					await CommonUtils.doRequest2({
-						url: "/Sc_EmployeeSignInNoteBillController/SaveBill_APP",
-						data: {
-							"msg": sMainSub
-						},
-						method: "POST",
-						resFunction: async (res) => {
-							let {
-								data,
-								count,
-								Message
-							} = res.data
-							if (count == 1) {
-								uni.showModal({
-								    title: '鎻愮ず',
-								    content: res.data.Message + '銆傛槸鍚︾户缁柊澧烇紵',
-								    success: (res) => {
-								        if (res.confirm) {
-								            console.log('鐢ㄦ埛鐐瑰嚮纭畾');
-								            uni.redirectTo({
-								                url: '/pages/EmployeeRecords/EmployeeRecordsBill'
-								            })
-								        } else if (res.cancel) {
-								            console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
-								            // setTimeout(() => {
-								            // 	uni.navigateBack();
-								            // }, 50)
-								        }
-								    }
-								});
-								// 绛夊緟鏁版嵁鑾峰彇瀹屾垚鍚庡啀鏄剧ず琛ㄦ牸
-								//await this.getResultTableData();
-							} else {
-								uni.showToast({
-									icon: 'none',
-									title: Message
-								})
-								this.EnableSubmit = true;
-							}
-						}
-					})
-				} catch (error) {
-					console.error('鎻愪氦澶辫触:', error);
-					this.EnableSubmit = true;
-				}
-			},
-			getResultTableData() {
-				CommonUtils.doRequest2({
-					url: '/Sc_EmployeeSignInNoteBillController/GetListPage',
-					data: {
-						"sWhere": 'and HEquipID=' + this.hform.HEquipID,
-						"user": 'admin'
-					},
-					resFunction: (res) => {
-						console.log('缁撴灉鎺ュ彛杩斿洖:', res);
-						let {
-							data,
-							count,
-							Message
-						} = res.data
-						if (count == 1) {
-							console.log('鑾峰彇鍒扮粨鏋滄暟鎹�:', data);
-							this.resultTableData = data;
-							this.showResultTable = true; // 鏄剧ず缁撴灉琛ㄦ牸
-							console.log('showResultTable 璁剧疆涓�:', this.showResultTable);
+							});
 						} else {
 							uni.showToast({
 								icon: 'none',
-								title: Message || '鑾峰彇鏁版嵁澶辫触'
+								title: Message
 							})
 							this.EnableSubmit = true;
 						}
 					}
 				})
 			},
-			// 鏂板鏂规硶
-			toAddNew() {
-				// 閲嶇疆鏁版嵁锛屽噯澶囨柊澧�
-				this.showResultTable = false;
-				this.EnableSubmit = true;
-				this.resultTableData = [];
-				this.HBarCode_Pack = '';
-				this.HBarCode = '';
-				this.listData = [];
-				this.getMaxNo(); // 閲嶆柊鑾峰彇鏂扮殑鍗曟嵁鍙�
-				this.HBarCodePackFocusRefresh(); // 閲嶆柊鑱氱劍
-			},
-
-			// 鍏抽棴缁撴灉琛ㄦ牸
-			closeResultTable() {
-				this.showResultTable = false;
-				uni.navigateBack();
-			},
-			cmdExit() {
-				uni.navigateBack()
-			},
-			//鎵撳嵃妯″潡鍑芥暟
-			/**
-			 * 鎵撳嵃鍑芥暟
-			 */
-			async search() {
-				// #ifndef APP-PLUS
+			goBack() {
 				uni.showModal({
-					content: "涓嶆敮鎸佽摑鐗欐墦鍗板姛鑳斤紝璇峰垏鎹㈢Щ鍔ㄨ澶�...",
-				})
-				return
-				// #endif
-				if (this.$printer.isConnected() === false) {
-					this.$refs.labelPrinter.openPopup()
-				} else {
-					let printContent = []
-					let printInfoBuffer = []
-					let count = 0
-					uni.showLoading()
-					console.log('this.listData: ', this.printListData);
-					for (let listOne of this.printListData) {
-						let Message = await this.getPrintTemplate(listOne.HInterID, listOne.HItemID)
-						printContent.push(Message)
-						count++;
-						if (count == 10) {
-							printInfoBuffer.push(printContent.join("\r\n"))
-							count = 0
-							printContent = []
+					title: '鎻愮ず',
+					content: '纭瑕侀��鍑哄綋鍓嶉〉闈㈠悧锛�',
+					success: (res) => {
+						if (res.confirm) {
+							console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+							uni.navigateBack()
+						} else if (res.cancel) {
+							console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
 						}
 					}
-					uni.hideLoading()
-					printInfoBuffer.push(printContent.join("\r\n"))
-					this.printInfo = JSON.stringify(printInfoBuffer)
-					printInfoBuffer = []
-
-					await this.$nextTick(() => {
-						this.$refs.labelPrinter.execPrint()
-					})
-				}
-			},
-			/** 鑾峰彇鎵撳嵃妯℃澘
-			 * @param {Object} HInterID
-			 * @param {Object} HItemID
-			 */
-			async getPrintTemplate(HInterID, HItemID) {
-				console.log('data: ', {
-					HOrginationName: uni.getStorageSync("Organization"),
-					HBillSubType: this.HBillType,
-					HInterID: HInterID,
-					HItemID: HItemID,
-				})
-				return new Promise((resolve, reject) => {
-					CommonUtils.doRequest2({
-						url: "/Sc_BarCode/Get_BarCodePrintCode_CPCL",
-						data: {
-							HOrginationName: uni.getStorageSync("Organization"),
-							HBillSubType: this.HBillType,
-							HInterID: HInterID,
-							HItemID: HItemID,
-						},
-						resFunction: (res) => {
-							let {
-								Message,
-								count
-							} = res.data
-							if (count == 1) {
-								console.log('Message: ', Message);
-								resolve(Message)
-							} else {
-								uni.showToast({
-									icon: 'none',
-									title: Message
-								})
-								reject();
-							}
-						},
-						errFunction: (err) => {
-							reject();
-						},
-
-					})
-				})
-			},
-			/**
-			 * 鏌ユ壘鎵撳嵃鏈�
-			 */
-			async searchLabelPrinter() {
-				// 鏌ユ壘鎵撳嵃鏈�
-				var that = this
-				// 浣跨敤openBluetoothAdapter 鎺ュ彛锛屽厤鍘讳富鍔ㄧ敵璇锋潈闄愮殑楹荤儲
-				uni.openBluetoothAdapter({
-					success: async (res) => {
-						await this.checkPermission();
-						console.log('start discovery devices');
-						this.discoveredDevices = [];
-						console.log(res)
-						bluetoothTool.discoveryNewDevice();
-						this.maskShow = true
-					},
-					fail: async (e) => {
-						console.error(e)
-						switch (e.code) {
-							case "10009":
-								this.showToast("姝よ澶囦笉鏀寔璁惧鎼滅储鍔熻兘!");
-								break;
-							default:
-								console.error(e);
-						}
-					}
-				})
-
-			},
-			onDevice(device) {
-				console.log("鐩戝惉瀵绘壘鍒版柊璁惧鐨勪簨浠�---------------")
-				console.log(device)
-				if (typeof device === 'undefined') return;
-				if (typeof device.name === 'undefined') return;
-				console.log(device.name);
-				if (device.name === '') return;
-				if (device.name === null) return;
-				if (device.name.toUpperCase().endsWith('_BLE') ||
-					device.name.toUpperCase().endsWith('-LE') ||
-					device.name.toUpperCase().endsWith('-BLE')) return;
-				const isDuplicate = this.discoveredDevices.find(item => item.address === device.address);
-				if (isDuplicate) return;
-				this.discoveredDevices.push(device);
-			},
-			connectBT(device) {
-				const vm = this;
-				uni.showLoading({
-					title: '杩炴帴涓�'
 				});
-				bluetoothTool.connDevice(device.address, (result) => {
-					console.log(result)
-					uni.hideLoading()
-					if (result) {
-						// 	// console.log(result);
-						bluetoothTool.cancelDiscovery();
-						// console.log(vm.$printer)
-						vm.$printer.init(new FakeConnectedDevice());
-						vm.connectedDeviceId = device.address;
-						uni.showToast({
-							icon: 'none',
-							title: '杩炴帴鎴愬姛'
-						})
-						this.maskShow = false
-					} else {
-						uni.showToast({
-							icon: 'none',
-							title: '杩炴帴澶辫触'
-						})
-					}
-				});
-			},
-			stopSearchBT() {
-				console.log("鍋滄鎼滃闄勮繎鐨勮摑鐗欏鍥磋澶�---------------")
-				bluetoothTool.cancelDiscovery();
-			},
-			closeBluetooth() {
-				console.log("鍋滄钃濈墮杩炴帴")
-				const vm = this;
-				if (vm.connectedDeviceId != '') {
-					bluetoothTool.closeBtSocket();
-					vm.connectedDeviceId = "";
-				}
-			},
-
-		},
-		computed: {
-			listTableHeight: {
-				get() {
-					return this.bottomBtnTop - this.listTableTop - 10
-				}
 			}
-		},
-		async onReady() {
-			// #ifndef MP-WEIXIN
-			let query = uni.createSelectorQuery().in(this)
-			query.select("#bottom-btn")
-				.boundingClientRect((data) => {
-					if (data) {
-						this.bottomBtnTop = data.top
-					} else {
-						console.log("鏈壘鍒�#bottom-btn鑺傜偣");
-					}
-				})
-				.exec();
-			query.select("#list-table")
-				.boundingClientRect((data) => {
-					if (data) {
-						this.listTableTop = data.top
-					} else {
-						console.log("鏈壘鍒�#list-table鑺傜偣");
-					}
-				})
-				.exec();
-			// #endif
-		},
-		onLoad(e) {
-			// 1涓� 瑁呯 2涓� 缁勬墭
-			this.BarCodeType = e.BarCodeType || 1
-			this.OperationType = e.OperationType || 1
-
-			this.getHDeptList()
-			this.getHEmpList()
-			this.getHGroupList()
-			this.getHShiftsList()
-			this.getHSourceList()
-			this.getHProcList()
-			this.getRoleList()
-			if (this.OperationType == 1) {
-				this.getMaxNo()
-			} else if (this.OperationType == 2) {
-				// this.GetMeesageByBarCode_Pack(this.HBarCode_Pack)
-				//this.DisBillEntryList()
-				this.tabs = 0
-			}
-
-
-			// 鍏夋爣榛樿鑱氱劍鍦ㄦ墭鏉$爜涓�
-			this.HBarCodePackFocusRefresh()
 		}
 	}
 </script>
 
-<style lang="scss">
-	input {
-		width: inherit;
-		padding: 8rpx 20rpx;
-		font-size: 30rpx;
+<style lang="scss" scoped>
+	.form {
+		width: 668rpx;
+		margin: 20rpx auto;
+		padding-bottom: 240rpx;
 	}
 
-	.uni-mask {
-		position: fixed;
-		top: 0;
-		left: 0;
-		bottom: 0;
-		z-index: 3;
+	.tab_area {
+		width: 100%;
+		height: 50rpx;
+	}
+
+	.other {
+		margin-top: 8rpx;
+		text-align: center;
+		font-size: 28rpx;
+		padding: 4rpx 18rpx;
+		color: #1890FF;
+	}
+
+	.form-item {
 		display: flex;
 		align-items: center;
-		width: 100%;
-		background: rgba(0, 0, 0, 0.6);
-		padding: 0 30rpx;
-		box-sizing: border-box;
+		font-size: 30rpx;
+		padding: 6rpx 0;
+
+		.title {
+			width: 208rpx;
+
+			text {
+				color: red;
+				font-weight: bold;
+			}
+		}
+
+		.right {
+			width: 450rpx;
+			border-radius: 22rpx;
+			border: 1px solid #acacac;
+		}
+
+		.righton {
+			width: 450rpx;
+			border-radius: 22rpx;
+			border: 1px solid #e4e4e4;
+			background-color: #e4e4e4;
+		}
+
+		input {
+			width: 100%;
+			padding: 8rpx 20rpx;
+			font-size: 30rpx;
+		}
+
+		textarea {
+			width: 98%;
+			padding: 8rpx 20rpx;
+			font-size: 30rpx;
+		}
+
 	}
 
-	.form {
-		display: flex;
-		flex-direction: column;
-		gap: 20rpx;
+	.bottom-btn {
+		width: 100%;
+		// height: 120rpx;
+		position: fixed;
+		bottom: 0;
+		left: 0;
+		background-color: #fff;
+		box-shadow: 0 2rpx 10rpx 2rpx rgba(0, 0, 0, 0.4);
+		padding: 30rpx 40rpx 40rpx 40rpx;
 
-		.form-base-info {
-			display: flex;
-			flex-direction: column;
-			gap: 10rpx;
-			box-sizing: border-box;
-			padding: 30rpx;
+		button {
+			border-radius: 50rpx;
+			width: 180rpx;
+			height: 66rpx;
+			line-height: 66rpx;
+			font-size: 28rpx;
 		}
 
-		.bill-info {
-			display: flex;
-			flex-direction: column;
-			gap: 10rpx;
-			box-sizing: border-box;
-			padding: 16rpx 30rpx;
-			background-color: #fff;
+		.btn-a {
+			background-color: #3A78FF;
+			color: #fff;
 		}
 
-		.form-item {
-			display: flex;
-			align-items: center;
-			font-size: 30rpx;
-			padding: 6rpx 0;
+		.btn-b {
+			background-color: #41a863;
+			color: #fff;
+		}
 
-			.title {
-				width: 208rpx;
+		.btn-c {
+			background-color: #FFA500;
+			color: #fff;
+			position: absolute;
+			right: 120rpx;
+		}
 
-				text {
-					color: red;
-					font-weight: bold;
-				}
-			}
-
-			.right {
-				flex: 1;
-				border-radius: 22rpx;
-				border: 1px solid #acacac;
-			}
-
-			.righton {
-				width: 450rpx;
-				border-radius: 22rpx;
-				border: 1px solid #e4e4e4;
-				background-color: #e4e4e4;
-			}
-
-			input {
-				// width: 100%;
-				padding: 8rpx 20rpx;
-				font-size: 30rpx;
-			}
-
-
-
-			textarea {
-				width: 98%;
-				padding: 8rpx 20rpx;
-				font-size: 30rpx;
-			}
-
+		.btn-d {
+			background-color: #ff8901;
+			color: #fff;
 		}
 	}
 
@@ -1460,224 +1050,4 @@
 			border-bottom: 3px solid #3a78ff;
 		}
 	}
-
-	.machine-info-container {
-		padding-left: 40rpx;
-		/* 鍚戝彸绉诲姩40rpx */
-		padding-right: 40rpx;
-		padding-top: 20rpx;
-
-		.form-item {
-			display: flex;
-			align-items: center;
-			font-size: 30rpx;
-			padding: 10rpx 0;
-
-			.title {
-				width: 220rpx;
-				/* 绋嶅井鍔犲鏍囬瀹藉害 */
-				min-width: 220rpx;
-				color: #333;
-			}
-
-			.righton {
-				flex: 1;
-				border-radius: 22rpx;
-				border: 1px solid #e4e4e4;
-				background-color: #f8f8f8;
-
-				input {
-					width: 100%;
-					padding: 12rpx 20rpx;
-					font-size: 30rpx;
-					color: #666;
-				}
-			}
-		}
-	}
-
-	.bottom-btn {
-		width: 100%;
-		box-sizing: border-box;
-		// height: 120rpx;
-		position: fixed;
-		bottom: 0;
-		left: 0;
-		background-color: #fff;
-		box-shadow: 0 2rpx 10rpx 2rpx rgba(0, 0, 0, 0.4);
-		padding: 30rpx 40rpx 40rpx 40rpx;
-		display: flex;
-		flex-direction: row;
-		gap: 10rpx;
-
-		button {
-			border-radius: 50rpx;
-			width: 180rpx;
-			height: 66rpx;
-			line-height: 66rpx;
-			font-size: 28rpx;
-		}
-
-		.btn-a {
-			background-color: #3A78FF;
-			color: #fff;
-		}
-
-		.btn-b {
-			background-color: #41a863;
-			color: #fff;
-		}
-
-		.btn-c {
-			background-color: #acacac;
-			color: #fff;
-			// position: absolute;
-			// right: 120rpx;
-		}
-
-		.btn-d {
-			background-color: #ff8901;
-			color: #fff;
-		}
-	}
-
-	.result-modal {
-		position: fixed;
-		top: 0;
-		left: 0;
-		width: 100%;
-		height: 100%;
-		z-index: 2;
-
-		.modal-mask {
-			position: absolute;
-			top: 0;
-			left: 0;
-			width: 100%;
-			height: 100%;
-			background: rgba(0, 0, 0, 0.5);
-		}
-
-		.modal-content {
-			position: absolute;
-			top: 50%;
-			left: 50%;
-			transform: translate(-50%, -50%);
-			width: 90%;
-			max-width: 700rpx;
-			background: #fff;
-			border-radius: 20rpx;
-			overflow: hidden;
-
-			.modal-header {
-				padding: 30rpx;
-				border-bottom: 1px solid #eee;
-				display: flex;
-				justify-content: space-between;
-				align-items: center;
-
-				.modal-title {
-					font-size: 32rpx;
-					font-weight: bold;
-				}
-			}
-
-			.modal-body {
-				padding: 30rpx;
-				max-height: 60vh;
-				overflow-y: auto;
-			}
-
-			.modal-footer {
-				padding: 30rpx;
-				border-top: 1px solid #eee;
-				display: flex;
-				align-items: center;
-			}
-		}
-	}
-	.work-order-cards {
-			padding: 30rpx;
-			display: flex;
-			flex-direction: column;
-			gap: 20rpx;
-			
-			.work-order-card {
-				background: #fff;
-				border-radius: 16rpx;
-				padding: 24rpx;
-				box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08);
-				border: 1px solid #e8e8e8;
-				
-				.card-header {
-					display: flex;
-					justify-content: space-between;
-					align-items: center;
-					padding-bottom: 20rpx;
-					border-bottom: 1px solid #f0f0f0;
-					margin-bottom: 20rpx;
-					
-					.card-title {
-						font-size: 32rpx;
-						font-weight: bold;
-						color: #333;
-					}
-				}
-				
-				.card-content {
-					.card-row {
-						display: flex;
-						align-items: center;
-						padding: 12rpx 0;
-						border-bottom: 1px dashed #f5f5f5;
-						
-						&:last-child {
-							border-bottom: none;
-						}
-						
-						.card-label {
-							width: 160rpx;
-							font-size: 28rpx;
-							color: #666;
-							flex-shrink: 0;
-						}
-						
-						.card-value {
-							flex: 1;
-							font-size: 28rpx;
-							color: #333;
-							word-break: break-all;
-						}
-					}
-				}
-				
-				&:hover {
-					box-shadow: 0 4rpx 16rpx rgba(58, 120, 255, 0.15);
-					border-color: #3a78ff;
-				}
-			}
-			
-			.empty-card {
-				display: flex;
-				flex-direction: column;
-				align-items: center;
-				justify-content: center;
-				padding: 80rpx 30rpx;
-				background: #f8f9fa;
-				border-radius: 16rpx;
-				border: 2rpx dashed #dcdfe6;
-				
-				.empty-text {
-					font-size: 30rpx;
-					color: #999;
-					margin-top: 20rpx;
-					margin-bottom: 10rpx;
-				}
-				
-				.empty-tip {
-					font-size: 26rpx;
-					color: #ccc;
-				}
-			}
-		}
 </style>
\ No newline at end of file
diff --git a/pages/MJGL/shangmudan/MouldUpperBill.vue b/pages/MJGL/shangmudan/MouldUpperBill.vue
index 514dd2e..597c282 100644
--- a/pages/MJGL/shangmudan/MouldUpperBill.vue
+++ b/pages/MJGL/shangmudan/MouldUpperBill.vue
@@ -55,7 +55,7 @@
 					</view>
 				</view>
 				<view class="form-item">
-					<view class="title">鐢熶骇璧勬簮:</view>
+					<view class="title"><text>*</text>鐢熶骇璧勬簮:</view>
 					<view class="right">
 						<uni-combox :candidates="arrayHSourceName" placeholder="璇烽�夋嫨鐢熶骇璧勬簮" v-model="hform.HSourceName"
 							@input="HSourceNameChange"></uni-combox>
@@ -317,7 +317,7 @@
 				this.hform.HDate = e.detail.value
 			},
 			getHBarCodeData(HBarCode) {
-				if (uni.getStorageSync('Organization') != "浜嬩笟涓�澶�") {
+				if (uni.getStorageSync('Organization') == "鏉窞鏂帿灏旂鎬ф潗鏂欐湁闄愬叕鍙�") {
 					if (!this.hform.HSourceName) {
 						uni.showToast({
 							title: '璇峰厛閫夋嫨鎴栨壂鎻忕敓浜ц祫婧�',
@@ -365,12 +365,13 @@
 							var data = res.data.data[0];
 							var num = data.Num;
 							switch (num) {
+								//鐢熶骇璧勬簮
 								case 1:
 									this.hform.HSourceID = data.HItemID;
 									this.hform.HSourceName = data.HName;
 									this.refreshBarCodeState();
 									break;
-
+								//鐢熶骇璁㈠崟
 								case 2:
 									this.hform.HICMOBillNo = data.鍗曟嵁鍙�;
 									this.hform.HICMOInterID = data.hmainid;
@@ -383,7 +384,7 @@
 										this.GetMaterialMouldList();
 									}
 									break;
-
+								//妯″叿
 								case 3:
 									if (!this.hform.HICMOBillNo && !this.hform.HProcExchBillNo) {
 										uni.showToast({
@@ -414,6 +415,7 @@
 										this.handleMouldData(data);
 									}
 									break;
+								//娴佽浆鍗�
 								case 4:
 									this.hform.HProcExchBillNo = data.鍗曟嵁鍙�;
 									this.hform.HProcExchInterID = data.hmainid;
@@ -422,6 +424,8 @@
 									this.hform.HICMOInterID = data.hicmointerid;
 									this.hform.HICMOEntryID = data.HICMOEntryID;
 									this.hform.HMaterID = data.HMaterID;
+									this.hform.HSourceID = data.HSourceID;
+									this.hform.HSourceName = data.HSourceName;
 									this.refreshBarCodeState();
 									if (uni.getStorageSync('OrganizationID') == "100007" && uni.getStorageSync(
 											'Organization') == "浜嬩笟涓�澶�") {
diff --git a/pages/ZLGL/lailiaojianyan_fast/Kf_QCStockInCheckBill_Fast.vue b/pages/ZLGL/lailiaojianyan_fast/Kf_QCStockInCheckBill_Fast.vue
index e7daec9..a5ac33c 100644
--- a/pages/ZLGL/lailiaojianyan_fast/Kf_QCStockInCheckBill_Fast.vue
+++ b/pages/ZLGL/lailiaojianyan_fast/Kf_QCStockInCheckBill_Fast.vue
@@ -652,6 +652,8 @@
                             message: `涓婁紶鎴愬姛`
                         })
                         this.attachmentInfo = []
+                        // 鍒锋柊鍗曟嵁鍙凤紝闃叉鍗曟嵁鍙烽噸澶�
+                        this.GetMaxNumPDA()
                     } else {
                         CommonUtils.showTips({
                             title: '娓╅Θ鎻愮ず',
diff --git a/pages/ZLGL/mojianjianyan/ProcessCheckBill.vue b/pages/ZLGL/mojianjianyan/ProcessCheckBill.vue
index e7dbd6e..4ba49a2 100644
--- a/pages/ZLGL/mojianjianyan/ProcessCheckBill.vue
+++ b/pages/ZLGL/mojianjianyan/ProcessCheckBill.vue
@@ -1,2618 +1,2629 @@
 <template>
-    <view>
-        <!-- 涓昏〃鍖哄煙 -->
-        <view class="bill-main-area">
-            <!-- 涓昏〃椤电 -->
-            <view class="bill-main-tabs">
-                <view :class="mainTabSelected == 1 ? 'selected' : ''" @tap="mainTabSelected = 1">鍩烘湰淇℃伅</view>
-                <view :class="mainTabSelected == 2 ? 'selected' : ''" @tap="mainTabSelected = 2">鍏朵粬淇℃伅</view>
-                <view :class="mainTabSelected == 3 ? 'selected' : ''" @tap="mainTabSelected = 3">鍒跺崟淇℃伅</view>
-            </view>
-            <!-- 涓昏〃鍐呭 -->
-            <view class="bill-main-contents">
-                <!-- 鍩烘湰淇℃伅 -->
-                <view class="bill-main-content" v-if="mainTabSelected == 1">
-                    <view class="form-item">
-                        <view class="left">鍗曟嵁鍙�</view>
-                        <view class="right disabled">
-                            <input type="text" :value="hform.HBillNo" disabled />
-                        </view>
-                    </view>
+	<view>
+		<!-- 涓昏〃鍖哄煙 -->
+		<view class="bill-main-area">
+			<!-- 涓昏〃椤电 -->
+			<view class="bill-main-tabs">
+				<view :class="mainTabSelected == 1 ? 'selected' : ''" @tap="mainTabSelected = 1">鍩烘湰淇℃伅</view>
+				<view :class="mainTabSelected == 2 ? 'selected' : ''" @tap="mainTabSelected = 2">鍏朵粬淇℃伅</view>
+				<view :class="mainTabSelected == 3 ? 'selected' : ''" @tap="mainTabSelected = 3">鍒跺崟淇℃伅</view>
+			</view>
+			<!-- 涓昏〃鍐呭 -->
+			<view class="bill-main-contents">
+				<!-- 鍩烘湰淇℃伅 -->
+				<view class="bill-main-content" v-if="mainTabSelected == 1">
+					<view class="form-item">
+						<view class="left">鍗曟嵁鍙�</view>
+						<view class="right disabled">
+							<input type="text" :value="hform.HBillNo" disabled />
+						</view>
+					</view>
 
-                    <view class="form-item">
-                        <view class="left">鏃ユ湡</view>
-                        <view class="right">
-                            <uni-datetime-picker type="date" :clear-icon="false" v-model="hform.HDate">
-                                <view>{{ hform.HDate }}</view>
-                            </uni-datetime-picker>
-                        </view>
-                    </view>
+					<view class="form-item">
+						<view class="left">鏃ユ湡</view>
+						<view class="right">
+							<uni-datetime-picker type="date" :clear-icon="false" v-model="hform.HDate">
+								<view>{{ hform.HDate }}</view>
+							</uni-datetime-picker>
+						</view>
+					</view>
 
-                    <view class="form-item">
-                        <view class="left">婧愬崟鍗曞彿</view>
-                        <view class="right" :class="!hasSourceBill?'':'disabled'">
-                            <input type="text" :disabled="hasSourceBill" placeholder="璇疯緭鍏ユ垨鎵弿婧愬崟鍙�"
-                                v-model="hform.HSourceBillNo" @confirm="getSourceBillInfo(hform.HSourceBillNo)" />
-                        </view>
-                        <view class="icon-wrapper-big">
-                            <uni-icons class="right-icon" type="scan"
-                                :class="!hasSourceBill?'enable-icon-button':'disable-icon-button'"
-                                :disabled="hasSourceBill" size="20" @click="toScanCode"></uni-icons>
-                        </view>
-                        <view class="icon-wrapper-big">
-                            <uni-icons class="right-icon" type="search"
-                                :class="!hasSourceBill?'enable-icon-button':'disable-icon-button'"
-                                :disabled="hasSourceBill" size="20" @click="toBillSelector"></uni-icons>
-                        </view>
-                    </view>
+					<view class="form-item">
+						<view class="left">婧愬崟鍗曞彿</view>
+						<view class="right" :class="!hasSourceBill?'':'disabled'">
+							<input type="text" :disabled="hasSourceBill" placeholder="璇疯緭鍏ユ垨鎵弿婧愬崟鍙�"
+								v-model="hform.HSourceBillNo" @confirm="getSourceBillInfo(hform.HSourceBillNo)" />
+						</view>
+						<view class="icon-wrapper-big">
+							<uni-icons class="right-icon" type="scan"
+								:class="!hasSourceBill?'enable-icon-button':'disable-icon-button'"
+								:disabled="hasSourceBill" size="20" @click="toScanCode"></uni-icons>
+						</view>
+						<view class="icon-wrapper-big">
+							<uni-icons class="right-icon" type="search"
+								:class="!hasSourceBill?'enable-icon-button':'disable-icon-button'"
+								:disabled="hasSourceBill" size="20" @click="toBillSelector"></uni-icons>
+						</view>
+					</view>
 
-                    <view class="form-item">
-                        <view class="left">浠诲姟鍗曞彿</view>
-                        <view class="right disabled">
-                            <input type="text" :value="hform.HICMOBillNo" disabled />
-                        </view>
+					<view class="form-item">
+						<view class="left">浠诲姟鍗曞彿</view>
+						<view class="right disabled">
+							<input type="text" :value="hform.HICMOBillNo" disabled />
+						</view>
 
-                    </view>
+					</view>
 
-                    <view class="form-item">
-                        <view class="left">娴佽浆鍗″彿</view>
-                        <view class="right disabled">
-                            <input type="text" :value="hform.HProcExchBillNo" disabled />
-                        </view>
+					<view class="form-item">
+						<view class="left">娴佽浆鍗″彿</view>
+						<view class="right disabled">
+							<input type="text" :value="hform.HProcExchBillNo" disabled />
+						</view>
 
-                    </view>
-                    <view class="form-item">
-                        <view class="left">鍙栨牱鍗曞彿</view>
-                        <view class="right disabled">
-                            <input type="text" disabled :value="hform.HTakeSampleCheckBillNo" />
-                            <input type="text" style="display: none;" disabled :value="hform.HTakeSampleCheckBillID" />
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">浜у搧浠g爜</view>
-                        <view class="right disabled">
-                            <input type="text" disabled :value="hform.HMaterNumber" />
-                        </view>
-                        <view class="icon-wrapper-big">
-                            <uni-icons type="search" size="20" @click="showSelectorModule(hform, 4)"></uni-icons>
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">浜у搧鍚嶇О</view>
-                        <view class="right disabled">
-                            <input type="text" disabled :value="hform.HMaterName" />
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left required">妫�楠屾暟閲�</view>
-                        <view class="right">
-                            <input type="number" v-model="hform.HCheckQty" />
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left required">妫�楠屽憳</view>
-                        <view class="right">
-                            <uni-combox :candidates="GyFirstCheckEmpNameList" placeholder="璇烽�夋嫨妫�楠屽憳"
-                                v-model="hform.HFirstCheckEmpName"
-                                @update:modelValue="HFirstCheckEmpChange"></uni-combox>
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">妫�楠屾柟妗�</view>
-                        <view class="right disabled">
-                            <input type="text" disabled :value="this.hform.HQCSchemeName" />
-                        </view>
-                        <view class="icon-wrapper-big"><uni-icons type="search" size="20"
-                                @click="showSelectorModule(hform, 7)"></uni-icons></view>
-                    </view>
+					</view>
+					<view class="form-item">
+						<view class="left">鍙栨牱鍗曞彿</view>
+						<view class="right disabled">
+							<input type="text" disabled :value="hform.HTakeSampleCheckBillNo" />
+							<input type="text" style="display: none;" disabled :value="hform.HTakeSampleCheckBillID" />
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">浜у搧浠g爜</view>
+						<view class="right disabled">
+							<input type="text" disabled :value="hform.HMaterNumber" />
+						</view>
+						<view class="icon-wrapper-big">
+							<uni-icons type="search" size="20" @click="showSelectorModule(hform, 4)"></uni-icons>
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">浜у搧鍚嶇О</view>
+						<view class="right disabled">
+							<input type="text" disabled :value="hform.HMaterName" />
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left required">妫�楠屾暟閲�</view>
+						<view class="right">
+							<input type="number" v-model="hform.HCheckQty" />
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left required">妫�楠屽憳</view>
+						<view class="right">
+							<uni-combox :candidates="GyFirstCheckEmpNameList" placeholder="璇烽�夋嫨妫�楠屽憳"
+								v-model="hform.HFirstCheckEmpName"
+								@update:modelValue="HFirstCheckEmpChange"></uni-combox>
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">妫�楠屾柟妗�</view>
+						<view class="right disabled">
+							<input type="text" disabled :value="this.hform.HQCSchemeName" />
+						</view>
+						<view class="icon-wrapper-big"><uni-icons type="search" size="20"
+								@click="showSelectorModule(hform, 7)"></uni-icons></view>
+					</view>
 
-                    <view class="form-item">
-                        <view class="left">鍒ゆ柇缁撹</view>
-                        <view class="right none-border">
-                            <radio-group @changer="checkResultChange">
-                                <label>
-                                    <radio value="0" :checked="hform.HCheckerResult" /><text></text>
-                                    鍚堟牸
-                                </label>
-                                <view style="width: 20rpx; display: inline-block"></view>
-                                <label>
-                                    <radio value="1" :checked="!hform.HCheckerResult" /><text></text>
-                                    涓嶅悎鏍�
-                                </label>
-                            </radio-group>
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">宸ュ簭</view>
-                        <view class="right disabled">
-                            <input type="text" disabled :value="hform.HProcName" />
-                        </view>
-                        <view class="icon-wrapper-big"><uni-icons type="search" size="20"
-                                :class="!hasSourceBill?'enable-icon-button':'disable-icon-button'"
-                                :disabled="hasSourceBill" @click="showSelectorModule(hform, 8)"></uni-icons></view>
-                    </view>
+					<view class="form-item">
+						<view class="left">鍒ゆ柇缁撹</view>
+						<view class="right none-border">
+							<radio-group @changer="checkResultChange">
+								<label>
+									<radio value="0" :checked="hform.HCheckerResult" /><text></text>
+									鍚堟牸
+								</label>
+								<view style="width: 20rpx; display: inline-block"></view>
+								<label>
+									<radio value="1" :checked="!hform.HCheckerResult" /><text></text>
+									涓嶅悎鏍�
+								</label>
+							</radio-group>
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">宸ュ簭</view>
+						<view class="right disabled">
+							<input type="text" disabled :value="hform.HProcName" />
+						</view>
+						<view class="icon-wrapper-big"><uni-icons type="search" size="20"
+								:class="!hasSourceBill?'enable-icon-button':'disable-icon-button'"
+								:disabled="hasSourceBill" @click="showSelectorModule(hform, 8)"></uni-icons></view>
+					</view>
 
-                </view>
-                <!-- 鍏朵粬淇℃伅 -->
-                <view class="bill-main-content" v-if="mainTabSelected == 2">
-                    <view class="form-item">
-                        <view class="left">婧愬崟绫诲瀷</view>
-                        <view class="right" style="position: relative" :class="!hasSourceBill?'':'disabled'">
-                            <picker mode="selector" :range="HSourceBillTypeNameList" :disabled="hasSourceBill"
-                                @change="HSourceBillTypeNameChange">
-                                <input type="text" placeholder="璇烽�夋嫨婧愬崟绫诲瀷" v-model="HSourceBillType" />
-                                <view class="picker-overlay"></view>
-                            </picker>
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">鐢熶骇璧勬簮</view>
-                        <view class="right">
-                            <uni-combox :candidates="GySourceNameList" placeholder="璇烽�夋嫨鐢熶骇璧勬簮" v-model="hform.HSourceName"
-                                @update:modelValue="HSourceChange"></uni-combox>
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">鐢熶骇鐝</view>
-                        <view class="right">
-                            <uni-combox :candidates="GyWorkShiftNameList" placeholder="璇烽�夋嫨鐢熶骇鐝"
-                                v-model="hform.HShiftsName" @update:modelValue="HWorkShiftChange"></uni-combox>
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">寮傚父涓存椂澶勭悊鏂规</view>
-                        <view class="right">
-                            <input type="text" v-model="hform.HErrTreatment" value="" />
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">浠诲姟鍗曟暟閲�</view>
-                        <view class="right">
-                            <input type="number" v-model="hform.HICMOQty" />
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">娴佽浆鍗℃暟閲�</view>
-                        <view class="right">
-                            <input type="number" v-model="hform.HProcExchQty" />
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">鎵瑰彿</view>
-                        <view class="right">
-                            <input type="text" v-model="hform.HBatchNo" />
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">澶囨敞</view>
-                        <view class="right">
-                            <input type="text" v-model="hform.HRemark" value="" />
-                        </view>
-                    </view>
-                </view>
-                <!-- 鍒跺崟淇℃伅 -->
-                <view class="bill-main-content" v-if="mainTabSelected == 3">
-                    <view class="form-item">
-                        <view class="left">鍒跺崟浜�</view>
-                        <view class="right disabled">
-                            <input type="text" :value="hform.HMaker" disabled />
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">鍒跺崟鏃ユ湡</view>
-                        <view class="right disabled">
-                            <input type="text" :value="hform.HMakeDate" disabled />
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">瀹℃牳浜�</view>
-                        <view class="right disabled">
-                            <input type="text" :value="hform.HChecker" disabled />
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">瀹℃牳鏃ユ湡</view>
-                        <view class="right disabled">
-                            <input type="text" :value="hform.HCheckDate" disabled />
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">鍏抽棴浜�</view>
-                        <view class="right disabled">
-                            <input type="text" :value="hform.HCloseMan" disabled />
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">鍏抽棴鏃ユ湡</view>
-                        <view class="right disabled">
-                            <input type="text" :value="hform.HCloseDate" disabled />
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">淇敼浜�</view>
-                        <view class="right disabled">
-                            <input type="text" :value="hform.HUpDater" disabled />
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">淇敼鏃ユ湡</view>
-                        <view class="right disabled">
-                            <input type="text" :value="hform.HUpDateDate" disabled />
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">浣滃簾浜�</view>
-                        <view class="right disabled">
-                            <input type="text" :value="hform.HDeleteMan" disabled />
-                        </view>
-                    </view>
-                    <view class="form-item">
-                        <view class="left">浣滃簾鏃ユ湡</view>
-                        <view class="right disabled">
-                            <input type="text" :value="hform.HDeleteDate" disabled />
-                        </view>
-                    </view>
-                </view>
-            </view>
-        </view>
-        <!-- 瀛愯〃鍖哄煙 -->
-        <view class="bill-sub-area">
-            <!-- 瀛愯〃椤电 -->
-            <view class="bill-sub-tabs">
-                <view v-for="subTab in subTabs" :key="subTab.id" :class="subTab.id == subTabSelected ? 'selected' : ''"
-                    @tap="subTabSelected = subTab.id">{{ subTab.name }}</view>
-            </view>
-            <!-- 瀛愯〃鍐呭 -->
-            <view class="bill-main-contents">
-                <!-- 妫�楠岄」鐩� 鍛堢幇 -->
-                <view v-if="subTabSelected == 1">
-                    <!-- 闇�閫氳繃鏄惧紡璋冪敤蹇界暐$event鍙傛暟 -->
-                    <view class="buttons" @tap="addCheckItem()">
-                        <uni-icons type="plus" style="margin-right: 10rpx" size="22"></uni-icons>鏂板
-                    </view>
-                    <view class="over" v-if="!checkItems || getObjLength(checkItems) == 0">鏆傛棤鏁版嵁</view>
-                    <view class="list" v-else>
-                        <uni-card v-for="checkItem in checkItems" :key="checkItem.num">
-                            <view class="card-detail">
-                                <view class="detail"> <text>搴忓彿锛�</text>{{ checkItem.num }} </view>
-                                <view class="detail editable">
-                                    <view style="flex-shrink: 0"><text>妫�楠岄」鐩細</text></view>
-                                    <input type="text" :value="checkItem.HQCCheckItemName" disabled="" />
-                                    <view class="icon-wrapper"><uni-icons type="search" size="16"
-                                            @click="showSelectorModule(checkItem, 2)"></uni-icons></view>
-                                </view>
-                                <view class="detail editable">
-                                    <view style="flex-shrink: 0"><text>妫�楠屼华鍣細</text></view>
-                                    <input type="text" :value="checkItem.HInspectInstruMentName" disabled="" />
-                                    <view class="icon-wrapper"><uni-icons type="search" size="16"
-                                            @click="showSelectorModule(checkItem, 3)"></uni-icons></view>
-                                </view>
-                                <view class="detail editable">
-                                    <view><text>缁撹锛�</text></view>
-                                    <view style="width: 4em">
-                                        {{ checkItem.HResult == 1 ? "鍚堟牸" : "涓嶅悎鏍�" }}
-                                    </view>
-                                    <view>
-                                        <switch style="width: 2em; transform: scale(0.7)"
-                                            :checked="checkItem.HResult == 1"
-                                            @change="HResultChange(checkItem.num, $event)" />
-                                    </view>
-                                </view>
-                                <view class="detail editable" style="position: relative">
-                                    <view style="flex-shrink: 0"><text>鍒嗘瀽鏂规硶锛�</text></view>
-                                    <picker :range="arrayAnalysisMethod" range-key="name"
-                                        @change="HAnalysisMethodChange(checkItem.num, $event)">
-                                        <input disabled :value="getAnalysisMethodDisplay(checkItem.HAnalysisMethod)"
-                                            placeholder="璇烽�夋嫨" />
-                                        <view class="picker-overlay"></view>
-                                    </picker>
-                                </view>
-                                <view class="detail editable">
-                                    <view style="flex-shrink: 0"><text>閲嶇偣妫�鏌ワ細</text></view>
-                                    <view>
-                                        <switch type="checkbox" style="transform: scale(0.7)"
-                                            :checked="checkItem.HKeyInspect"
-                                            @change="HKeyInspectChange(checkItem, $event)" />
-                                    </view>
-                                </view>
-                                <view class="detail" v-if="checkItem.HQCStd">
-                                    <text>妫�楠屾爣鍑嗭細</text>{{ checkItem.HQCStd }}
-                                </view>
-                                <view class="detail" v-if="checkItem.HUnit">
-                                    <text>鍗曚綅锛�</text>{{ checkItem.HUnit }}
-                                </view>
-                                <!-- 鍙湁瀹氶噺鍒嗘瀽鎵嶅惎鐢ㄦ楠屽�� -->
-                                <view class="detail editable" v-show="checkItem.HAnalysisMethod == 2">
-                                    <text>妫�楠屽�硷細</text>
-                                    <input type="text" class="editable-input" @blur="calcHResult(checkItem)"
-                                        v-model="checkItem.HInspectValQ" />
-                                </view>
-                                <view class="detail" v-if="checkItem.HQCNote">
-                                    <text>妫�楠岃褰曪細</text>{{ checkItem.HQCNote }}
-                                </view>
-                                <view class="detail" v-if="checkItem.HTargetVal">
-                                    <text>鐩爣鍊硷細</text>{{ checkItem.HTargetVal }}
-                                </view>
-                                <view class="detail" v-if="checkItem.HUpLimit">
-                                    <text>涓婇檺鍊硷細</text>{{ checkItem.HUpLimit }}
-                                </view>
-                                <view class="detail" v-if="checkItem.HDownLimit">
-                                    <text>涓嬮檺鍊硷細</text>{{ checkItem.HDownLimit }}
-                                </view>
-                                <view class="detail" v-if="checkItem.HMax">
-                                    <text>鏈�澶у�硷細</text>{{ checkItem.HMax }}
-                                </view>
-                                <view class="detail" v-if="checkItem.HMin">
-                                    <text>鏈�灏忓�硷細</text>{{ checkItem.HMin }}
-                                </view>
-                                <view class="detail" v-if="checkItem.HAvg">
-                                    <text>骞冲潎鍊硷細</text>{{ checkItem.HAvg }}
-                                </view>
-                            </view>
-                            <view style="height: 20rpx"></view>
-                            <view class="more">
-                                <view class="part" style="color: #da0000" @tap.stop="removeCheckItem(checkItem)">
-                                    <uni-icons type="trash" style="color: #da0000; margin-right: 10rpx"
-                                        size="18"></uni-icons>鍒犻櫎
-                                </view>
-                            </view>
-                        </uni-card>
-                    </view>
-                </view>
-                <!-- 鎶芥牱妫�楠� 鍛堢幇 -->
-                <view v-if="subTabSelected == 2">
-                    <view class="over" v-if="!checkItems || getObjLength(checkItems) == 0">鏆傛棤鏁版嵁</view>
-                    <view class="list" v-else>
-                        <uni-card v-for="SamplingItem in checkItems" :key="SamplingItem.num">
-                            <view class="card-detail">
-                                <view class="detail"> <text>搴忓彿锛�</text>{{ SamplingItem.num }} </view>
-                                <view class="detail editable">
-                                    <text>妫�楠岄」鐩細</text>{{ SamplingItem.HQCCheckItemName }}
-                                </view>
-                                <view style="width: 100%; height: 1px; border-bottom: 1px solid #e3e3e3"></view>
-                                <view class="detail editable" style="width: 100%">
-                                    <view style="flex-shrink: 0"><text>鎶芥牱鏂规锛�</text></view>
-                                    <input type="text" :value="SamplingItem.HSampleSchemeName" disabled />
-                                    <view class="icon-wrapper"><uni-icons type="search" size="16"
-                                            @click="showSelectorModule(SamplingItem, 1)"></uni-icons></view>
-                                </view>
-                                <view class="detail editable">
-                                    <text>鎶芥牱绫诲瀷锛�</text>{{ SamplingItem.HSamplingType }}
-                                </view>
-                                <view class="detail editable">
-                                    <text>妫�楠屾按骞筹細</text>{{ SamplingItem.HInspectionLevel }}
-                                </view>
-                                <view class="detail editable">
-                                    <text>涓ユ牸搴︼細</text>{{ SamplingItem.HStrictness }}
-                                </view>
-                                <view class="detail editable">
-                                    <text>AQL锛�</text>{{ SamplingItem.HAQL }}
-                                </view>
-                                <view style="width: 100%; height: 1px; border-bottom: 1px solid #e3e3e3"></view>
-                                <view class="detail editable">
-                                    <text>鏍锋湰閲忥細</text>{{ SamplingItem.HSampleQty }}
-                                </view>
-                                <view class="detail editable">
-                                    <text>鍏佽鏁帮細</text>{{ SamplingItem.HAcceptQty }}
-                                </view>
-                                <view class="detail editable">
-                                    <text>鎷掔粷鏁帮細</text>{{ SamplingItem.HRejectQty }}
-                                </view>
-                                <view class="detail editable">
-                                    <text>鏍锋湰涓嶅悎鏍兼暟锛�</text>{{ SamplingItem.HSampleUnRightQty }}
-                                </view>
-                                <view class="detail editable">
-                                    <text>鏍锋湰鐮村潖鏁帮細</text>
-                                    <view class="sampleDestory">
-                                        <input type="number" v-model="SamplingItem.HSampleDamageQty" />
-                                    </view>
-                                </view>
-                                <view class="detail editable">
-                                    <text>妫�楠岀粨鏋滐細</text>
-                                    <view style="border-radius: 15%; padding: 0 10rpx" :class="
+				</view>
+				<!-- 鍏朵粬淇℃伅 -->
+				<view class="bill-main-content" v-if="mainTabSelected == 2">
+					<view class="form-item">
+						<view class="left">婧愬崟绫诲瀷</view>
+						<view class="right" style="position: relative" :class="!hasSourceBill?'':'disabled'">
+							<picker mode="selector" :range="HSourceBillTypeNameList" :disabled="hasSourceBill"
+								@change="HSourceBillTypeNameChange">
+								<input type="text" placeholder="璇烽�夋嫨婧愬崟绫诲瀷" v-model="HSourceBillType" />
+								<view class="picker-overlay"></view>
+							</picker>
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">鐢熶骇璧勬簮</view>
+						<view class="right">
+							<uni-combox :candidates="GySourceNameList" placeholder="璇烽�夋嫨鐢熶骇璧勬簮" v-model="hform.HSourceName"
+								@update:modelValue="HSourceChange"></uni-combox>
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">鐢熶骇鐝</view>
+						<view class="right">
+							<uni-combox :candidates="GyWorkShiftNameList" placeholder="璇烽�夋嫨鐢熶骇鐝"
+								v-model="hform.HShiftsName" @update:modelValue="HWorkShiftChange"></uni-combox>
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">寮傚父涓存椂澶勭悊鏂规</view>
+						<view class="right">
+							<input type="text" v-model="hform.HErrTreatment" value="" />
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">浠诲姟鍗曟暟閲�</view>
+						<view class="right">
+							<input type="number" v-model="hform.HICMOQty" />
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">娴佽浆鍗℃暟閲�</view>
+						<view class="right">
+							<input type="number" v-model="hform.HProcExchQty" />
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">鎵瑰彿</view>
+						<view class="right">
+							<input type="text" v-model="hform.HBatchNo" />
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">澶囨敞</view>
+						<view class="right">
+							<input type="text" v-model="hform.HRemark" value="" />
+						</view>
+					</view>
+				</view>
+				<!-- 鍒跺崟淇℃伅 -->
+				<view class="bill-main-content" v-if="mainTabSelected == 3">
+					<view class="form-item">
+						<view class="left">鍒跺崟浜�</view>
+						<view class="right disabled">
+							<input type="text" :value="hform.HMaker" disabled />
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">鍒跺崟鏃ユ湡</view>
+						<view class="right disabled">
+							<input type="text" :value="hform.HMakeDate" disabled />
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">瀹℃牳浜�</view>
+						<view class="right disabled">
+							<input type="text" :value="hform.HChecker" disabled />
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">瀹℃牳鏃ユ湡</view>
+						<view class="right disabled">
+							<input type="text" :value="hform.HCheckDate" disabled />
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">鍏抽棴浜�</view>
+						<view class="right disabled">
+							<input type="text" :value="hform.HCloseMan" disabled />
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">鍏抽棴鏃ユ湡</view>
+						<view class="right disabled">
+							<input type="text" :value="hform.HCloseDate" disabled />
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">淇敼浜�</view>
+						<view class="right disabled">
+							<input type="text" :value="hform.HUpDater" disabled />
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">淇敼鏃ユ湡</view>
+						<view class="right disabled">
+							<input type="text" :value="hform.HUpDateDate" disabled />
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">浣滃簾浜�</view>
+						<view class="right disabled">
+							<input type="text" :value="hform.HDeleteMan" disabled />
+						</view>
+					</view>
+					<view class="form-item">
+						<view class="left">浣滃簾鏃ユ湡</view>
+						<view class="right disabled">
+							<input type="text" :value="hform.HDeleteDate" disabled />
+						</view>
+					</view>
+				</view>
+			</view>
+		</view>
+		<!-- 瀛愯〃鍖哄煙 -->
+		<view class="bill-sub-area">
+			<!-- 瀛愯〃椤电 -->
+			<view class="bill-sub-tabs">
+				<view v-for="subTab in subTabs" :key="subTab.id" :class="subTab.id == subTabSelected ? 'selected' : ''"
+					@tap="subTabSelected = subTab.id">{{ subTab.name }}</view>
+			</view>
+			<!-- 瀛愯〃鍐呭 -->
+			<view class="bill-main-contents">
+				<!-- 妫�楠岄」鐩� 鍛堢幇 -->
+				<view v-if="subTabSelected == 1">
+					<!-- 闇�閫氳繃鏄惧紡璋冪敤蹇界暐$event鍙傛暟 -->
+					<view class="buttons" @tap="addCheckItem()">
+						<uni-icons type="plus" style="margin-right: 10rpx" size="22"></uni-icons>鏂板
+					</view>
+					<view class="over" v-if="!checkItems || getObjLength(checkItems) == 0">鏆傛棤鏁版嵁</view>
+					<view class="list" v-else>
+						<uni-card v-for="checkItem in checkItems" :key="checkItem.num">
+							<view class="card-detail">
+								<view class="detail"> <text>搴忓彿锛�</text>{{ checkItem.num }} </view>
+								<view class="detail editable">
+									<view style="flex-shrink: 0"><text>妫�楠岄」鐩細</text></view>
+									<input type="text" :value="checkItem.HQCCheckItemName" disabled="" />
+									<view class="icon-wrapper"><uni-icons type="search" size="16"
+											@click="showSelectorModule(checkItem, 2)"></uni-icons></view>
+								</view>
+								<view class="detail editable">
+									<view style="flex-shrink: 0"><text>妫�楠屼华鍣細</text></view>
+									<input type="text" :value="checkItem.HInspectInstruMentName" disabled="" />
+									<view class="icon-wrapper"><uni-icons type="search" size="16"
+											@click="showSelectorModule(checkItem, 3)"></uni-icons></view>
+								</view>
+								<view class="detail editable">
+									<view><text>缁撹锛�</text></view>
+									<view style="width: 4em">
+										{{ checkItem.HResult == 1 ? "鍚堟牸" : "涓嶅悎鏍�" }}
+									</view>
+									<view>
+										<switch style="width: 2em; transform: scale(0.7)"
+											:checked="checkItem.HResult == 1"
+											@change="HResultChange(checkItem.num, $event)" />
+									</view>
+								</view>
+								<view class="detail editable" style="position: relative">
+									<view style="flex-shrink: 0"><text>鍒嗘瀽鏂规硶锛�</text></view>
+									<picker :range="arrayAnalysisMethod" range-key="name"
+										@change="HAnalysisMethodChange(checkItem.num, $event)">
+										<input disabled :value="getAnalysisMethodDisplay(checkItem.HAnalysisMethod)"
+											placeholder="璇烽�夋嫨" />
+										<view class="picker-overlay"></view>
+									</picker>
+								</view>
+								<view class="detail editable">
+									<view style="flex-shrink: 0"><text>閲嶇偣妫�鏌ワ細</text></view>
+									<view>
+										<switch type="checkbox" style="transform: scale(0.7)"
+											:checked="checkItem.HKeyInspect"
+											@change="HKeyInspectChange(checkItem, $event)" />
+									</view>
+								</view>
+								<view class="detail" v-if="checkItem.HQCStd">
+									<text>妫�楠屾爣鍑嗭細</text>{{ checkItem.HQCStd }}
+								</view>
+								<view class="detail" v-if="checkItem.HUnit">
+									<text>鍗曚綅锛�</text>{{ checkItem.HUnit }}
+								</view>
+								<!-- 鍙湁瀹氶噺鍒嗘瀽鎵嶅惎鐢ㄦ楠屽�� -->
+								<view class="detail editable" v-show="checkItem.HAnalysisMethod == 2">
+									<text>妫�楠屽�硷細</text>
+									<input type="text" class="editable-input" @blur="calcHResult(checkItem)"
+										v-model="checkItem.HInspectValQ" />
+								</view>
+								<view class="detail" v-if="checkItem.HQCNote">
+									<text>妫�楠岃褰曪細</text>{{ checkItem.HQCNote }}
+								</view>
+								<view class="detail" v-if="checkItem.HTargetVal">
+									<text>鐩爣鍊硷細</text>{{ checkItem.HTargetVal }}
+								</view>
+								<view class="detail" v-if="checkItem.HUpLimit">
+									<text>涓婇檺鍊硷細</text>{{ checkItem.HUpLimit }}
+								</view>
+								<view class="detail" v-if="checkItem.HDownLimit">
+									<text>涓嬮檺鍊硷細</text>{{ checkItem.HDownLimit }}
+								</view>
+								<view class="detail" v-if="checkItem.HMax">
+									<text>鏈�澶у�硷細</text>{{ checkItem.HMax }}
+								</view>
+								<view class="detail" v-if="checkItem.HMin">
+									<text>鏈�灏忓�硷細</text>{{ checkItem.HMin }}
+								</view>
+								<view class="detail" v-if="checkItem.HAvg">
+									<text>骞冲潎鍊硷細</text>{{ checkItem.HAvg }}
+								</view>
+							</view>
+							<view style="height: 20rpx"></view>
+							<view class="more">
+								<view class="part" style="color: #da0000" @tap.stop="removeCheckItem(checkItem)">
+									<uni-icons type="trash" style="color: #da0000; margin-right: 10rpx"
+										size="18"></uni-icons>鍒犻櫎
+								</view>
+							</view>
+						</uni-card>
+					</view>
+				</view>
+				<!-- 鎶芥牱妫�楠� 鍛堢幇 -->
+				<view v-if="subTabSelected == 2">
+					<view class="over" v-if="!checkItems || getObjLength(checkItems) == 0">鏆傛棤鏁版嵁</view>
+					<view class="list" v-else>
+						<uni-card v-for="SamplingItem in checkItems" :key="SamplingItem.num">
+							<view class="card-detail">
+								<view class="detail"> <text>搴忓彿锛�</text>{{ SamplingItem.num }} </view>
+								<view class="detail editable">
+									<text>妫�楠岄」鐩細</text>{{ SamplingItem.HQCCheckItemName }}
+								</view>
+								<view style="width: 100%; height: 1px; border-bottom: 1px solid #e3e3e3"></view>
+								<view class="detail editable" style="width: 100%">
+									<view style="flex-shrink: 0"><text>鎶芥牱鏂规锛�</text></view>
+									<input type="text" :value="SamplingItem.HSampleSchemeName" disabled />
+									<view class="icon-wrapper"><uni-icons type="search" size="16"
+											@click="showSelectorModule(SamplingItem, 1)"></uni-icons></view>
+								</view>
+								<view class="detail editable">
+									<text>鎶芥牱绫诲瀷锛�</text>{{ SamplingItem.HSamplingType }}
+								</view>
+								<view class="detail editable">
+									<text>妫�楠屾按骞筹細</text>{{ SamplingItem.HInspectionLevel }}
+								</view>
+								<view class="detail editable">
+									<text>涓ユ牸搴︼細</text>{{ SamplingItem.HStrictness }}
+								</view>
+								<view class="detail editable">
+									<text>AQL锛�</text>{{ SamplingItem.HAQL }}
+								</view>
+								<view style="width: 100%; height: 1px; border-bottom: 1px solid #e3e3e3"></view>
+								<view class="detail editable">
+									<text>鏍锋湰閲忥細</text>{{ SamplingItem.HSampleQty }}
+								</view>
+								<view class="detail editable">
+									<text>鍏佽鏁帮細</text>{{ SamplingItem.HAcceptQty }}
+								</view>
+								<view class="detail editable">
+									<text>鎷掔粷鏁帮細</text>{{ SamplingItem.HRejectQty }}
+								</view>
+								<view class="detail editable">
+									<text>鏍锋湰涓嶅悎鏍兼暟锛�</text>{{ SamplingItem.HSampleUnRightQty }}
+								</view>
+								<view class="detail editable">
+									<text>鏍锋湰鐮村潖鏁帮細</text>
+									<view class="sampleDestory">
+										<input type="number" v-model="SamplingItem.HSampleDamageQty" />
+									</view>
+								</view>
+								<view class="detail editable">
+									<text>妫�楠岀粨鏋滐細</text>
+									<view style="border-radius: 15%; padding: 0 10rpx" :class="
                                         SamplingItem.HInspectResultToSee == '鍚堟牸'
                                         ? 'pass-background'
                                         : SamplingItem.HInspectResultToSee == '涓嶅悎鏍�'
                                         ? 'unpass-background'
                                         : ''
                                     ">
-                                        {{ SamplingItem.HInspectResultToSee }}
-                                    </view>
-                                </view>
-                            </view>
-                        </uni-card>
-                    </view>
-                </view>
-                <!-- 妫�娴嬪�� 鍛堢幇 -->
-                <view v-else v-for="item in InspectModules" :key="item.id">
-                    <view v-if="subTabSelected == item.id">
-                        <InspectValueTemplateVue ref="InspectValueModules" :bind-key="item.id"
-                            @syncCheckData="InspectValueComplete" :bind-data="{
+										{{ SamplingItem.HInspectResultToSee }}
+									</view>
+								</view>
+							</view>
+						</uni-card>
+					</view>
+				</view>
+				<!-- 妫�娴嬪�� 鍛堢幇 -->
+				<view v-else v-for="item in InspectModules" :key="item.id">
+					<view v-if="subTabSelected == item.id">
+						<InspectValueTemplateVue ref="InspectValueModules" :bind-key="item.id"
+							@syncCheckData="InspectValueComplete" :bind-data="{
                 data: checkItems[item.checkItemId],
                 list: InspectValues[item.checkItemId],
                 mode: 1 // 棣栨妫�娴嬪�兼ā鍧�
               }">
-                        </InspectValueTemplateVue>
-                    </view>
-                </view>
-            </view>
-        </view>
-        <view style="height: 120rpx"></view>
-        <view class="bottom-btn">
-            <button class="btn-a" size="mini" @tap="submit">鎻愪氦</button>
-            <view style="flex: 1"></view>
-            <button class="btn-a" size="mini" @tap="addNew">鏂板</button>
-            <button class="btn-c" size="mini" @tap="goBack">閫�鍑�</button>
-        </view>
-        <SampleSchemePopupVue v-if="enablePopupModule == PopupModuleNameList[1]" ref="listPopup"
-            @update="SampleSchemeComplete" :bindKey="currentChechItemIDCache">
-        </SampleSchemePopupVue>
-        <CheckItemPopupVue v-if="enablePopupModule == PopupModuleNameList[2]" ref="listPopup"
-            @update="CheckItemComplete" :bindKey="currentChechItemIDCache">
-        </CheckItemPopupVue>
-        <InspectMentPopupVue v-if="enablePopupModule == PopupModuleNameList[3]" ref="listPopup"
-            @update="InspectMentComplete" :bindKey="currentChechItemIDCache">
-        </InspectMentPopupVue>
-        <MaterialPopupVue v-if="enablePopupModule == PopupModuleNameList[4]" ref="listPopup" @update="MaterComplete"
-            :bindKey="0">
-        </MaterialPopupVue>
-        <ICMOBillPopupVue v-if="enablePopupModule == PopupModuleNameList[5]" ref="listPopup" @update="ICMOBillComplete"
-            :bindKey="0"></ICMOBillPopupVue>
-        <ProcExchBillPopupVue v-if="enablePopupModule == PopupModuleNameList[6]" ref="listPopup"
-            @update="ProcExchBillComplete" :bindKey="0"></ProcExchBillPopupVue>
-        <ProcessPopupVue v-if="enablePopupModule == PopupModuleNameList[8]" ref="listPopup" @update="HProcComplete"
-            :bindKey="0"></ProcessPopupVue>
-        <CheckProjectPopupVue v-if="enablePopupModule == PopupModuleNameList[7]" ref="listPopup"
-            @update="HQCSchemeComplete" :bindKey="0"></CheckProjectPopupVue>
-        <BillListPopupVue ref="billList" :HBillType="hform.HBillType" :HSourceBillType="hform.HSourceBillType"
-            :HStockOrgID="hform.HStockOrgID" @BillSelectComplete="HandleBillSelectComplete"></BillListPopupVue>
-    </view>
+						</InspectValueTemplateVue>
+					</view>
+				</view>
+			</view>
+		</view>
+		<view style="height: 120rpx"></view>
+		<view class="bottom-btn">
+			<button class="btn-a" size="mini" @tap="submit">鎻愪氦</button>
+			<view style="flex: 1"></view>
+			<button class="btn-a" size="mini" @tap="addNew">鏂板</button>
+			<button class="btn-c" size="mini" @tap="goBack">閫�鍑�</button>
+		</view>
+		<SampleSchemePopupVue v-if="enablePopupModule == PopupModuleNameList[1]" ref="listPopup"
+			@update="SampleSchemeComplete" :bindKey="currentChechItemIDCache">
+		</SampleSchemePopupVue>
+		<CheckItemPopupVue v-if="enablePopupModule == PopupModuleNameList[2]" ref="listPopup"
+			@update="CheckItemComplete" :bindKey="currentChechItemIDCache">
+		</CheckItemPopupVue>
+		<InspectMentPopupVue v-if="enablePopupModule == PopupModuleNameList[3]" ref="listPopup"
+			@update="InspectMentComplete" :bindKey="currentChechItemIDCache">
+		</InspectMentPopupVue>
+		<MaterialPopupVue v-if="enablePopupModule == PopupModuleNameList[4]" ref="listPopup" @update="MaterComplete"
+			:bindKey="0">
+		</MaterialPopupVue>
+		<ICMOBillPopupVue v-if="enablePopupModule == PopupModuleNameList[5]" ref="listPopup" @update="ICMOBillComplete"
+			:bindKey="0"></ICMOBillPopupVue>
+		<ProcExchBillPopupVue v-if="enablePopupModule == PopupModuleNameList[6]" ref="listPopup"
+			@update="ProcExchBillComplete" :bindKey="0"></ProcExchBillPopupVue>
+		<ProcessPopupVue v-if="enablePopupModule == PopupModuleNameList[8]" ref="listPopup" @update="HProcComplete"
+			:bindKey="0"></ProcessPopupVue>
+		<CheckProjectPopupVue v-if="enablePopupModule == PopupModuleNameList[7]" ref="listPopup"
+			@update="HQCSchemeComplete" :bindKey="0"></CheckProjectPopupVue>
+		<BillListPopupVue ref="billList" :HBillType="hform.HBillType" :HSourceBillType="hform.HSourceBillType"
+			:HStockOrgID="hform.HStockOrgID" @BillSelectComplete="HandleBillSelectComplete"></BillListPopupVue>
+	</view>
 </template>
 
 <script>
-    import dayjs from "dayjs";
-    import {
-        CommonUtils
-    } from "../../../utils/common";
-    import InspectValueTemplateVue from "@/components/ZLGL/InspectValueTemplate.vue";
-    import SampleSchemePopupVue from "@/components/ZLGL/SampleSchemePopup.vue";
-    import CheckItemPopupVue from "@/components/ZLGL/CheckItemPopup.vue";
-    import InspectMentPopupVue from "../../../components/ZLGL/InspectMentPopup.vue";
-    import MaterialPopupVue from "../../../components/ZLGL/MaterialPopup.vue";
-    import ICMOBillPopupVue from "../../../components/ZLGL/ICMOBillPopup.vue";
-    import ProcExchBillPopupVue from "../../../components/ZLGL/ProcExchBillPopup.vue";
-    import ProcessPopupVue from "../../../components/ZLGL/ProcessPopup.vue";
-    import CheckProjectPopupVue from "../../../components/ZLGL/CheckProjectPopup.vue";
-    import BillListPopupVue from "../../../components/BillListPopup/BillListPopup.vue";
-    import {
-        getUserInfo
-    } from "../../../utils/auth";
-    import {
-        MpaasScan
-    } from "../../../utils/mpaasScan";
-    export default {
-        components: {
-            InspectValueTemplateVue,
-            SampleSchemePopupVue,
-            CheckItemPopupVue,
-            InspectMentPopupVue,
-            MaterialPopupVue,
-            ICMOBillPopupVue,
-            ProcExchBillPopupVue,
-            ProcessPopupVue,
-            CheckProjectPopupVue,
-            BillListPopupVue,
-        },
-        computed: {
-            judgeConclusion: {
-                get() {
-                    return true;
-                },
-            },
-        },
-        data() {
-            return {
-                operationType: 1,
+	import dayjs from "dayjs";
+	import {
+		CommonUtils
+	} from "../../../utils/common";
+	import InspectValueTemplateVue from "@/components/ZLGL/InspectValueTemplate.vue";
+	import SampleSchemePopupVue from "@/components/ZLGL/SampleSchemePopup.vue";
+	import CheckItemPopupVue from "@/components/ZLGL/CheckItemPopup.vue";
+	import InspectMentPopupVue from "../../../components/ZLGL/InspectMentPopup.vue";
+	import MaterialPopupVue from "../../../components/ZLGL/MaterialPopup.vue";
+	import ICMOBillPopupVue from "../../../components/ZLGL/ICMOBillPopup.vue";
+	import ProcExchBillPopupVue from "../../../components/ZLGL/ProcExchBillPopup.vue";
+	import ProcessPopupVue from "../../../components/ZLGL/ProcessPopup.vue";
+	import CheckProjectPopupVue from "../../../components/ZLGL/CheckProjectPopup.vue";
+	import BillListPopupVue from "../../../components/BillListPopup/BillListPopup.vue";
+	import {
+		getUserInfo
+	} from "../../../utils/auth";
+	import {
+		MpaasScan
+	} from "../../../utils/mpaasScan";
+	export default {
+		components: {
+			InspectValueTemplateVue,
+			SampleSchemePopupVue,
+			CheckItemPopupVue,
+			InspectMentPopupVue,
+			MaterialPopupVue,
+			ICMOBillPopupVue,
+			ProcExchBillPopupVue,
+			ProcessPopupVue,
+			CheckProjectPopupVue,
+			BillListPopupVue,
+		},
+		computed: {
+			judgeConclusion: {
+				get() {
+					return true;
+				},
+			},
+		},
+		data() {
+			return {
+				operationType: 1,
 
-                mainTabSelected: 1,
-                subTabSelected: 1,
+				mainTabSelected: 1,
+				subTabSelected: 1,
 
-                // 婧愬崟鐘舵�佹帶鍒�
-                hasSourceBill: false,
+				// 婧愬崟鐘舵�佹帶鍒�
+				hasSourceBill: false,
 
-                // 鎺у埗褰撳墠鏄剧ず鐨勫脊绐楁ā鍧�
-                enablePopupModule: "",
-                PopupModuleNameList: [
-                    "",
-                    "SampleScheme",
-                    "CheckItem",
-                    "InspectMent",
-                    "Material",
-                    "ICMOBill",
-                    "ProcExchBill",
-                    "QCScheme",
-                    "Process",
-                ],
-                // 褰撳墠鎿嶄綔鐨勬楠屽崟ID缂撳瓨
-                currentChechItemIDCache: -1,
+				// 鎺у埗褰撳墠鏄剧ず鐨勫脊绐楁ā鍧�
+				enablePopupModule: "",
+				PopupModuleNameList: [
+					"",
+					"SampleScheme",
+					"CheckItem",
+					"InspectMent",
+					"Material",
+					"ICMOBill",
+					"ProcExchBill",
+					"QCScheme",
+					"Process",
+				],
+				// 褰撳墠鎿嶄綔鐨勬楠屽崟ID缂撳瓨
+				currentChechItemIDCache: -1,
 
-                // uni-combox 閫夋嫨鍣ㄤ娇鐢�
-                // 鐢熶骇璧勬簮
-                GySourceList: [],
-                GySourceNameList: [],
-                // 鐝
-                GyWorkShiftList: [],
-                GyWorkShiftNameList: [],
-                // 妫�楠屽憳
-                GyFirstCheckEmpList: [],
-                GyFirstCheckEmpNameList: [],
+				// uni-combox 閫夋嫨鍣ㄤ娇鐢�
+				// 鐢熶骇璧勬簮
+				GySourceList: [],
+				GySourceNameList: [],
+				// 鐝
+				GyWorkShiftList: [],
+				GyWorkShiftNameList: [],
+				// 妫�楠屽憳
+				GyFirstCheckEmpList: [],
+				GyFirstCheckEmpNameList: [],
 
-                // 妫�楠屾柟妗�
-                arrayAnalysisMethod: [{
-                        value: 1,
-                        name: "瀹氭�у垎鏋�",
-                    },
-                    {
-                        value: 2,
-                        name: "瀹氶噺鍒嗘瀽",
-                    },
-                    {
-                        value: 3,
-                        name: "鍏朵粬鍒嗘瀽",
-                    },
-                ],
-                ArrayAnalysisMethodValue: [1, 2, 3],
-                // 瀛愯〃 椤电淇℃伅
-                subTabs: {
-                    1: {
-                        id: "1",
-                        name: "妫�楠岄」鐩�",
-                    },
-                    2: {
-                        id: "2",
-                        name: "鎶芥牱妫�楠�",
-                    },
-                },
+				// 妫�楠屾柟妗�
+				arrayAnalysisMethod: [{
+						value: 1,
+						name: "瀹氭�у垎鏋�",
+					},
+					{
+						value: 2,
+						name: "瀹氶噺鍒嗘瀽",
+					},
+					{
+						value: 3,
+						name: "鍏朵粬鍒嗘瀽",
+					},
+				],
+				ArrayAnalysisMethodValue: [1, 2, 3],
+				// 瀛愯〃 椤电淇℃伅
+				subTabs: {
+					1: {
+						id: "1",
+						name: "妫�楠岄」鐩�",
+					},
+					2: {
+						id: "2",
+						name: "鎶芥牱妫�楠�",
+					},
+				},
 
-                // 婧愬崟绫诲瀷
-                HSourceBillType: "宸ュ簭鍑虹珯姹囨姤鍗�",
-                HSourceBillTypeValueList: ["3791", "3710", "3772"],
-                HSourceBillTypeNameList: [
-                    "宸ュ簭鍑虹珯姹囨姤鍗�",
-                    "鐢熶骇璁㈠崟",
-                    "宸ュ簭娴佽浆鍗�",
-                ],
-                // 涓昏〃灞炴��
-                hform: {
-                    HSourceBillType: "3791",
-                    HBillType: '7507',
-                    HSourceBillNo: "",
-                    HSourceBillQty: 0,
-                    HBillNo: "",
-                    HTakeSampleCheckBillNo: "",
-                    HInterID: "0",
-                    HDate: dayjs(new Date()).format("YYYY-MM-DD"),
-                    HSourceName: "",
-                    HSourceID: "0",
-                    HShiftsName: "",
-                    HShiftsID: "0",
-                    HICMOBillNo: "",
-                    HICMOInterID: "0",
-                    HICMOEntryID: "1",
-                    HICMOQty: "0",
-                    HProcExchBillNo: "",
-                    HProcExchInterID: "0",
-                    HProcExchEntryID: "0",
-                    HProcExchQty: "0",
-                    HMaterNumber: "",
-                    HMaterID: "0",
-                    HMaterName: "",
-                    HFirstCheckEmpName: getUserInfo().HEmpName,
-                    HFirstCheckEmp: getUserInfo().HEmpID,
-                    HQCSchemeName: "",
-                    HQCSchemeID: "0",
-                    HBatchNo: "",
-                    HCheckerResult: true, // 榛樿鍚堟牸
-                    HProcName: "",
-                    HProcID: "0",
-                    HTakeSampleCheckBillNo: "", // 鍙栨牱鍗�
-                    HTakeSampleCheckBillID: "0",
-                    HRemark: "",
-                    HErrTreatment: "", // 寮傚父涓存椂澶勭悊鏂规
-                    HMaker: getUserInfo()["Czymc"] || "",
-                    HChecker: "",
-                    HCloseMan: "",
-                    HMakeDate: dayjs(new Date()).format("YYYY-MM-DDTHH:mm:ss"),
-                    HCheckDate: "",
-                    HCloseDate: "",
-                    HUpDater: "",
-                    HDeleteMan: "",
-                    HUpDateDate: "",
-                    HDeleteDate: "",
-                    HResult: 1,
-                    HAnalysisMethod: "",
+				// 婧愬崟绫诲瀷
+				HSourceBillType: "宸ュ簭鍑虹珯姹囨姤鍗�",
+				HSourceBillTypeValueList: ["3791", "3710", "3772"],
+				HSourceBillTypeNameList: [
+					"宸ュ簭鍑虹珯姹囨姤鍗�",
+					"鐢熶骇璁㈠崟",
+					"宸ュ簭娴佽浆鍗�",
+				],
+				// 涓昏〃灞炴��
+				hform: {
+					HSourceBillType: "3791",
+					HBillType: '7507',
+					HSourceBillNo: "",
+					HSourceBillQty: 0,
+					HBillNo: "",
+					HTakeSampleCheckBillNo: "",
+					HInterID: "0",
+					HDate: dayjs(new Date()).format("YYYY-MM-DD"),
+					HSourceName: "",
+					HSourceID: "0",
+					HShiftsName: "",
+					HShiftsID: "0",
+					HICMOBillNo: "",
+					HICMOInterID: "0",
+					HICMOEntryID: "1",
+					HICMOQty: "0",
+					HProcExchBillNo: "",
+					HProcExchInterID: "0",
+					HProcExchEntryID: "0",
+					HProcExchQty: "0",
+					HMaterNumber: "",
+					HMaterID: "0",
+					HMaterName: "",
+					HFirstCheckEmpName: getUserInfo().HEmpName,
+					HFirstCheckEmp: getUserInfo().HEmpID,
+					HQCSchemeName: "",
+					HQCSchemeID: "0",
+					HBatchNo: "",
+					HCheckerResult: true, // 榛樿鍚堟牸
+					HProcName: "",
+					HProcID: "0",
+					HTakeSampleCheckBillNo: "", // 鍙栨牱鍗�
+					HTakeSampleCheckBillID: "0",
+					HRemark: "",
+					HErrTreatment: "", // 寮傚父涓存椂澶勭悊鏂规
+					HMaker: getUserInfo()["Czymc"] || "",
+					HChecker: "",
+					HCloseMan: "",
+					HMakeDate: dayjs(new Date()).format("YYYY-MM-DDTHH:mm:ss"),
+					HCheckDate: "",
+					HCloseDate: "",
+					HUpDater: "",
+					HDeleteMan: "",
+					HUpDateDate: "",
+					HDeleteDate: "",
+					HResult: 1,
+					HAnalysisMethod: "",
 
-                    HCheckQty: 0,
+					HCheckQty: 0,
 
-                    HResDec: "",
-                    HStatus: 1,
+					HResDec: "",
+					HStatus: 1,
 
-                    HMainSourceBillType: "",
-                    HMainSourceInterID: "0",
-                    HMainSourceEntryID: "1",
-                    HMainSourceBillNo: "",
-                    HStockOrgID: uni.getStorageSync('OrganizationID'),
-                },
-                // 妫�楠岄」鐩拰鎶芥牱妫�楠� 鍊�
-                checkItems: {},
-                // 妫�娴嬪�兼ā鍧�
-                InspectModules: {},
-                // 妫�娴嬪��
-                InspectValues: {},
-            };
-        },
-        methods: {
-            // 婧愬崟绫诲瀷閫夋嫨
-            HSourceBillTypeNameChange(e) {
-                this.HSourceBillType = this.HSourceBillTypeNameList[e.detail.value];
-                this.hform.HSourceBillType = this.HSourceBillTypeValueList[e.detail.value];
-                const pages = getCurrentPages()
-                // 鑾峰彇椤甸潰鏍堜腑鐨勬渶鍚庝竴涓厓绱狅紝涔熷氨鏄綋鍓嶆樉绀虹殑椤甸潰
-                const currentPage = pages[pages.length - 1]
-                // 閫夋嫨婧愬崟绫诲瀷鍚� 缂撳瓨褰撳墠椤甸潰閫夋嫨
-                uni.setStorageSync(`${currentPage.route.split("/").pop()}_HSourceBillTypeCache`, {
-                    HSourceBillTypeName: this.HSourceBillType,
-                    HSourceBillType: this.hform.HSourceBillType
-                })
-            },
-            // 璇诲彇缂撳瓨
-            loadCache() {
-                const pages = getCurrentPages()
-                // 鑾峰彇椤甸潰鏍堜腑鐨勬渶鍚庝竴涓厓绱狅紝涔熷氨鏄綋鍓嶆樉绀虹殑椤甸潰
-                const currentPage = pages[pages.length - 1]
-                let HBillTypeCache = uni.getStorageSync(`${currentPage.route.split("/").pop()}_HSourceBillTypeCache`)
-                if (HBillTypeCache) {
-                    this.HSourceBillType = HBillTypeCache.HSourceBillTypeName
-                    this.hform.HSourceBillType = HBillTypeCache.HSourceBillType
-                    this.hform.HMainSourceBillType = HBillTypeCache.HSourceBillType
-                }
-            },
-            // 鏍规嵁婧愬崟绫诲瀷閫夋嫨鍗曟嵁
-            toBillSelector() {
-                this.$refs['billList'].showPopup()
-            },
-            toScanCode() {
-                MpaasScan.scanCode((res) => {
-                    if (res) {
-                        this.getSourceBillInfo(res);
-                    }
-                });
-            },
-            async getSourceBillInfo(HBarCode) {
-                console.log('HBarCode: ', HBarCode);
-                let res = await CommonUtils.doRequest2Async({
-                    url: "/WEBSController/get_CheckBillBarCode_Json_CheckItem",
-                    data: {
-                        HBillType: this.hform.HBillType,
-                        HSourceBillType: this.hform.HSourceBillType,
-                        HBarCode: HBarCode,
-                        HInterID: 0,
-                        HEntryID: 0,
-                        Mode: 1, //鎵爜妯″紡
-                        user: getUserInfo()["Czymc"]
-                    }
-                })
+					HMainSourceBillType: "",
+					HMainSourceInterID: "0",
+					HMainSourceEntryID: "1",
+					HMainSourceBillNo: "",
+					HStockOrgID: uni.getStorageSync('OrganizationID'),
+				},
+				// 妫�楠岄」鐩拰鎶芥牱妫�楠� 鍊�
+				checkItems: {},
+				// 妫�娴嬪�兼ā鍧�
+				InspectModules: {},
+				// 妫�娴嬪��
+				InspectValues: {},
+			};
+		},
+		methods: {
+			// 婧愬崟绫诲瀷閫夋嫨
+			HSourceBillTypeNameChange(e) {
+				this.HSourceBillType = this.HSourceBillTypeNameList[e.detail.value];
+				this.hform.HSourceBillType = this.HSourceBillTypeValueList[e.detail.value];
+				const pages = getCurrentPages()
+				// 鑾峰彇椤甸潰鏍堜腑鐨勬渶鍚庝竴涓厓绱狅紝涔熷氨鏄綋鍓嶆樉绀虹殑椤甸潰
+				const currentPage = pages[pages.length - 1]
+				// 閫夋嫨婧愬崟绫诲瀷鍚� 缂撳瓨褰撳墠椤甸潰閫夋嫨
+				uni.setStorageSync(`${currentPage.route.split("/").pop()}_HSourceBillTypeCache`, {
+					HSourceBillTypeName: this.HSourceBillType,
+					HSourceBillType: this.hform.HSourceBillType
+				})
+			},
+			// 璇诲彇缂撳瓨
+			loadCache() {
+				const pages = getCurrentPages()
+				// 鑾峰彇椤甸潰鏍堜腑鐨勬渶鍚庝竴涓厓绱狅紝涔熷氨鏄綋鍓嶆樉绀虹殑椤甸潰
+				const currentPage = pages[pages.length - 1]
+				let HBillTypeCache = uni.getStorageSync(`${currentPage.route.split("/").pop()}_HSourceBillTypeCache`)
+				if (HBillTypeCache) {
+					this.HSourceBillType = HBillTypeCache.HSourceBillTypeName
+					this.hform.HSourceBillType = HBillTypeCache.HSourceBillType
+					this.hform.HMainSourceBillType = HBillTypeCache.HSourceBillType
+				}
+			},
+			// 鏍规嵁婧愬崟绫诲瀷閫夋嫨鍗曟嵁
+			toBillSelector() {
+				this.$refs['billList'].showPopup()
+			},
+			toScanCode() {
+				MpaasScan.scanCode((res) => {
+					if (res) {
+						this.getSourceBillInfo(res);
+					}
+				});
+			},
+			async getSourceBillInfo(HBarCode) {
+				console.log('HBarCode: ', HBarCode);
+				let res = await CommonUtils.doRequest2Async({
+					url: "/WEBSController/get_CheckBillBarCode_Json_CheckItem",
+					data: {
+						HBillType: this.hform.HBillType,
+						HSourceBillType: this.hform.HSourceBillType,
+						HBarCode: HBarCode,
+						HInterID: 0,
+						HEntryID: 0,
+						Mode: 1, //鎵爜妯″紡
+						user: getUserInfo()["Czymc"]
+					}
+				})
 
-                console.log(res)
-                let {
-                    data,
-                    Message,
-                    count
-                } = res.data
-                if (count == 1) {
-                    if (data[0]['HBack'] == 1) {
-                        CommonUtils.showTips({
-                            title: '娓╅Θ鎻愮ず',
-                            message: data[0]['HBackRemark']
-                        })
-                        return;
-                    }
-                    if (this.hform.HSourceBillType == "3791") { //鍑虹珯鍗�
-                        this.hform.HMaterID = data[0]['HMaterID']
-                        this.hform.HMaterName = data[0]['浜у搧鍚嶇О']
-                        this.hform.HMaterNumber = data[0]['浜у搧浠g爜']
-                        this.hform.HMainSourceBillNo = data[0]['鍗曟嵁鍙�']
-                        this.hform.HSourceBillNo = data[0]['鍗曟嵁鍙�']
-                        this.hform.HMainSourceInterID = data[0].HInterID
-                        this.hform.HMainSourceEntryID = data[0].HEntryID
-                        this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�
-                        this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D
-                        this.hform.HSourceBillQty = data[0].HSourceBillQty
-                        this.hasSourceBill = true
-                        this.hform.HICMOBillNo = data[0].浠诲姟鍗曞彿
-                        this.hform.HICMOInterID = data[0].HICMOInterID
-                        this.hform.HICMOEntryID = data[0].HICMOEntryID
-                        this.hform.HICMOQty = data[0].鐢熶骇鏁伴噺
-                        this.hform.HProcExchBillNo = data[0].HProcExchBillNo
-                        this.hform.HProcExchInterID = data[0].HProcExchInterID
-                        this.hform.HProcExchEntryID = data[0].HProcExchEntryID
-                        this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲�
-                        this.hform.HSourceName = data[0].鐢熶骇璧勬簮
-                        this.hform.HSourceID = data[0].HSourceID
-                        this.hform.HProcID = data[0].HProcID
-                        this.hform.HProcName = data[0].宸ュ簭鍚嶇О
-                        this.hform.HCheckQty = data[0].鍑虹珯鏁伴噺
-                    } else {
-                        this.hform.HMaterID = data[0]['HMaterID']
-                        this.hform.HMaterName = data[0]['浜у搧鍚嶇О']
-                        this.hform.HMaterNumber = data[0]['浜у搧浠g爜']
-                        this.hform.HMainSourceBillNo = data[0]['HBillNo']
-                        this.hform.HSourceBillNo = data[0]['鍗曟嵁鍙�']
-                        this.hform.HMainSourceInterID = data[0].HInterID
-                        this.hform.HMainSourceEntryID = data[0].HEntryID
-                        this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�
-                        this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D
-                        this.hform.HSourceBillQty = data[0].HSourceBillQty
-                        this.hasSourceBill = true
-                        this.hform.HICMOBillNo = data[0].浠诲姟鍗曞彿
-                        this.hform.HICMOInterID = data[0].HICMOInterID
-                        this.hform.HICMOEntryID = data[0].HICMOEntryID
-                        this.hform.HICMOQty = data[0].鐢熶骇鏁伴噺
-                        this.hform.HProcExchBillNo = data[0].鍗曟嵁鍙�
-                        this.hform.HProcExchInterID = data[0].HInterID
-                        this.hform.HProcExchEntryID = data[0].HEntryID
-                        this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲�
-                        this.hform.HSourceName = data[0].鐢熶骇璧勬簮
-                        this.hform.HSourceID = data[0].HSourceID
-                        this.hform.HProcID = data[0].HProcID
-                        this.hform.HProcName = data[0].褰撳墠宸ュ簭
-                    }
-                    this.get_CheckItem();
-                } else {
-                    CommonUtils.showTips({
-                        title: '娓╅Θ鎻愮ず',
-                        message: Message
-                    })
-                }
-            },
-            async HandleBillSelectComplete(e) {
-                try {
-                    let res = await CommonUtils.doRequest2Async({
-                        url: "/WEBSController/get_CheckBillBarCode_Json_CheckItem",
-                        data: {
-                            HBillType: this.hform.HBillType,
-                            HSourceBillType: this.hform.HSourceBillType,
-                            HBarCode: "",
-                            HInterID: e?.HInterID,
-                            HEntryID: e?.HEntryID,
-                            Mode: 2, //閫夊崟妯″紡
-                            user: getUserInfo()["Czymc"]
-                        }
-                    })
+				console.log(res)
+				let {
+					data,
+					Message,
+					count
+				} = res.data
+				if (count == 1) {
+					if (data[0]['HBack'] == 1) {
+						CommonUtils.showTips({
+							title: '娓╅Θ鎻愮ず',
+							message: data[0]['HBackRemark']
+						})
+						return;
+					}
+					if (this.hform.HSourceBillType == "3791") { //鍑虹珯鍗�
+						this.hform.HMaterID = data[0]['HMaterID']
+						this.hform.HMaterName = data[0]['浜у搧鍚嶇О']
+						this.hform.HMaterNumber = data[0]['浜у搧浠g爜']
+						this.hform.HMainSourceBillNo = data[0]['鍗曟嵁鍙�']
+						this.hform.HSourceBillNo = data[0]['鍗曟嵁鍙�']
+						this.hform.HMainSourceInterID = data[0].HInterID
+						this.hform.HMainSourceEntryID = data[0].HEntryID
+						this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�
+						this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D
+						this.hform.HSourceBillQty = data[0].HSourceBillQty
+						this.hasSourceBill = true
+						this.hform.HICMOBillNo = data[0].浠诲姟鍗曞彿
+						this.hform.HICMOInterID = data[0].HICMOInterID
+						this.hform.HICMOEntryID = data[0].HICMOEntryID
+						this.hform.HICMOQty = data[0].鐢熶骇鏁伴噺
+						this.hform.HProcExchBillNo = data[0].HProcExchBillNo
+						this.hform.HProcExchInterID = data[0].HProcExchInterID
+						this.hform.HProcExchEntryID = data[0].HProcExchEntryID
+						this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲�
+						this.hform.HSourceName = data[0].鐢熶骇璧勬簮
+						this.hform.HSourceID = data[0].HSourceID
+						this.hform.HProcID = data[0].HProcID
+						this.hform.HProcName = data[0].宸ュ簭鍚嶇О
+						this.hform.HCheckQty = data[0].鍑虹珯鏁伴噺
+					} else {
+						this.hform.HMaterID = data[0]['HMaterID']
+						this.hform.HMaterName = data[0]['浜у搧鍚嶇О']
+						this.hform.HMaterNumber = data[0]['浜у搧浠g爜']
+						this.hform.HMainSourceBillNo = data[0]['HBillNo']
+						this.hform.HSourceBillNo = data[0]['鍗曟嵁鍙�']
+						this.hform.HMainSourceInterID = data[0].HInterID
+						this.hform.HMainSourceEntryID = data[0].HEntryID
+						this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�
+						this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D
+						this.hform.HSourceBillQty = data[0].HSourceBillQty
+						this.hasSourceBill = true
+						this.hform.HICMOBillNo = data[0].浠诲姟鍗曞彿
+						this.hform.HICMOInterID = data[0].HICMOInterID
+						this.hform.HICMOEntryID = data[0].HICMOEntryID
+						this.hform.HICMOQty = data[0].鐢熶骇鏁伴噺
+						this.hform.HProcExchBillNo = data[0].鍗曟嵁鍙�
+						this.hform.HProcExchInterID = data[0].HInterID
+						this.hform.HProcExchEntryID = data[0].HEntryID
+						this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲�
+						this.hform.HSourceName = data[0].鐢熶骇璧勬簮
+						this.hform.HSourceID = data[0].HSourceID
+						this.hform.HProcID = data[0].HProcID
+						this.hform.HProcName = data[0].褰撳墠宸ュ簭
+					}
+					this.get_CheckItem();
+				} else {
+					CommonUtils.showTips({
+						title: '娓╅Θ鎻愮ず',
+						message: Message
+					})
+				}
+			},
+			async HandleBillSelectComplete(e) {
+				try {
+					let res = await CommonUtils.doRequest2Async({
+						url: "/WEBSController/get_CheckBillBarCode_Json_CheckItem",
+						data: {
+							HBillType: this.hform.HBillType,
+							HSourceBillType: this.hform.HSourceBillType,
+							HBarCode: "",
+							HInterID: e?.HInterID,
+							HEntryID: e?.HEntryID,
+							Mode: 2, //閫夊崟妯″紡
+							user: getUserInfo()["Czymc"]
+						}
+					})
 
-                    let {
-                        data,
-                        Message,
-                        count
-                    } = res.data
-                    if (count == 1) {
-                        console.log('鑾峰彇婧愬崟锛�', data)
-                        if (data[0]['HBack'] == 1) {
-                            CommonUtils.showTips({
-                                title: '娓╅Θ鎻愮ず',
-                                message: data[0]['HBackRemark']
-                            })
-                            return;
-                        }
-                        if (this.hform.HSourceBillType == "3791") {
-                            this.hform.HMaterID = data[0]['HMaterID']
-                            this.hform.HMaterName = data[0]['浜у搧鍚嶇О']
-                            this.hform.HMaterNumber = data[0]['浜у搧浠g爜']
-                            this.hform.HMainSourceBillNo = data[0]['鍗曟嵁鍙�']
-                            this.hform.HSourceBillNo = data[0]['鍗曟嵁鍙�']
-                            this.hform.HMainSourceInterID = data[0].HInterID
-                            this.hform.HMainSourceEntryID = data[0].HEntryID
-                            this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�
-                            this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D
-                            this.hform.HSourceBillQty = data[0].HSourceBillQty
-                            this.hasSourceBill = true
-                            this.hform.HCheckQty = data[0].鍑虹珯鏁伴噺
-                            this.hform.HICMOBillNo = data[0].浠诲姟鍗曞彿
-                            this.hform.HICMOInterID = data[0].HICMOInterID
-                            this.hform.HICMOEntryID = data[0].HICMOEntryID
-                            this.hform.HICMOQty = data[0].鐢熶骇鏁伴噺
-                            this.hform.HProcExchBillNo = data[0].HProcExchBillNo
-                            this.hform.HProcExchInterID = data[0].HProcExchInterID
-                            this.hform.HProcExchEntryID = data[0].HProcExchEntryID
-                            this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲�
-                            this.hform.HSourceName = data[0].鐢熶骇璧勬簮
-                            this.hform.HSourceID = data[0].HSourceID
-                            this.hform.HProcID = data[0].HProcID
-                            this.hform.HProcName = data[0].宸ュ簭鍚嶇О
-                            this.hform.HCheckQty = data[0].鍑虹珯鏁伴噺
-                        } else {
-                            this.hform.HMaterID = data[0]['HMaterID']
-                            this.hform.HMaterName = data[0]['浜у搧鍚嶇О']
-                            this.hform.HMaterNumber = data[0]['浜у搧浠g爜']
-                            this.hform.HMainSourceBillNo = data[0]['HBillNo']
-                            this.hform.HSourceBillNo = data[0]['鍗曟嵁鍙�']
-                            this.hform.HMainSourceInterID = data[0].HInterID
-                            this.hform.HMainSourceEntryID = data[0].HEntryID
-                            this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�
-                            this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D
-                            this.hform.HSourceBillQty = data[0].HSourceBillQty
-                            this.hform.HICMOBillNo = data[0].浠诲姟鍗曞彿
-                            this.hform.HICMOInterID = data[0].HICMOInterID
-                            this.hform.HICMOEntryID = data[0].HICMOEntryID
-                            this.hform.HICMOQty = data[0].鐢熶骇鏁伴噺
-                            this.hform.HProcExchBillNo = data[0].鍗曟嵁鍙�
-                            this.hform.HProcExchInterID = data[0].HInterID
-                            this.hform.HProcExchEntryID = data[0].HEntryID
-                            this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲�
-                            this.hform.HSourceName = data[0].鐢熶骇璧勬簮
-                            this.hform.HCheckQty = data[0].娴佽浆鍗℃暟閲�
-                            this.hform.HSourceID = data[0].HSourceID
-                            this.hform.HProcID = data[0].HProcID
-                            this.hform.HProcName = data[0].褰撳墠宸ュ簭
-                        }
+					let {
+						data,
+						Message,
+						count
+					} = res.data
+					if (count == 1) {
+						console.log('鑾峰彇婧愬崟锛�', data)
+						if (data[0]['HBack'] == 1) {
+							CommonUtils.showTips({
+								title: '娓╅Θ鎻愮ず',
+								message: data[0]['HBackRemark']
+							})
+							return;
+						}
+						if (this.hform.HSourceBillType == "3791") {
+							this.hform.HMaterID = data[0]['HMaterID']
+							this.hform.HMaterName = data[0]['浜у搧鍚嶇О']
+							this.hform.HMaterNumber = data[0]['浜у搧浠g爜']
+							this.hform.HMainSourceBillNo = data[0]['鍗曟嵁鍙�']
+							this.hform.HSourceBillNo = data[0]['鍗曟嵁鍙�']
+							this.hform.HMainSourceInterID = data[0].HInterID
+							this.hform.HMainSourceEntryID = data[0].HEntryID
+							this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�
+							this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D
+							this.hform.HSourceBillQty = data[0].HSourceBillQty
+							this.hasSourceBill = true
+							this.hform.HCheckQty = data[0].鍑虹珯鏁伴噺
+							this.hform.HICMOBillNo = data[0].浠诲姟鍗曞彿
+							this.hform.HICMOInterID = data[0].HICMOInterID
+							this.hform.HICMOEntryID = data[0].HICMOEntryID
+							this.hform.HICMOQty = data[0].鐢熶骇鏁伴噺
+							this.hform.HProcExchBillNo = data[0].HProcExchBillNo
+							this.hform.HProcExchInterID = data[0].HProcExchInterID
+							this.hform.HProcExchEntryID = data[0].HProcExchEntryID
+							this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲�
+							this.hform.HSourceName = data[0].鐢熶骇璧勬簮
+							this.hform.HSourceID = data[0].HSourceID
+							this.hform.HProcID = data[0].HProcID
+							this.hform.HProcName = data[0].宸ュ簭鍚嶇О
+							this.hform.HCheckQty = data[0].鍑虹珯鏁伴噺
+						} else {
+							this.hform.HMaterID = data[0]['HMaterID']
+							this.hform.HMaterName = data[0]['浜у搧鍚嶇О']
+							this.hform.HMaterNumber = data[0]['浜у搧浠g爜']
+							this.hform.HMainSourceBillNo = data[0]['HBillNo']
+							this.hform.HSourceBillNo = data[0]['鍗曟嵁鍙�']
+							this.hform.HMainSourceInterID = data[0].HInterID
+							this.hform.HMainSourceEntryID = data[0].HEntryID
+							this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�
+							this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D
+							this.hform.HSourceBillQty = data[0].HSourceBillQty
+							this.hform.HICMOBillNo = data[0].浠诲姟鍗曞彿
+							this.hform.HICMOInterID = data[0].HICMOInterID
+							this.hform.HICMOEntryID = data[0].HICMOEntryID
+							this.hform.HICMOQty = data[0].鐢熶骇鏁伴噺
+							this.hform.HProcExchBillNo = data[0].鍗曟嵁鍙�
+							this.hform.HProcExchInterID = data[0].HInterID
+							this.hform.HProcExchEntryID = data[0].HEntryID
+							this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲�
+							this.hform.HSourceName = data[0].鐢熶骇璧勬簮
+							this.hform.HCheckQty = data[0].娴佽浆鍗℃暟閲�
+							this.hform.HSourceID = data[0].HSourceID
+							this.hform.HProcID = data[0].HProcID
+							this.hform.HProcName = data[0].褰撳墠宸ュ簭
+						}
 
-                        this.get_CheckItem();
-                        this.hasSourceBill = true
-                        this.$refs['billList'].exit()
-                    } else {
-                        CommonUtils.showTips({
-                            title: '娓╅Θ鎻愮ず',
-                            message: Message
-                        })
-                    }
+						this.get_CheckItem();
+						this.hasSourceBill = true
+						this.$refs['billList'].exit()
+					} else {
+						CommonUtils.showTips({
+							title: '娓╅Θ鎻愮ず',
+							message: Message
+						})
+					}
 
-                } catch (err) {
-                    CommonUtils.showTips({
-                        title: '娓╅Θ鎻愮ず',
-                        message: "婧愬崟涓嬫帹閿欒: " + err
-                    })
-                }
+				} catch (err) {
+					CommonUtils.showTips({
+						title: '娓╅Θ鎻愮ず',
+						message: "婧愬崟涓嬫帹閿欒: " + err
+					})
+				}
 
-            },
-            async GetCheckItemID() {
-                if (!this.hform.HMaterName && !this.hform.HProcName) {
-                    try {
-                        let res = await CommonUtils.doRequest2Async({
-                            url: "/Web/GetCheckItemID",
-                            data: {
-                                HName: this.hform.HMaterName,
-                                HProName: this.hform.HProcName,
-                                HSourceID: this.hform.HSourceID,
-                            },
-                        });
+			},
+			async GetCheckItemID() {
+				if (!this.hform.HMaterName && !this.hform.HProcName) {
+					try {
+						let res = await CommonUtils.doRequest2Async({
+							url: "/Web/GetCheckItemID",
+							data: {
+								HName: this.hform.HMaterName,
+								HProName: this.hform.HProcName,
+								HSourceID: this.hform.HSourceID,
+							},
+						});
 
-                        let {
-                            count,
-                            Message,
-                            data
-                        } = res.data;
+						let {
+							count,
+							Message,
+							data
+						} = res.data;
 
-                        if (count != 1) {
-                            CommonUtils.showTips({
-                                title: "娓╅Θ鎻愮ず",
-                                message: `鑾峰彇妫�楠屾柟妗� 閿欒: ${Message}`,
-                            });
-                            return;
-                        }
+						if (count != 1) {
+							CommonUtils.showTips({
+								title: "娓╅Θ鎻愮ず",
+								message: `鑾峰彇妫�楠屾柟妗� 閿欒: ${Message}`,
+							});
+							return;
+						}
 
-                        this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�;
-                        this.hform.HQCSchemeID = data[0].hmainid;
+						this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�;
+						this.hform.HQCSchemeID = data[0].hmainid;
 
-                        this.get_CheckItem();
-                    } catch (err) {
-                        CommonUtils.showTips({
-                            title: "娓╅Θ鎻愮ず",
-                            message: `鑾峰彇妫�楠屾柟妗� 閿欒: ${err}`,
-                        });
-                    }
-                }
-            },
-            async LoadingInformation_ProcExchange(HBarCode) {
-                // 宸ュ簭娴佽浆鍗�
-                try {
-                    let res = await CommonUtils.doRequest2Async({
-                        url: "/CheckBill/get_ProcessExchangeBill_ByBillNo",
-                        data: {
-                            HBillNo: HBarCode,
-                            user: getUserInfo()["Czymc"],
-                        },
-                    });
+						this.get_CheckItem();
+					} catch (err) {
+						CommonUtils.showTips({
+							title: "娓╅Θ鎻愮ず",
+							message: `鑾峰彇妫�楠屾柟妗� 閿欒: ${err}`,
+						});
+					}
+				}
+			},
+			async LoadingInformation_ProcExchange(HBarCode) {
+				// 宸ュ簭娴佽浆鍗�
+				try {
+					let res = await CommonUtils.doRequest2Async({
+						url: "/CheckBill/get_ProcessExchangeBill_ByBillNo",
+						data: {
+							HBillNo: HBarCode,
+							user: getUserInfo()["Czymc"],
+						},
+					});
 
-                    let {
-                        count,
-                        Message,
-                        data
-                    } = res.data;
+					let {
+						count,
+						Message,
+						data
+					} = res.data;
 
-                    if (count != 1) {
-                        CommonUtils.showTips({
-                            title: "娓╅Θ鎻愮ず",
-                            message: `鑾峰彇宸ュ簭娴佽浆鍗� 閿欒: ${Message}`,
-                        });
-                        return;
-                    }
-                    this.hform.HProcExchBillNo = data[0].娴佽浆鍗″彿;
-                    this.hform.HProcExchInterID = data[0].HProcExchInterID;
-                    this.hform.HProcExchEntryID = data[0].HProcExchEntryID || 0;
-                    this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲� || 0;
-                    this.hform.HICMOBillNo = data[0].浠诲姟鍗�;
-                    this.hform.HICMOInterID = data[0].HICMOInterID;
-                    this.hform.HICMOQty = data[0].HICMOQty || 0;
-                    this.hform.HSourceName = data[0].鐢熶骇璧勬簮;
-                    this.hform.HSourceID = data[0].HSourceID || 0;
-                    this.hform.HMaterID = data[0].HMaterID;
-                    this.hform.HMaterName = data[0].浜у搧鍚嶇О;
-                    this.hform.HMainSourceBillNo = data[0].鍗曟嵁鍙�;
-                    this.hform.HMainSourceBillType = data[0].HBillType;
-                    this.hform.HMainSourceInterID = data[0].HInterID;
-                    this.hform.HICMOEntryID = data[0].HICMOEntryID || 1;
-                    this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�;
-                    this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D;
-                    this.hform.HProcName = data[0].褰撳墠宸ュ簭;
-                    this.hform.HBatchNo = data[0].鎵瑰彿;
+					if (count != 1) {
+						CommonUtils.showTips({
+							title: "娓╅Θ鎻愮ず",
+							message: `鑾峰彇宸ュ簭娴佽浆鍗� 閿欒: ${Message}`,
+						});
+						return;
+					}
+					this.hform.HProcExchBillNo = data[0].娴佽浆鍗″彿;
+					this.hform.HProcExchInterID = data[0].HProcExchInterID;
+					this.hform.HProcExchEntryID = data[0].HProcExchEntryID || 0;
+					this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲� || 0;
+					this.hform.HICMOBillNo = data[0].浠诲姟鍗�;
+					this.hform.HICMOInterID = data[0].HICMOInterID;
+					this.hform.HICMOQty = data[0].HICMOQty || 0;
+					this.hform.HSourceName = data[0].鐢熶骇璧勬簮;
+					this.hform.HSourceID = data[0].HSourceID || 0;
+					this.hform.HMaterID = data[0].HMaterID;
+					this.hform.HMaterName = data[0].浜у搧鍚嶇О;
+					this.hform.HMainSourceBillNo = data[0].鍗曟嵁鍙�;
+					this.hform.HMainSourceBillType = data[0].HBillType;
+					this.hform.HMainSourceInterID = data[0].HInterID;
+					this.hform.HICMOEntryID = data[0].HICMOEntryID || 1;
+					this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�;
+					this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D;
+					this.hform.HProcName = data[0].褰撳墠宸ュ簭;
+					this.hform.HBatchNo = data[0].鎵瑰彿;
 
-                    this.hasSourceBill = true
-                    this.get_CheckItem();
-                } catch (err) {
-                    CommonUtils.showTips({
-                        title: "娓╅Θ鎻愮ず",
-                        message: `鑾峰彇宸ュ簭娴佽浆鍗� 閿欒: ${err}`,
-                    });
-                }
-            },
-            async LoadingInformation_ICMO(HBarCode) {
-                // 鐢熶骇璁㈠崟
-                try {
-                    let res = await CommonUtils.doRequest2Async({
-                        url: "/QC_ProcessCheckBill/get_ICMOBill_ByBillNo",
-                        data: {
-                            HBillNo: HBarCode,
-                            user: getUserInfo()["Czymc"],
-                        },
-                    });
+					this.hasSourceBill = true
+					this.get_CheckItem();
+				} catch (err) {
+					CommonUtils.showTips({
+						title: "娓╅Θ鎻愮ず",
+						message: `鑾峰彇宸ュ簭娴佽浆鍗� 閿欒: ${err}`,
+					});
+				}
+			},
+			async LoadingInformation_ICMO(HBarCode) {
+				// 鐢熶骇璁㈠崟
+				try {
+					let res = await CommonUtils.doRequest2Async({
+						url: "/QC_ProcessCheckBill/get_ICMOBill_ByBillNo",
+						data: {
+							HBillNo: HBarCode,
+							user: getUserInfo()["Czymc"],
+						},
+					});
 
-                    let {
-                        count,
-                        Message,
-                        data
-                    } = res.data;
+					let {
+						count,
+						Message,
+						data
+					} = res.data;
 
-                    if (count != 1) {
-                        CommonUtils.showTips({
-                            title: "娓╅Θ鎻愮ず",
-                            message: `鑾峰彇鐢熶骇璁㈠崟 閿欒: ${Message}`,
-                        });
-                        return;
-                    }
-                    this.hform.HProcExchBillNo = data[0].娴佽浆鍗″彿;
-                    this.hform.HProcExchInterID = data[0].HProcExchInterID;
-                    this.hform.HProcExchEntryID = data[0].HProcExchEntryID;
-                    this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲� || 0;
-                    this.hform.HICMOBillNo = data[0].浠诲姟鍗�;
-                    this.hform.HICMOInterID = data[0].HICMOInterID;
-                    this.hform.HICMOQty = data[0].HICMOQty;
-                    this.hform.HSourceName = data[0].鐢熶骇璧勬簮;
-                    this.hform.HSourceID = data[0].HSourceID;
-                    this.hform.HMaterID = data[0].HMaterID;
-                    this.hform.HMaterName = data[0].浜у搧鍚嶇О;
-                    this.hform.HMainSourceBillNo = data[0].鍗曟嵁鍙�;
-                    this.hform.HMainSourceBillType = data[0].HBillType;
-                    this.hform.HMainSourceInterID = data[0].HInterID;
-                    this.hform.HICMOEntryID = data[0].HICMOEntryID || 1;
-                    this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�;
-                    this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D;
-                    this.hform.HProcName = data[0].褰撳墠宸ュ簭;
-                    this.hasSourceBill = true
-                    this.get_CheckItem();
-                } catch (err) {
-                    CommonUtils.showTips({
-                        title: "娓╅Θ鎻愮ず",
-                        message: `鑾峰彇鐢熶骇璁㈠崟 閿欒: ${err}`,
-                    });
-                }
-            },
-            async LoadingInformation_StationOutBill(HBarCode) {
-                // 鍑虹珯姹囨姤鍗�
-                try {
-                    let res = await CommonUtils.doRequest2Async({
-                        url: "/QC_ProcessCheckBill/get_StationOutBill",
-                        data: {
-                            HBillNo: HBarCode,
-                            user: getUserInfo()["Czymc"],
-                        },
-                    });
+					if (count != 1) {
+						CommonUtils.showTips({
+							title: "娓╅Θ鎻愮ず",
+							message: `鑾峰彇鐢熶骇璁㈠崟 閿欒: ${Message}`,
+						});
+						return;
+					}
+					this.hform.HProcExchBillNo = data[0].娴佽浆鍗″彿;
+					this.hform.HProcExchInterID = data[0].HProcExchInterID;
+					this.hform.HProcExchEntryID = data[0].HProcExchEntryID;
+					this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲� || 0;
+					this.hform.HICMOBillNo = data[0].浠诲姟鍗�;
+					this.hform.HICMOInterID = data[0].HICMOInterID;
+					this.hform.HICMOQty = data[0].HICMOQty;
+					this.hform.HSourceName = data[0].鐢熶骇璧勬簮;
+					this.hform.HSourceID = data[0].HSourceID;
+					this.hform.HMaterID = data[0].HMaterID;
+					this.hform.HMaterName = data[0].浜у搧鍚嶇О;
+					this.hform.HMainSourceBillNo = data[0].鍗曟嵁鍙�;
+					this.hform.HMainSourceBillType = data[0].HBillType;
+					this.hform.HMainSourceInterID = data[0].HInterID;
+					this.hform.HICMOEntryID = data[0].HICMOEntryID || 1;
+					this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�;
+					this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D;
+					this.hform.HProcName = data[0].褰撳墠宸ュ簭;
+					this.hasSourceBill = true
+					this.get_CheckItem();
+				} catch (err) {
+					CommonUtils.showTips({
+						title: "娓╅Θ鎻愮ず",
+						message: `鑾峰彇鐢熶骇璁㈠崟 閿欒: ${err}`,
+					});
+				}
+			},
+			async LoadingInformation_StationOutBill(HBarCode) {
+				// 鍑虹珯姹囨姤鍗�
+				try {
+					let res = await CommonUtils.doRequest2Async({
+						url: "/QC_ProcessCheckBill/get_StationOutBill",
+						data: {
+							HBillNo: HBarCode,
+							user: getUserInfo()["Czymc"],
+						},
+					});
 
-                    let {
-                        count,
-                        Message,
-                        data
-                    } = res.data;
+					let {
+						count,
+						Message,
+						data
+					} = res.data;
 
-                    if (count != 1) {
-                        CommonUtils.showTips({
-                            title: "娓╅Θ鎻愮ず",
-                            message: `鑾峰彇鍑虹珯姹囨姤鍗� 閿欒: ${Message}`,
-                        });
-                        return;
-                    }
-                    this.hform.HProcExchBillNo = data[0].娴佽浆鍗″彿;
-                    this.hform.HProcExchInterID = data[0].HProcExchInterID;
-                    this.hform.HProcExchEntryID = data[0].HProcExchEntryID;
-                    this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲� || 0;
-                    this.hform.HICMOBillNo = data[0].浠诲姟鍗�;
-                    this.hform.HICMOInterID = data[0].HICMOInterID;
-                    this.hform.HICMOQty = data[0].HICMOQty;
-                    this.hform.HSourceName = data[0].鐢熶骇璧勬簮;
-                    this.hform.HSourceID = data[0].HSourceID;
-                    this.hform.HMaterID = data[0].HMaterID;
-                    this.hform.HMaterName = data[0].浜у搧鍚嶇О;
-                    this.hform.HMainSourceBillNo = data[0].鍗曟嵁鍙�;
-                    this.hform.HMainSourceBillType = data[0].HBillType;
-                    this.hform.HMainSourceInterID = data[0].HInterID;
-                    this.hform.HICMOEntryID = data[0].HICMOEntryID || 1;
-                    this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�;
-                    this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D;
-                    this.hform.HProcName = data[0].褰撳墠宸ュ簭;
-                    this.hasSourceBill = true
-                    this.get_CheckItem();
-                } catch (err) {
-                    CommonUtils.showTips({
-                        title: "娓╅Θ鎻愮ず",
-                        message: `鑾峰彇鍑虹珯姹囨姤鍗� 閿欒: ${err}`,
-                    });
-                }
-            },
-            async LoadingInformation_StationEntrustOutBill(HBarCode) {
-                // 宸ュ簭濮斿鎺ユ敹鍗�
-                try {
-                    let res = await CommonUtils.doRequest2Async({
-                        url: "/Cj_StationEntrustOutBill/list",
-                        data: {
-                            sWhere: ` and HBillNo = '${HBarCode}'`,
-                        },
-                    });
+					if (count != 1) {
+						CommonUtils.showTips({
+							title: "娓╅Θ鎻愮ず",
+							message: `鑾峰彇鍑虹珯姹囨姤鍗� 閿欒: ${Message}`,
+						});
+						return;
+					}
+					this.hform.HProcExchBillNo = data[0].娴佽浆鍗″彿;
+					this.hform.HProcExchInterID = data[0].HProcExchInterID;
+					this.hform.HProcExchEntryID = data[0].HProcExchEntryID;
+					this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲� || 0;
+					this.hform.HICMOBillNo = data[0].浠诲姟鍗�;
+					this.hform.HICMOInterID = data[0].HICMOInterID;
+					this.hform.HICMOQty = data[0].HICMOQty;
+					this.hform.HSourceName = data[0].鐢熶骇璧勬簮;
+					this.hform.HSourceID = data[0].HSourceID;
+					this.hform.HMaterID = data[0].HMaterID;
+					this.hform.HMaterName = data[0].浜у搧鍚嶇О;
+					this.hform.HMainSourceBillNo = data[0].鍗曟嵁鍙�;
+					this.hform.HMainSourceBillType = data[0].HBillType;
+					this.hform.HMainSourceInterID = data[0].HInterID;
+					this.hform.HICMOEntryID = data[0].HICMOEntryID || 1;
+					this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�;
+					this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D;
+					this.hform.HProcName = data[0].褰撳墠宸ュ簭;
+					this.hasSourceBill = true
+					this.get_CheckItem();
+				} catch (err) {
+					CommonUtils.showTips({
+						title: "娓╅Θ鎻愮ず",
+						message: `鑾峰彇鍑虹珯姹囨姤鍗� 閿欒: ${err}`,
+					});
+				}
+			},
+			async LoadingInformation_StationEntrustOutBill(HBarCode) {
+				// 宸ュ簭濮斿鎺ユ敹鍗�
+				try {
+					let res = await CommonUtils.doRequest2Async({
+						url: "/Cj_StationEntrustOutBill/list",
+						data: {
+							sWhere: ` and HBillNo = '${HBarCode}'`,
+						},
+					});
 
-                    let {
-                        count,
-                        Message,
-                        data
-                    } = res.data;
+					let {
+						count,
+						Message,
+						data
+					} = res.data;
 
-                    if (count != 1) {
-                        CommonUtils.showTips({
-                            title: "娓╅Θ鎻愮ず",
-                            message: `鑾峰彇宸ュ簭濮斿鎺ユ敹鍗� 閿欒: ${Message}`,
-                        });
-                        return;
-                    }
+					if (count != 1) {
+						CommonUtils.showTips({
+							title: "娓╅Θ鎻愮ず",
+							message: `鑾峰彇宸ュ簭濮斿鎺ユ敹鍗� 閿欒: ${Message}`,
+						});
+						return;
+					}
 
-                    HProcExchBillNo = data[0].娴佽浆鍗″彿;
-                    HProcExchInterID = data[0].HProcExchInterID;
-                    HProcExchEntryID = data[0].HProcExchEntryID;
-                    HProcExchQty = data[0].娴佽浆鍗℃暟閲� || 0;
-                    HICMOBillNo = data[0].鐢熶骇璁㈠崟鍙�;
-                    HICMOInterID = data[0].HICMOInterID;
-                    HICMOQty = data[0].HICMOQty;
-                    HSourceName = data[0].鐢熶骇璧勬簮;
-                    HSourceID = data[0].HSourceID;
-                    HMaterID = data[0].HMaterID;
-                    HMaterName = data[0].浜у搧鍚嶇О;
-                    HMainSourceBillNo = data[0].鍗曟嵁鍙�;
-                    HMainSourceBillType = data[0].HBillType;
-                    HMainSourceInterID = data[0].HInterID;
-                    HICMOEntryID = data[0].HICMOEntryID || 1;
-                    this.hasSourceBill = true
-                    this.get_CheckItem();
-                } catch (err) {
-                    CommonUtils.showTips({
-                        title: "娓╅Θ鎻愮ず",
-                        message: `鑾峰彇宸ュ簭濮斿鎺ユ敹鍗� 閿欒: ${err}`,
-                    });
-                }
-            },
-            async LoadingInformation_StationInBill(HBarCode) {
-                // 杩涚珯鎺ユ敹鍗�
-                try {
-                    let res = await CommonUtils.doRequest2Async({
-                        url: "/QC_ProcessCheckBill/get_StationInBill_ByHBillNo",
-                        data: {
-                            HBillNo: HBarCode,
-                            user: getUserInfo()["Czymc"],
-                        },
-                    });
+					HProcExchBillNo = data[0].娴佽浆鍗″彿;
+					HProcExchInterID = data[0].HProcExchInterID;
+					HProcExchEntryID = data[0].HProcExchEntryID;
+					HProcExchQty = data[0].娴佽浆鍗℃暟閲� || 0;
+					HICMOBillNo = data[0].鐢熶骇璁㈠崟鍙�;
+					HICMOInterID = data[0].HICMOInterID;
+					HICMOQty = data[0].HICMOQty;
+					HSourceName = data[0].鐢熶骇璧勬簮;
+					HSourceID = data[0].HSourceID;
+					HMaterID = data[0].HMaterID;
+					HMaterName = data[0].浜у搧鍚嶇О;
+					HMainSourceBillNo = data[0].鍗曟嵁鍙�;
+					HMainSourceBillType = data[0].HBillType;
+					HMainSourceInterID = data[0].HInterID;
+					HICMOEntryID = data[0].HICMOEntryID || 1;
+					this.hasSourceBill = true
+					this.get_CheckItem();
+				} catch (err) {
+					CommonUtils.showTips({
+						title: "娓╅Θ鎻愮ず",
+						message: `鑾峰彇宸ュ簭濮斿鎺ユ敹鍗� 閿欒: ${err}`,
+					});
+				}
+			},
+			async LoadingInformation_StationInBill(HBarCode) {
+				// 杩涚珯鎺ユ敹鍗�
+				try {
+					let res = await CommonUtils.doRequest2Async({
+						url: "/QC_ProcessCheckBill/get_StationInBill_ByHBillNo",
+						data: {
+							HBillNo: HBarCode,
+							user: getUserInfo()["Czymc"],
+						},
+					});
 
-                    let {
-                        count,
-                        Message,
-                        data
-                    } = res.data;
+					let {
+						count,
+						Message,
+						data
+					} = res.data;
 
-                    if (count != 1) {
-                        CommonUtils.showTips({
-                            title: "娓╅Θ鎻愮ず",
-                            message: `鑾峰彇杩涚珯鎺ユ敹鍗� 閿欒: ${Message}`,
-                        });
-                        return;
-                    }
-                    this.hform.HProcExchBillNo = data[0].娴佽浆鍗″彿;
-                    this.hform.HProcExchInterID = data[0].HProcExchInterID;
-                    this.hform.HProcExchEntryID = data[0].HProcExchEntryID;
-                    this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲� || 0;
-                    this.hform.HICMOBillNo = data[0].浠诲姟鍗�;
-                    this.hform.HICMOInterID = data[0].HICMOInterID;
-                    this.hform.HICMOQty = data[0].HICMOQty;
-                    this.hform.HSourceName = data[0].鐢熶骇璧勬簮;
-                    this.hform.HSourceID = data[0].HSourceID;
-                    this.hform.HMaterID = data[0].HMaterID;
-                    this.hform.HMaterName = data[0].浜у搧鍚嶇О;
-                    this.hform.HMainSourceBillNo = data[0].鍗曟嵁鍙�;
-                    this.hform.HMainSourceBillType = data[0].HBillType;
-                    this.hform.HMainSourceInterID = data[0].HInterID;
-                    this.hform.HICMOEntryID = data[0].HICMOEntryID || 1;
-                    this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�;
-                    this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D;
-                    this.hform.HProcName = data[0].褰撳墠宸ュ簭;
+					if (count != 1) {
+						CommonUtils.showTips({
+							title: "娓╅Θ鎻愮ず",
+							message: `鑾峰彇杩涚珯鎺ユ敹鍗� 閿欒: ${Message}`,
+						});
+						return;
+					}
+					this.hform.HProcExchBillNo = data[0].娴佽浆鍗″彿;
+					this.hform.HProcExchInterID = data[0].HProcExchInterID;
+					this.hform.HProcExchEntryID = data[0].HProcExchEntryID;
+					this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲� || 0;
+					this.hform.HICMOBillNo = data[0].浠诲姟鍗�;
+					this.hform.HICMOInterID = data[0].HICMOInterID;
+					this.hform.HICMOQty = data[0].HICMOQty;
+					this.hform.HSourceName = data[0].鐢熶骇璧勬簮;
+					this.hform.HSourceID = data[0].HSourceID;
+					this.hform.HMaterID = data[0].HMaterID;
+					this.hform.HMaterName = data[0].浜у搧鍚嶇О;
+					this.hform.HMainSourceBillNo = data[0].鍗曟嵁鍙�;
+					this.hform.HMainSourceBillType = data[0].HBillType;
+					this.hform.HMainSourceInterID = data[0].HInterID;
+					this.hform.HICMOEntryID = data[0].HICMOEntryID || 1;
+					this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�;
+					this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D;
+					this.hform.HProcName = data[0].褰撳墠宸ュ簭;
 
-                    for (let i = 0; i < data.length; i++) {
-                        this.addCheckItem(data[i])
-                    }
+					for (let i = 0; i < data.length; i++) {
+						this.addCheckItem(data[i])
+					}
 
-                    this.hasSourceBill = true
-                    this.get_CheckItem();
-                } catch (err) {
-                    CommonUtils.showTips({
-                        title: "娓╅Θ鎻愮ず",
-                        message: `鑾峰彇杩涚珯鎺ユ敹鍗� 閿欒: ${err}`,
-                    });
-                }
-            },
-            // 妫�楠屽憳鍒濆鍖�
-            async InitHEmp() {
-                try {
-                    let res = await CommonUtils.doRequest2Async({
-                        url: "/Gy_Employee/list",
-                        data: {
-                            sWhere: ` and 缁勭粐鍚嶇О = '${uni.getStorageSync("Organization")}' and 绂佺敤鏍囪 = ''and 瀹℃牳浜� !='' `,
-                            user: getUserInfo()["Czymc"],
-                            Organization: uni.getStorageSync("Organization"),
-                        },
-                    });
+					this.hasSourceBill = true
+					this.get_CheckItem();
+				} catch (err) {
+					CommonUtils.showTips({
+						title: "娓╅Θ鎻愮ず",
+						message: `鑾峰彇杩涚珯鎺ユ敹鍗� 閿欒: ${err}`,
+					});
+				}
+			},
+			// 妫�楠屽憳鍒濆鍖�
+			async InitHEmp() {
+				try {
+					let res = await CommonUtils.doRequest2Async({
+						url: "/Gy_Employee/list",
+						data: {
+							sWhere: ` and 缁勭粐鍚嶇О = '${uni.getStorageSync("Organization")}' and 绂佺敤鏍囪 = ''and 瀹℃牳浜� !='' `,
+							user: getUserInfo()["Czymc"],
+							Organization: uni.getStorageSync("Organization"),
+						},
+					});
 
-                    let {
-                        data,
-                        Message,
-                        count
-                    } = res.data;
+					let {
+						data,
+						Message,
+						count
+					} = res.data;
 
-                    if (count == 1) {
-                        console.log("data: ", data);
-                        this.GyFirstCheckEmpList = data;
-                        this.GyFirstCheckEmpNameList = Array.from(data).map((e) => e["鑱屽憳鍚嶇О"]);
-                    } else {
-                        CommonUtils.showTips({
-                            title: "娓╅Θ鎻愮ず",
-                            message: `鍒濆鍖栨楠屽憳澶辫触: ${Message}`,
-                        });
-                    }
-                } catch (err) {
-                    CommonUtils.showTips({
-                        title: "娓╅Θ鎻愮ず",
-                        message: `鍒濆鍖栨楠屽憳澶辫触: ${err}`,
-                    });
-                }
-            },
-            async HFirstCheckEmpChange(e) {
-                console.log("閫変腑妫�楠屽憳: ", e);
-                let index = this.GyFirstCheckEmpList.findIndex((elem) => elem["鑱屽憳鍚嶇О"] == e);
-                if (index == -1) {
-                    this.hform.HFirstCheckEmp = 0;
-                    this.hform.HFirstCheckEmpName = "";
-                    return;
-                }
+					if (count == 1) {
+						console.log("data: ", data);
+						this.GyFirstCheckEmpList = data;
+						this.GyFirstCheckEmpNameList = Array.from(data).map((e) => e["鑱屽憳鍚嶇О"]);
+					} else {
+						CommonUtils.showTips({
+							title: "娓╅Θ鎻愮ず",
+							message: `鍒濆鍖栨楠屽憳澶辫触: ${Message}`,
+						});
+					}
+				} catch (err) {
+					CommonUtils.showTips({
+						title: "娓╅Θ鎻愮ず",
+						message: `鍒濆鍖栨楠屽憳澶辫触: ${err}`,
+					});
+				}
+			},
+			async HFirstCheckEmpChange(e) {
+				console.log("閫変腑妫�楠屽憳: ", e);
+				let index = this.GyFirstCheckEmpList.findIndex((elem) => elem["鑱屽憳鍚嶇О"] == e);
+				if (index == -1) {
+					this.hform.HFirstCheckEmp = 0;
+					this.hform.HFirstCheckEmpName = "";
+					return;
+				}
 
-                this.hform.HFirstCheckEmp = this.GyFirstCheckEmpList[index]["HItemID"];
-                this.hform.HFirstCheckEmpName = this.GyFirstCheckEmpList[index]["鑱屽憳鍚嶇О"];
-            },
-            // 鐢熶骇鐝鍒濆鍖�
-            async InitHWorkShift() {
-                try {
-                    let res = await CommonUtils.doRequest2Async({
-                        url: "/Gy_ShiftsController/Get_Gy_WorkShiftList",
-                        data: {
-                            sWhere: ` and 绂佺敤鏍囪 = '' and ISNULL(瀹℃牳浜�,'')  != '' and 浣跨敤缁勭粐鍚嶇О = '${uni.getStorageSync("Organization")}'`,
-                            HMaker: getUserInfo()["Czymc"],
-                        },
-                    });
+				this.hform.HFirstCheckEmp = this.GyFirstCheckEmpList[index]["HItemID"];
+				this.hform.HFirstCheckEmpName = this.GyFirstCheckEmpList[index]["鑱屽憳鍚嶇О"];
+			},
+			// 鐢熶骇鐝鍒濆鍖�
+			async InitHWorkShift() {
+				try {
+					let res = await CommonUtils.doRequest2Async({
+						url: "/Gy_ShiftsController/Get_Gy_WorkShiftList",
+						data: {
+							sWhere: ` and 绂佺敤鏍囪 = '' and ISNULL(瀹℃牳浜�,'')  != '' and 浣跨敤缁勭粐鍚嶇О = '${uni.getStorageSync("Organization")}'`,
+							HMaker: getUserInfo()["Czymc"],
+						},
+					});
 
-                    let {
-                        data,
-                        Message,
-                        count
-                    } = res.data;
+					let {
+						data,
+						Message,
+						count
+					} = res.data;
 
-                    if (count == 1) {
-                        console.log("data: ", data);
-                        this.GyWorkShiftList = data;
-                        this.GyWorkShiftNameList = Array.from(data).map((e) => e["鐝鍚嶇О"]);
-                    } else {
-                        CommonUtils.showTips({
-                            title: "娓╅Θ鎻愮ず",
-                            message: `鍒濆鍖栫彮娆″け璐�: ${Message}`,
-                        });
-                    }
-                } catch (err) {
-                    CommonUtils.showTips({
-                        title: "娓╅Θ鎻愮ず",
-                        message: `鍒濆鍖栫彮娆″け璐�: ${err}`,
-                    });
-                }
-            },
-            async HWorkShiftChange(e) {
-                console.log("閫変腑鐝: ", e);
-                let index = this.GyWorkShiftList.findIndex((elem) => elem["鐝鍚嶇О"] == e);
-                if (index == -1) {
-                    this.hform.HWorkShiftID = 0;
-                    this.hform.HWorkShiftName = "";
-                    return;
-                }
+					if (count == 1) {
+						console.log("data: ", data);
+						this.GyWorkShiftList = data;
+						this.GyWorkShiftNameList = Array.from(data).map((e) => e["鐝鍚嶇О"]);
+					} else {
+						CommonUtils.showTips({
+							title: "娓╅Θ鎻愮ず",
+							message: `鍒濆鍖栫彮娆″け璐�: ${Message}`,
+						});
+					}
+				} catch (err) {
+					CommonUtils.showTips({
+						title: "娓╅Θ鎻愮ず",
+						message: `鍒濆鍖栫彮娆″け璐�: ${err}`,
+					});
+				}
+			},
+			async HWorkShiftChange(e) {
+				console.log("閫変腑鐝: ", e);
+				let index = this.GyWorkShiftList.findIndex((elem) => elem["鐝鍚嶇О"] == e);
+				if (index == -1) {
+					this.hform.HWorkShiftID = 0;
+					this.hform.HWorkShiftName = "";
+					return;
+				}
 
-                this.hform.HWorkShiftID = this.GySourceList[index]["HInterID"];
-                this.hform.HWorkShiftName = this.GySourceList[index]["鐝鍚嶇О"];
-            },
-            // 鐢熶骇璧勬簮鏇存柊
-            // 鐢熶骇璧勬簮鍒濆鍖�
-            async InitHSource() {
-                try {
-                    let res = await CommonUtils.doRequest2Async({
-                        url: "/Gy_Source/list",
-                        data: {
-                            sWhere: `and 绂佺敤鏍囪 != 'Y' and ISNULL(瀹℃牳浜�,'')  != '' and 缁勭粐 = '${uni.getStorageSync("Organization")}'`,
-                            user: getUserInfo()["Czymc"],
-                        },
-                    });
+				this.hform.HWorkShiftID = this.GySourceList[index]["HInterID"];
+				this.hform.HWorkShiftName = this.GySourceList[index]["鐝鍚嶇О"];
+			},
+			// 鐢熶骇璧勬簮鏇存柊
+			// 鐢熶骇璧勬簮鍒濆鍖�
+			async InitHSource() {
+				try {
+					let res = await CommonUtils.doRequest2Async({
+						url: "/Gy_Source/list",
+						data: {
+							sWhere: `and 绂佺敤鏍囪 != 'Y' and ISNULL(瀹℃牳浜�,'')  != '' and 缁勭粐 = '${uni.getStorageSync("Organization")}'`,
+							user: getUserInfo()["Czymc"],
+						},
+					});
 
-                    let {
-                        data,
-                        Message,
-                        count
-                    } = res.data;
+					let {
+						data,
+						Message,
+						count
+					} = res.data;
 
-                    if (count == 1) {
-                        this.GySourceList = data;
-                        this.GySourceNameList = Array.from(data).map((e) => e["鐢熶骇璧勬簮鍚嶇О"]);
-                    } else {
-                        CommonUtils.showTips({
-                            title: "娓╅Θ鎻愮ず",
-                            message: `鍒濆鍖栫敓浜ц祫婧愬け璐�: ${Message}`,
-                        });
-                    }
-                } catch (err) {
-                    CommonUtils.showTips({
-                        title: "娓╅Θ鎻愮ず",
-                        message: `鍒濆鍖栫敓浜ц祫婧愬け璐�: ${err}`,
-                    });
-                }
-            },
-            // 鐢熶骇璧勬簮鏇存柊
-            async HSourceChange(e) {
-                console.log("閫変腑鐢熶骇璧勬簮: ", e);
-                let index = this.GySourceList.findIndex((elem) => elem["鐢熶骇璧勬簮鍚嶇О"] == e);
-                if (index == -1) {
-                    this.hform.HSourceID = 0;
-                    this.hform.HSourceName = "";
-                    return;
-                }
+					if (count == 1) {
+						this.GySourceList = data;
+						this.GySourceNameList = Array.from(data).map((e) => e["鐢熶骇璧勬簮鍚嶇О"]);
+					} else {
+						CommonUtils.showTips({
+							title: "娓╅Θ鎻愮ず",
+							message: `鍒濆鍖栫敓浜ц祫婧愬け璐�: ${Message}`,
+						});
+					}
+				} catch (err) {
+					CommonUtils.showTips({
+						title: "娓╅Θ鎻愮ず",
+						message: `鍒濆鍖栫敓浜ц祫婧愬け璐�: ${err}`,
+					});
+				}
+			},
+			// 鐢熶骇璧勬簮鏇存柊
+			async HSourceChange(e) {
+				console.log("閫変腑鐢熶骇璧勬簮: ", e);
+				let index = this.GySourceList.findIndex((elem) => elem["鐢熶骇璧勬簮鍚嶇О"] == e);
+				if (index == -1) {
+					this.hform.HSourceID = 0;
+					this.hform.HSourceName = "";
+					return;
+				}
 
-                this.hform.HSourceID = this.GySourceList[index]["HItemID"];
-                this.hform.HSourceName = this.GySourceList[index]["鐢熶骇璧勬簮鍚嶇О"];
+				this.hform.HSourceID = this.GySourceList[index]["HItemID"];
+				this.hform.HSourceName = this.GySourceList[index]["鐢熶骇璧勬簮鍚嶇О"];
 
-                this.get_ICMOBillStatusList();
-                this.get_QC_TakeSampleCheckBillList();
-                this.GetCheckItemID();
-            },
-            // 鏄剧ず寮圭獥
-            async showSelectorModule(item, index) {
-                this.currentChechItemIDCache = item.num || 0; // 0 琛ㄧず娌℃湁浠讳綍瀛愯〃琚�変腑
-                this.enablePopupModule = this.PopupModuleNameList[index];
-                console.log("this.$refs: ", this.$refs);
-                await this.$nextTick();
-                if (index == 7) {
-                    // 妫�楠屾柟妗堥渶瑕侀澶栦紶閫掑伐搴忓拰鐗╂枡鍚嶇О涓や釜鍙傛暟
-                    this.$refs.listPopup.setRequiredInfo(item.HMaterName, item.HProcName);
-                }
+				this.get_ICMOBillStatusList();
+				this.get_QC_TakeSampleCheckBillList();
+				this.GetCheckItemID();
+			},
+			// 鏄剧ず寮圭獥
+			async showSelectorModule(item, index) {
+				this.currentChechItemIDCache = item.num || 0; // 0 琛ㄧず娌℃湁浠讳綍瀛愯〃琚�変腑
+				this.enablePopupModule = this.PopupModuleNameList[index];
+				console.log("this.$refs: ", this.$refs);
+				await this.$nextTick();
+				if (index == 7) {
+					// 妫�楠屾柟妗堥渶瑕侀澶栦紶閫掑伐搴忓拰鐗╂枡鍚嶇О涓や釜鍙傛暟
+					this.$refs.listPopup.setRequiredInfo(item.HMaterName, item.HProcName);
+				}
 
-                this.$refs.listPopup.showPopup();
-            },
-            getAnalysisMethodDisplay(val) {
-                console.log("AnalysisMethodVal: ", val);
-                if (val) {
-                    return this.arrayAnalysisMethod.find((e) => e.value == val).name;
-                }
-                return "";
-            },
-            checkResultChange(event) {
-                console.log("event: ", event);
-            },
-            // 妫�楠岄」鐩柊澧炶
-            addCheckItem(resource) {
-                let ordinal = this.getObjLength(this.checkItems) + 1;
-                let checkItem = {
-                    num: ordinal,
-                    HInterID: this.hform.HInterID,
-                    HQCCheckItemID: "",
-                    HQCCheckItemNumber: "",
-                    HQCCheckItemName: "",
-                    HInspectInstruMentID: "0",
-                    HInspectInstruMentNumber: "",
-                    HInspectInstruMentName: "",
-                    HQCStd: "",
-                    HUnit: "",
-                    HQCNote: "",
-                    HAnalysisMethod: "",
-                    HResult: 1,
-                    HMax: "",
-                    HMin: "",
-                    HAvg: "",
-                    HRemark: "",
-                    HKeyInspect: false,
-                    HStatus: 1,
-                    HSampleSchemeID: "",
-                    HUnitID: 0,
-                    HInspectVal: "",
-                    HTargetVal: "",
-                    HUpLimit: "",
-                    HDownLimit: "",
-                    HUpOffSet: "",
-                    HDownOffSet: "",
-                    HSampleDamageQty: 0,
-                    HSampleSchemeName: "",
-                    HSampleQty: 0,
-                    HAcceptQty: 0,
-                    HInspectionLevel: "",
-                    HRejectQty: 0,
-                    HStrictness: "",
-                    HSampleUnRightQty: 0,
-                    HAQL: "",
-                    HSamplingType: "",
-                    HInspectResultToSee: "",
-                };
-                if (resource) {
-                    // 閫氳繃涓昏〃妫�楠屾柟妗堝甫鍑虹殑妫�楠岄」鐩�
-                    Object.assign(checkItem, resource);
-                }
-                this.$set(this.checkItems, ordinal, checkItem);
-                this.$nextTick(() => {
-                    // 妫�鏌ユ槸鍚﹀彲浠ユ柊澧炴楠屽�奸」
-                    this.setInspectValModule(this.checkItems[ordinal]);
-                });
-            },
-            // 妫�楠岄」鐩垹闄よ
-            removeCheckItem(item) {
-                uni.showModal({
-                    title: "娓╅Θ鎻愮ず",
-                    content: `纭瑕佸垹闄ょ${item.num}琛屽悧锛熷垹闄ゅ悗涓嶈兘鎭㈠`,
-                    success: (res) => {
-                        if (res.confirm) {
-                            this.$delete(this.checkItems, item.num);
-                            this.$delete(this.subTabs, `_${item.num}`);
-                            this.$forceUpdate();
-                            this.refreshCheckItemNum();
-                        }
-                    },
-                });
-            },
-            async refreshCheckItemNum() {
-                await this.$nextTick();
-                // 閲嶆帓搴忓彿
-                let num = 1;
-                let checkItemsCache = {};
-                for (let s in this.checkItems) {
-                    checkItemsCache[num] = this.checkItems[s];
-                    checkItemsCache[num].num = num;
-                    num++;
-                }
-                this.checkItems = checkItemsCache;
-            },
-            getObjLength(obj) {
-                return Object.keys(obj).length;
-            },
-            // 缁撹淇敼
-            HResultChange(id, e) {
-                console.log("e: ", e);
-                this.checkItems[id]["HResult"] = e.detail.value ? 1 : 2;
-
-                this.HCheckLastResult();
-            },
-            // 姣忔妫�楠岄」鐩殑缁撹鏇存柊锛岄兘瑕佸垽鏂渶缁堢粨璁�
-            HCheckLastResult() {
-                let unPassNum = 0;
-                for (var key in this.checkItems) {
-                    if (!(this.checkItems[key]["HResult"] == 1)) {
-                        unPassNum++;
-                    }
-                }
+				this.$refs.listPopup.showPopup();
+			},
+			getAnalysisMethodDisplay(val) {
+				console.log("AnalysisMethodVal: ", val);
+				if (val) {
+					return this.arrayAnalysisMethod.find((e) => e.value == val).name;
+				}
+				return "";
+			},
+			checkResultChange(event) {
+				console.log("event: ", event);
+			},
+			// 妫�楠岄」鐩柊澧炶
+			addCheckItem(resource) {
+				let ordinal = this.getObjLength(this.checkItems) + 1;
+				let checkItem = {
+					num: ordinal,
+					HInterID: this.hform.HInterID,
+					HQCCheckItemID: "",
+					HQCCheckItemNumber: "",
+					HQCCheckItemName: "",
+					HInspectInstruMentID: "0",
+					HInspectInstruMentNumber: "",
+					HInspectInstruMentName: "",
+					HQCStd: "",
+					HUnit: "",
+					HQCNote: "",
+					HAnalysisMethod: "",
+					HResult: 1,
+					HMax: "",
+					HMin: "",
+					HAvg: "",
+					HRemark: "",
+					HKeyInspect: false,
+					HStatus: 1,
+					HSampleSchemeID: "",
+					HUnitID: 0,
+					HInspectVal: "",
+					HTargetVal: "",
+					HUpLimit: "",
+					HDownLimit: "",
+					HUpOffSet: "",
+					HDownOffSet: "",
+					HSampleDamageQty: 0,
+					HSampleSchemeName: "",
+					HSampleQty: 0,
+					HAcceptQty: 0,
+					HInspectionLevel: "",
+					HRejectQty: 0,
+					HStrictness: "",
+					HSampleUnRightQty: 0,
+					HAQL: "",
+					HSamplingType: "",
+					HInspectResultToSee: "",
+				};
+				if (resource) {
+					// 閫氳繃涓昏〃妫�楠屾柟妗堝甫鍑虹殑妫�楠岄」鐩�
+					Object.assign(checkItem, resource);
+				}
+				this.$set(this.checkItems, ordinal, checkItem);
+				this.$nextTick(() => {
+					// 妫�鏌ユ槸鍚﹀彲浠ユ柊澧炴楠屽�奸」
+					this.setInspectValModule(this.checkItems[ordinal]);
+				});
+			},
+			// 妫�楠岄」鐩垹闄よ
+			removeCheckItem(item) {
+				uni.showModal({
+					title: "娓╅Θ鎻愮ず",
+					content: `纭瑕佸垹闄ょ${item.num}琛屽悧锛熷垹闄ゅ悗涓嶈兘鎭㈠`,
+					success: (res) => {
+						if (res.confirm) {
+							this.$delete(this.checkItems, item.num);
+							this.$delete(this.subTabs, `_${item.num}`);
+							this.$forceUpdate();
+							this.refreshCheckItemNum();
+						}
+					},
+				});
+			},
+			async refreshCheckItemNum() {
+				await this.$nextTick();
+				// 閲嶆帓搴忓彿
+				let num = 1;
+				let checkItemsCache = {};
+				for (let s in this.checkItems) {
+					checkItemsCache[num] = this.checkItems[s];
+					checkItemsCache[num].num = num;
+					num++;
+				}
+				this.checkItems = checkItemsCache;
+			},
+			getObjLength(obj) {
+				return Object.keys(obj).length;
+			},
+			// 缁撹淇敼
+			HResultChange(id, e) {
+				console.log("e: ", e);
+				this.checkItems[id]["HResult"] = e.detail.value ? 1 : 2;
 
-                if (unPassNum > 0) {
-                    this.hform.HCheckerResult = false;
-                    return;
-                }
-                this.hform.HCheckerResult = true;
-            },
-            // 妫�楠屽�� 璁$畻鏄惁鍚堟牸
-            calcHResult(item) {
-                // 闈炴娊妫�鏉′欢涓嬪垽鏂粨璁�
-                console.log('item: ', item);
-                if (!item.HSampleSchemeID) {
-                    return
-                }
+				this.HCheckLastResult();
+			},
+			// 姣忔妫�楠岄」鐩殑缁撹鏇存柊锛岄兘瑕佸垽鏂渶缁堢粨璁�
+			HCheckLastResult() {
+				let unPassNum = 0;
+				for (var key in this.checkItems) {
+					if (!(this.checkItems[key]["HResult"] == 1)) {
+						unPassNum++;
+					}
+				}
 
-                if (item.HInspectValQ >= item.HDownLimit && item.HInspectValQ <= item.HUpLimit) {
-                    this.checkItems[item.num].HResult = 1
-                    return
-                }
+				if (unPassNum > 0) {
+					this.hform.HCheckerResult = false;
+					return;
+				}
+				this.hform.HCheckerResult = true;
+			},
+			// 妫�楠屽�� 璁$畻鏄惁鍚堟牸
+			calcHResult(item) {
+				// 闈炴娊妫�鏉′欢涓嬪垽鏂粨璁�
+				console.log('item: ', item);
+				if (!item.HSampleSchemeID) {
+					return
+				}
 
-                this.checkItems[item.num].HResult = 2
-            },
-            // 妫�楠屾柟妗堜慨鏀�
-            HAnalysisMethodChange(id, e) {
-                console.log("e: ", e);
-                this.checkItems[id]["HAnalysisMethod"] = this.arrayAnalysisMethod[e.detail.value][
-                    "value"
-                ];
+				if (item.HInspectValQ >= item.HDownLimit && item.HInspectValQ <= item.HUpLimit) {
+					this.checkItems[item.num].HResult = 1
+					return
+				}
 
-                // 妫�鏌ユ槸鍚﹀彲浠ユ柊澧炴楠屽�奸」
-                this.setInspectValModule(this.checkItems[id]);
-            },
-            // 閲嶇偣妫�鏌ヤ慨鏀�
-            HKeyInspectChange(id, e) {
-                console.log("e: ", e);
-                this.checkItems[id]["HKeyInspect"] = e.detail.value;
-            },
-            // 妫�楠岄」鐩繑鍥�
-            async CheckItemComplete(e) {
-                console.log("CheckItemRet: ", e);
-                for (var key in e["retVal"]) {
-                    let data = e["retVal"][key];
-                    Object.assign(this.checkItems[key], {
-                        HQCCheckItemID: data["HItemID"],
-                        HQCCheckItemNumber: data["浠g爜"],
-                        HQCCheckItemName: data["鍚嶇О"],
-                    });
-                    await this.$nextTick();
-                    this.$refs.listPopup.exit();
-                    // 纭繚鍦ㄥ脊绐楃粨鏉熷悗锛屽啀灏嗛〉闈笂鎸傚湪鐨勭粍浠剁疆绌�
-                    await this.$nextTick();
-                    this.enablePopupModule = this.PopupModuleNameList[0];
-                }
-            },
-            // 妫�楠屾柟妗堣繑鍥�
-            async SampleSchemeComplete(e) {
-                console.log("SampleSchemeRet: ", e);
-                for (var key in e["retVal"]) {
-                    let data = e["retVal"][key];
-                    Object.assign(this.checkItems[key], {
-                        HSampleSchemeID: data["hmainid"],
-                        HSampleSchemeNumber: data["鎶芥牱鏂规浠g爜"],
-                        HSampleSchemeName: data["鎶芥牱鏂规鍚嶇О"],
-                        HSampleQty: data["鏍锋湰閲�"] || 0,
-                        HAcceptQty: data["鍏佽鏁�"] || 0,
-                        HInspectionLevel: data["妫�楠屾按骞�"],
-                        HRejectQty: data["鎷掔粷鏁�"] || 0,
-                        HStrictness: data["涓ユ牸搴�"],
-                        HSampleUnRightQty: data["鏍锋湰涓嶅悎鏍兼暟"] || 0,
-                        HAQL: data["AQL"],
-                        HSamplingType: data["鎶芥牱绫诲瀷"],
-                        HInspectResultToSee: data["妫�楠岀粨鏋�"],
-                        HUpLimit: data["涓婇檺鍊�"] || 0,
-                        HDownLimit: data["涓嬮檺鍊�"] || 0,
-                        HSampleDamageQty: data["鏍锋湰鐮村潖鏁�"] || 0,
-                    });
-                    await this.$nextTick();
-                    this.$refs.listPopup.exit();
-                    this.setInspectValModule(this.checkItems[key]);
+				this.checkItems[item.num].HResult = 2
+			},
+			// 妫�楠屾柟妗堜慨鏀�
+			HAnalysisMethodChange(id, e) {
+				console.log("e: ", e);
+				this.checkItems[id]["HAnalysisMethod"] = this.arrayAnalysisMethod[e.detail.value][
+					"value"
+				];
 
-                    await this.$nextTick();
-                    this.enablePopupModule = this.PopupModuleNameList[0];
-                }
-            },
-            // 妫�楠屼华鍣ㄨ繑鍥�
-            async InspectMentComplete(e) {
-                console.log("InspectInstruMentRet: ", e);
-                for (var key in e["retVal"]) {
-                    let data = e["retVal"][key];
-                    Object.assign(this.checkItems[key], {
-                        HInspectInstruMentID: data["HItemID"],
-                        HInspectInstruMentNumber: data["妫�楠屼华鍣ㄤ唬鐮�"],
-                        HInspectInstruMentName: data["妫�楠屼华鍣ㄥ悕绉�"],
-                    });
-                    await this.$nextTick();
-                    this.$refs.listPopup.exit();
-                    // 纭繚鍦ㄥ脊绐楃粨鏉熷悗锛屽啀灏嗛〉闈笂鎸傚湪鐨勭粍浠剁疆绌�
-                    await this.$nextTick();
-                    this.enablePopupModule = this.PopupModuleNameList[0];
-                }
-            },
-            // 浜у搧浠g爜杩斿洖
-            async MaterComplete(e) {
-                console.log("MaterRet: ", e);
-                for (var key in e["retVal"]) {
-                    let data = e["retVal"][key];
-                    Object.assign(this.hform, {
-                        HMaterNumber: data["鐗╂枡浠g爜"],
-                        HMaterName: data["鐗╂枡鍚嶇О"],
-                        HMaterID: data["HItemID"],
-                    });
-                    await this.$nextTick();
-                    this.$refs.listPopup.exit();
-                    // 纭繚鍦ㄥ脊绐楃粨鏉熷悗锛屽啀灏嗛〉闈笂鎸傚湪鐨勭粍浠剁疆绌�
-                    await this.$nextTick();
-                    this.enablePopupModule = this.PopupModuleNameList[0];
-                    this.GetCheckItemID();
-                }
-            },
-            // 浠诲姟鍗曡繑鍥�
-            async ICMOBillComplete(e) {
-                console.log("ICMOBillRet: ", e);
-                for (var key in e["retVal"]) {
-                    let data = e["retVal"][key];
-                    Object.assign(this.hform, {
-                        HICMOInterID: data.hmainid,
-                        HICMOEntryID: data.HEntryID || 1,
-                        HICMOBillNo: data.鍗曟嵁鍙�,
-                        HMaterNumber: data.浜у搧浠g爜,
-                        HMaterName: data.浜у搧鍚嶇О,
-                        HMaterID: data.HMaterID,
-                        HICMOQty: data.鐢熶骇浠诲姟鍗曟暟閲�,
-                    });
-                    await this.$nextTick();
-                    this.$refs.listPopup.exit();
-                    // 纭繚鍦ㄥ脊绐楃粨鏉熷悗锛屽啀灏嗛〉闈笂鎸傚湪鐨勭粍浠剁疆绌�
-                    await this.$nextTick();
-                    this.enablePopupModule = this.PopupModuleNameList[0];
-                }
-            },
-            // 娴佽浆鍗¤繑鍥�
-            async ProcExchBillComplete(e) {
-                console.log("ProcExchBillRet: ", e);
-                for (var key in e["retVal"]) {
-                    let data = e["retVal"][key];
-                    Object.assign(this.hform, {
-                        HProcExchInterID: data.hmainid,
-                        HProcExchEntryID: data.hsubid,
-                        HProcExchBillNo: data.鍗曟嵁鍙�,
-                    });
-                    await this.$nextTick();
-                    this.$refs.listPopup.exit();
-                    // 纭繚鍦ㄥ脊绐楃粨鏉熷悗锛屽啀灏嗛〉闈笂鎸傚湪鐨勭粍浠剁疆绌�
-                    await this.$nextTick();
-                    this.enablePopupModule = this.PopupModuleNameList[0];
-                }
-            },
-            // 妫�楠屾柟妗�(涓昏〃)杩斿洖
-            async HQCSchemeComplete(e) {
-                console.log("HQCSchemeRet: ", e);
-                for (var key in e["retVal"]) {
-                    let data = e["retVal"][key];
-                    Object.assign(this.hform, {
-                        HQCSchemeID: data.hmainid,
-                        HQCSchemeName: data.妫�楠屾柟妗堝悕绉�,
-                    });
-                    await this.get_CheckItem();
-                    await this.$nextTick();
-                    this.$refs.listPopup.exit();
-                    // 纭繚鍦ㄥ脊绐楃粨鏉熷悗锛屽啀灏嗛〉闈笂鎸傚湪鐨勭粍浠剁疆绌�
-                    await this.$nextTick();
-                    this.enablePopupModule = this.PopupModuleNameList[0];
-                }
-            },
-            // 宸ュ簭杩斿洖
-            async HProcComplete(e) {
-                console.log(" HProcRet: ", e);
-                for (var key in e["retVal"]) {
-                    let data = e["retVal"][key];
-                    Object.assign(this.hform, {
-                        HProcName: data["宸ュ簭鍚嶇О"],
-                        HProcID: data["HItemID"],
-                    });
-                    await this.$nextTick();
-                    this.$refs.listPopup.exit();
-                    // 纭繚鍦ㄥ脊绐楃粨鏉熷悗锛屽啀灏嗛〉闈笂鎸傚湪鐨勭粍浠剁疆绌�
-                    await this.$nextTick();
-                    this.enablePopupModule = this.PopupModuleNameList[0];
-                    await this.GetCheckItemID();
-                    await this.get_ICMOBillStatusList();
-                    await this.get_QC_TakeSampleCheckBillList();
-                }
-            },
-            async get_QC_TakeSampleCheckBillList() {
-                // 鍙栨牱鍗曟煡璇�
-                let HProcID = this.hform.HProcID;
-                let HProcExchInterId = this.hform.HProcExchInterID;
-                let sWhere = "";
+				// 妫�鏌ユ槸鍚﹀彲浠ユ柊澧炴楠屽�奸」
+				this.setInspectValModule(this.checkItems[id]);
+			},
+			// 閲嶇偣妫�鏌ヤ慨鏀�
+			HKeyInspectChange(id, e) {
+				console.log("e: ", e);
+				this.checkItems[id]["HKeyInspect"] = e.detail.value;
+			},
+			// 妫�楠岄」鐩繑鍥�
+			async CheckItemComplete(e) {
+				console.log("CheckItemRet: ", e);
+				for (var key in e["retVal"]) {
+					let data = e["retVal"][key];
+					Object.assign(this.checkItems[key], {
+						HQCCheckItemID: data["HItemID"],
+						HQCCheckItemNumber: data["浠g爜"],
+						HQCCheckItemName: data["鍚嶇О"],
+					});
+					await this.$nextTick();
+					this.$refs.listPopup.exit();
+					// 纭繚鍦ㄥ脊绐楃粨鏉熷悗锛屽啀灏嗛〉闈笂鎸傚湪鐨勭粍浠剁疆绌�
+					await this.$nextTick();
+					this.enablePopupModule = this.PopupModuleNameList[0];
+				}
+			},
+			// 妫�楠屾柟妗堣繑鍥�
+			async SampleSchemeComplete(e) {
+				console.log("SampleSchemeRet: ", e);
+				for (var key in e["retVal"]) {
+					let data = e["retVal"][key];
+					Object.assign(this.checkItems[key], {
+						HSampleSchemeID: data["hmainid"],
+						HSampleSchemeNumber: data["鎶芥牱鏂规浠g爜"],
+						HSampleSchemeName: data["鎶芥牱鏂规鍚嶇О"],
+						HSampleQty: data["鏍锋湰閲�"] || 0,
+						HAcceptQty: data["鍏佽鏁�"] || 0,
+						HInspectionLevel: data["妫�楠屾按骞�"],
+						HRejectQty: data["鎷掔粷鏁�"] || 0,
+						HStrictness: data["涓ユ牸搴�"],
+						HSampleUnRightQty: data["鏍锋湰涓嶅悎鏍兼暟"] || 0,
+						HAQL: data["AQL"],
+						HSamplingType: data["鎶芥牱绫诲瀷"],
+						HInspectResultToSee: data["妫�楠岀粨鏋�"],
+						HUpLimit: data["涓婇檺鍊�"] || 0,
+						HDownLimit: data["涓嬮檺鍊�"] || 0,
+						HSampleDamageQty: data["鏍锋湰鐮村潖鏁�"] || 0,
+					});
+					await this.$nextTick();
+					this.$refs.listPopup.exit();
+					this.setInspectValModule(this.checkItems[key]);
 
-                if (HProcID == "0" || HProcID == "") {
-                    CommonUtils.showTips({
-                        message: "璇烽�夋嫨宸ュ簭",
-                    });
-                    return;
-                }
+					await this.$nextTick();
+					this.enablePopupModule = this.PopupModuleNameList[0];
+				}
+			},
+			// 妫�楠屼华鍣ㄨ繑鍥�
+			async InspectMentComplete(e) {
+				console.log("InspectInstruMentRet: ", e);
+				for (var key in e["retVal"]) {
+					let data = e["retVal"][key];
+					Object.assign(this.checkItems[key], {
+						HInspectInstruMentID: data["HItemID"],
+						HInspectInstruMentNumber: data["妫�楠屼华鍣ㄤ唬鐮�"],
+						HInspectInstruMentName: data["妫�楠屼华鍣ㄥ悕绉�"],
+					});
+					await this.$nextTick();
+					this.$refs.listPopup.exit();
+					// 纭繚鍦ㄥ脊绐楃粨鏉熷悗锛屽啀灏嗛〉闈笂鎸傚湪鐨勭粍浠剁疆绌�
+					await this.$nextTick();
+					this.enablePopupModule = this.PopupModuleNameList[0];
+				}
+			},
+			// 浜у搧浠g爜杩斿洖
+			async MaterComplete(e) {
+				console.log("MaterRet: ", e);
+				for (var key in e["retVal"]) {
+					let data = e["retVal"][key];
+					Object.assign(this.hform, {
+						HMaterNumber: data["鐗╂枡浠g爜"],
+						HMaterName: data["鐗╂枡鍚嶇О"],
+						HMaterID: data["HItemID"],
+					});
+					await this.$nextTick();
+					this.$refs.listPopup.exit();
+					// 纭繚鍦ㄥ脊绐楃粨鏉熷悗锛屽啀灏嗛〉闈笂鎸傚湪鐨勭粍浠剁疆绌�
+					await this.$nextTick();
+					this.enablePopupModule = this.PopupModuleNameList[0];
+					this.GetCheckItemID();
+				}
+			},
+			// 浠诲姟鍗曡繑鍥�
+			async ICMOBillComplete(e) {
+				console.log("ICMOBillRet: ", e);
+				for (var key in e["retVal"]) {
+					let data = e["retVal"][key];
+					Object.assign(this.hform, {
+						HICMOInterID: data.hmainid,
+						HICMOEntryID: data.HEntryID || 1,
+						HICMOBillNo: data.鍗曟嵁鍙�,
+						HMaterNumber: data.浜у搧浠g爜,
+						HMaterName: data.浜у搧鍚嶇О,
+						HMaterID: data.HMaterID,
+						HICMOQty: data.鐢熶骇浠诲姟鍗曟暟閲�,
+					});
+					await this.$nextTick();
+					this.$refs.listPopup.exit();
+					// 纭繚鍦ㄥ脊绐楃粨鏉熷悗锛屽啀灏嗛〉闈笂鎸傚湪鐨勭粍浠剁疆绌�
+					await this.$nextTick();
+					this.enablePopupModule = this.PopupModuleNameList[0];
+				}
+			},
+			// 娴佽浆鍗¤繑鍥�
+			async ProcExchBillComplete(e) {
+				console.log("ProcExchBillRet: ", e);
+				for (var key in e["retVal"]) {
+					let data = e["retVal"][key];
+					Object.assign(this.hform, {
+						HProcExchInterID: data.hmainid,
+						HProcExchEntryID: data.hsubid,
+						HProcExchBillNo: data.鍗曟嵁鍙�,
+					});
+					await this.$nextTick();
+					this.$refs.listPopup.exit();
+					// 纭繚鍦ㄥ脊绐楃粨鏉熷悗锛屽啀灏嗛〉闈笂鎸傚湪鐨勭粍浠剁疆绌�
+					await this.$nextTick();
+					this.enablePopupModule = this.PopupModuleNameList[0];
+				}
+			},
+			// 妫�楠屾柟妗�(涓昏〃)杩斿洖
+			async HQCSchemeComplete(e) {
+				console.log("HQCSchemeRet: ", e);
+				for (var key in e["retVal"]) {
+					let data = e["retVal"][key];
+					Object.assign(this.hform, {
+						HQCSchemeID: data.hmainid,
+						HQCSchemeName: data.妫�楠屾柟妗堝悕绉�,
+					});
+					await this.get_CheckItem();
+					await this.$nextTick();
+					this.$refs.listPopup.exit();
+					// 纭繚鍦ㄥ脊绐楃粨鏉熷悗锛屽啀灏嗛〉闈笂鎸傚湪鐨勭粍浠剁疆绌�
+					await this.$nextTick();
+					this.enablePopupModule = this.PopupModuleNameList[0];
+				}
+			},
+			// 宸ュ簭杩斿洖
+			async HProcComplete(e) {
+				console.log(" HProcRet: ", e);
+				for (var key in e["retVal"]) {
+					let data = e["retVal"][key];
+					Object.assign(this.hform, {
+						HProcName: data["宸ュ簭鍚嶇О"],
+						HProcID: data["HItemID"],
+					});
+					await this.$nextTick();
+					this.$refs.listPopup.exit();
+					// 纭繚鍦ㄥ脊绐楃粨鏉熷悗锛屽啀灏嗛〉闈笂鎸傚湪鐨勭粍浠剁疆绌�
+					await this.$nextTick();
+					this.enablePopupModule = this.PopupModuleNameList[0];
+					await this.GetCheckItemID();
+					await this.get_ICMOBillStatusList();
+					await this.get_QC_TakeSampleCheckBillList();
+				}
+			},
+			async get_QC_TakeSampleCheckBillList() {
+				// 鍙栨牱鍗曟煡璇�
+				let HProcID = this.hform.HProcID;
+				let HProcExchInterId = this.hform.HProcExchInterID;
+				let sWhere = "";
 
-                sWhere = " and 宸ュ簭娴佽浆鍗′富鍐呯爜='" + HProcExchInterID + "' and HProcID=" + HProcID;
+				if (HProcID == "0" || HProcID == "") {
+					CommonUtils.showTips({
+						message: "璇烽�夋嫨宸ュ簭",
+					});
+					return;
+				}
 
-                try {
-                    let res = await CommonUtils.doRequest2Async({
-                        url: "/QC_TakeSampleCheckBill/QC_TakeSampleCheckBillMainList",
-                        data: {
-                            sWhere: sWhere,
-                            user: getUserInfo()["Czymc"],
-                        },
-                    });
+				sWhere = " and 宸ュ簭娴佽浆鍗′富鍐呯爜='" + HProcExchInterID + "' and HProcID=" + HProcID;
 
-                    let {
-                        data,
-                        count,
-                        Message
-                    } = res.data;
-                    if (count != 1) {
-                        CommonUtils.showTips({
-                            title: "娓╅Θ鎻愮ず",
-                            message: `鑾峰彇鍙栨牱鍗曚俊鎭け璐�: ${Message}`,
-                        });
-                    }
+				try {
+					let res = await CommonUtils.doRequest2Async({
+						url: "/QC_TakeSampleCheckBill/QC_TakeSampleCheckBillMainList",
+						data: {
+							sWhere: sWhere,
+							user: getUserInfo()["Czymc"],
+						},
+					});
 
-                    this.hform.HTakeSampleCheckBillID = data[0]["hmainid"];
-                    this.hform.HTakeSampleCheckBillNo = data[0]["鍗曟嵁鍙�"];
-                } catch (err) {
-                    CommonUtils.showTips({
-                        title: "娓╅Θ鎻愮ず",
-                        message: `鑾峰彇鍙栨牱鍗曚俊鎭け璐�: ${err}`,
-                    });
-                }
-            },
-            async get_ICMOBillStatusList() {
-                let sWhere = "";
-                let HProcID = this.hform.HProcID;
-                let HSourceID = this.hform.HSourceID;
-                let HProcExchInterId = this.hform.HProcExchInterID;
+					let {
+						data,
+						count,
+						Message
+					} = res.data;
+					if (count != 1) {
+						CommonUtils.showTips({
+							title: "娓╅Θ鎻愮ず",
+							message: `鑾峰彇鍙栨牱鍗曚俊鎭け璐�: ${Message}`,
+						});
+					}
 
-                if (HProcID != "0") {
-                    sWhere += " and HProcID=" + HProcID;
-                }
-                if (HSourceID != "0") {
-                    sWhere += " and HSourceID=" + HSourceID;
-                }
+					this.hform.HTakeSampleCheckBillID = data[0]["hmainid"];
+					this.hform.HTakeSampleCheckBillNo = data[0]["鍗曟嵁鍙�"];
+				} catch (err) {
+					CommonUtils.showTips({
+						title: "娓╅Θ鎻愮ず",
+						message: `鑾峰彇鍙栨牱鍗曚俊鎭け璐�: ${err}`,
+					});
+				}
+			},
+			async get_ICMOBillStatusList() {
+				let sWhere = "";
+				let HProcID = this.hform.HProcID;
+				let HSourceID = this.hform.HSourceID;
+				let HProcExchInterId = this.hform.HProcExchInterID;
 
-                sWhere += " and HSourceInterID=" + HProcExchInterID;
+				if (HProcID != "0") {
+					sWhere += " and HProcID=" + HProcID;
+				}
+				if (HSourceID != "0") {
+					sWhere += " and HSourceID=" + HSourceID;
+				}
 
-                try {
-                    let res = await CommonUtils.doRequest2Async({
-                        url: "/CheckBill/GetICMOBillStatusList",
-                        data: {
-                            sWhere: sWhere,
-                            user: getUserInfo()["Czymc"],
-                        },
-                    });
+				sWhere += " and HSourceInterID=" + HProcExchInterID;
 
-                    let {
-                        data,
-                        count,
-                        Message
-                    } = res.data;
-                    if (count != 1) {
-                        CommonUtils.showTips({
-                            title: "娓╅Θ鎻愮ず",
-                            message: `鑾峰彇鐢熶骇宸ュ崟淇℃伅澶辫触: ${Message}`,
-                        });
-                    }
+				try {
+					let res = await CommonUtils.doRequest2Async({
+						url: "/CheckBill/GetICMOBillStatusList",
+						data: {
+							sWhere: sWhere,
+							user: getUserInfo()["Czymc"],
+						},
+					});
 
-                    this.hform.HProcID = data[0]["HProcID"];
-                    this.hform.HProcName = data[0]["宸ュ簭"];
-                    this.hform.HSourceID = data[0]["HSourceID"];
-                    this.hform.HSourceName = data[0]["鐢熶骇璧勬簮"];
-                } catch (err) {
-                    CommonUtils.showTips({
-                        title: "娓╅Θ鎻愮ず",
-                        message: `鑾峰彇鐢熶骇宸ュ崟淇℃伅澶辫触: ${err}`,
-                    });
-                }
-            },
-            setInspectValModule(checkItem) {
-                console.log("checkItem: ", checkItem);
-                if (!checkItem.HAnalysisMethod || !checkItem.HSampleSchemeID) {
-                    return;
-                }
-                // 鍖哄垎妫�楠屽�奸〉绛惧拰闈欐�侀〉绛撅紝妫�楠屽�奸〉绛剧殑id浠寮�澶�
-                this.$set(this.InspectModules, `_${checkItem.num}`, {
-                    id: `_${checkItem.num}`,
-                    checkItemId: checkItem.num,
-                });
-                console.log(" this.arrayAnalysisMethod: ", checkItem.HAnalysisMethod);
-                let analysisMethodName = this.arrayAnalysisMethod.find(
-                    (e) => e.value == checkItem.HAnalysisMethod
-                ).name;
-                this.$set(this.subTabs, `_${checkItem.num}`, {
-                    id: `_${checkItem.num}`,
-                    name: `${analysisMethodName}-${checkItem.HQCCheckItemName}`,
-                });
-            },
-            InspectValueUpdate(e) {
-                console.log("e: ", e);
-                let {
-                    data,
-                    list
-                } = e;
-                this.checkItems[data.num] = Object.assign(this.checkItems[data.num], data);
-                this.$set(this.InspectValues, `${data.num}`, list);
-            },
-            // 甯﹀嚭妫�楠岄」鐩�
-            async get_CheckItem() {
-                // 棣栧厛娓呯┖妫�楠岄」鐩� 鍜� 妫�楠屽��
-                this.checkItems = {}
-                for (let key in this.subTabs) {
-                    if (key.substring(1) == "_") {
-                        this.$delete(this.subTabs, key)
-                    }
-                }
-                try {
-                    let res = await CommonUtils.doRequest2Async({
-                        url: "/Web/GetCheckItemByCheckProjectID_Sec",
-                        data: {
-                            CheckProjectID: this.hform.HQCSchemeID || 0,
-                            HBatchQty: this.hform.HProcExchQty || 0,
-                            HMaterID: this.hform.HMaterID,
+					let {
+						data,
+						count,
+						Message
+					} = res.data;
+					if (count != 1) {
+						CommonUtils.showTips({
+							title: "娓╅Θ鎻愮ず",
+							message: `鑾峰彇鐢熶骇宸ュ崟淇℃伅澶辫触: ${Message}`,
+						});
+					}
 
-                            HBillType: '鏈鏂规'
-                        },
-                    });
+					this.hform.HProcID = data[0]["HProcID"];
+					this.hform.HProcName = data[0]["宸ュ簭"];
+					this.hform.HSourceID = data[0]["HSourceID"];
+					this.hform.HSourceName = data[0]["鐢熶骇璧勬簮"];
+				} catch (err) {
+					CommonUtils.showTips({
+						title: "娓╅Θ鎻愮ず",
+						message: `鑾峰彇鐢熶骇宸ュ崟淇℃伅澶辫触: ${err}`,
+					});
+				}
+			},
+			setInspectValModule(checkItem) {
+				console.log("checkItem: ", checkItem);
+				if (!checkItem.HAnalysisMethod || !checkItem.HSampleSchemeID) {
+					return;
+				}
+				// 鍖哄垎妫�楠屽�奸〉绛惧拰闈欐�侀〉绛撅紝妫�楠屽�奸〉绛剧殑id浠寮�澶�
+				this.$set(this.InspectModules, `_${checkItem.num}`, {
+					id: `_${checkItem.num}`,
+					checkItemId: checkItem.num,
+				});
+				console.log(" this.arrayAnalysisMethod: ", checkItem.HAnalysisMethod);
+				let analysisMethodName = this.arrayAnalysisMethod.find(
+					(e) => e.value == checkItem.HAnalysisMethod
+				).name;
+				this.$set(this.subTabs, `_${checkItem.num}`, {
+					id: `_${checkItem.num}`,
+					name: `${analysisMethodName}-${checkItem.HQCCheckItemName}`,
+				});
+			},
+			InspectValueUpdate(e) {
+				console.log("e: ", e);
+				let {
+					data,
+					list
+				} = e;
+				this.checkItems[data.num] = Object.assign(this.checkItems[data.num], data);
+				this.$set(this.InspectValues, `${data.num}`, list);
+			},
+			// 甯﹀嚭妫�楠岄」鐩�
+			async get_CheckItem() {
+				// 棣栧厛娓呯┖妫�楠岄」鐩� 鍜� 妫�楠屽��
+				this.checkItems = {}
+				for (let key in this.subTabs) {
+					if (key.substring(1) == "_") {
+						this.$delete(this.subTabs, key)
+					}
+				}
+				try {
+					let res = await CommonUtils.doRequest2Async({
+						url: "/Web/GetCheckItemByCheckProjectID_Sec",
+						data: {
+							CheckProjectID: this.hform.HQCSchemeID || 0,
+							HBatchQty: this.hform.HProcExchQty || 0,
+							HMaterID: this.hform.HMaterID,
 
-                    let {
-                        data,
-                        count,
-                        Message
-                    } = res.data;
+							HBillType: '鏈鏂规'
+						},
+					});
 
-                    if (count == 1) {
-                        for (var i = 0; i < data.length; i++) {
-                            let checkItem = {
-                                HQCCheckItemID: data[i]["HQCCheckItemID"],
-                                HQCCheckItemNumber: data[i]["妫�楠岄」鐩唬鐮�"],
-                                HQCCheckItemName: data[i]["妫�楠岄」鐩�"],
-                                HInspectInstruMentID: data[i]["HInspectInstruMentID"],
-                                HInspectInstruMentNumber: data[i]["妫�楠屼华鍣ㄤ唬鐮�"],
-                                HInspectInstruMentName: data[i]["妫�楠屼华鍣�"],
-                                HQCStd: data[i]["HQCStd"],
-                                HUnit: data[i]["鍗曚綅鍚嶇О"],
-                                HQCNote: "",
-                                HAnalysisMethod: data[i]["鍒嗘瀽鏂规硶"],
-                                HResult: data[i]["HResult"],
-                                HMax: "",
-                                HMin: "",
-                                HAvg: "",
-                                HRemark: "",
-                                HKeyInspect: data[i]["閲嶇偣妫�鏌�"] == 1 ? true : false,
-                                HStatus: 0,
-                                HSampleSchemeID: data[i]["HSampleSchemeID"],
-                                HUnitID: data[i]["HUnitID"],
-                                HInspectVal: "",
-                                HTargetVal: "",
-                                HUpLimit: data[i].涓婇檺鍊�,
-                                HDownLimit: data[i].涓嬮檺鍊�,
-                                HUpOffSet: "",
-                                HDownOffSet: "",
-                                HSampleDamageQty: "0",
-                                HSampleSchemeName: data[i].鎶芥牱鏂规鍚嶇О,
-                                HSampleQty: data[i].鏍锋湰閲�,
-                                HAcceptQty: data[i].鍏佽鏁�,
-                                HInspectionLevel: data[i].妫�楠屾按骞�,
-                                HRejectQty: data[i].鎷掔粷鏁�,
-                                HStrictness: data[i].涓ユ牸搴�,
-                                HSampleUnRightQty: 0,
-                                HAQL: data[i].AQL,
-                                HSamplingType: data[i].鎶芥牱绫诲瀷,
-                                HCompareSymbol: data[i].姣旇緝绗�,
-                                HTargetVal: data[i].鐩爣鍊� || 0,
-                            };
+					let {
+						data,
+						count,
+						Message
+					} = res.data;
 
-                            this.addCheckItem(checkItem);
-                        }
-                    } else {
-                        CommonUtils.showTips({
-                            title: "娓╅Θ鎻愮ず",
-                            message: `鑾峰彇妫�楠岄」鐩俊鎭け璐�: ${Message} `,
-                        });
-                    }
-                } catch (err) {
-                    CommonUtils.showTips({
-                        title: "娓╅Θ鎻愮ず",
-                        message: `鑾峰彇妫�楠岄」鐩俊鎭け璐�: ${err} `,
-                    });
-                }
-            },
-            async getMaxBillNo() {
-                try {
-                    let res = await CommonUtils.doRequest2Sync({
-                        url: "/Web/GetMAXNum",
-                        data: {
-                            HBillType: "7507",
-                        },
-                    });
+					if (count == 1) {
+						for (var i = 0; i < data.length; i++) {
+							let checkItem = {
+								HQCCheckItemID: data[i]["HQCCheckItemID"],
+								HQCCheckItemNumber: data[i]["妫�楠岄」鐩唬鐮�"],
+								HQCCheckItemName: data[i]["妫�楠岄」鐩�"],
+								HInspectInstruMentID: data[i]["HInspectInstruMentID"],
+								HInspectInstruMentNumber: data[i]["妫�楠屼华鍣ㄤ唬鐮�"],
+								HInspectInstruMentName: data[i]["妫�楠屼华鍣�"],
+								HQCStd: data[i]["HQCStd"],
+								HUnit: data[i]["鍗曚綅鍚嶇О"],
+								HQCNote: "",
+								HAnalysisMethod: data[i]["鍒嗘瀽鏂规硶"],
+								HResult: data[i]["HResult"],
+								HMax: "",
+								HMin: "",
+								HAvg: "",
+								HRemark: "",
+								HKeyInspect: data[i]["閲嶇偣妫�鏌�"] == 1 ? true : false,
+								HStatus: 0,
+								HSampleSchemeID: data[i]["HSampleSchemeID"],
+								HUnitID: data[i]["HUnitID"],
+								HInspectVal: "",
+								HTargetVal: "",
+								HUpLimit: data[i].涓婇檺鍊�,
+								HDownLimit: data[i].涓嬮檺鍊�,
+								HUpOffSet: "",
+								HDownOffSet: "",
+								HSampleDamageQty: "0",
+								HSampleSchemeName: data[i].鎶芥牱鏂规鍚嶇О,
+								HSampleQty: data[i].鏍锋湰閲�,
+								HAcceptQty: data[i].鍏佽鏁�,
+								HInspectionLevel: data[i].妫�楠屾按骞�,
+								HRejectQty: data[i].鎷掔粷鏁�,
+								HStrictness: data[i].涓ユ牸搴�,
+								HSampleUnRightQty: 0,
+								HAQL: data[i].AQL,
+								HSamplingType: data[i].鎶芥牱绫诲瀷,
+								HCompareSymbol: data[i].姣旇緝绗�,
+								HTargetVal: data[i].鐩爣鍊� || 0,
+							};
 
-                    if (!res) {
-                        return;
-                    }
+							this.addCheckItem(checkItem);
+						}
+					} else {
+						CommonUtils.showTips({
+							title: "娓╅Θ鎻愮ず",
+							message: `鑾峰彇妫�楠岄」鐩俊鎭け璐�: ${Message} `,
+						});
+					}
+				} catch (err) {
+					CommonUtils.showTips({
+						title: "娓╅Θ鎻愮ず",
+						message: `鑾峰彇妫�楠岄」鐩俊鎭け璐�: ${err} `,
+					});
+				}
+			},
+			async getMaxBillNo() {
+				try {
+					let res = await CommonUtils.doRequest2Sync({
+						url: "/Web/GetMAXNum",
+						data: {
+							HBillType: "7507",
+						},
+					});
 
-                    let {
-                        data,
-                        Message,
-                        count
-                    } = res.data;
-                    if (count == 1) {
-                        this.hform.HInterID = data[0].HInterID;
-                        this.hform.HBillNo = data[0].HBillNo;
-                    } else {
-                        throw Message;
-                    }
-                } catch (err) {
-                    CommonUtils.showTips({
-                        title: "娓╅Θ鎻愮ず",
-                        message: "鑾峰彇鍗曟嵁鍙峰紓甯�: " + err,
-                    });
-                }
-            },
-            // 妫�楠屽�艰繑鍥炲��
-            InspectValueComplete(e) {
-                console.log("e: ", e);
-                let key = e.num;
-                e.HStatus = e.HStatus ? 1 : 0
-                if (e.HResult2 == '') {
-                    e.HResult2 = this.checkItems[key].HResult
-                }
-                Object.assign(this.checkItems[key], e);
-                this.checkItems[key].HInspectResultToSee = this.checkItems[key].HResult2;
-                this.checkItems[key].HResult = this.checkItems[key].HResult2 == '鍚堟牸' ? 1 : 2;
+					if (!res) {
+						return;
+					}
 
-                this.HCheckLastResult();
+					let {
+						data,
+						Message,
+						count
+					} = res.data;
+					if (count == 1) {
+						this.hform.HInterID = data[0].HInterID;
+						this.hform.HBillNo = data[0].HBillNo;
+					} else {
+						throw Message;
+					}
+				} catch (err) {
+					CommonUtils.showTips({
+						title: "娓╅Θ鎻愮ず",
+						message: "鑾峰彇鍗曟嵁鍙峰紓甯�: " + err,
+					});
+				}
+			},
+			// 妫�楠屽�艰繑鍥炲��
+			InspectValueComplete(e) {
+				console.log("e: ", e);
+				let key = e.num;
+				e.HStatus = e.HStatus ? 1 : 0
+				if (e.HResult2 == '') {
+					e.HResult2 = this.checkItems[key].HResult
+				}
+				Object.assign(this.checkItems[key], e);
+				this.checkItems[key].HInspectResultToSee = this.checkItems[key].HResult2;
+				this.checkItems[key].HResult = this.checkItems[key].HResult2 == '鍚堟牸' ? 1 : 2;
 
-            },
-            checkSubmitValidate() {
-                // if (this.hform.HICMOQty == "" || this.hform.HICMOQty <= 0) {
-                //     CommonUtils.showTips({
-                //         message: "浠诲姟鍗曟暟閲忎笉鑳戒负绌轰笖涓嶈兘灏忎簬绛変簬0锛�",
-                //     });
-                //     return false;
-                // }
+				this.HCheckLastResult();
 
-                if (this.hform.HFirstCheckEmp == 0) {
-                    CommonUtils.showTips({
-                        message: "妫�楠屽憳鏈�夋嫨锛�",
-                    });
-                    return false;
-                }
-                if (this.hform.HCheckQty == 0) {
-                    CommonUtils.showTips({
-                        message: "妫�楠屾暟閲忎笉寰椾负0锛�",
-                    });
-                    return false;
-                }
+			},
+			checkSubmitValidate() {
+				// if (this.hform.HICMOQty == "" || this.hform.HICMOQty <= 0) {
+				//     CommonUtils.showTips({
+				//         message: "浠诲姟鍗曟暟閲忎笉鑳戒负绌轰笖涓嶈兘灏忎簬绛変簬0锛�",
+				//     });
+				//     return false;
+				// }
 
-                for (let key in this.checkItems) {
-                    if (!this.checkItems[key].HQCCheckItemID) {
-                        CommonUtils.showTips({
-                            message: `绗�${this.checkItems[key].num}琛屾楠岄」鐩笉鑳戒负绌�!`,
-                        });
-                        return false;
-                    }
+				if (this.hform.HFirstCheckEmp == 0) {
+					CommonUtils.showTips({
+						message: "妫�楠屽憳鏈�夋嫨锛�",
+					});
+					return false;
+				}
+				if (this.hform.HCheckQty == 0) {
+					CommonUtils.showTips({
+						message: "妫�楠屾暟閲忎笉寰椾负0锛�",
+					});
+					return false;
+				}
 
-                    if (
-                        this.checkItems[key].HSampleSchemeID == "" ||
-                        this.checkItems[key].HSampleSchemeID == null
-                    ) {
-                        this.checkItems[key].HSampleSchemeID = 0;
-                    }
-                    if (
-                        this.checkItems[key].HSampleQty == "" ||
-                        this.checkItems[key].HSampleQty == null
-                    ) {
-                        this.checkItems[key].HSampleQty = 0;
-                    }
-                    if (
-                        this.checkItems[key].HSampleDamageQty == "" ||
-                        this.checkItems[key].HSampleDamageQty == null
-                    ) {
-                        this.checkItems[key].HSampleDamageQty = 0;
-                    }
-                    if (
-                        this.checkItems[key].HAcceptQty == "" ||
-                        this.checkItems[key].HAcceptQty == null
-                    ) {
-                        this.checkItems[key].HAcceptQty = 0;
-                    }
-                    if (
-                        this.checkItems[key].HRejectQty == "" ||
-                        this.checkItems[key].HRejectQty == null
-                    ) {
-                        this.checkItems[key].HRejectQty = 0;
-                    }
-                    if (
-                        this.checkItems[key].HSampleUnRightQty == "" ||
-                        this.checkItems[key].HSampleUnRightQty == 0
-                    ) {
-                        this.checkItems[key].HSampleUnRightQty = 0;
-                    }
-                    if (this.checkItems[key].HUnitID == "") {
-                        this.checkItems[key].HUnitID = 0;
-                    }
-                }
+				for (let key in this.checkItems) {
+					if (!this.checkItems[key].HQCCheckItemID) {
+						CommonUtils.showTips({
+							message: `绗�${this.checkItems[key].num}琛屾楠岄」鐩笉鑳戒负绌�!`,
+						});
+						return false;
+					}
 
-                return true;
-            },
-            async submit() {
-                if (!this.checkSubmitValidate()) {
-                    return;
-                }
-                try {
-                    console.log('this.$refs: ', this.$refs);
-                    // 妫�鏌ユ槸鍚︽湁鏈垏鎹㈢殑妫�楠屽�兼ā鍧�(鏄惁鍖呭惈set_SaveValue鏂规硶),濡傛灉鏈夛紝鍒欒繍琛屼竴娆′繚瀛樻楠屽�肩殑鏂规硶锛屾牴鎹楠屽�兼槸鍚︿繚瀛樻垚鍔熷啀鎵ц涓嬩竴姝�
-                    if (typeof this.$refs.InspectValueModules != "undefined" && this.$refs.InspectValueModules
-                        .length >
-                        0) {
-                        // 鍔犺浇鏈夋楠屽�兼ā鍧�
-                        await this.$refs.InspectValueModules[0].set_SaveValue();
-                        this.InspectValues[0] = this.$refs.InspectValueModules[0].InSpectValues;
-                        await this.InspectValueComplete(this.$refs.InspectValueModules[0].checkData)
-                    }
-                    let InspectValuesTrans = [];
-                    let HInterID = this.hform.HInterID;
-                    for (let key in this.InspectValues) {
-                        let HEntryID = key;
+					if (
+						this.checkItems[key].HSampleSchemeID == "" ||
+						this.checkItems[key].HSampleSchemeID == null
+					) {
+						this.checkItems[key].HSampleSchemeID = 0;
+					}
+					if (
+						this.checkItems[key].HSampleQty == "" ||
+						this.checkItems[key].HSampleQty == null
+					) {
+						this.checkItems[key].HSampleQty = 0;
+					}
+					if (
+						this.checkItems[key].HSampleDamageQty == "" ||
+						this.checkItems[key].HSampleDamageQty == null
+					) {
+						this.checkItems[key].HSampleDamageQty = 0;
+					}
+					if (
+						this.checkItems[key].HAcceptQty == "" ||
+						this.checkItems[key].HAcceptQty == null
+					) {
+						this.checkItems[key].HAcceptQty = 0;
+					}
+					if (
+						this.checkItems[key].HRejectQty == "" ||
+						this.checkItems[key].HRejectQty == null
+					) {
+						this.checkItems[key].HRejectQty = 0;
+					}
+					if (
+						this.checkItems[key].HSampleUnRightQty == "" ||
+						this.checkItems[key].HSampleUnRightQty == 0
+					) {
+						this.checkItems[key].HSampleUnRightQty = 0;
+					}
+					if (this.checkItems[key].HUnitID == "") {
+						this.checkItems[key].HUnitID = 0;
+					}
+				}
 
-                        InspectValuesTrans.push(
-                            `${JSON.stringify(this.InspectValues[key])}`
-                        );
-                    }
-                    let checkItemsArray = [];
-                    for (var key in this.checkItems) {
-                        let checkItem = JSON.parse(JSON.stringify(this.checkItems[key]))
-                        delete checkItem.data
-                        checkItemsArray.push(checkItem);
-                    }
-                    console.log('checkItemsArray: ', checkItemsArray);
+				return true;
+			},
+			async submit() {
+				if (!this.checkSubmitValidate()) {
+					return;
+				}
+				try {
+					console.log('this.$refs: ', this.$refs);
+					// 妫�鏌ユ槸鍚︽湁鏈垏鎹㈢殑妫�楠屽�兼ā鍧�(鏄惁鍖呭惈set_SaveValue鏂规硶),濡傛灉鏈夛紝鍒欒繍琛屼竴娆′繚瀛樻楠屽�肩殑鏂规硶锛屾牴鎹楠屽�兼槸鍚︿繚瀛樻垚鍔熷啀鎵ц涓嬩竴姝�
+					if (typeof this.$refs.InspectValueModules != "undefined" && this.$refs.InspectValueModules
+						.length >
+						0) {
+						// 鍔犺浇鏈夋楠屽�兼ā鍧�
+						await this.$refs.InspectValueModules[0].set_SaveValue();
+						this.InspectValues[0] = this.$refs.InspectValueModules[0].InSpectValues;
+						await this.InspectValueComplete(this.$refs.InspectValueModules[0].checkData)
+					}
+					let InspectValuesTrans = [];
+					let HInterID = this.hform.HInterID;
+					for (let key in this.InspectValues) {
+						let HEntryID = key;
 
-                    console.log("this.checkItems: ", this.checkItems);
+						InspectValuesTrans.push(
+							`${JSON.stringify(this.InspectValues[key])}`
+						);
+					}
+					let checkItemsArray = [];
+					for (var key in this.checkItems) {
+						let checkItem = JSON.parse(JSON.stringify(this.checkItems[key]))
+						delete checkItem.data
+						checkItemsArray.push(checkItem);
+					}
+					console.log('checkItemsArray: ', checkItemsArray);
+					let sMainSub =
+						`${JSON.stringify(this.hform)};${JSON.stringify(checkItemsArray)};${this.operationType};${getUserInfo()["Czymc"]};${InspectValuesTrans[0]}`;
+					console.log("this.checkItems: ", this.checkItems);
 
-                    let res = await CommonUtils.doRequest2Sync({
-                        url: "/QC_ProcessCheckBill/set_SaveBill",
-                        data: {
-                            sMainSub: sMainSub,
-                        },
-                        method: "POST",
-                    });
+					let res = await CommonUtils.doRequest2Sync({
+						url: "/QC_ProcessCheckBill/set_SaveBill",
+						data: {
+							sMainSub: sMainSub,
+						},
+						method: "POST",
+					});
 
-                    if (!res) {
-                        return;
-                    }
+					if (!res) {
+						return;
+					}
 
-                    let {
-                        count,
-                        Message,
-                        data
-                    } = res.data;
-                    if (count == 1) {
-                        uni.showModal({
-                            title: "鎻愮ず",
-                            content: res.data.Message + "銆傛槸鍚︾户缁柊澧烇紵",
-                            success: (res) => {
-                                if (res.confirm) {
-                                    console.log("鐢ㄦ埛鐐瑰嚮纭畾");
-                                    uni.redirectTo({
-                                        url: "/pages/ZLGL/mojianjianyan/ProcessCheckBill?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}`,
-                    });
-                }
-            },
-            addNew() {
-                uni.redirectTo({
-                    url: "/pages/ZLGL/mojianjianyan/ProcessCheckBill?operationType=1",
-                });
-            },
-            goBack() {
-                uni.navigateBack();
-            },
-            async RoadBillMain() {
-                try {
-                    let res = await CommonUtils.doRequest2Async({
-                        url: "/QC_ProcessCheckBill/QC_ProcessCheckBill_Edit",
-                        data: {
-                            sWhere: ` and hmainid=${this.hform.HInterID}`,
-                            user: getUserInfo()["Czymc"],
-                        },
-                    });
+					let {
+						count,
+						Message,
+						data
+					} = res.data;
+					if (count == 1) {
+						uni.showModal({
+							title: "鎻愮ず",
+							content: res.data.Message + "銆傛槸鍚︾户缁柊澧烇紵",
+							success: (res) => {
+								if (res.confirm) {
+									console.log("鐢ㄦ埛鐐瑰嚮纭畾");
+									uni.redirectTo({
+										url: "/pages/ZLGL/mojianjianyan/ProcessCheckBill?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}`,
+					});
+				}
+			},
+			addNew() {
+				uni.redirectTo({
+					url: "/pages/ZLGL/mojianjianyan/ProcessCheckBill?operationType=1",
+				});
+			},
+			goBack() {
+				uni.navigateBack();
+			},
+			async RoadBillMain() {
+				try {
+					let res = await CommonUtils.doRequest2Async({
+						url: "/QC_ProcessCheckBill/QC_ProcessCheckBill_Edit",
+						data: {
+							sWhere: ` and hmainid=${this.hform.HInterID}`,
+							user: getUserInfo()["Czymc"],
+						},
+					});
 
-                    let {
-                        data,
-                        count,
-                        Message
-                    } = res.data;
+					let {
+						data,
+						count,
+						Message
+					} = res.data;
 
-                    if (count == 1) {
-                        console.log("RoadBillMain: : ", data);
-                        Object.assign(this.hform, {
-                            HInterID: data[0].hmainid,
-                            HBillNo: data[0].鍗曟嵁鍙�,
-                            HDate: dayjs(data[0].鏃ユ湡).format("YYYY-MM-DD"),
-                            HSourceID: data[0].HSourceID,
-                            HSourceName: data[0].鐢熶骇璧勬簮鍚嶇О,
-                            HICMOBillNo: data[0].浠诲姟鍗曞彿,
-                            HICMOQty: data[0].浠诲姟鍗曟暟閲�,
-                            HICMOInterID: data[0].HICMOInterID,
-                            HICMOEntryID: data[0].HICMOEntryID || 1,
-                            HMaterID: data[0].HMaterID,
-                            HMaterName: data[0].鐗╂枡鍚嶇О,
-                            HMaterNumber: data[0].鐗╂枡浠g爜,
-                            HProcID: data[0].HProcID,
-                            HProcName: data[0].HProcName,
-                            HProcExchQty: data[0].HProcExchQty || 0,
-                            HProcExchBillNo: data[0].HProcExchBillNo,
-                            HProcExchInterID: data[0].HProcExchInterID,
-                            HProcExchEntryID: data[0].HProcExchEntryID || 0,
-                            HFirstCheckEmp: data[0].HFirstCheckEmp,
-                            HFirstCheckEmpName: data[0].璐ㄦ鍛樺悕绉�,
-                            HQCSchemeID: data[0].妫�楠屾柟妗圛D,
-                            HQCSchemeName: data[0].妫�楠屾柟妗堝悕绉�,
-                            HRemark: data[0].琛ㄥご澶囨敞,
-                            HMaker: data[0].鍒跺崟浜�,
-                            HMakeDate: data[0].鍒跺崟鏃ユ湡,
-                            HChecker: data[0].瀹℃牳浜�,
-                            HCheckDate: data[0].瀹℃牳鏃ユ湡,
-                            HCloseMan: data[0].鍏抽棴浜�,
-                            HCloseDate: data[0].鍏抽棴鏃ユ湡,
-                            HUpDateDate: data[0].淇敼鏃ユ湡,
-                            HDeleteDate: data[0].浣滃簾鏃ユ湡,
-                            HSampleSchemeID: data[0].HSampleSchemeID,
-                            HSampleSchemeName: data[0].鎶芥牱鏂规鍚嶇О,
-                            HSampleQty: data[0].鏍锋湰閲�,
-                            HSampleQty2: data[0].鏍锋湰閲�,
-                            HSampleDamageQty: data[0].鏍锋湰鐮村潖鏁�,
-                            HSamplingType: data[0].鎶芥牱绫诲瀷,
-                            HAcceptQty: data[0].鍏佽鏁�,
-                            HInspectionLevel: data[0].妫�楠屾按骞�,
-                            HRejectQty: data[0].鎷掔粷鏁�,
-                            HStrictness: data[0].涓ユ牸搴�,
-                            HSampleUnRightQty: data[0].鏍锋湰涓嶅悎鏍兼暟 || 0,
-                            HSampleUnRightQty2: data[0].鏍锋湰涓嶅悎鏍兼暟,
-                            HAQL: data[0].AQL,
-                            HUnitID: data[0].HUnitID,
-                            HUnit: data[0].鍗曚綅,
-                            HInspectValB: data[0].妫�娴嬪�煎熀纭�璧勬枡,
-                            HInspectVal: data[0].妫�娴嬪��,
-                            HTargetValB: data[0].鐩爣鍊煎熀纭�璧勬枡,
-                            HTargetVal: data[0].鐩爣鍊�,
-                            HUpLimit: data[0].涓婇檺鍊�,
-                            HDownLimit: data[0].涓嬮檺鍊�,
-                            HUpOffSet: data[0].涓婂亸宸�,
-                            HDownOffSet: data[0].涓嬪亸宸�,
-                            HEntryID: data[0].hsubid,
-                            HQCCheckItemName: data[0].妫�楠岄」鐩悕绉�,
-                            HQCCheckItemID: data[0].HQCCheckItemID,
-                            HShiftsID: data[0].HShiftsID,
-                            HShiftsName: data[0].鐝鍚嶇О,
-                            HErrTreatment: data[0].寮傚父涓存椂澶勭悊鏂规,
-                            HBatchNo: data[0].鎵瑰彿,
-                            HCheckerResult: data[0].鍒ゅ畾缁撹 == "鍚堟牸" ? true : false,
-                            HTakeSampleCheckBillID: data[0].HTakeSampleCheckBillID,
-                            HTakeSampleCheckBillNo: data[0].HTakeSampleCheckBillNo,
-                            HAnalysisMethod: function() {
-                                if (data[0].HAnalysisMethod == 1) {
-                                    return '瀹氭�ф楠�'
-                                } else if (data[0].HAnalysisMethod == 2) {
-                                    return '瀹氶噺妫�楠�'
-                                } else {
-                                    return '鍏朵粬妫�楠�'
-                                }
-                            }(),
+					if (count == 1) {
+						console.log("RoadBillMain: : ", data);
+						Object.assign(this.hform, {
+							HInterID: data[0].hmainid,
+							HBillNo: data[0].鍗曟嵁鍙�,
+							HDate: dayjs(data[0].鏃ユ湡).format("YYYY-MM-DD"),
+							HSourceID: data[0].HSourceID,
+							HSourceName: data[0].鐢熶骇璧勬簮鍚嶇О,
+							HICMOBillNo: data[0].浠诲姟鍗曞彿,
+							HICMOQty: data[0].浠诲姟鍗曟暟閲�,
+							HICMOInterID: data[0].HICMOInterID,
+							HICMOEntryID: data[0].HICMOEntryID || 1,
+							HMaterID: data[0].HMaterID,
+							HMaterName: data[0].鐗╂枡鍚嶇О,
+							HMaterNumber: data[0].鐗╂枡浠g爜,
+							HProcID: data[0].HProcID,
+							HProcName: data[0].HProcName,
+							HProcExchQty: data[0].HProcExchQty || 0,
+							HProcExchBillNo: data[0].HProcExchBillNo,
+							HProcExchInterID: data[0].HProcExchInterID,
+							HProcExchEntryID: data[0].HProcExchEntryID || 0,
+							HFirstCheckEmp: data[0].HFirstCheckEmp,
+							HFirstCheckEmpName: data[0].璐ㄦ鍛樺悕绉�,
+							HQCSchemeID: data[0].妫�楠屾柟妗圛D,
+							HQCSchemeName: data[0].妫�楠屾柟妗堝悕绉�,
+							HRemark: data[0].琛ㄥご澶囨敞,
+							HMaker: data[0].鍒跺崟浜�,
+							HMakeDate: data[0].鍒跺崟鏃ユ湡,
+							HChecker: data[0].瀹℃牳浜�,
+							HCheckDate: data[0].瀹℃牳鏃ユ湡,
+							HCloseMan: data[0].鍏抽棴浜�,
+							HCloseDate: data[0].鍏抽棴鏃ユ湡,
+							HUpDateDate: data[0].淇敼鏃ユ湡,
+							HDeleteDate: data[0].浣滃簾鏃ユ湡,
+							HSampleSchemeID: data[0].HSampleSchemeID,
+							HSampleSchemeName: data[0].鎶芥牱鏂规鍚嶇О,
+							HSampleQty: data[0].鏍锋湰閲�,
+							HSampleQty2: data[0].鏍锋湰閲�,
+							HSampleDamageQty: data[0].鏍锋湰鐮村潖鏁�,
+							HSamplingType: data[0].鎶芥牱绫诲瀷,
+							HAcceptQty: data[0].鍏佽鏁�,
+							HInspectionLevel: data[0].妫�楠屾按骞�,
+							HRejectQty: data[0].鎷掔粷鏁�,
+							HStrictness: data[0].涓ユ牸搴�,
+							HSampleUnRightQty: data[0].鏍锋湰涓嶅悎鏍兼暟 || 0,
+							HSampleUnRightQty2: data[0].鏍锋湰涓嶅悎鏍兼暟,
+							HAQL: data[0].AQL,
+							HUnitID: data[0].HUnitID,
+							HUnit: data[0].鍗曚綅,
+							HInspectValB: data[0].妫�娴嬪�煎熀纭�璧勬枡,
+							HInspectVal: data[0].妫�娴嬪��,
+							HTargetValB: data[0].鐩爣鍊煎熀纭�璧勬枡,
+							HTargetVal: data[0].鐩爣鍊�,
+							HUpLimit: data[0].涓婇檺鍊�,
+							HDownLimit: data[0].涓嬮檺鍊�,
+							HUpOffSet: data[0].涓婂亸宸�,
+							HDownOffSet: data[0].涓嬪亸宸�,
+							HEntryID: data[0].hsubid,
+							HQCCheckItemName: data[0].妫�楠岄」鐩悕绉�,
+							HQCCheckItemID: data[0].HQCCheckItemID,
+							HShiftsID: data[0].HShiftsID,
+							HShiftsName: data[0].鐝鍚嶇О,
+							HErrTreatment: data[0].寮傚父涓存椂澶勭悊鏂规,
+							HBatchNo: data[0].鎵瑰彿,
+							HCheckerResult: data[0].鍒ゅ畾缁撹 == "鍚堟牸" ? true : false,
+							HTakeSampleCheckBillID: data[0].HTakeSampleCheckBillID,
+							HTakeSampleCheckBillNo: data[0].HTakeSampleCheckBillNo,
+							HAnalysisMethod: function() {
+								if (data[0].HAnalysisMethod == 1) {
+									return '瀹氭�ф楠�'
+								} else if (data[0].HAnalysisMethod == 2) {
+									return '瀹氶噺妫�楠�'
+								} else {
+									return '鍏朵粬妫�楠�'
+								}
+							}(),
 
 
 
-                        });
+						});
 
-                        for (let i = 0; i < data.length; i++) {
-                            this.addCheckItem({
-                                HQCCheckItemID: data[i].HQCCheckItemID,
-                                HQCCheckItemNumber: data[i].妫�楠岄」鐩唬鐮�,
-                                HQCCheckItemName: data[i].妫�楠岄」鐩悕绉�,
-                                HInspectInstruMentID: data[i].HInspectInstruMentID,
-                                HInspectInstruMentNumber: data[i].妫�楠屼华鍣ㄤ唬鐮�,
-                                HInspectInstruMentName: data[i].妫�楠屼华鍣ㄥ悕绉�,
-                                HQCStd: data[i].妫�楠屾爣鍑�,
-                                HUnit: data[i].鍗曚綅鍚嶇О,
-                                HQCNote: data[i].妫�楠岃褰�,
-                                HResult: data[i].缁撹 == "鍚堟牸" ? 1 : 0,
-                                HMax: data[i].鏈�澶у��,
-                                HMin: data[i].鏈�灏忓��,
-                                HAvg: data[i].骞冲潎鍊�,
-                                HRemark: data[i].琛ㄤ綋澶囨敞,
-                                HAnalysisMethod: data[i].鍒嗘瀽鏂规硶 == "瀹氭�у垎鏋�" ?
-                                    1 : data[i].鍒嗘瀽鏂规硶 == "瀹氶噺鍒嗘瀽" ?
-                                    2 : 3,
-                                HKeyInspect: data[i].閲嶇偣妫�鏌� == "鍚�" ? false : true,
-                                HSampleSchemeID: data[i].HSampleSchemeID,
-                                HUnitID: data[i].HUnitID,
-                                HInspectVal: data[i].妫�娴嬪��,
-                                HTargetVal: data[i].鐩爣鍊�,
-                                HUpLimit: data[i].涓婇檺鍊�,
-                                HDownLimit: data[i].涓嬮檺鍊�,
-                                HUpOffSet: data[i].涓婂亸宸�,
-                                HDownOffSet: data[i].涓嬪亸宸�,
-                                HSampleDamageQty: data[i].鏍锋湰鐮村潖鏁�,
-                                HSampleSchemeName: data[i].鎶芥牱鏂规鍚嶇О,
-                                HSampleQty: data[i].鏍锋湰閲�,
-                                HSampleDamageQty: data[i].鏍锋湰鐮村潖鏁�,
-                                HAcceptQty: data[i].鍏佽鏁�,
-                                HInspectionLevel: 0,
-                                HRejectQty: data[i].鎷掔粷鏁�,
-                                HStrictness: 0,
-                                HSampleUnRightQty: data[i].鏍锋湰涓嶅悎鏍兼暟,
-                                HAQL: data[i].AQL,
-                                HSamplingType: 0,
-                                HSamplingType: data[i].鎶芥牱绫诲瀷,
-                                HStrictness: data[i].涓ユ牸搴�,
-                                HInspectResultToSee: data[i].妫�楠岀粨鏋�
-                            });
+						for (let i = 0; i < data.length; i++) {
+							this.addCheckItem({
+								HQCCheckItemID: data[i].HQCCheckItemID,
+								HQCCheckItemNumber: data[i].妫�楠岄」鐩唬鐮�,
+								HQCCheckItemName: data[i].妫�楠岄」鐩悕绉�,
+								HInspectInstruMentID: data[i].HInspectInstruMentID,
+								HInspectInstruMentNumber: data[i].妫�楠屼华鍣ㄤ唬鐮�,
+								HInspectInstruMentName: data[i].妫�楠屼华鍣ㄥ悕绉�,
+								HQCStd: data[i].妫�楠屾爣鍑�,
+								HUnit: data[i].鍗曚綅鍚嶇О,
+								HQCNote: data[i].妫�楠岃褰�,
+								HResult: data[i].缁撹 == "鍚堟牸" ? 1 : 0,
+								HMax: data[i].鏈�澶у��,
+								HMin: data[i].鏈�灏忓��,
+								HAvg: data[i].骞冲潎鍊�,
+								HRemark: data[i].琛ㄤ綋澶囨敞,
+								HAnalysisMethod: data[i].鍒嗘瀽鏂规硶 == "瀹氭�у垎鏋�" ?
+									1 : data[i].鍒嗘瀽鏂规硶 == "瀹氶噺鍒嗘瀽" ?
+									2 : 3,
+								HKeyInspect: data[i].閲嶇偣妫�鏌� == "鍚�" ? false : true,
+								HSampleSchemeID: data[i].HSampleSchemeID,
+								HUnitID: data[i].HUnitID,
+								HInspectVal: data[i].妫�娴嬪��,
+								HTargetVal: data[i].鐩爣鍊�,
+								HUpLimit: data[i].涓婇檺鍊�,
+								HDownLimit: data[i].涓嬮檺鍊�,
+								HUpOffSet: data[i].涓婂亸宸�,
+								HDownOffSet: data[i].涓嬪亸宸�,
+								HSampleDamageQty: data[i].鏍锋湰鐮村潖鏁�,
+								HSampleSchemeName: data[i].鎶芥牱鏂规鍚嶇О,
+								HSampleQty: data[i].鏍锋湰閲�,
+								HSampleDamageQty: data[i].鏍锋湰鐮村潖鏁�,
+								HAcceptQty: data[i].鍏佽鏁�,
+								HInspectionLevel: 0,
+								HRejectQty: data[i].鎷掔粷鏁�,
+								HStrictness: 0,
+								HSampleUnRightQty: data[i].鏍锋湰涓嶅悎鏍兼暟,
+								HAQL: data[i].AQL,
+								HSamplingType: 0,
+								HSamplingType: data[i].鎶芥牱绫诲瀷,
+								HStrictness: data[i].涓ユ牸搴�,
+								HInspectResultToSee: data[i].妫�楠岀粨鏋�
+							});
 
-                        }
+						}
 
 
-                        this.hasSourceBill = true
-                    } else {
-                        CommonUtils.showTips({
-                            title: "娓╅Θ鎻愮ず",
-                            message: `鍔犺浇鍗曟嵁澶辫触: ${Message}`,
-                        });
-                    }
-                } catch (err) {
-                    CommonUtils.showTips({
-                        title: "娓╅Θ鎻愮ず",
-                        message: `鍔犺浇鍗曟嵁澶辫触: ${err}`,
-                    });
-                }
-            },
-            async LoadingInformation_TakeSampleCheckBill(linterid) {
-                // 鍙栨牱鍗�
-                try {
-                    let res = await CommonUtils.doRequest2Async({
-                        url: "/QC_ProcessCheckBill/get_TakeSampleCheckBill",
-                        data: {
-                            HInterID: linterid,
-                            user: getUserInfo()["Czymc"],
-                        },
-                    });
+						this.hasSourceBill = true
+					} else {
+						CommonUtils.showTips({
+							title: "娓╅Θ鎻愮ず",
+							message: `鍔犺浇鍗曟嵁澶辫触: ${Message}`,
+						});
+					}
+				} catch (err) {
+					CommonUtils.showTips({
+						title: "娓╅Θ鎻愮ず",
+						message: `鍔犺浇鍗曟嵁澶辫触: ${err}`,
+					});
+				}
+			},
+			async LoadingInformation_TakeSampleCheckBill(linterid) {
+				// 鍙栨牱鍗�
+				try {
+					let res = await CommonUtils.doRequest2Async({
+						url: "/QC_ProcessCheckBill/get_TakeSampleCheckBill",
+						data: {
+							HInterID: linterid,
+							user: getUserInfo()["Czymc"],
+						},
+					});
 
-                    let {
-                        count,
-                        Message,
-                        data
-                    } = res.data;
+					let {
+						count,
+						Message,
+						data
+					} = res.data;
 
-                    if (count != 1) {
-                        CommonUtils.showTips({
-                            title: "娓╅Θ鎻愮ず",
-                            message: `鑾峰彇鍙栨牱鍗� 閿欒: ${Message}`,
-                        });
-                        return;
-                    }
-                    this.hform.HProcExchBillNo = data[0].娴佽浆鍗″彿;
-                    this.hform.HProcExchInterID = data[0].HProcExchInterID;
-                    this.hform.HProcExchEntryID = data[0].HProcExchEntryID;
-                    this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲� || 0;
-                    this.hform.HICMOBillNo = data[0].浠诲姟鍗�;
-                    this.hform.HICMOInterID = data[0].HICMOInterID;
-                    this.hform.HICMOQty = data[0].HICMOQty;
-                    this.hform.HSourceName = data[0].鐢熶骇璧勬簮;
-                    this.hform.HSourceID = data[0].HSourceID;
-                    this.hform.HMaterID = data[0].HMaterID;
-                    this.hform.HMaterName = data[0].浜у搧鍚嶇О;
-                    this.hform.HMainSourceBillNo = data[0].鍗曟嵁鍙�;
-                    this.hform.HMainSourceBillType = data[0].HBillType;
-                    this.hform.HMainSourceInterID = data[0].HInterID;
-                    this.hform.HICMOEntryID = data[0].HICMOEntryID || 1;
-                    this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�;
-                    this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D;
-                    this.hform.HProcName = data[0].褰撳墠宸ュ簭;
-                    this.hasSourceBill = true
-                    this.get_CheckItem();
-                } catch (err) {
-                    CommonUtils.showTips({
-                        title: "娓╅Θ鎻愮ず",
-                        message: `鑾峰彇鍙栨牱鍗� 閿欒: ${err}`,
-                    });
-                }
-            },
+					if (count != 1) {
+						CommonUtils.showTips({
+							title: "娓╅Θ鎻愮ず",
+							message: `鑾峰彇鍙栨牱鍗� 閿欒: ${Message}`,
+						});
+						return;
+					}
+					this.hform.HProcExchBillNo = data[0].娴佽浆鍗″彿;
+					this.hform.HProcExchInterID = data[0].HProcExchInterID;
+					this.hform.HProcExchEntryID = data[0].HProcExchEntryID;
+					this.hform.HProcExchQty = data[0].娴佽浆鍗℃暟閲� || 0;
+					this.hform.HICMOBillNo = data[0].浠诲姟鍗�;
+					this.hform.HICMOInterID = data[0].HICMOInterID;
+					this.hform.HICMOQty = data[0].HICMOQty;
+					this.hform.HSourceName = data[0].鐢熶骇璧勬簮;
+					this.hform.HSourceID = data[0].HSourceID;
+					this.hform.HMaterID = data[0].HMaterID;
+					this.hform.HMaterName = data[0].浜у搧鍚嶇О;
+					this.hform.HMainSourceBillNo = data[0].鍗曟嵁鍙�;
+					this.hform.HMainSourceBillType = data[0].HBillType;
+					this.hform.HMainSourceInterID = data[0].HInterID;
+					this.hform.HICMOEntryID = data[0].HICMOEntryID || 1;
+					this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�;
+					this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D;
+					this.hform.HProcName = data[0].褰撳墠宸ュ簭;
+					this.hasSourceBill = true
+					this.get_CheckItem();
+				} catch (err) {
+					CommonUtils.showTips({
+						title: "娓╅Θ鎻愮ず",
+						message: `鑾峰彇鍙栨牱鍗� 閿欒: ${err}`,
+					});
+				}
+			},
 			// 璁剧疆涓鸿嚜鍔�
 			setAuto() {
-				if (uni.getSystemInfoSync().platform === 'android' || 
-					  uni.getSystemInfoSync().platform === 'ios') {
+				if (uni.getSystemInfoSync().platform === 'android' ||
+					uni.getSystemInfoSync().platform === 'ios') {
 					plus.screen.unlockOrientation();
 				}
 			},
 			// 璁剧疆涓虹珫灞�
 			setPortrait() {
-			  if (uni.getSystemInfoSync().platform === 'android' || 
-				  uni.getSystemInfoSync().platform === 'ios') {
-				plus.screen.lockOrientation('portrait');
-			  }
+				if (uni.getSystemInfoSync().platform === 'android' ||
+					uni.getSystemInfoSync().platform === 'ios') {
+					plus.screen.lockOrientation('portrait');
+				}
 			},
-        },
-        async onLoad(e) {
-			this.setAuto(); 
-            this.operationType = e.operationType || 1;
-            this.hform.HInterID = e.linterid || 0;
-            if (this.operationType == 1) {
-                await this.getMaxBillNo();
-                
-                if (uni.getStorageSync('Organization') == "瀹佹尝甯傚崕鑸熷寘瑁呮湁闄愬叕鍙�") {
-                    this.HSourceBillType = "宸ュ簭鍑虹珯姹囨姤鍗�"; // 鏄剧ず鍚嶇О
-                    this.hform.HSourceBillType = "3791"; // 瀵瑰簲鐨勫��
-                }
-            } else if (this.operationType == 2) {
-                //鏈夋簮鍗曚笅鎺�
-                await this.getMaxBillNo();
+		},
+		async onLoad(e) {
+			this.setAuto();
+			this.operationType = e.operationType || 1;
+			this.hform.HInterID = e.linterid || 0;
+			if (this.operationType == 1) {
+				await this.getMaxBillNo();
 
-                if (e.HSouceBillType == "7521") {
-                    if (uni.getStorageSync('Organization') == "瀹佹尝甯傚崕鑸熷寘瑁呮湁闄愬叕鍙�") {
-                        this.HSourceBillType = "鍙栨牱鍗�"; // 鏄剧ず鍚嶇О
-                        this.hform.HSourceBillType = "7521"; // 瀵瑰簲鐨勫��
-                        this.hform.HSourceBillNo = e.HBillNo;
-                    }
-                    this.hform.HTakeSampleCheckBillNo = e.HBillNo;
-                    this.hform.HTakeSampleCheckBillID = e.linterid;
-                    //鍙栨牱鍗曟煡璇㈡暟鎹�
-                    await this.LoadingInformation_TakeSampleCheckBill(e.linterid);
-                }
-            } else if (this.operationType == 3) {
-                await this.RoadBillMain();
-            }
+				if (uni.getStorageSync('Organization') == "瀹佹尝甯傚崕鑸熷寘瑁呮湁闄愬叕鍙�") {
+					this.HSourceBillType = "宸ュ簭鍑虹珯姹囨姤鍗�"; // 鏄剧ず鍚嶇О
+					this.hform.HSourceBillType = "3791"; // 瀵瑰簲鐨勫��
+				}
+			} else if (this.operationType == 2) {
+				//鏈夋簮鍗曚笅鎺�
+				await this.getMaxBillNo();
 
-            await this.InitHSource();
-            await this.InitHWorkShift();
-            await this.InitHEmp();
-            await this.loadCache();
-        },
-		onUnload(){
+				if (e.HSouceBillType == "7521") {
+					if (uni.getStorageSync('Organization') == "瀹佹尝甯傚崕鑸熷寘瑁呮湁闄愬叕鍙�") {
+						this.HSourceBillType = "鍙栨牱鍗�"; // 鏄剧ず鍚嶇О
+						this.hform.HSourceBillType = "7521"; // 瀵瑰簲鐨勫��
+						this.hform.HSourceBillNo = e.HBillNo;
+					}
+					this.hform.HTakeSampleCheckBillNo = e.HBillNo;
+					this.hform.HTakeSampleCheckBillID = e.linterid;
+					//鍙栨牱鍗曟煡璇㈡暟鎹�
+					await this.LoadingInformation_TakeSampleCheckBill(e.linterid);
+				}
+			} else if (this.operationType == 3) {
+				await this.RoadBillMain();
+			}
+
+			await this.InitHSource();
+			await this.InitHWorkShift();
+			await this.InitHEmp();
+			await this.loadCache();
+		},
+		onUnload() {
 			this.setPortrait();
 		}
-    };
+	};
 </script>
 
 <style lang="scss" scoped>
-    input {
-        width: inherit;
-        font-size: 26rpx;
-    }
+	input {
+		width: inherit;
+		font-size: 26rpx;
+	}
 
-    .uni-input {
-        padding: 0;
-    }
+	.uni-input {
+		padding: 0;
+	}
 
-    .bill-main-tabs,
-    .bill-sub-tabs {
-        box-sizing: border-box;
-        width: 730rpx;
-        display: flex;
-        flex-direction: row;
-        flex-wrap: nowrap;
-        gap: 20rpx;
-        flex-shrink: 0;
-        overflow-x: auto;
-        border-bottom: 1px solid #ddd;
-        padding: 20rpx 10rpx;
-        white-space: nowrap;
+	.bill-main-tabs,
+	.bill-sub-tabs {
+		box-sizing: border-box;
+		width: 730rpx;
+		display: flex;
+		flex-direction: row;
+		flex-wrap: nowrap;
+		gap: 20rpx;
+		flex-shrink: 0;
+		overflow-x: auto;
+		border-bottom: 1px solid #ddd;
+		padding: 20rpx 10rpx;
+		white-space: nowrap;
 
-        view {
-            width: auto;
-            font-size: 26rpx;
-            color: #555;
-            text-align: center;
-            padding: 16rpx 0;
-        }
+		view {
+			width: auto;
+			font-size: 26rpx;
+			color: #555;
+			text-align: center;
+			padding: 16rpx 0;
+		}
 
-        .selected {
-            color: #3a78ff;
-            font-weight: bold;
-            border-bottom: 3px solid #3a78ff;
-        }
-    }
+		.selected {
+			color: #3a78ff;
+			font-weight: bold;
+			border-bottom: 3px solid #3a78ff;
+		}
+	}
 
-    .bill-main-content{
-    	box-sizing: border-box;
-    	padding: 0 30rpx 0 30rpx;
-    	display: flex;
-    	flex-direction: row;
-    	flex-wrap: wrap;         /* 瓒呭嚭鑷姩鎹㈣ */
-    	/* 鍙�夛細璁剧疆鎹㈣鍚庣殑瀵归綈鏂瑰紡 */
-    	align-content: flex-start; /* 澶氳瀵归綈鏂瑰紡 */
-    	.form-item {
-    		width: 600rpx;
-    		display: flex;
-    		align-items: center;
-    		font-size: 26rpx;
-    		padding: 6rpx 0;
-    		 margin-right: 20rpx;
-    		.left {
-    			width: 208rpx;
-    
-    			text {
-    				color: red;
-    				font-weight: bold;
-    			}
-    		}
-    
-    		.right {
-    			// width: 450rpx;
-    			padding: 8rpx 20rpx;
-    			font-size: 26rpx;
-    			flex: 1;
-    			border-radius: 22rpx;
-    			border: 1px solid #acacac;
-    
-    			.uni-combox {
-    				padding: 0;
-    				height: auto;
-    
-    				.uni-input-placeholder,
-    				.uni-input-input {
-    					font-size: 26rpx;
-    				}
-    			}
-    
-    			.uni-combox::v-deep input {
-    				height: inherit;
-    				font-size: 26rpx;
-    			}
-    		}
-    		.right-select {
-    			//padding: 8rpx 20rpx;
-    			font-size: 26rpx;
-    			flex: 1;
-    			
-    		}
-    		.disabled {
-    			border: 1px solid #e4e4e4;
-    			background-color: #e4e4e4;
-    		}
-    
-    		.none-border {
-    			border: none;
-    		}
-    	}
-    }
+	.bill-main-content {
+		box-sizing: border-box;
+		padding: 0 30rpx 0 30rpx;
+		display: flex;
+		flex-direction: row;
+		flex-wrap: wrap;
+		/* 瓒呭嚭鑷姩鎹㈣ */
+		/* 鍙�夛細璁剧疆鎹㈣鍚庣殑瀵归綈鏂瑰紡 */
+		align-content: flex-start;
 
-    .bottom-btn {
-        box-sizing: border-box;
-        width: 100%;
-        height: 120rpx;
-        position: fixed;
-        bottom: 0;
-        left: 0;
-        background-color: #fff;
-        box-shadow: 0 2rpx 10rpx 2rpx rgba(0, 0, 0, 0.4);
-        padding: 30rpx 40rpx 40rpx 40rpx;
-        display: flex;
-        flex-direction: row;
-        gap: 10rpx;
+		/* 澶氳瀵归綈鏂瑰紡 */
+		.form-item {
+			width: 600rpx;
+			display: flex;
+			align-items: center;
+			font-size: 26rpx;
+			padding: 6rpx 0;
+			margin-right: 20rpx;
 
-        button {
-            border-radius: 50rpx;
-            width: 180rpx;
-            height: 66rpx;
-            line-height: 66rpx;
-            font-size: 28rpx;
-        }
+			.left {
+				width: 208rpx;
 
-        .btn-a {
-            background-color: #3a78ff;
-            color: #fff;
-        }
+				text {
+					color: red;
+					font-weight: bold;
+				}
+			}
 
-        .btn-b {
-            background-color: #41a863;
-            color: #fff;
-        }
+			.right {
+				// width: 450rpx;
+				padding: 8rpx 20rpx;
+				font-size: 26rpx;
+				flex: 1;
+				border-radius: 22rpx;
+				border: 1px solid #acacac;
 
-        .btn-c {
-            background-color: #FFA500;
-            color: #fff;
-            // position: absolute;
-            // right: 120rpx;
-        }
+				.uni-combox {
+					padding: 0;
+					height: auto;
 
-        .btn-d {
-            background-color: #ff8901;
-            color: #fff;
-        }
-    }
+					.uni-input-placeholder,
+					.uni-input-input {
+						font-size: 26rpx;
+					}
+				}
 
-    .buttons {
-        box-sizing: border-box;
-        width: 100%;
-        display: flex;
-        justify-content: center;
-        padding: 10rpx 0;
+				.uni-combox::v-deep input {
+					height: inherit;
+					font-size: 26rpx;
+				}
+			}
 
-        button {
-            border-radius: 50rpx;
-            width: 180rpx;
-            height: 66rpx;
-            line-height: 66rpx;
-            font-size: 26rpx;
-        }
+			.right-select {
+				//padding: 8rpx 20rpx;
+				font-size: 26rpx;
+				flex: 1;
 
-        .btn-a {
-            background-color: #acacac;
-            color: #fff;
-        }
+			}
 
-        .btn-b {
-            background-color: #41a863;
-            color: #fff;
-        }
+			.disabled {
+				border: 1px solid #e4e4e4;
+				background-color: #e4e4e4;
+			}
 
-        .btn-c {
-            background-color: #3a78ff;
-            color: #fff;
-        }
-    }
+			.none-border {
+				border: none;
+			}
+		}
+	}
 
-    ::v-deep .uni-card {
-      flex: 500rpx;
-    }
-    .list {
-        width: 100%;
-    	display: flex; /* 娣诲姞flex甯冨眬 */
-    	flex-wrap: wrap; /* 鍏佽鎹㈣ */
-    	gap: 20rpx; /* 璁剧疆鍗$墖闂磋窛 */
-    	
-        .card-detail {
-            width: 500rpx;
-            display: flex;
-            flex-wrap: wrap;
-            justify-content: space-between;
-            align-items: center;
-            line-height: 120%;
-            padding: 20rpx 10rpx;
-            gap: 10rpx 0;
-    		
-            input {
-                font-size: 26rpx;
-            }
-    
-            .detail {
-                // width: 50%;
-                box-sizing: border-box;
-                font-size: 26rpx;
-                color: #555;
-                padding-right: 20rpx;
-    
-                text {
-                    color: #999;
-                    font-size: 26rpx;
-                }
-            }
-    
-            .editable {
-                width: 50%;
-                display: inline-flex;
-                flex-direction: row;
-                align-items: center;
-    
-                text {
-                    flex-shrink: 0;
-                }
-    
-                .editable-input {
-                    border: 1px solid #acacac;
-                    border-radius: 5rpx;
-                    padding: 0 12rpx;
-                }
-            }
-        }
-    }
+	.bottom-btn {
+		box-sizing: border-box;
+		width: 100%;
+		height: 120rpx;
+		position: fixed;
+		bottom: 0;
+		left: 0;
+		background-color: #fff;
+		box-shadow: 0 2rpx 10rpx 2rpx rgba(0, 0, 0, 0.4);
+		padding: 30rpx 40rpx 40rpx 40rpx;
+		display: flex;
+		flex-direction: row;
+		gap: 10rpx;
 
-    .icon-wrapper {
-        background-color: #3a78ff;
-        border-radius: 100%;
-        width: 40rpx;
-        height: 40rpx;
-        display: flex;
-        justify-content: center;
-        align-items: center;
-        flex-shrink: 0;
+		button {
+			border-radius: 50rpx;
+			width: 180rpx;
+			height: 66rpx;
+			line-height: 66rpx;
+			font-size: 28rpx;
+		}
 
-        .uni-icons {
-            color: #fff !important;
-        }
-    }
+		.btn-a {
+			background-color: #3a78ff;
+			color: #fff;
+		}
 
-    .icon-wrapper-big {
-        background-color: #3a78ff;
-        border-radius: 100%;
-        width: 50rpx;
-        height: 50rpx;
-        display: flex;
-        justify-content: center;
-        align-items: center;
-        flex-shrink: 0;
-        margin-left: 20rpx;
+		.btn-b {
+			background-color: #41a863;
+			color: #fff;
+		}
 
-        .uni-icons {
-            color: #fff !important;
-        }
-    }
+		.btn-c {
+			background-color: #FFA500;
+			color: #fff;
+			// position: absolute;
+			// right: 120rpx;
+		}
 
-    .more {
-        color: #888;
-        font-size: 22rpx;
-        display: flex;
-        border-top: 1px solid #eee;
-        padding-top: 10rpx;
+		.btn-d {
+			background-color: #ff8901;
+			color: #fff;
+		}
+	}
 
-        .part {
-            width: 100%;
-            text-align: center;
-        }
-    }
+	.buttons {
+		box-sizing: border-box;
+		width: 100%;
+		display: flex;
+		justify-content: center;
+		padding: 10rpx 0;
 
-    .pass-background {
-        background-color: #cee3f2;
-        border: none;
-    }
+		button {
+			border-radius: 50rpx;
+			width: 180rpx;
+			height: 66rpx;
+			line-height: 66rpx;
+			font-size: 26rpx;
+		}
 
-    .unpass-background {
-        background-color: #f0d6e3;
-        border: none;
-    }
+		.btn-a {
+			background-color: #acacac;
+			color: #fff;
+		}
 
-    .enable-icon-button {
-        background-color: #3a78ff;
-        padding: 6rpx;
-        color: #fff;
-        border-radius: 100%;
-    }
+		.btn-b {
+			background-color: #41a863;
+			color: #fff;
+		}
 
-    .disable-icon-button {
-        background-color: lightgray;
-        padding: 6rpx;
-        color: #fff;
-        border-radius: 100%;
-        pointer-events: none;
-    }
+		.btn-c {
+			background-color: #3a78ff;
+			color: #fff;
+		}
+	}
 
-    .required::after {
-        content: "*";
-        color: red;
-        margin-left: 4px;
-        font-weight: bold;
-    }
+	::v-deep .uni-card {
+		flex: 500rpx;
+	}
+
+	.list {
+		width: 100%;
+		display: flex;
+		/* 娣诲姞flex甯冨眬 */
+		flex-wrap: wrap;
+		/* 鍏佽鎹㈣ */
+		gap: 20rpx;
+		/* 璁剧疆鍗$墖闂磋窛 */
+
+		.card-detail {
+			width: 500rpx;
+			display: flex;
+			flex-wrap: wrap;
+			justify-content: space-between;
+			align-items: center;
+			line-height: 120%;
+			padding: 20rpx 10rpx;
+			gap: 10rpx 0;
+
+			input {
+				font-size: 26rpx;
+			}
+
+			.detail {
+				// width: 50%;
+				box-sizing: border-box;
+				font-size: 26rpx;
+				color: #555;
+				padding-right: 20rpx;
+
+				text {
+					color: #999;
+					font-size: 26rpx;
+				}
+			}
+
+			.editable {
+				width: 50%;
+				display: inline-flex;
+				flex-direction: row;
+				align-items: center;
+
+				text {
+					flex-shrink: 0;
+				}
+
+				.editable-input {
+					border: 1px solid #acacac;
+					border-radius: 5rpx;
+					padding: 0 12rpx;
+				}
+			}
+		}
+	}
+
+	.icon-wrapper {
+		background-color: #3a78ff;
+		border-radius: 100%;
+		width: 40rpx;
+		height: 40rpx;
+		display: flex;
+		justify-content: center;
+		align-items: center;
+		flex-shrink: 0;
+
+		.uni-icons {
+			color: #fff !important;
+		}
+	}
+
+	.icon-wrapper-big {
+		background-color: #3a78ff;
+		border-radius: 100%;
+		width: 50rpx;
+		height: 50rpx;
+		display: flex;
+		justify-content: center;
+		align-items: center;
+		flex-shrink: 0;
+		margin-left: 20rpx;
+
+		.uni-icons {
+			color: #fff !important;
+		}
+	}
+
+	.more {
+		color: #888;
+		font-size: 22rpx;
+		display: flex;
+		border-top: 1px solid #eee;
+		padding-top: 10rpx;
+
+		.part {
+			width: 100%;
+			text-align: center;
+		}
+	}
+
+	.pass-background {
+		background-color: #cee3f2;
+		border: none;
+	}
+
+	.unpass-background {
+		background-color: #f0d6e3;
+		border: none;
+	}
+
+	.enable-icon-button {
+		background-color: #3a78ff;
+		padding: 6rpx;
+		color: #fff;
+		border-radius: 100%;
+	}
+
+	.disable-icon-button {
+		background-color: lightgray;
+		padding: 6rpx;
+		color: #fff;
+		border-radius: 100%;
+		pointer-events: none;
+	}
+
+	.required::after {
+		content: "*";
+		color: red;
+		margin-left: 4px;
+		font-weight: bold;
+	}
 </style>
\ No newline at end of file

--
Gitblit v1.9.1