From efa74024b1ccaf676c7bd135e3c0e61c28ffaa2e Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期五, 15 八月 2025 16:55:27 +0800
Subject: [PATCH] 工序进站接收 工序委外发出 工序委外接收 添加 picker 点击遮罩

---
 pages/weiwaigxOut/form.vue |   65 
 pages/weiwaigxIn/form.vue  |    3 
 pages/gongxuOut/form.vue   | 3271 +++++++++++++++++++++++++++++-----------------------------
 3 files changed, 1,685 insertions(+), 1,654 deletions(-)

diff --git a/pages/gongxuOut/form.vue b/pages/gongxuOut/form.vue
index 2939d3a..3873030 100644
--- a/pages/gongxuOut/form.vue
+++ b/pages/gongxuOut/form.vue
@@ -1,133 +1,145 @@
 <template>
-    <view>
-        <view class="form">
-            <view class="form-item">
-                <view class="title"><text>*</text>鏉″舰鐮�:</view>
-                <view class="right" style="width: 380rpx;">
-                    <input name="HBarCode" v-model="hform.HBarCode" placeholder="璇锋壂鎻忔潯鐮�" @confirm="toInCode(e)" />
-                </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"><text>*</text>娴佹按鍙�:</view>
-                <view class="right" style="width: 380rpx;">
-                    <input v-model="hform.HProcNo" placeholder="璇疯緭鍏�(鎴栨壂鎻�)娴佹按鍙�"
-                        @blur="getHProcNoData(hform.HBarCode,hform.HProcNo)" />
-                </view>
-                <uni-icons type="scan"
-                    style="margin-left: 10rpx;background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;"
-                    size="20" @click="toScanProcNo"></uni-icons>
-            </view>
+	<view>
+		<view class="form">
 			<view class="form-item">
-			    <view class="title">宸ュ簭缂栫爜:</view>
-			    <view class="righton">
-			        <input disabled v-model="hform.HProcNumber" placeholder="璇疯緭鍏ュ伐搴忕紪鐮�" />
-			    </view>
+				<view class="title"><text>*</text>鏉″舰鐮�:</view>
+				<view class="right" style="width: 380rpx;">
+					<input name="HBarCode" v-model="hform.HBarCode" placeholder="璇锋壂鎻忔潯鐮�" @confirm="toInCode(e)" />
+				</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="righton">
-                    <input disabled v-model="hform.HNotReportQty" placeholder="璇疯緭鍏ユ湭鎶ュ伐鏁伴噺" />
-                </view>
-            </view>
-            <view class="form-item">
-                <view class="title">鍚堟牸鏁伴噺:</view>
-                <view class="right">
-                    <input v-model="hform.HQty" placeholder="璇疯緭鍏ュ悎鏍兼暟閲�" />
-                </view>
-            </view>
-            <view class="form-item">
-				<view class="title">涓嶈壇鏁伴噺:</view>
-				<view class="right">
-					<input v-model="hform.HBadCount"  placeholder="璇疯緭鍏ヤ笉鑹暟閲�" />
+			<view class="form-item">
+				<view class="title"><text>*</text>娴佹按鍙�:</view>
+				<view class="right" style="width: 380rpx;">
+					<input v-model="hform.HProcNo" placeholder="璇疯緭鍏�(鎴栨壂鎻�)娴佹按鍙�"
+						@blur="getHProcNoData(hform.HBarCode,hform.HProcNo)" />
+				</view>
+				<uni-icons type="scan"
+					style="margin-left: 10rpx;background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;"
+					size="20" @click="toScanProcNo"></uni-icons>
+			</view>
+			<view class="form-item">
+				<view class="title">宸ュ簭缂栫爜:</view>
+				<view class="righton">
+					<input disabled v-model="hform.HProcNumber" placeholder="璇疯緭鍏ュ伐搴忕紪鐮�" />
 				</view>
 			</view>
-            <view class="form-item">
-                <view class="title">鎶ュ簾鏁伴噺:</view>
-                <view class="right">
-                    <input v-model="hform.HWasterQty" placeholder="璇疯緭鍏ユ姤搴熸暟閲�" />
-                </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"><text>*</text>宸ヤ綔涓績:</view>
-                <view class="right">
-                    <uni-combox :candidates="arrayHCenterName" placeholder="璇烽�夋嫨宸ヤ綔涓績" v-model="hform.HCenterName"
-                        @input="HCenterNameChange"></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"><text>*</text>鎿嶄綔鍛�:</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">
-                    <textarea name="HRemark" v-model="hform.HRemark" auto-height placeholder="璇疯緭鍏ュ娉�"></textarea>
-                </view>
-            </view>
-            <view class="form-item">
-                <view class="title">鍗曟嵁鏃ユ湡:</view>
-                <view class="right">
-                    <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="righton">
+					<input disabled v-model="hform.HNotReportQty" placeholder="璇疯緭鍏ユ湭鎶ュ伐鏁伴噺" />
+				</view>
+			</view>
+			<view class="form-item">
+				<view class="title">鍚堟牸鏁伴噺:</view>
+				<view class="right">
+					<input v-model="hform.HQty" placeholder="璇疯緭鍏ュ悎鏍兼暟閲�" />
+				</view>
+			</view>
+			<view class="form-item">
+				<view class="title">涓嶈壇鏁伴噺:</view>
+				<view class="right">
+					<input v-model="hform.HBadCount" placeholder="璇疯緭鍏ヤ笉鑹暟閲�" />
+				</view>
+			</view>
+			<view class="form-item">
+				<view class="title">鎶ュ簾鏁伴噺:</view>
+				<view class="right">
+					<input v-model="hform.HWasterQty" placeholder="璇疯緭鍏ユ姤搴熸暟閲�" />
+				</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"><text>*</text>宸ヤ綔涓績:</view>
+				<view class="right">
+					<uni-combox :candidates="arrayHCenterName" placeholder="璇烽�夋嫨宸ヤ綔涓績" v-model="hform.HCenterName"
+						@input="HCenterNameChange"></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"><text>*</text>鎿嶄綔鍛�:</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">
+					<textarea name="HRemark" v-model="hform.HRemark" auto-height placeholder="璇疯緭鍏ュ娉�"></textarea>
+				</view>
+			</view>
+			<view class="form-item">
+				<view class="title">鍗曟嵁鏃ユ湡:</view>
+				<view class="right">
+					<picker mode="date" v-model="hform.HDate" @change="HDateChange">
+						<input disabled v-model="hform.HDate" placeholder="璇烽�夋嫨鏃ユ湡" />
+					</picker>
+				</view>
+			</view>
 
 
 
-            <view class="tick-wrapper">
-                <view class="form-item">
-                    <view class="title">宸ユ椂:</view>
-                    <view class="right">
-                        <input v-model="hform.HWorkTimes" placeholder="璇疯緭鍏ュ伐鏃�" @blur="HWorkTimesChange" :disabled="hform.HIsTimeFlag!=1"/>
-                    </view>
-                </view>
-                <view class="form-item">
-                    <checkbox-group name="checkboxGroup" @change="onCGChangeHandler">
-                        <label>
-                            <checkbox :checked="hform.HIsTimeFlag == 1" value="1" />
-                            鏄惁璁℃椂
-                        </label>
-                    </checkbox-group>
-                </view>
-            </view>
+			<view class="tick-wrapper">
+				<view class="form-item">
+					<view class="title">宸ユ椂:</view>
+					<view class="right">
+						<input v-model="hform.HWorkTimes" placeholder="璇疯緭鍏ュ伐鏃�" @blur="HWorkTimesChange"
+							:disabled="hform.HIsTimeFlag!=1" />
+					</view>
+				</view>
+				<view class="form-item">
+					<checkbox-group name="checkboxGroup" @change="onCGChangeHandler">
+						<label>
+							<checkbox :checked="hform.HIsTimeFlag == 1" value="1" />
+							鏄惁璁℃椂
+						</label>
+					</checkbox-group>
+				</view>
+			</view>
 			<view class="form-item">
 				<view class="title">寮�宸ユ椂闂�:</view>
-				<view class="right">
-					 <uni-datetime-picker v-model="hform.HRelBeginTime" @change="HRelBeginTimeChange" v-if="hform.HIsTimeFlag==1" :hide-second="true">
-						 <input disabled v-model="hform.HRelBeginTime" placeholder="璇烽�夋嫨寮�宸ユ椂闂�"  style="pointer-events: none;"/>
-					 </uni-datetime-picker>
+				<view class="right" v-show="hform.HIsTimeFlag == 1">
+					<uni-datetime-picker v-model="hform.HRelBeginTime" @change="HRelBeginTimeChange"
+						v-if="hform.HIsTimeFlag==1" :hide-second="true">
+						<input disabled v-model="hform.HRelBeginTime" placeholder="璇烽�夋嫨寮�宸ユ椂闂�"
+							style="pointer-events: none;" />
+						<view class="picker-overlay"></view>
+					</uni-datetime-picker>
+				</view>
+				<view class="righton" v-show="hform.HIsTimeFlag != 1">
+					<input type="text" value=" " disabled />
 				</view>
 			</view>
 			<view class="form-item">
 				<view class="title">瀹屽伐鏃堕棿:</view>
-				<view class="right">
-					 <uni-datetime-picker v-model="hform.HRelEndTime" @change="HRelEndTimeChange" v-if="hform.HIsTimeFlag==1" :hide-second="true">
-						 <input disabled v-model="hform.HRelEndTime" placeholder="璇烽�夋嫨瀹屽伐鏃堕棿" />
-					 </uni-datetime-picker>
+				<view class="right" v-show="hform.HIsTimeFlag == 1">
+					<uni-datetime-picker v-model="hform.HRelEndTime" @change="HRelEndTimeChange"
+						v-if="hform.HIsTimeFlag==1" :hide-second="true">
+						<input disabled v-model="hform.HRelEndTime" placeholder="璇烽�夋嫨瀹屽伐鏃堕棿" />
+						<view class="picker-overlay"></view>
+					</uni-datetime-picker>
+				</view>
+				<view class="righton" v-show="hform.HIsTimeFlag != 1">
+					<input type="text" value=" " disabled />
 				</view>
 			</view>
-            <!-- 
+			<!-- 
                 <view class="title">鏄惁璁℃椂</view>
                 <checkbox-group name="checkboxGroup" @change="onCGChangeHandler">
                     <label>
@@ -136,76 +148,76 @@
                 </checkbox-group>
             </view> -->
 
-            <view class="tab_area"></view>
+			<view class="tab_area"></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">
-                    <input name="HICMOBillNo" disabled v-model="hform.HICMOBillNo" />
-                </view>
-            </view>
-            <view class="form-item">
-                <view class="title">娴佽浆鍗�:</view>
-                <view class="righton">
-                    <input disabled v-model="hform.HProcExchBillNo" />
-                </view>
-            </view>
-            <view class="form-item">
-                <view class="title">鐗╂枡浠g爜:</view>
-                <view class="righton">
-                    <input disabled v-model="hform.HMaterNumber" />
-                    <!-- <uni-combox :candidates="arrayHMaterNumber" placeholder="璇烽�夋嫨浜у搧浠g爜" v-model="hform.HMaterNumber" @input="HMaterNumberChange"></uni-combox> -->
-                </view>
-            </view>
-            <view class="form-item">
-                <view class="title">鐗╂枡鍚嶇О:</view>
-                <view class="righton">
-                    <input v-model="hform.HMaterName" disabled />
-                </view>
-            </view>
-            <view class="form-item">
-                <view class="title">瑙勬牸鍨嬪彿:</view>
-                <view class="righton">
-                    <input v-model="hform.HMaterModel" disabled />
-                </view>
-            </view>
 			<view class="form-item">
-			    <view class="title">娆惧彿:</view>
-			    <view class="righton">
-			        <input v-model="hform.HStyleNumber" disabled />
-			    </view>
+				<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">
-                    <input v-model="hform.鍗曚綅" disabled />
-                </view>
-            </view>
-            <view class="form-item">
-                <view class="title">宸ュ簭:</view>
-                <!-- 				<view class="right">
+			<view class="form-item">
+				<view class="title">鐢熶骇璁㈠崟:</view>
+				<view class="righton">
+					<input name="HICMOBillNo" disabled v-model="hform.HICMOBillNo" />
+				</view>
+			</view>
+			<view class="form-item">
+				<view class="title">娴佽浆鍗�:</view>
+				<view class="righton">
+					<input disabled v-model="hform.HProcExchBillNo" />
+				</view>
+			</view>
+			<view class="form-item">
+				<view class="title">鐗╂枡浠g爜:</view>
+				<view class="righton">
+					<input disabled v-model="hform.HMaterNumber" />
+					<!-- <uni-combox :candidates="arrayHMaterNumber" placeholder="璇烽�夋嫨浜у搧浠g爜" v-model="hform.HMaterNumber" @input="HMaterNumberChange"></uni-combox> -->
+				</view>
+			</view>
+			<view class="form-item">
+				<view class="title">鐗╂枡鍚嶇О:</view>
+				<view class="righton">
+					<input v-model="hform.HMaterName" disabled />
+				</view>
+			</view>
+			<view class="form-item">
+				<view class="title">瑙勬牸鍨嬪彿:</view>
+				<view class="righton">
+					<input v-model="hform.HMaterModel" disabled />
+				</view>
+			</view>
+			<view class="form-item">
+				<view class="title">娆惧彿:</view>
+				<view class="righton">
+					<input v-model="hform.HStyleNumber" disabled />
+				</view>
+			</view>
+			<view class="form-item">
+				<view class="title">璁¢噺鍗曚綅:</view>
+				<view class="righton">
+					<input v-model="hform.鍗曚綅" disabled />
+				</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 class="righton">
-                    <input v-model="hform.HProcName" disabled />
-                </view>
-            </view>
-            <view class="form-item">
-                <view class="title">鐢熶骇缁勭粐:</view>
-                <view class="righton">
-                    <input v-model="hform.HPRDOrg" disabled />
-                </view>
-            </view>
-			
+				<view class="righton">
+					<input v-model="hform.HProcName" disabled />
+				</view>
+			</view>
+			<view class="form-item">
+				<view class="title">鐢熶骇缁勭粐:</view>
+				<view class="righton">
+					<input v-model="hform.HPRDOrg" disabled />
+				</view>
+			</view>
 
 
-            <!-- 			
+
+			<!-- 			
 			<view class="form-item">
 				<view class="title">璁㈠崟鏁伴噺:</view>
 				<view class="right">
@@ -264,47 +276,47 @@
 				</view>
 			</view> -->
 
-            <view class="tab_area"></view>
+			<view class="tab_area"></view>
 
 
-            <view class="form-item">
-                <view class="title">鎿嶄綔鍛�2:</view>
-                <view class="right">
-                    <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎿嶄綔鍛�" v-model="hform.HEmpName2"
-                        @input="HEmpName2Change"></uni-combox>
-                </view>
-            </view>
-            <view class="form-item">
-                <view class="title">鎿嶄綔鍛�3:</view>
-                <view class="right">
-                    <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎿嶄綔鍛�" v-model="hform.HEmpName3"
-                        @input="HEmpName3Change"></uni-combox>
-                </view>
-            </view>
-            <view class="form-item">
-                <view class="title">鎿嶄綔鍛�4:</view>
-                <view class="right">
-                    <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎿嶄綔鍛�" v-model="hform.HEmpName4"
-                        @input="HEmpName4Change"></uni-combox>
-                </view>
-            </view>
-            <view class="form-item">
-                <view class="title">鎿嶄綔鍛�5:</view>
-                <view class="right">
-                    <uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎿嶄綔鍛�" v-model="hform.HEmpName5"
-                        @input="HEmpName5Change"></uni-combox>
-                </view>
-            </view>
-            <view class="form-item">
-                <view class="title"></view>
-                <!-- 				<view style="padding-top: 10rpx;" @tap="hform.HLastSubProc = hform.HLastSubProc==true?false:true">
+			<view class="form-item">
+				<view class="title">鎿嶄綔鍛�2:</view>
+				<view class="right">
+					<uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎿嶄綔鍛�" v-model="hform.HEmpName2"
+						@input="HEmpName2Change"></uni-combox>
+				</view>
+			</view>
+			<view class="form-item">
+				<view class="title">鎿嶄綔鍛�3:</view>
+				<view class="right">
+					<uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎿嶄綔鍛�" v-model="hform.HEmpName3"
+						@input="HEmpName3Change"></uni-combox>
+				</view>
+			</view>
+			<view class="form-item">
+				<view class="title">鎿嶄綔鍛�4:</view>
+				<view class="right">
+					<uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎿嶄綔鍛�" v-model="hform.HEmpName4"
+						@input="HEmpName4Change"></uni-combox>
+				</view>
+			</view>
+			<view class="form-item">
+				<view class="title">鎿嶄綔鍛�5:</view>
+				<view class="right">
+					<uni-combox :candidates="arrayHEmpName" placeholder="璇烽�夋嫨鎿嶄綔鍛�" v-model="hform.HEmpName5"
+						@input="HEmpName5Change"></uni-combox>
+				</view>
+			</view>
+			<view class="form-item">
+				<view class="title"></view>
+				<!-- 				<view style="padding-top: 10rpx;" @tap="hform.HLastSubProc = hform.HLastSubProc==true?false:true">
 					<radio value="true" :checked="hform.HLastSubProc == true" style="transform:scale(1);"/>杞笅閬�
 				</view> -->
-                <view style="padding-top: 10rpx;">
-                    <radio value="true" :checked="hform.HLastSubProc == true" style="transform:scale(1);" />杞笅閬�
-                </view>
-            </view>
-            <!-- 			<view class="form-item">
+				<view style="padding-top: 10rpx;">
+					<radio value="true" :checked="hform.HLastSubProc == true" style="transform:scale(1);" />杞笅閬�
+				</view>
+			</view>
+			<!-- 			<view class="form-item">
 				<view class="title">鍑虹珯鏃堕棿:</view>
 				<view class="right">
 					 <uni-datetime-picker v-model="hform.HStationOutTime">
@@ -349,19 +361,19 @@
 				</view>
 			</view> -->
 
-            <!-- 			<view class="form-item">
+			<!-- 			<view class="form-item">
 				<view class="title">璁惧娓呭崟:</view>
 				<view class="right">
 					<input v-model="hform.HSourceNameList" placeholder="璇疯緭鍏ヨ澶囨竻鍗�" />
 				</view>
 			</view> -->
-            <!-- 			<view class="form-item">
+			<!-- 			<view class="form-item">
 				<view class="title">渚涘簲鍟�:</view>
 				<view class="right">
 					<uni-combox :candidates="arrayHSupName" placeholder="璇烽�夋嫨渚涘簲鍟�" v-model="hform.HSupName" @input="HSupNameChange"></uni-combox>
 				</view>
 			</view> -->
-            <!-- 			
+			<!-- 			
 			<view class="form-item">
 				<view class="title">杩涚珯鏃堕棿:</view>
 				<view class="right">
@@ -371,7 +383,7 @@
 				</view>
 			</view> -->
 
-            <!-- 			<view class="form-item">
+			<!-- 			<view class="form-item">
 				<view class="title">鎿嶄綔鍛�:</view>
 				<view class="right">
 					<input v-model="hform.HEmp" placeholder="璇疯緭鍏ユ搷浣滃憳" />
@@ -384,1070 +396,1072 @@
 				</view>
 			</view> -->
 
-            <!-- <view class="tab_area"></view> -->
+			<!-- <view class="tab_area"></view> -->
 
-            <!-- 			<view class="form-item">
+			<!-- 			<view class="form-item">
 				<view class="title">閫夋嫨鏂囦欢:</view>
 				<view class="right">
 					1111
 				</view>
 			</view> -->
 
-            <view v-if="showmore">
-                <view class="form-item">
-                    <view class="title">璁㈠崟璺熻釜鍙�:</view>
-                    <view class="righton">
-                        <input v-model="hform.HOrderProcNO" disabled />
-                    </view>
-                </view>
-                <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 class="form-item">
-                    <view class="title">浣滃簾浜�:</view>
-                    <view class="righton">
-                        <input v-model="hform.HDeleteMan" disabled />
-                    </view>
-                </view>
-                <view class="form-item">
-                    <view class="title">浣滃簾鏃ユ湡:</view>
-                    <view class="righton">
-                        <input v-if="hform.HDeleteDate" v-model="hform.HDeleteDate.substr(0,10)" disabled />
-                        <input v-else v-model="hform.HDeleteDate" disabled />
-                    </view>
-                </view>
-            </view>
+			<view v-if="showmore">
+				<view class="form-item">
+					<view class="title">璁㈠崟璺熻釜鍙�:</view>
+					<view class="righton">
+						<input v-model="hform.HOrderProcNO" disabled />
+					</view>
+				</view>
+				<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 class="form-item">
+					<view class="title">浣滃簾浜�:</view>
+					<view class="righton">
+						<input v-model="hform.HDeleteMan" disabled />
+					</view>
+				</view>
+				<view class="form-item">
+					<view class="title">浣滃簾鏃ユ湡:</view>
+					<view class="righton">
+						<input v-if="hform.HDeleteDate" v-model="hform.HDeleteDate.substr(0,10)" disabled />
+						<input v-else v-model="hform.HDeleteDate" disabled />
+					</view>
+				</view>
+			</view>
 
-            <view class="tab_area"></view>
+			<view class="tab_area"></view>
 
-            <view class="other">
-                <view v-if="!showmore" @tap="showmore = true">
-                    灞曞紑鍏朵粬淇℃伅<uni-icons color="#1890FF" style="margin-left: 8rpx;" type="bottom"></uni-icons>
-                </view>
-                <view v-if="showmore" @tap="showmore = false">
-                    鎶樺彔鍏朵粬淇℃伅<uni-icons color="#1890FF" style="margin-left: 8rpx;" type="top"></uni-icons>
-                </view>
-            </view>
+			<view class="other">
+				<view v-if="!showmore" @tap="showmore = true">
+					灞曞紑鍏朵粬淇℃伅<uni-icons color="#1890FF" style="margin-left: 8rpx;" type="bottom"></uni-icons>
+				</view>
+				<view v-if="showmore" @tap="showmore = false">
+					鎶樺彔鍏朵粬淇℃伅<uni-icons color="#1890FF" style="margin-left: 8rpx;" type="top"></uni-icons>
+				</view>
+			</view>
 
-            <view class="tab_area"></view>
+			<view class="tab_area"></view>
 
-            <!-- 			<view class="op">
+			<!-- 			<view class="op">
 				<button class="op1" size="mini" plain @tap="huibao">姹囨姤</button>
 				<button class="op2" size="mini" plain @tap="ruku">鍏ュ簱</button>
 				<button class="op3" size="mini" plain @tap="baofei">鎶ュ簾</button>
 			</view> -->
 
-            <view class="bottom-btn">
-                <button v-if="btnType == 0 && !isEdit" class="btn-a" size="mini" @tap="submit">鎻愪氦</button>
-                <button v-if="btnType != 0 && !isEdit" class="btn-a" size="mini" @tap="ifEdit">淇敼</button>
+			<view class="bottom-btn">
+				<button v-if="btnType == 0 && !isEdit" class="btn-a" size="mini" @tap="submit">鎻愪氦</button>
+				<button v-if="btnType != 0 && !isEdit" class="btn-a" size="mini" @tap="ifEdit">淇敼</button>
 				<button v-if="btnType != 0 && isEdit" class="btn-a" size="mini" @tap="submit">鎻愪氦</button>
-                <button v-if="btnType != 0 && btnType == 2" class="btn-b" style="margin-left: 20rpx;" size="mini"
-                    @tap="check">瀹℃牳</button>
-                <button v-if="btnType != 0 && btnType == 3" class="btn-d" style="margin-left: 20rpx;" size="mini"
-                    @tap="abandonCheck">鍙嶅鏍�</button>
-                <flex style="flex: 1;"></flex>
-                <button class="btn-b" size="mini" @tap="addNew">鏂板</button>
-                <button class="btn-c" size="mini" @tap="goBack">閫�鍑�</button>
-            </view>
-        </view>
-    </view>
+				<button v-if="btnType != 0 && btnType == 2" class="btn-b" style="margin-left: 20rpx;" size="mini"
+					@tap="check">瀹℃牳</button>
+				<button v-if="btnType != 0 && btnType == 3" class="btn-d" style="margin-left: 20rpx;" size="mini"
+					@tap="abandonCheck">鍙嶅鏍�</button>
+				<flex style="flex: 1;"></flex>
+				<button class="btn-b" size="mini" @tap="addNew">鏂板</button>
+				<button class="btn-c" size="mini" @tap="goBack">閫�鍑�</button>
+			</view>
+		</view>
+	</view>
 </template>
 <script>
-    import getDateTime from '@/utils/getdateTime.js';
-    import {
-        getUserInfo
-    } from "@/utils/auth.js";
-    export default {
-        data() {
-            return {
-                userInfo: getUserInfo(),
-                serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
-                linterid: '',
-                HBillNo: '',
-                btnType: 0, //0鏂板锛�1淇敼锛�2瀹℃牳锛�3鍙嶅鏍�
-                FirstEndHProcNo: 0, //榛樿0  棣栭亾宸ュ簭1 鏈亾宸ュ簭2
-                OperationType: 1,
-                showmore: false,
+	import getDateTime from '@/utils/getdateTime.js';
+	import {
+		getUserInfo
+	} from "@/utils/auth.js";
+	export default {
+		data() {
+			return {
+				userInfo: getUserInfo(),
+				serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
+				linterid: '',
+				HBillNo: '',
+				btnType: 0, //0鏂板锛�1淇敼锛�2瀹℃牳锛�3鍙嶅鏍�
+				FirstEndHProcNo: 0, //榛樿0  棣栭亾宸ュ簭1 鏈亾宸ュ簭2
+				OperationType: 1,
+				showmore: false,
 
-                arrayHMaterNumber: [], //浜у搧
-                HMaterNumberList: [],
-                arrayHProcName: [], //宸ュ簭
-                HProcNameList: [],
-                arrayHSupName: [], //渚涘簲鍟�
-                HSupNameList: [],
-                arrayHSourceName: [], //鐢熶骇璧勬簮
-                HSourceNameList: [],
-                arrayHGroupName: [], //鐢熶骇鐝粍
-                HGroupNameList: [],
-                arrayHEmpName: [], //鎺ユ敹浜�
-                HEmpNameList: [],
-                arrayHCenterName: [], //宸ヤ綔涓績
-                HCenterNameList: [],
+				arrayHMaterNumber: [], //浜у搧
+				HMaterNumberList: [],
+				arrayHProcName: [], //宸ュ簭
+				HProcNameList: [],
+				arrayHSupName: [], //渚涘簲鍟�
+				HSupNameList: [],
+				arrayHSourceName: [], //鐢熶骇璧勬簮
+				HSourceNameList: [],
+				arrayHGroupName: [], //鐢熶骇鐝粍
+				HGroupNameList: [],
+				arrayHEmpName: [], //鎺ユ敹浜�
+				HEmpNameList: [],
+				arrayHCenterName: [], //宸ヤ綔涓績
+				HCenterNameList: [],
 
-                isEdit: false,
-                hform: {
-                    HInterID: '',
-                    HBillNo: '',
-                    HBarCode: '',
-                    HProcNo: '',
-                    HQty: '',
-					HBadCount:0,
+				isEdit: false,
+				hform: {
+					HInterID: '',
+					HBillNo: '',
+					HBarCode: '',
+					HProcNo: '',
+					HQty: '',
+					HBadCount: 0,
 					HProcNumber: '',
-                    HNotReportQty: 0,
-                    HIsTimeFlag: 0,
-					HRelBeginTime:'',
-					HRelEndTime:'',
-                    // HPieceQty:'',
-                    HWasterQty: 0,
-                    HSourceName: '',
-                    HSourceID: 0,
-                    HCenterName: '',
-                    HCenterID: 0,
-                    HGroupName: '',
-                    HGroupID: 0,
-                    HEmpName: '',
-                    HEmpID: 0,
-                    HRemark: '',
-                    HDate: getDateTime.dateTimeStr('y-m-d'),
+					HNotReportQty: 0,
+					HIsTimeFlag: 0,
+					HRelBeginTime: '',
+					HRelEndTime: '',
+					// HPieceQty:'',
+					HWasterQty: 0,
+					HSourceName: '',
+					HSourceID: 0,
+					HCenterName: '',
+					HCenterID: 0,
+					HGroupName: '',
+					HGroupID: 0,
+					HEmpName: '',
+					HEmpID: 0,
+					HRemark: '',
+					HDate: getDateTime.dateTimeStr('y-m-d'),
 
-                    HICMOBillNo: '',
-                    HProcExchBillNo: '',
-                    HMaterNumber: '',
-                    HMaterName: '',
-                    HMaterID: 0,
-                    HMaterModel: '',
-                    鍗曚綅: '',
-                    HProcName: '',
-                    HProcID: '',
-                    HPRDOrg: '',
-                    HOrderProcNO: '',
+					HICMOBillNo: '',
+					HProcExchBillNo: '',
+					HMaterNumber: '',
+					HMaterName: '',
+					HMaterID: 0,
+					HMaterModel: '',
+					鍗曚綅: '',
+					HProcName: '',
+					HProcID: '',
+					HPRDOrg: '',
+					HOrderProcNO: '',
 
-                    HWorkTimes: 0,
-                    HEmpName2: '',
-                    HEmpID2: 0,
-                    HEmpName3: '',
-                    HEmpID3: 0,
-                    HEmpName4: '',
-                    HEmpID4: 0,
-                    HEmpName5: '',
-                    HEmpID5: 0,
-                    HLastSubProc: true,
+					HWorkTimes: 0,
+					HEmpName2: '',
+					HEmpID2: 0,
+					HEmpName3: '',
+					HEmpID3: 0,
+					HEmpName4: '',
+					HEmpID4: 0,
+					HEmpName5: '',
+					HEmpID5: 0,
+					HLastSubProc: true,
 
-                    // HICMOInterID:'',
-                    // HICMOQty:'',
-                    HProcExchHinteID: '',
-                    lngBillKey: '',
-                    // HPlanQty:'',
-                    // HSupName:'',
-                    // HSupID:'',
-                    // HWWWorkOrderBillNo:'',
-                    // HTaxRate:'',
-                    // HPrice:'',
-                    // HMoney:'',
-                    HStationInTime: getDateTime.dateTimeStr('y-m-d h:i:s'),
-                    // HStationOutTime:getDateTime.dateTimeStr('y-m-d h:i:s'),
-                    // HSendBillNo:'',
-                    // HInnerBillNo:'',
-                    // HEmp:'',
-                    // HEmpID:'',
-                    // HQCCheckName:'',
-                    // HQCCheckID:'',
-                    // HSourceName2:'',
-                    // HSourceID2:'',
-                    // HSourceName3:'',
-                    // HSourceID3:'',
-                    // HSourceName4:'',
-                    // HSourceID4:'',
-                    // HSourceName5:'',
-                    // HSourceID5:'',
-                    // HDept:'',
-                    // HDeptID:'',	
-                    // HMouldNum:'',
-                    // HPayProcID:'',
-                    // HSourceNameList:'',
+					// HICMOInterID:'',
+					// HICMOQty:'',
+					HProcExchHinteID: '',
+					lngBillKey: '',
+					// HPlanQty:'',
+					// HSupName:'',
+					// HSupID:'',
+					// HWWWorkOrderBillNo:'',
+					// HTaxRate:'',
+					// HPrice:'',
+					// HMoney:'',
+					HStationInTime: getDateTime.dateTimeStr('y-m-d h:i:s'),
+					// HStationOutTime:getDateTime.dateTimeStr('y-m-d h:i:s'),
+					// HSendBillNo:'',
+					// HInnerBillNo:'',
+					// HEmp:'',
+					// HEmpID:'',
+					// HQCCheckName:'',
+					// HQCCheckID:'',
+					// HSourceName2:'',
+					// HSourceID2:'',
+					// HSourceName3:'',
+					// HSourceID3:'',
+					// HSourceName4:'',
+					// HSourceID4:'',
+					// HSourceName5:'',
+					// HSourceID5:'',
+					// HDept:'',
+					// HDeptID:'',	
+					// HMouldNum:'',
+					// HPayProcID:'',
+					// HSourceNameList:'',
 
-                    HMaker: uni.getStorageSync('HUserName'),
-                    HMakeDate: getDateTime.dateTimeStr('y-m-d h:i:s'),
-                    HUpDater: '',
-                    HUpDateDate: '',
-                    HChecker: '',
-                    HCheckDate: '',
-                    // HCloseMan:'',
-                    // HCloseDate:'',		
-                    HDeleteMan: '',
-                    HDeleteDate: '',
-					
+					HMaker: uni.getStorageSync('HUserName'),
+					HMakeDate: getDateTime.dateTimeStr('y-m-d h:i:s'),
+					HUpDater: '',
+					HUpDateDate: '',
+					HChecker: '',
+					HCheckDate: '',
+					// HCloseMan:'',
+					// HCloseDate:'',		
+					HDeleteMan: '',
+					HDeleteDate: '',
+
 					HStyleNumber: '', // 娆惧彿
 
-                    eventType: 'Add',
-                }
-            }
-        },
-        onLoad(e) {
-            // this.getEditData('1516','GXCZHB000000001290')
-            console.log(e, this.userInfo)
-            // this.hform.HEmpID = this.userInfo.Czybm
-            // this.hform.HEmp = uni.getStorageSync('HUserName')
-            this.hform.HMaker = uni.getStorageSync('HUserName')
-            this.hform.HMakeDate = getDateTime.dateTimeStr('y-m-d h:i:s')
-            // this.hform.HDate = getDateTime.dateTimeStr('y-m-d')
-            // this.hform.HStationOutTime = getDateTime.dateTimeStr('y-m-d h:i:s')
-            if (e.linterid) {
-                this.btnType = 1
-                this.OperationType = 4
-                this.linterid = e.linterid
-                this.HBillNo = e.HBillNo
-                this.getEditData(e.linterid, e.HBillNo)
-            } else {
-                this.getNewData()
-            }
-            this.getHMaterList()
-            this.getHProcList()
-            this.getHSupList()
-            this.getHSourceList()
-            this.getHGroupList()
-            this.getHEmpList()
-            this.getHCenterList()
+					eventType: 'Add',
+				}
+			}
+		},
+		onLoad(e) {
+			// this.getEditData('1516','GXCZHB000000001290')
+			console.log(e, this.userInfo)
+			// this.hform.HEmpID = this.userInfo.Czybm
+			// this.hform.HEmp = uni.getStorageSync('HUserName')
+			this.hform.HMaker = uni.getStorageSync('HUserName')
+			this.hform.HMakeDate = getDateTime.dateTimeStr('y-m-d h:i:s')
+			// this.hform.HDate = getDateTime.dateTimeStr('y-m-d')
+			// this.hform.HStationOutTime = getDateTime.dateTimeStr('y-m-d h:i:s')
+			if (e.linterid) {
+				this.btnType = 1
+				this.OperationType = 4
+				this.linterid = e.linterid
+				this.HBillNo = e.HBillNo
+				this.getEditData(e.linterid, e.HBillNo)
+			} else {
+				this.getNewData()
+			}
+			this.getHMaterList()
+			this.getHProcList()
+			this.getHSupList()
+			this.getHSourceList()
+			this.getHGroupList()
+			this.getHEmpList()
+			this.getHCenterList()
 
-            this.getDefValByUser()
-        },
-        methods: {
+			this.getDefValByUser()
+		},
+		methods: {
 			//閫変腑鍏ㄩ儴鏂囨湰
 			selectAllText(e) {
-			  console.log(e.target)
-			  console.log(e)
+				console.log(e.target)
+				console.log(e)
 			},
-            onCGChangeHandler({
-                detail
-            }) {
+			onCGChangeHandler({
+				detail
+			}) {
 				console.log(detail.value[0])
-                this.hform.HIsTimeFlag = detail.value[0] || 0
-				if(detail.value[0]){
+				this.hform.HIsTimeFlag = detail.value[0] || 0
+				if (detail.value[0]) {
 					this.getNewHRelBeginDate()
 					this.hform.HRelEndTime = getDateTime.dateTimeStr('y-m-d h:i');
-				}else{
+				} else {
 					this.hform.HWorkTimes = 0;
 				}
-            },
-            //閫氳繃鐧诲綍鐢ㄦ埛鑾峰彇榛樿鍊�
-            getDefValByUser() {
-                uni.request({
-                    url: this.serverUrl + '/Cj_StationInBill/GetDefValByUser',
-                    type: "GET",
-                    async: false,
-                    data: {
-                        "Czybm": this.userInfo.Czybm,
-                        "Czymc": this.userInfo.Czymc
-                    },
-                    success: (res) => {
-                        // console.log(res.data)
-                        if (res.data.count == 1) {
-                            var data = res.data.data[0]
-                            this.hform.HGroupID = data.HGroupID
-                            this.hform.HGroupName = data.鐢熶骇鐝粍鍚嶇О
-                            this.hform.HEmpID = data.HEmpID
-                            this.hform.HEmpName = data.鎿嶄綔鍛樺悕绉�
-                            this.hform.HEmpNumber = data.鎿嶄綔鍛樹唬鐮�
-                            this.hform.HSourceID = data.HSourceID
-                            this.hform.HSourceName = data.鐢熶骇璧勬簮鍚嶇О
-                            this.hform.HCenterID = data.HWorkCenterID
-                            this.hform.HCenterName = data.宸ヤ綔涓績鍚嶇О
-                            this.hform.HEmpName_second = data.鎿嶄綔鍛樺悕绉�
-                        } else {
-                            uni.showToast({
-                                title: '鑾峰彇鐢熶骇鐝粍淇℃伅澶辫触',
-                                icon: 'none'
-                            })
-                        }
-                    },
-                    fail: (res) => {
-                        console.log(res);
-                        uni.showToast({
-                            title: '鑾峰彇鐢熶骇鐝粍淇℃伅澶辫触',
-                            icon: 'none'
-                        })
-                    },
-                });
-            },
-            //鎵爜
-            toScanCode() {
-                var mpaasScanModule = uni.requireNativePlugin("Mpaas-Scan-Module")
-                mpaasScanModule.mpaasScan({
-                    'hideAlbum': true,
-                    'timeoutInterval': '10', //瓒呮椂鏃堕棿
-                    'timeoutText': '鏈瘑鍒埌浜岀淮鐮�' //瓒呮椂鎻愰啋            
-                }, (ret) => {
-                    console.log(ret.resp_result)
-                    var str = ret.resp_result
-                    if (str.includes('@')) {
-                        const parts = str.split('@');
-                        this.hform.HBarCode = parts[0]
-                        this.hform.HProcNo = parts[1]
-                        this.getHBarCodeData(parts[0], 1)
-                        // this.getHProcNoData(parts[0],parts[1])
-                    } else {
-                        this.hform.HBarCode = ret.resp_result
-                        this.getHBarCodeData(ret.resp_result)
-                    }
-                })
-                // const str = "GXLX250603001-01@10";
-                // uni.scanCode({
-                //     onlyFromCamera: true,
-                // 	// autoZoom:false,
-                //     success: (res) => {
-                //         console.log('鏉$爜鍐呭锛�' + res.result);
-                // 		var str = res.result
-                // 		if(str.includes('@')) {
-                // 		  const parts = str.split('@');
-                // 		  this.hform.HBarCode = parts[0]
-                // 		  this.hform.HProcNo = parts[1]
-                // 		  this.getHBarCodeData(parts[0],1)
-                // 		  // this.getHProcNoData(parts[0],parts[1])
-                // 		}else{
-                // 			this.hform.HBarCode = res.result
-                // 			this.getHBarCodeData(res.result)
-                // 		}
-                //     }
-                // });
-            },
-            toInCode(e) {
-                var str = this.hform.HBarCode
-                if (str.includes('@')) {
-                    const parts = str.split('@');
-                    this.hform.HBarCode = parts[0]
-                    this.hform.HProcNo = parts[1]
-                    this.getHBarCodeData(parts[0], 1)
-                    // this.getHProcNoData(parts[0],parts[1])
-                } else {
-                    this.getHBarCodeData(this.hform.HBarCode)
-                }
-            },
-            //鎵祦姘村彿
-            toScanProcNo() {
-                var mpaasScanModule = uni.requireNativePlugin("Mpaas-Scan-Module")
-                mpaasScanModule.mpaasScan({
-                    'hideAlbum': true,
-                    'timeoutInterval': '10', //瓒呮椂鏃堕棿
-                    'timeoutText': '鏈瘑鍒埌浜岀淮鐮�' //瓒呮椂鎻愰啋            
-                }, (ret) => {
-                    console.log(ret.resp_result)
-                    this.hform.HProcNo = ret.resp_result
-                    this.getHProcNoData(this.hform.HBarCode, ret.resp_result)
-                })
-            },
-            //鏃ユ湡
-            HDateChange(e) {
-                console.log(e.detail.value)
-                this.hform.HDate = e.detail.value
-            },
+			},
+			//閫氳繃鐧诲綍鐢ㄦ埛鑾峰彇榛樿鍊�
+			getDefValByUser() {
+				uni.request({
+					url: this.serverUrl + '/Cj_StationInBill/GetDefValByUser',
+					type: "GET",
+					async: false,
+					data: {
+						"Czybm": this.userInfo.Czybm,
+						"Czymc": this.userInfo.Czymc
+					},
+					success: (res) => {
+						// console.log(res.data)
+						if (res.data.count == 1) {
+							var data = res.data.data[0]
+							this.hform.HGroupID = data.HGroupID
+							this.hform.HGroupName = data.鐢熶骇鐝粍鍚嶇О
+							this.hform.HEmpID = data.HEmpID
+							this.hform.HEmpName = data.鎿嶄綔鍛樺悕绉�
+							this.hform.HEmpNumber = data.鎿嶄綔鍛樹唬鐮�
+							this.hform.HSourceID = data.HSourceID
+							this.hform.HSourceName = data.鐢熶骇璧勬簮鍚嶇О
+							this.hform.HCenterID = data.HWorkCenterID
+							this.hform.HCenterName = data.宸ヤ綔涓績鍚嶇О
+							this.hform.HEmpName_second = data.鎿嶄綔鍛樺悕绉�
+						} else {
+							uni.showToast({
+								title: '鑾峰彇鐢熶骇鐝粍淇℃伅澶辫触',
+								icon: 'none'
+							})
+						}
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鑾峰彇鐢熶骇鐝粍淇℃伅澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			//鎵爜
+			toScanCode() {
+				var mpaasScanModule = uni.requireNativePlugin("Mpaas-Scan-Module")
+				mpaasScanModule.mpaasScan({
+					'hideAlbum': true,
+					'timeoutInterval': '10', //瓒呮椂鏃堕棿
+					'timeoutText': '鏈瘑鍒埌浜岀淮鐮�' //瓒呮椂鎻愰啋            
+				}, (ret) => {
+					console.log(ret.resp_result)
+					var str = ret.resp_result
+					if (str.includes('@')) {
+						const parts = str.split('@');
+						this.hform.HBarCode = parts[0]
+						this.hform.HProcNo = parts[1]
+						this.getHBarCodeData(parts[0], 1)
+						// this.getHProcNoData(parts[0],parts[1])
+					} else {
+						this.hform.HBarCode = ret.resp_result
+						this.getHBarCodeData(ret.resp_result)
+					}
+				})
+				// const str = "GXLX250603001-01@10";
+				// uni.scanCode({
+				//     onlyFromCamera: true,
+				// 	// autoZoom:false,
+				//     success: (res) => {
+				//         console.log('鏉$爜鍐呭锛�' + res.result);
+				// 		var str = res.result
+				// 		if(str.includes('@')) {
+				// 		  const parts = str.split('@');
+				// 		  this.hform.HBarCode = parts[0]
+				// 		  this.hform.HProcNo = parts[1]
+				// 		  this.getHBarCodeData(parts[0],1)
+				// 		  // this.getHProcNoData(parts[0],parts[1])
+				// 		}else{
+				// 			this.hform.HBarCode = res.result
+				// 			this.getHBarCodeData(res.result)
+				// 		}
+				//     }
+				// });
+			},
+			toInCode(e) {
+				var str = this.hform.HBarCode
+				if (str.includes('@')) {
+					const parts = str.split('@');
+					this.hform.HBarCode = parts[0]
+					this.hform.HProcNo = parts[1]
+					this.getHBarCodeData(parts[0], 1)
+					// this.getHProcNoData(parts[0],parts[1])
+				} else {
+					this.getHBarCodeData(this.hform.HBarCode)
+				}
+			},
+			//鎵祦姘村彿
+			toScanProcNo() {
+				var mpaasScanModule = uni.requireNativePlugin("Mpaas-Scan-Module")
+				mpaasScanModule.mpaasScan({
+					'hideAlbum': true,
+					'timeoutInterval': '10', //瓒呮椂鏃堕棿
+					'timeoutText': '鏈瘑鍒埌浜岀淮鐮�' //瓒呮椂鎻愰啋            
+				}, (ret) => {
+					console.log(ret.resp_result)
+					this.hform.HProcNo = ret.resp_result
+					this.getHProcNoData(this.hform.HBarCode, ret.resp_result)
+				})
+			},
+			//鏃ユ湡
+			HDateChange(e) {
+				console.log(e.detail.value)
+				this.hform.HDate = e.detail.value
+			},
 			HRelBeginTimeChange(e) {
-			    console.log(e)
-			    this.hform.HRelBeginTime = e
-				this.hform.HWorkTimes=getDateTime.calculateHoursDiff(this.hform.HRelBeginTime,this.hform.HRelEndTime);
+				console.log(e)
+				this.hform.HRelBeginTime = e
+				this.hform.HWorkTimes = getDateTime.calculateHoursDiff(this.hform.HRelBeginTime, this.hform.HRelEndTime);
 			},
 			HRelEndTimeChange(e) {
-			    console.log(e)
-			    this.hform.HRelEndTime = e
-				this.hform.HWorkTimes=getDateTime.calculateHoursDiff(this.hform.HRelBeginTime,this.hform.HRelEndTime);
+				console.log(e)
+				this.hform.HRelEndTime = e
+				this.hform.HWorkTimes = getDateTime.calculateHoursDiff(this.hform.HRelBeginTime, this.hform.HRelEndTime);
 			},
-			HWorkTimesChange(e){
+			HWorkTimesChange(e) {
 				console.log(e);
-				this.hform.HRelEndTime = getDateTime.addHoursToDate(this.hform.HRelBeginTime,e.detail.value);
+				this.hform.HRelEndTime = getDateTime.addHoursToDate(this.hform.HRelBeginTime, e.detail.value);
 			},
-            //鑾峰彇浜у搧鏁版嵁
-            getHMaterList() {
-                var Value = " Where HStopFlag=0  and HEndFlag=1 and HUSEORGID = " + uni.getStorageSync('OrganizationID')
-                uni.request({
-                    url: this.serverUrl + '/Web/GetMaterialList_Json',
-                    data: {
-                        sWhere: Value
-                    },
-                    success: (res) => {
-                        if (res.data.count == 1) {
-                            this.HMaterNumberList = res.data.data
-                            for (var i = 0; i < res.data.data.length; i++) {
-                                this.arrayHMaterNumber[i] = res.data.data[i].HNumber
-                            }
-                            this.$forceUpdate();
-                        } else {
-                            uni.showToast({
-                                title: res.data.Message,
-                                icon: 'none'
-                            })
-                        }
-                    },
-                    fail: (res) => {
-                        console.log(res);
-                        uni.showToast({
-                            title: '鎺ュ彛璇锋眰澶辫触',
-                            icon: 'none'
-                        })
-                    },
-                });
-            },
-            //閫夋嫨浜у搧鏁版嵁
-            HMaterNumberChange(e) {
-                for (var i = 0; i < this.HMaterNumberList.length; i++) {
-                    if (this.HMaterNumberList[i].HNumber == e) {
-                        this.hform.HMaterName = this.HMaterNumberList[i].HName
-                        this.hform.HMaterID = this.HMaterNumberList[i].HItemID
-                    }
-                }
-            },
-            //宸ュ簭
-            getHProcList() {
-                uni.request({
-                    url: this.serverUrl + '/Web/GetProcList_Json',
-                    data: {
-                        sWhere: ''
-                    },
-                    success: (res) => {
-                        if (res.data.count == 1) {
-                            this.HProcNameList = res.data.data
-                            for (var i = 0; i < res.data.data.length; i++) {
-                                this.arrayHProcName[i] = res.data.data[i].宸ュ簭
-                            }
-                            this.$forceUpdate();
-                        } else {
-                            uni.showToast({
-                                title: res.data.Message,
-                                icon: 'none'
-                            })
-                        }
-                    },
-                    fail: (res) => {
-                        console.log(res);
-                        uni.showToast({
-                            title: '鎺ュ彛璇锋眰澶辫触',
-                            icon: 'none'
-                        })
-                    },
-                });
-            },
-            //閫夋嫨宸ュ簭
-            HProcNameChange(e) {
-                for (var i = 0; i < this.HProcNameList.length; i++) {
-                    if (this.HProcNameList[i].宸ュ簭 == e) {
-                        this.hform.HProcID = this.HProcNameList[i].HItemID
-                    }
-                }
-            },
-            //鑾峰彇渚涘簲鍟嗘暟鎹�
-            getHSupList() {
-                if (!uni.getStorageSync('OrganizationID')) {
-                    var HOtherOrgID = 0;
-                } else {
-                    var HOtherOrgID = uni.getStorageSync('OrganizationID')
-                }
-                uni.request({
-                    url: this.serverUrl + '/Web/GetSupplierList_Json',
-                    data: {
-                        Supplier: '',
-                        HOrgID: HOtherOrgID
-                    },
-                    success: (res) => {
-                        if (res.data.count == 1) {
-                            this.HSupNameList = res.data.data
-                            for (var i = 0; i < res.data.data.length; i++) {
-                                this.arrayHSupName[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'
-                        })
-                    },
-                });
-            },
-            //閫夋嫨渚涘簲鍟�
-            HSupNameChange(e) {
-                for (var i = 0; i < this.HSupNameList.length; i++) {
-                    if (this.HSupNameList[i].HName == e) {
-                        this.hform.HSupID = this.HSupNameList[i].HItemID
-                    }
-                }
-            },
-            //鐢熶骇璧勬簮
-            getHSourceList() {
-                uni.request({
-                    url: this.serverUrl + '/api/newBill/getSourceList',
-                    data: {
-                        sWhere: ''
-                    },
-                    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
-                    }
-                }
-            },
-            HSourceName2Change(e) {
-                for (var i = 0; i < this.HSourceNameList.length; i++) {
-                    if (this.HSourceNameList[i].鐢熶骇璧勬簮 == e) {
-                        this.hform.HSourceID2 = this.HSourceNameList[i].HItemID
-                    }
-                }
-            },
-            HSourceName3Change(e) {
-                for (var i = 0; i < this.HSourceNameList.length; i++) {
-                    if (this.HSourceNameList[i].鐢熶骇璧勬簮 == e) {
-                        this.hform.HSourceID3 = this.HSourceNameList[i].HItemID
-                    }
-                }
-            },
-            HSourceName4Change(e) {
-                for (var i = 0; i < this.HSourceNameList.length; i++) {
-                    if (this.HSourceNameList[i].鐢熶骇璧勬簮 == e) {
-                        this.hform.HSourceID4 = this.HSourceNameList[i].HItemID
-                    }
-                }
-            },
-            HSourceName5Change(e) {
-                for (var i = 0; i < this.HSourceNameList.length; i++) {
-                    if (this.HSourceNameList[i].鐢熶骇璧勬簮 == e) {
-                        this.hform.HSourceID5 = this.HSourceNameList[i].HItemID
-                    }
-                }
-            },
-            //鐢熶骇鐝粍
-            getHGroupList() {
-                uni.request({
-                    url: this.serverUrl + '/Web/GetProductionTeamList_Json',
-                    data: {
-                        sWhere: "and HUSEORGID = " + uni.getStorageSync('OrganizationID') + ""
-                    },
-                    success: (res) => {
-                        if (res.data.count == 1) {
-                            this.HGroupNameList = res.data.data
-                            for (var i = 0; i < res.data.data.length; i++) {
-                                this.arrayHGroupName[i] = res.data.data[i].鐝粍
-                            }
-                            this.$forceUpdate();
-                        } else {
-                            uni.showToast({
-                                title: res.data.Message,
-                                icon: 'none'
-                            })
-                        }
-                    },
-                    fail: (res) => {
-                        console.log(res);
-                        uni.showToast({
-                            title: '鎺ュ彛璇锋眰澶辫触',
-                            icon: 'none'
-                        })
-                    },
-                });
-            },
-            //閫夋嫨鐢熶骇鐝粍
-            HGroupNameChange(e) {
-                for (var i = 0; i < this.HGroupNameList.length; i++) {
-                    if (this.HGroupNameList[i].鐝粍 == e) {
-                        this.hform.HGroupID = this.HGroupNameList[i].HItemID
-                    }
-                }
-            },
-            //鎿嶄綔鍛樼瓑
-            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: '鎺ュ彛璇锋眰澶辫触',
-                            icon: 'none'
-                        })
-                    },
-                });
-            },
-            //閫夋嫨鎿嶄綔鍛�
-            HEmpNameChange(e) {
-                for (var i = 0; i < this.HEmpNameList.length; i++) {
-                    if (this.HEmpNameList[i].HName == e) {
-                        this.hform.HEmpID = this.HEmpNameList[i].HItemID
-                    }
-                }
-            },
-            //閫夋嫨妫�楠屽憳
-            HQCCheckNameChange(e) {
-                for (var i = 0; i < this.HEmpNameList.length; i++) {
-                    if (this.HEmpNameList[i].HName == e) {
-                        this.hform.HQCCheckID = this.HEmpNameList[i].HItemID
-                    }
-                }
-            },
-            //閫夋搷浣滃憳
-            HEmpName2Change(e) {
-                for (var i = 0; i < this.HEmpNameList.length; i++) {
-                    if (this.HEmpNameList[i].HName == e) {
-                        this.hform.HEmpID2 = this.HEmpNameList[i].HItemID
-                    }
-                }
-            },
-            HEmpName3Change(e) {
-                for (var i = 0; i < this.HEmpNameList.length; i++) {
-                    if (this.HEmpNameList[i].HName == e) {
-                        this.hform.HEmpID3 = this.HEmpNameList[i].HItemID
-                    }
-                }
-            },
-            HEmpName4Change(e) {
-                for (var i = 0; i < this.HEmpNameList.length; i++) {
-                    if (this.HEmpNameList[i].HName == e) {
-                        this.hform.HEmpID4 = this.HEmpNameList[i].HItemID
-                    }
-                }
-            },
-            HEmpName5Change(e) {
-                for (var i = 0; i < this.HEmpNameList.length; i++) {
-                    if (this.HEmpNameList[i].HName == e) {
-                        this.hform.HEmpID5 = this.HEmpNameList[i].HItemID
-                    }
-                }
-            },
-            //宸ヤ綔涓績
-            getHCenterList() {
-                uni.request({
-                    url: this.serverUrl + '/api/newBill/getWorkCenterList',
-                    data: {
-                        sWhere: ''
-                    },
-                    success: (res) => {
-                        if (res.data.code == 1) {
-                            this.HCenterNameList = res.data.data.Gy_Source
-                            for (var i = 0; i < res.data.data.Gy_Source.length; i++) {
-                                this.arrayHCenterName[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'
-                        })
-                    },
-                });
-            },
-            //閫夋嫨宸ヤ綔涓績
-            HCenterNameChange(e) {
-                for (var i = 0; i < this.HCenterNameList.length; i++) {
-                    if (this.HCenterNameList[i].宸ヤ綔涓績 == e) {
-                        this.hform.HCenterID = this.HCenterNameList[i].HItemID
-                    }
-                }
-            },
-            //姹囨姤
-            huibao() {
-                var datas = {
-                    InterID: this.hform.HInterID,
-                    BillNo: this.hform.HBillNo,
-                    user: uni.getStorageSync('HUserName'),
-                    OrganizationID: uni.getStorageSync('OrganizationID'),
-                }
-                console.log('姹囨姤', datas)
-                uni.request({
-                    url: this.serverUrl + '/Sc_ProcessMangement/SaveICMOReportBill',
-                    method: 'GET',
-                    data: datas,
-                    success: (res) => {
-                        console.log(res)
-                        uni.showToast({
-                            title: res.data.Message,
-                            icon: 'none'
-                        })
-                    },
-                    fail: (res) => {
-                        console.log(res);
-                        uni.showToast({
-                            title: '鎺ュ彛璇锋眰澶辫触',
-                            icon: 'none'
-                        })
-                    },
-                });
-            },
-            //鍏ュ簱
-            ruku() {
-                console.log('ruku')
-                uni.request({
-                    url: this.serverUrl + '/Sc_ProcessMangement/SaveProcdutInBill',
-                    method: 'GET',
-                    data: {
-                        BillNo: this.hform.HBillNo
-                    },
-                    success: (res) => {
-                        console.log(res)
-                        uni.showToast({
-                            title: res.data.Message,
-                            icon: 'none'
-                        })
-                    },
-                    fail: (res) => {
-                        console.log(res);
-                        uni.showToast({
-                            title: '鎺ュ彛璇锋眰澶辫触',
-                            icon: 'none'
-                        })
-                    },
-                });
-            },
-            //鎶ュ簾
-            baofei() {
-                console.log('baofei')
-                uni.request({
-                    url: this.serverUrl + '/Sc_ProcessMangement/SaveBFBill',
-                    method: 'GET',
-                    data: {
-                        BillNo: this.hform.HBillNo
-                    },
-                    success: (res) => {
-                        console.log(res)
-                        uni.showToast({
-                            title: res.data.Message,
-                            icon: 'none'
-                        })
-                    },
-                    fail: (res) => {
-                        console.log(res);
-                        uni.showToast({
-                            title: '鎺ュ彛璇锋眰澶辫触',
-                            icon: 'none'
-                        })
-                    },
-                });
-            },
-            //缂栬緫
-            ifEdit() {
-                //鏄惁缂栬緫
-                uni.request({
-                    url: this.serverUrl + '/Cj_StationOutBill/set_ShowBillJudge',
-                    data: {
-                        HBillNo: this.HBillNo,
-                        // CurUserName: uni.getStorageSync('HUserName'),
-                        // HInterID: this.linterid,
-                    },
-                    success: (res) => {
-                        console.log(res)
-                        if (res.data.count == 1) {
-                            this.isEdit = true
-                            this.OperationType = 3
-                            this.hform.eventType = 'Modify'
-                        } else {
-                            uni.showToast({
-                                title: res.data.Message,
-                                icon: 'none'
-                            })
-                        }
-                    },
-                    fail: (res) => {
-                        console.log(res);
-                        uni.showToast({
-                            title: '鎺ュ彛璇锋眰澶辫触',
-                            icon: 'none'
-                        })
-                    },
-                });
-            },
-            getEditData(linterid, HBillNo) {
-                //涓昏〃
-                uni.request({
-                    url: this.serverUrl + '/Cj_StationOutBill/GetStationOutBill',
-                    data: {
-                        HInterID: linterid
-                    },
-                    success: (res) => {
-                        console.log(1, res.data.data[0]);
-                        if (res.data.code == 1) {
-                            var data = res.data.data[0]
-                            this.getHBarCodeData(data.HBarCode,1)
-                            //this.getHProcNoData(data.HBarCode, data.HProcNo)
-
-                            this.hform.HInterID = data.HInterID
-                            this.hform.HBillNo = data.HBillNo
-                            this.hform.HBarCode = data.HBarCode
-                            this.hform.HProcNo = data.HProcNo
-                            // this.hform.HQty = data.HQty
-                            // this.hform.HPieceQty= data.HPieceQty
-                            this.hform.HIsTimeFlag = data.HIsTimeFlag || 0
-                            this.hform.HNotReportQty = data.HNotReportQty
-							this.hform.HProcNumber = data.HProcNumber || ''
-                            this.hform.HWasterQty = data.HWasterQty
-							this.hform.HBadCount = data.HBadCount
-                            this.hform.HSourceID = data.HSourceID
-                            this.hform.HSourceName = data.HSourceName
-                            this.hform.HGroupID = data.HGroupID
-                            this.hform.HGroupName = data.HGroupName
-                            this.hform.HEmpID = data.HEmpID
-                            this.hform.HEmpName = data.HEmpName
-                            this.hform.HRemark = data.HRemark
-                            this.hform.HDate = data.HDate.substr(0, 10)
-
-                            this.hform.HWorkTimes = data.HWorkTimes
-                            this.hform.HEmpID2 = data.HEmpID2
-                            this.hform.HEmpName2 = data.HEmpName2
-                            this.hform.HEmpID3 = data.HEmpID3
-                            this.hform.HEmpName3 = data.HEmpName3
-                            this.hform.HEmpID4 = data.HEmpID4
-                            this.hform.HEmpName4 = data.HEmpName4
-                            this.hform.HEmpID5 = data.HEmpID5
-                            this.hform.HEmpName5 = data.HEmpName5
-                            // this.hform.HLastSubProc= data.HLastSubProc
-                            // this.hform.HQCCheckID= data.HQCCheckID
-                            // this.hform.HQCCheckName= data.HQCCheckName
-
-                            if (data.鏄惁瀹℃牳 == "true") {
-                                this.btnType = 3
-                            } else {
-                                this.btnType = 2
-                            }
-
-                            this.hform.HMaker = data.HMaker
-                            this.hform.HMakeDate = data.HMakeDate
-                            this.hform.HUpDater = data.HUpDater
-                            this.hform.HUpDateDate = data.HUpDateDate
-                            this.hform.HChecker = data.HChecker
-                            this.hform.HCheckDate = data.HCheckDate
-                            // this.hform.HCloseMan= data.HCloseMan
-                            // this.hform.HCloseDate= data.HCloseDate
-                            this.hform.HDeleteMan = data.HDeleteMan
-                            this.hform.HDeleteDate = data.HDeleteDate
-                        } else {
-                            uni.showToast({
-                                title: res.data.Message,
-                                icon: 'none'
-                            })
-                        }
-                    },
-                    fail: (res) => {
-                        console.log(res);
-                        uni.showToast({
-                            title: '鎺ュ彛璇锋眰澶辫触',
-                            icon: 'none'
-                        })
-                    },
-                });
-            },
-            getHBarCodeData(HBarCode, e) {
-                var barNo = HBarCode.substr(0, 2);
-                var barNo1 = HBarCode.substr(0, 4);
-                uni.request({
-                    url: this.serverUrl + '/Cj_StationBill/txtHBarCode_KeyDown2',
-                    data: {
-                        HBarCode: HBarCode,
-                        HInterID: this.hform.HProcExchHinteID,
-                        UserID: this.userInfo.Czybm,
-                        HBillType: "Out"
-                    },
-                    success: (res) => {
-                        console.log(2, res.data);
-                        if (res.data.code == 1) {
-                            var data = res.data.data[0]
-                            if (barNo != 'OP') {
-                                if (barNo1 == 'GXLZ' && data.娴佹按鍙�) {
-                                    this.hform.HProcNo = data.娴佹按鍙�
-                                } else if (barNo1 == 'GXLX' && data.宸ュ簭鍙�) {
-                                    this.hform.HProcNo = data.宸ュ簭鍙�
-                                }
-                            }
-                            this.hform.HICMOInterID = data.hicmointerid
-                            this.hform.HICMOBillNo = data.浠诲姟鍗曞彿
-                            this.hform.HMaterID = data.HMaterID
-                            this.hform.HMaterName = data.浜у搧
-                            this.hform.HMaterNumber = data.浜у搧浠g爜
-                            this.hform.HMaterModel = data.瑙勬牸鍨嬪彿
-                            this.hform.HPlanQty = data.娴佽浆鍗℃暟閲�
-                            this.hform.lngBillKey = data.hmainid
-                            this.hform.HProcExchBillNo = data.鍗曟嵁鍙�
-                            this.hform.HProcExchHinteID = data.hmainid
-                            this.hform.HICMOQty = data.浠诲姟鍗曟暟閲�
-                            this.hform.HOrderProcNO = data.璁㈠崟璺熻釜鍙�
-                            this.hform.HPRDOrgID = data.缁勭粐
-                            this.hform.HPRDOrg = data.缁勭粐鍚嶇О
-                            this.hform.lngBillSubKey = data.hsubid
-                            this.hform.HProcName = data.宸ュ簭
-                            this.hform.HProcID = data.HProcID
-                            this.hform.HCenterName = data.宸ヤ綔涓績
-                            this.hform.HCenterID = data.HCenterID
-                            this.hform.NoOutboundHqty = (data.娴佽浆鍗℃暟閲� - data.鍑虹珯鎶ュ簾鍏宠仈鏁伴噺 - data.鍑虹珯鍏宠仈鏁伴噺)
-							this.hform.HStyleNumber = data['娆惧彿']
-							
-                            if (e) {
-                                this.getHProcNoData(this.hform.HBarCode, this.hform.HProcNo)
-                            }
-                        } else {
-                            uni.showToast({
-                                title: res.data.Message,
-                                icon: 'none'
-                            })
-                        }
-                    },
-                    fail: (res) => {
-                        console.log(res);
-                        uni.showToast({
-                            title: '鎺ュ彛璇锋眰澶辫触',
-                            icon: 'none'
-                        })
-                    },
-                });
-            },
-            getHProcNoData(HBarCode, HProcNo) {
-                uni.request({
-                    url: this.serverUrl + '/Cj_StationInBill/txtHProcNo_KeyDown',
-                    data: {
-                        sBillNo: HBarCode,
-                        sProcNo: HProcNo
-                    },
-                    success: (res) => {
-                        console.log(3, res);
-                        if (res.data.code == 1) {
-                            var data = res.data.data[0]
-                            this.hform.lngBillSubKey = data.hsubid
-                            this.hform.HProcName = data.宸ュ簭
-                            this.hform.HProcID = data.HProcID
-                            this.hform.HCenterName = data.宸ヤ綔涓績
-                            this.hform.HCenterID = data.HCenterID
-                            this.hform.NoOutboundHqty = (data.娴佽浆鍗℃暟閲� - data.鍑虹珯鎶ュ簾鍏宠仈鏁伴噺 - data.鍑虹珯鍏宠仈鏁伴噺)
-                            this.hform.HNotReportQty = data['鏈姤宸ユ暟閲�']
-							this.hform.HProcNumber = data['宸ュ簭浠g爜']
-                            this.hform.HIsTimeFlag = data['鏄惁璁℃椂'] ? 1 : 0
-                           // this.hform.HStyleNumber = data['娆惧彿']
-							// this.hform.HQty = data.鍚堟牸鏁伴噺
-                            if (data.棣栭亾宸ュ簭 == "鏄�") {
-                                this.FirstEndHProcNo = 1
-                            }
-                            if (data.鏈亾宸ュ簭 == "鏄�") {
-                                this.FirstEndHProcNo = 2
-                            }
-                        } else {
-                            uni.showToast({
-                                title: res.data.Message,
-                                icon: 'none'
-                            })
-                        }
-                    },
-                    fail: (res) => {
-                        console.log(res);
-                        uni.showToast({
-                            title: '鎺ュ彛璇锋眰澶辫触',
-                            icon: 'none'
-                        })
-                    },
-                });
-            },
-            
-			//鑾峰彇鏈�鏂扮殑鎶ュ伐鏃ユ湡
-			getNewHRelBeginDate(){
+			//鑾峰彇浜у搧鏁版嵁
+			getHMaterList() {
+				var Value = " Where HStopFlag=0  and HEndFlag=1 and HUSEORGID = " + uni.getStorageSync('OrganizationID')
 				uni.request({
-				    url: this.serverUrl + '/Cj_StationOutBill/get_Display',
-					data:{ 
+					url: this.serverUrl + '/Web/GetMaterialList_Json',
+					data: {
+						sWhere: Value
+					},
+					success: (res) => {
+						if (res.data.count == 1) {
+							this.HMaterNumberList = res.data.data
+							for (var i = 0; i < res.data.data.length; i++) {
+								this.arrayHMaterNumber[i] = res.data.data[i].HNumber
+							}
+							this.$forceUpdate();
+						} else {
+							uni.showToast({
+								title: res.data.Message,
+								icon: 'none'
+							})
+						}
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			//閫夋嫨浜у搧鏁版嵁
+			HMaterNumberChange(e) {
+				for (var i = 0; i < this.HMaterNumberList.length; i++) {
+					if (this.HMaterNumberList[i].HNumber == e) {
+						this.hform.HMaterName = this.HMaterNumberList[i].HName
+						this.hform.HMaterID = this.HMaterNumberList[i].HItemID
+					}
+				}
+			},
+			//宸ュ簭
+			getHProcList() {
+				uni.request({
+					url: this.serverUrl + '/Web/GetProcList_Json',
+					data: {
+						sWhere: ''
+					},
+					success: (res) => {
+						if (res.data.count == 1) {
+							this.HProcNameList = res.data.data
+							for (var i = 0; i < res.data.data.length; i++) {
+								this.arrayHProcName[i] = res.data.data[i].宸ュ簭
+							}
+							this.$forceUpdate();
+						} else {
+							uni.showToast({
+								title: res.data.Message,
+								icon: 'none'
+							})
+						}
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			//閫夋嫨宸ュ簭
+			HProcNameChange(e) {
+				for (var i = 0; i < this.HProcNameList.length; i++) {
+					if (this.HProcNameList[i].宸ュ簭 == e) {
+						this.hform.HProcID = this.HProcNameList[i].HItemID
+					}
+				}
+			},
+			//鑾峰彇渚涘簲鍟嗘暟鎹�
+			getHSupList() {
+				if (!uni.getStorageSync('OrganizationID')) {
+					var HOtherOrgID = 0;
+				} else {
+					var HOtherOrgID = uni.getStorageSync('OrganizationID')
+				}
+				uni.request({
+					url: this.serverUrl + '/Web/GetSupplierList_Json',
+					data: {
+						Supplier: '',
+						HOrgID: HOtherOrgID
+					},
+					success: (res) => {
+						if (res.data.count == 1) {
+							this.HSupNameList = res.data.data
+							for (var i = 0; i < res.data.data.length; i++) {
+								this.arrayHSupName[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'
+						})
+					},
+				});
+			},
+			//閫夋嫨渚涘簲鍟�
+			HSupNameChange(e) {
+				for (var i = 0; i < this.HSupNameList.length; i++) {
+					if (this.HSupNameList[i].HName == e) {
+						this.hform.HSupID = this.HSupNameList[i].HItemID
+					}
+				}
+			},
+			//鐢熶骇璧勬簮
+			getHSourceList() {
+				uni.request({
+					url: this.serverUrl + '/api/newBill/getSourceList',
+					data: {
+						sWhere: ''
+					},
+					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
+					}
+				}
+			},
+			HSourceName2Change(e) {
+				for (var i = 0; i < this.HSourceNameList.length; i++) {
+					if (this.HSourceNameList[i].鐢熶骇璧勬簮 == e) {
+						this.hform.HSourceID2 = this.HSourceNameList[i].HItemID
+					}
+				}
+			},
+			HSourceName3Change(e) {
+				for (var i = 0; i < this.HSourceNameList.length; i++) {
+					if (this.HSourceNameList[i].鐢熶骇璧勬簮 == e) {
+						this.hform.HSourceID3 = this.HSourceNameList[i].HItemID
+					}
+				}
+			},
+			HSourceName4Change(e) {
+				for (var i = 0; i < this.HSourceNameList.length; i++) {
+					if (this.HSourceNameList[i].鐢熶骇璧勬簮 == e) {
+						this.hform.HSourceID4 = this.HSourceNameList[i].HItemID
+					}
+				}
+			},
+			HSourceName5Change(e) {
+				for (var i = 0; i < this.HSourceNameList.length; i++) {
+					if (this.HSourceNameList[i].鐢熶骇璧勬簮 == e) {
+						this.hform.HSourceID5 = this.HSourceNameList[i].HItemID
+					}
+				}
+			},
+			//鐢熶骇鐝粍
+			getHGroupList() {
+				uni.request({
+					url: this.serverUrl + '/Web/GetProductionTeamList_Json',
+					data: {
+						sWhere: "and HUSEORGID = " + uni.getStorageSync('OrganizationID') + ""
+					},
+					success: (res) => {
+						if (res.data.count == 1) {
+							this.HGroupNameList = res.data.data
+							for (var i = 0; i < res.data.data.length; i++) {
+								this.arrayHGroupName[i] = res.data.data[i].鐝粍
+							}
+							this.$forceUpdate();
+						} else {
+							uni.showToast({
+								title: res.data.Message,
+								icon: 'none'
+							})
+						}
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			//閫夋嫨鐢熶骇鐝粍
+			HGroupNameChange(e) {
+				for (var i = 0; i < this.HGroupNameList.length; i++) {
+					if (this.HGroupNameList[i].鐝粍 == e) {
+						this.hform.HGroupID = this.HGroupNameList[i].HItemID
+					}
+				}
+			},
+			//鎿嶄綔鍛樼瓑
+			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: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			//閫夋嫨鎿嶄綔鍛�
+			HEmpNameChange(e) {
+				for (var i = 0; i < this.HEmpNameList.length; i++) {
+					if (this.HEmpNameList[i].HName == e) {
+						this.hform.HEmpID = this.HEmpNameList[i].HItemID
+					}
+				}
+			},
+			//閫夋嫨妫�楠屽憳
+			HQCCheckNameChange(e) {
+				for (var i = 0; i < this.HEmpNameList.length; i++) {
+					if (this.HEmpNameList[i].HName == e) {
+						this.hform.HQCCheckID = this.HEmpNameList[i].HItemID
+					}
+				}
+			},
+			//閫夋搷浣滃憳
+			HEmpName2Change(e) {
+				for (var i = 0; i < this.HEmpNameList.length; i++) {
+					if (this.HEmpNameList[i].HName == e) {
+						this.hform.HEmpID2 = this.HEmpNameList[i].HItemID
+					}
+				}
+			},
+			HEmpName3Change(e) {
+				for (var i = 0; i < this.HEmpNameList.length; i++) {
+					if (this.HEmpNameList[i].HName == e) {
+						this.hform.HEmpID3 = this.HEmpNameList[i].HItemID
+					}
+				}
+			},
+			HEmpName4Change(e) {
+				for (var i = 0; i < this.HEmpNameList.length; i++) {
+					if (this.HEmpNameList[i].HName == e) {
+						this.hform.HEmpID4 = this.HEmpNameList[i].HItemID
+					}
+				}
+			},
+			HEmpName5Change(e) {
+				for (var i = 0; i < this.HEmpNameList.length; i++) {
+					if (this.HEmpNameList[i].HName == e) {
+						this.hform.HEmpID5 = this.HEmpNameList[i].HItemID
+					}
+				}
+			},
+			//宸ヤ綔涓績
+			getHCenterList() {
+				uni.request({
+					url: this.serverUrl + '/api/newBill/getWorkCenterList',
+					data: {
+						sWhere: ''
+					},
+					success: (res) => {
+						if (res.data.code == 1) {
+							this.HCenterNameList = res.data.data.Gy_Source
+							for (var i = 0; i < res.data.data.Gy_Source.length; i++) {
+								this.arrayHCenterName[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'
+						})
+					},
+				});
+			},
+			//閫夋嫨宸ヤ綔涓績
+			HCenterNameChange(e) {
+				for (var i = 0; i < this.HCenterNameList.length; i++) {
+					if (this.HCenterNameList[i].宸ヤ綔涓績 == e) {
+						this.hform.HCenterID = this.HCenterNameList[i].HItemID
+					}
+				}
+			},
+			//姹囨姤
+			huibao() {
+				var datas = {
+					InterID: this.hform.HInterID,
+					BillNo: this.hform.HBillNo,
+					user: uni.getStorageSync('HUserName'),
+					OrganizationID: uni.getStorageSync('OrganizationID'),
+				}
+				console.log('姹囨姤', datas)
+				uni.request({
+					url: this.serverUrl + '/Sc_ProcessMangement/SaveICMOReportBill',
+					method: 'GET',
+					data: datas,
+					success: (res) => {
+						console.log(res)
+						uni.showToast({
+							title: res.data.Message,
+							icon: 'none'
+						})
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			//鍏ュ簱
+			ruku() {
+				console.log('ruku')
+				uni.request({
+					url: this.serverUrl + '/Sc_ProcessMangement/SaveProcdutInBill',
+					method: 'GET',
+					data: {
+						BillNo: this.hform.HBillNo
+					},
+					success: (res) => {
+						console.log(res)
+						uni.showToast({
+							title: res.data.Message,
+							icon: 'none'
+						})
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			//鎶ュ簾
+			baofei() {
+				console.log('baofei')
+				uni.request({
+					url: this.serverUrl + '/Sc_ProcessMangement/SaveBFBill',
+					method: 'GET',
+					data: {
+						BillNo: this.hform.HBillNo
+					},
+					success: (res) => {
+						console.log(res)
+						uni.showToast({
+							title: res.data.Message,
+							icon: 'none'
+						})
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			//缂栬緫
+			ifEdit() {
+				//鏄惁缂栬緫
+				uni.request({
+					url: this.serverUrl + '/Cj_StationOutBill/set_ShowBillJudge',
+					data: {
+						HBillNo: this.HBillNo,
+						// CurUserName: uni.getStorageSync('HUserName'),
+						// HInterID: this.linterid,
+					},
+					success: (res) => {
+						console.log(res)
+						if (res.data.count == 1) {
+							this.isEdit = true
+							this.OperationType = 3
+							this.hform.eventType = 'Modify'
+						} else {
+							uni.showToast({
+								title: res.data.Message,
+								icon: 'none'
+							})
+						}
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			getEditData(linterid, HBillNo) {
+				//涓昏〃
+				uni.request({
+					url: this.serverUrl + '/Cj_StationOutBill/GetStationOutBill',
+					data: {
+						HInterID: linterid
+					},
+					success: (res) => {
+						console.log(1, res.data.data[0]);
+						if (res.data.code == 1) {
+							var data = res.data.data[0]
+							this.getHBarCodeData(data.HBarCode, 1)
+							//this.getHProcNoData(data.HBarCode, data.HProcNo)
+
+							this.hform.HInterID = data.HInterID
+							this.hform.HBillNo = data.HBillNo
+							this.hform.HBarCode = data.HBarCode
+							this.hform.HProcNo = data.HProcNo
+							// this.hform.HQty = data.HQty
+							// this.hform.HPieceQty= data.HPieceQty
+							this.hform.HIsTimeFlag = data.HIsTimeFlag || 0
+							this.hform.HNotReportQty = data.HNotReportQty
+							this.hform.HProcNumber = data.HProcNumber || ''
+							this.hform.HWasterQty = data.HWasterQty
+							this.hform.HBadCount = data.HBadCount
+							this.hform.HSourceID = data.HSourceID
+							this.hform.HSourceName = data.HSourceName
+							this.hform.HGroupID = data.HGroupID
+							this.hform.HGroupName = data.HGroupName
+							this.hform.HEmpID = data.HEmpID
+							this.hform.HEmpName = data.HEmpName
+							this.hform.HRemark = data.HRemark
+							this.hform.HDate = data.HDate.substr(0, 10)
+
+							this.hform.HWorkTimes = data.HWorkTimes
+							this.hform.HEmpID2 = data.HEmpID2
+							this.hform.HEmpName2 = data.HEmpName2
+							this.hform.HEmpID3 = data.HEmpID3
+							this.hform.HEmpName3 = data.HEmpName3
+							this.hform.HEmpID4 = data.HEmpID4
+							this.hform.HEmpName4 = data.HEmpName4
+							this.hform.HEmpID5 = data.HEmpID5
+							this.hform.HEmpName5 = data.HEmpName5
+							// this.hform.HLastSubProc= data.HLastSubProc
+							// this.hform.HQCCheckID= data.HQCCheckID
+							// this.hform.HQCCheckName= data.HQCCheckName
+
+							if (data.鏄惁瀹℃牳 == "true") {
+								this.btnType = 3
+							} else {
+								this.btnType = 2
+							}
+
+							this.hform.HMaker = data.HMaker
+							this.hform.HMakeDate = data.HMakeDate
+							this.hform.HUpDater = data.HUpDater
+							this.hform.HUpDateDate = data.HUpDateDate
+							this.hform.HChecker = data.HChecker
+							this.hform.HCheckDate = data.HCheckDate
+							// this.hform.HCloseMan= data.HCloseMan
+							// this.hform.HCloseDate= data.HCloseDate
+							this.hform.HDeleteMan = data.HDeleteMan
+							this.hform.HDeleteDate = data.HDeleteDate
+						} else {
+							uni.showToast({
+								title: res.data.Message,
+								icon: 'none'
+							})
+						}
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			getHBarCodeData(HBarCode, e) {
+				var barNo = HBarCode.substr(0, 2);
+				var barNo1 = HBarCode.substr(0, 4);
+				uni.request({
+					url: this.serverUrl + '/Cj_StationBill/txtHBarCode_KeyDown2',
+					data: {
+						HBarCode: HBarCode,
+						HInterID: this.hform.HProcExchHinteID,
+						UserID: this.userInfo.Czybm,
+						HBillType: "Out"
+					},
+					success: (res) => {
+						console.log(2, res.data);
+						if (res.data.code == 1) {
+							var data = res.data.data[0]
+							if (barNo != 'OP') {
+								if (barNo1 == 'GXLZ' && data.娴佹按鍙�) {
+									this.hform.HProcNo = data.娴佹按鍙�
+								} else if (barNo1 == 'GXLX' && data.宸ュ簭鍙�) {
+									this.hform.HProcNo = data.宸ュ簭鍙�
+								}
+							}
+							this.hform.HICMOInterID = data.hicmointerid
+							this.hform.HICMOBillNo = data.浠诲姟鍗曞彿
+							this.hform.HMaterID = data.HMaterID
+							this.hform.HMaterName = data.浜у搧
+							this.hform.HMaterNumber = data.浜у搧浠g爜
+							this.hform.HMaterModel = data.瑙勬牸鍨嬪彿
+							this.hform.HPlanQty = data.娴佽浆鍗℃暟閲�
+							this.hform.lngBillKey = data.hmainid
+							this.hform.HProcExchBillNo = data.鍗曟嵁鍙�
+							this.hform.HProcExchHinteID = data.hmainid
+							this.hform.HICMOQty = data.浠诲姟鍗曟暟閲�
+							this.hform.HOrderProcNO = data.璁㈠崟璺熻釜鍙�
+							this.hform.HPRDOrgID = data.缁勭粐
+							this.hform.HPRDOrg = data.缁勭粐鍚嶇О
+							this.hform.lngBillSubKey = data.hsubid
+							this.hform.HProcName = data.宸ュ簭
+							this.hform.HProcID = data.HProcID
+							this.hform.HCenterName = data.宸ヤ綔涓績
+							this.hform.HCenterID = data.HCenterID
+							this.hform.NoOutboundHqty = (data.娴佽浆鍗℃暟閲� - data.鍑虹珯鎶ュ簾鍏宠仈鏁伴噺 - data.鍑虹珯鍏宠仈鏁伴噺)
+							this.hform.HStyleNumber = data['娆惧彿']
+
+							if (e) {
+								this.getHProcNoData(this.hform.HBarCode, this.hform.HProcNo)
+							}
+						} else {
+							uni.showToast({
+								title: res.data.Message,
+								icon: 'none'
+							})
+						}
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			getHProcNoData(HBarCode, HProcNo) {
+				uni.request({
+					url: this.serverUrl + '/Cj_StationInBill/txtHProcNo_KeyDown',
+					data: {
+						sBillNo: HBarCode,
+						sProcNo: HProcNo
+					},
+					success: (res) => {
+						console.log(3, res);
+						if (res.data.code == 1) {
+							var data = res.data.data[0]
+							this.hform.lngBillSubKey = data.hsubid
+							this.hform.HProcName = data.宸ュ簭
+							this.hform.HProcID = data.HProcID
+							this.hform.HCenterName = data.宸ヤ綔涓績
+							this.hform.HCenterID = data.HCenterID
+							this.hform.NoOutboundHqty = (data.娴佽浆鍗℃暟閲� - data.鍑虹珯鎶ュ簾鍏宠仈鏁伴噺 - data.鍑虹珯鍏宠仈鏁伴噺)
+							this.hform.HNotReportQty = data['鏈姤宸ユ暟閲�']
+							this.hform.HProcNumber = data['宸ュ簭浠g爜']
+							this.hform.HIsTimeFlag = data['鏄惁璁℃椂'] ? 1 : 0
+							// this.hform.HStyleNumber = data['娆惧彿']
+							// this.hform.HQty = data.鍚堟牸鏁伴噺
+							if (data.棣栭亾宸ュ簭 == "鏄�") {
+								this.FirstEndHProcNo = 1
+							}
+							if (data.鏈亾宸ュ簭 == "鏄�") {
+								this.FirstEndHProcNo = 2
+							}
+						} else {
+							uni.showToast({
+								title: res.data.Message,
+								icon: 'none'
+							})
+						}
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+
+			//鑾峰彇鏈�鏂扮殑鎶ュ伐鏃ユ湡
+			getNewHRelBeginDate() {
+				uni.request({
+					url: this.serverUrl + '/Cj_StationOutBill/get_Display',
+					data: {
 						sWhere: ` and HEmpID = N'${this.hform.HEmpID}'`,
 						user: uni.getStorageSync('HUserName'),
-						HBillSubType:'',
+						HBillSubType: '',
 					},
-				    success: (res) => {
-						if(res.data.count == 1){
+					success: (res) => {
+						if (res.data.count == 1) {
 							//鑾峰彇鍒楄〃鏁版嵁
 							const listData = res.data.data
 							// 鑾峰彇褰撳墠鏃ユ湡锛堝幓鎺夋椂闂撮儴鍒嗭級
 							const today = new Date();
 							today.setHours(0, 0, 0, 0);
-							if(listData.length==0){
-								this.hform.HRelBeginTime = getDateTime.dateTimeSetHoureStr(7, 40, 0, 0,'y-m-d h:i');
-								this.hform.HWorkTimes=getDateTime.calculateHoursDiff(this.hform.HRelBeginTime,this.hform.HRelEndTime);
-							}else{
+							if (listData.length == 0) {
+								this.hform.HRelBeginTime = getDateTime.dateTimeSetHoureStr(7, 40, 0, 0,
+									'y-m-d h:i');
+								this.hform.HWorkTimes = getDateTime.calculateHoursDiff(this.hform
+									.HRelBeginTime, this.hform.HRelEndTime);
+							} else {
 								// 浠庡璞℃暟缁勪腑鎻愬彇鎵�鏈夋棩鏈熷瓧娈靛苟鎵惧埌鏈�澶у��
 								const maxDate = listData.reduce((max, obj) => {
 									const date = new Date(obj.鍑虹珯鏃堕棿);
@@ -1456,454 +1470,461 @@
 								// 姣旇緝鏈�澶ф棩鏈熷拰浠婂ぉ鐨勬棩鏈熼儴鍒嗭紙涓嶆瘮杈冩椂闂达級
 								const maxDateDateOnly = new Date(maxDate);
 								maxDateDateOnly.setHours(0, 0, 0, 0);
-								  // 姣旇緝鏈�澶ф棩鏈熷拰浠婂ぉ
+								// 姣旇緝鏈�澶ф棩鏈熷拰浠婂ぉ
 								if (maxDateDateOnly.getTime() !== today.getTime()) {
 									// 濡傛灉涓嶆槸浠婂ぉ锛岃繑鍥炲綋鍓嶆棩鏈�
-									this.hform.HRelBeginTime = getDateTime.dateTimeSetHoureStr(7, 40, 0, 0,'y-m-d h:i');
-									this.hform.HWorkTimes=getDateTime.calculateHoursDiff(this.hform.HRelBeginTime,this.hform.HRelEndTime);
-								}else{
+									this.hform.HRelBeginTime = getDateTime.dateTimeSetHoureStr(7, 40, 0, 0,
+										'y-m-d h:i');
+									this.hform.HWorkTimes = getDateTime.calculateHoursDiff(this.hform
+										.HRelBeginTime, this.hform.HRelEndTime);
+								} else {
 									this.hform.HRelBeginTime = getDateTime.formatDate(maxDate);
-									this.hform.HWorkTimes=getDateTime.calculateHoursDiff(this.hform.HRelBeginTime,this.hform.HRelEndTime);
+									this.hform.HWorkTimes = getDateTime.calculateHoursDiff(this.hform
+										.HRelBeginTime, this.hform.HRelEndTime);
 								}
 							}
-						}else{
+						} else {
 							uni.showToast({
-								title:res.data.Message,
-								icon:'none'
+								title: res.data.Message,
+								icon: 'none'
 							})
 						}
 					},
 					fail: (res) => {
 						console.log(res);
 						uni.showToast({
-							title:'鎺ュ彛璇锋眰澶辫触',
-							icon:'none'
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
 						})
 					},
 				});
 			},
 			//鏂板
-            getNewData() {
-                uni.request({
-                    url: this.serverUrl + '/Web/GetMAXNum',
-                    data: {
-                        HBillType: '3791'
-                    },
-                    success: (res) => {
-                        console.log(res.data)
-                        if (res.data.count == 1) {
-                            this.hform.HInterID = res.data.data[0].HInterID
-                            this.hform.HBillNo = res.data.data[0].HBillNo
-                        } else {
-                            uni.showToast({
-                                title: res.data.Message,
-                                icon: 'none'
-                            })
-                        }
-                    },
-                    fail: (res) => {
-                        console.log(res);
-                        uni.showToast({
-                            title: '鎺ュ彛璇锋眰澶辫触',
-                            icon: 'none'
-                        })
-                    },
-                });
-            },
-            addNew() {
-                uni.redirectTo({
-                    url: '/pages/gongxuOut/form?OperationType=1'
-                })
-            },
-            submit() {
+			getNewData() {
+				uni.request({
+					url: this.serverUrl + '/Web/GetMAXNum',
+					data: {
+						HBillType: '3791'
+					},
+					success: (res) => {
+						console.log(res.data)
+						if (res.data.count == 1) {
+							this.hform.HInterID = res.data.data[0].HInterID
+							this.hform.HBillNo = res.data.data[0].HBillNo
+						} else {
+							uni.showToast({
+								title: res.data.Message,
+								icon: 'none'
+							})
+						}
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			addNew() {
+				uni.redirectTo({
+					url: '/pages/gongxuOut/form?OperationType=1'
+				})
+			},
+			submit() {
 				//鍘婚櫎鍒嗗彿浠ュ厤鍚庣鍒嗚В鎶ラ敊
-				this.hform.HMaterName= this.hform.HMaterName.replace(/;/g, '');
+				this.hform.HMaterName = this.hform.HMaterName.replace(/;/g, '');
 				this.hform.HMaterModel = this.hform.HMaterModel.replace(/;/g, '');
-                if (!this.hform.HBarCode) {
-                    uni.showToast({
-                        title: '璇锋壂鎻忚澶囨潯褰㈢爜',
-                        icon: 'none'
-                    })
-                } else if (!this.hform.HProcNo) {
-                    uni.showToast({
-                        title: '璇疯緭鍏�/鎵弿娴佹按鍙�',
-                        icon: 'none'
-                    })
-                } else if (!this.hform.HEmpName) {
-                    uni.showToast({
-                        title: '璇烽�夋嫨鎿嶄綔鍛�',
-                        icon: 'none'
-                    })
-                } else if (!this.hform.HCenterName) {
-                    uni.showToast({
-                        title: '璇烽�夋嫨宸ヤ綔涓績',
-                        icon: 'none'
-                    })
-                } else {
-                    uni.showLoading({
-                        title: '璇风◢鍊�'
-                    })
-                    var sMainStr = JSON.stringify(this.hform);
-                    var sMainSub = sMainStr + ";" + uni.getStorageSync('HUserName') + ";" + this.OperationType;
-                    console.log(sMainSub);
-                    uni.request({
-                        url: this.serverUrl + '/Cj_StationOutBill/AddBill',
-                        method: 'POST',
-                        dataType: "json",
-                        data: {
-                            oMain: sMainSub
-                        },
-                        success: (res) => {
-                            console.log(1, res);
-                            uni.hideLoading()
-                            if (res.data.count == 1) {
-                                // if (uni.getStorageSync('OrganizationID') == 100038) {
-                                // 	if (this.FirstEndHProcNo == 1) {
-                                // 		//姹囨姤
-                                // 		this.huibao()
-                                // 	} else if (this.FirstEndHProcNo == 2) {
-                                // 		//鍏ュ簱
-                                // 		this.ruku()
-                                // 		//鎶ュ簾
-                                // 		this.baofei()
-                                // 	}
-                                // }
+				if (!this.hform.HBarCode) {
+					uni.showToast({
+						title: '璇锋壂鎻忚澶囨潯褰㈢爜',
+						icon: 'none'
+					})
+				} else if (!this.hform.HProcNo) {
+					uni.showToast({
+						title: '璇疯緭鍏�/鎵弿娴佹按鍙�',
+						icon: 'none'
+					})
+				} else if (!this.hform.HEmpName) {
+					uni.showToast({
+						title: '璇烽�夋嫨鎿嶄綔鍛�',
+						icon: 'none'
+					})
+				} else if (!this.hform.HCenterName) {
+					uni.showToast({
+						title: '璇烽�夋嫨宸ヤ綔涓績',
+						icon: 'none'
+					})
+				} else {
+					uni.showLoading({
+						title: '璇风◢鍊�'
+					})
+					var sMainStr = JSON.stringify(this.hform);
+					var sMainSub = sMainStr + ";" + uni.getStorageSync('HUserName') + ";" + this.OperationType;
+					console.log(sMainSub);
+					uni.request({
+						url: this.serverUrl + '/Cj_StationOutBill/AddBill',
+						method: 'POST',
+						dataType: "json",
+						data: {
+							oMain: sMainSub
+						},
+						success: (res) => {
+							console.log(1, res);
+							uni.hideLoading()
+							if (res.data.count == 1) {
+								// if (uni.getStorageSync('OrganizationID') == 100038) {
+								// 	if (this.FirstEndHProcNo == 1) {
+								// 		//姹囨姤
+								// 		this.huibao()
+								// 	} else if (this.FirstEndHProcNo == 2) {
+								// 		//鍏ュ簱
+								// 		this.ruku()
+								// 		//鎶ュ簾
+								// 		this.baofei()
+								// 	}
+								// }
 
-                                // let pages = getCurrentPages();
-                                // let prePage = pages[pages.length - 2]; 
-                                // prePage.$vm.getList()
-                                if (this.isEdit) {
+								// let pages = getCurrentPages();
+								// let prePage = pages[pages.length - 2]; 
+								// prePage.$vm.getList()
+								if (this.isEdit) {
 									uni.showToast({
-									    title: '淇敼鎴愬姛',
-									    icon: 'none'
+										title: '淇敼鎴愬姛',
+										icon: 'none'
 									})
-                                    setTimeout(() => {
-                                        uni.redirectTo({
-                                            url: '/pages/gongxuOut/table'
-                                        })
-                                    }, 1000)
-                                } else {
-                                    uni.showModal({
-                                        title: '鎻愮ず',
-                                        content: res.data.Message + '銆傛槸鍚︾户缁柊澧烇紵(鐐瑰嚮鍙栨秷杩斿洖涓婄骇椤甸潰)',
-                                        success: (res) => {
-                                            if (res.confirm) {
-                                                console.log('鐢ㄦ埛鐐瑰嚮纭畾');
-                                                uni.redirectTo({
-                                                    url: '/pages/gongxuOut/form?OperationType=1'
-                                                })
-                                            } else if (res.cancel) {
-                                                console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
-                                                setTimeout(() => {
-                                                    uni.navigateBack();
-                                                }, 50)
-                                            }
-                                        }
-                                    });
-                                }
-                            } else {
-                                uni.showToast({
-                                    title: res.data.Message,
-                                    icon: 'none'
-                                })
-                            }
-                        },
-                        fail: (res) => {
-                            console.log(res);
-                            uni.showToast({
-                                title: '鎺ュ彛璇锋眰澶辫触',
-                                icon: 'none'
-                            })
-                        },
-                    });
-                }
-            },
-            //瀹℃牳
-            check() {
-                uni.request({
-                    url: this.serverUrl + '/Cj_StationOutBill/set_CheckBill',
-                    method: 'GET',
-                    dataType: "json",
-                    data: {
-                        CurUserName: uni.getStorageSync('HUserName'),
-                        HInterID: this.linterid,
-                        HBillSubType: '',
-                    },
-                    success: (res) => {
-                        console.log(1, res);
-                        uni.hideLoading()
-                        if (res.data.count == 1) {
-                            this.btnType = 3
-                            let pages = getCurrentPages();
-                            let prePage = pages[pages.length - 2];
-                            prePage.$vm.getList()
-                            uni.showModal({
-                                title: '鎿嶄綔鎴愬姛',
-                                content: '鏄惁缁х画鍋滅暀鍦ㄥ綋鍓嶉〉闈紵鈥樻槸鈥欏彲杩涜鍙嶅鏍革紝鈥樺惁鈥欏垯鍥炲埌涓婁竴绾у垪琛�',
-                                confirmText: '鏄�',
-                                cancelText: '鍚�',
-                                success: (res) => {
-                                    if (res.confirm) {
-                                        console.log('鐢ㄦ埛鐐瑰嚮鏄�');
-                                        this.btnType = 3
-                                    } else if (res.cancel) {
-                                        console.log('鐢ㄦ埛鐐瑰嚮鍚�');
-                                        uni.navigateBack()
-                                    }
-                                }
-                            });
-                        }
-                        uni.showToast({
-                            title: res.data.Message,
-                            icon: 'none'
-                        })
-                    },
-                    fail: (res) => {
-                        console.log(res);
-                        uni.showToast({
-                            title: '鎺ュ彛璇锋眰澶辫触',
-                            icon: 'none'
-                        })
-                    },
-                });
-            },
-            //鍙嶅鏍�
-            abandonCheck() {
-                uni.request({
-                    url: this.serverUrl + '/Cj_StationOutBill/set_AbandonCheck',
-                    method: 'GET',
-                    dataType: "json",
-                    data: {
-                        CurUserName: uni.getStorageSync('HUserName'),
-                        HInterID: this.linterid,
-                        HBillSubType: '',
-                    },
-                    success: (res) => {
-                        console.log(1, res);
-                        uni.hideLoading()
-                        if (res.data.count == 1) {
-                            let pages = getCurrentPages();
-                            let prePage = pages[pages.length - 2];
-                            prePage.$vm.getList()
-                            this.btnType = 2
-                            uni.showModal({
-                                title: '鎿嶄綔鎴愬姛',
-                                content: '鏄惁缁х画鍋滅暀鍦ㄥ綋鍓嶉〉闈紵鈥樻槸鈥欏彲杩涜瀹℃牳锛屸�樺惁鈥欏垯鍥炲埌涓婁竴绾у垪琛�',
-                                confirmText: '鏄�',
-                                cancelText: '鍚�',
-                                success: (res) => {
-                                    if (res.confirm) {
-                                        console.log('鐢ㄦ埛鐐瑰嚮鏄�');
-                                        this.btnType = 2
-                                    } else if (res.cancel) {
-                                        console.log('鐢ㄦ埛鐐瑰嚮鍚�');
-                                        uni.navigateBack()
-                                    }
-                                }
-                            });
-                        }
-                        uni.showToast({
-                            title: res.data.Message,
-                            icon: 'none'
-                        })
-                    },
-                    fail: (res) => {
-                        console.log(res);
-                        uni.showToast({
-                            title: '鎺ュ彛璇锋眰澶辫触',
-                            icon: 'none'
-                        })
-                    },
-                });
-            },
-            goBack() {
-                uni.showModal({
-                    title: '鎻愮ず',
-                    content: '纭瑕侀��鍑哄綋鍓嶉〉闈㈠悧锛�',
-                    success: (res) => {
-                        if (res.confirm) {
-                            console.log('鐢ㄦ埛鐐瑰嚮纭畾');
-                            uni.navigateBack()
-                        } else if (res.cancel) {
-                            console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
-                        }
-                    }
-                });
-            }
-        }
-    }
+									setTimeout(() => {
+										uni.redirectTo({
+											url: '/pages/gongxuOut/table'
+										})
+									}, 1000)
+								} else {
+									uni.showModal({
+										title: '鎻愮ず',
+										content: res.data.Message + '銆傛槸鍚︾户缁柊澧烇紵(鐐瑰嚮鍙栨秷杩斿洖涓婄骇椤甸潰)',
+										success: (res) => {
+											if (res.confirm) {
+												console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+												uni.redirectTo({
+													url: '/pages/gongxuOut/form?OperationType=1'
+												})
+											} else if (res.cancel) {
+												console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+												setTimeout(() => {
+													uni.navigateBack();
+												}, 50)
+											}
+										}
+									});
+								}
+							} else {
+								uni.showToast({
+									title: res.data.Message,
+									icon: 'none'
+								})
+							}
+						},
+						fail: (res) => {
+							console.log(res);
+							uni.showToast({
+								title: '鎺ュ彛璇锋眰澶辫触',
+								icon: 'none'
+							})
+						},
+					});
+				}
+			},
+			//瀹℃牳
+			check() {
+				uni.request({
+					url: this.serverUrl + '/Cj_StationOutBill/set_CheckBill',
+					method: 'GET',
+					dataType: "json",
+					data: {
+						CurUserName: uni.getStorageSync('HUserName'),
+						HInterID: this.linterid,
+						HBillSubType: '',
+					},
+					success: (res) => {
+						console.log(1, res);
+						uni.hideLoading()
+						if (res.data.count == 1) {
+							this.btnType = 3
+							let pages = getCurrentPages();
+							let prePage = pages[pages.length - 2];
+							prePage.$vm.getList()
+							uni.showModal({
+								title: '鎿嶄綔鎴愬姛',
+								content: '鏄惁缁х画鍋滅暀鍦ㄥ綋鍓嶉〉闈紵鈥樻槸鈥欏彲杩涜鍙嶅鏍革紝鈥樺惁鈥欏垯鍥炲埌涓婁竴绾у垪琛�',
+								confirmText: '鏄�',
+								cancelText: '鍚�',
+								success: (res) => {
+									if (res.confirm) {
+										console.log('鐢ㄦ埛鐐瑰嚮鏄�');
+										this.btnType = 3
+									} else if (res.cancel) {
+										console.log('鐢ㄦ埛鐐瑰嚮鍚�');
+										uni.navigateBack()
+									}
+								}
+							});
+						}
+						uni.showToast({
+							title: res.data.Message,
+							icon: 'none'
+						})
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			//鍙嶅鏍�
+			abandonCheck() {
+				uni.request({
+					url: this.serverUrl + '/Cj_StationOutBill/set_AbandonCheck',
+					method: 'GET',
+					dataType: "json",
+					data: {
+						CurUserName: uni.getStorageSync('HUserName'),
+						HInterID: this.linterid,
+						HBillSubType: '',
+					},
+					success: (res) => {
+						console.log(1, res);
+						uni.hideLoading()
+						if (res.data.count == 1) {
+							let pages = getCurrentPages();
+							let prePage = pages[pages.length - 2];
+							prePage.$vm.getList()
+							this.btnType = 2
+							uni.showModal({
+								title: '鎿嶄綔鎴愬姛',
+								content: '鏄惁缁х画鍋滅暀鍦ㄥ綋鍓嶉〉闈紵鈥樻槸鈥欏彲杩涜瀹℃牳锛屸�樺惁鈥欏垯鍥炲埌涓婁竴绾у垪琛�',
+								confirmText: '鏄�',
+								cancelText: '鍚�',
+								success: (res) => {
+									if (res.confirm) {
+										console.log('鐢ㄦ埛鐐瑰嚮鏄�');
+										this.btnType = 2
+									} else if (res.cancel) {
+										console.log('鐢ㄦ埛鐐瑰嚮鍚�');
+										uni.navigateBack()
+									}
+								}
+							});
+						}
+						uni.showToast({
+							title: res.data.Message,
+							icon: 'none'
+						})
+					},
+					fail: (res) => {
+						console.log(res);
+						uni.showToast({
+							title: '鎺ュ彛璇锋眰澶辫触',
+							icon: 'none'
+						})
+					},
+				});
+			},
+			goBack() {
+				uni.showModal({
+					title: '鎻愮ず',
+					content: '纭瑕侀��鍑哄綋鍓嶉〉闈㈠悧锛�',
+					success: (res) => {
+						if (res.confirm) {
+							console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+							uni.navigateBack()
+						} else if (res.cancel) {
+							console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+						}
+					}
+				});
+			}
+		}
+	}
 </script>
 
 <style lang="scss" scoped>
-    .form {
-        width: 668rpx;
-        margin: 20rpx auto;
-        padding-bottom: 240rpx;
-    }
-	picker input{
+	.form {
+		width: 668rpx;
+		margin: 20rpx auto;
+		padding-bottom: 240rpx;
+	}
+
+	picker input {
 		pointer-events: none;
 	}
-    .tab_area {
-        width: 100%;
-        height: 50rpx;
-    }
 
-    .other {
-        margin-top: 8rpx;
-        text-align: center;
-        font-size: 28rpx;
-        padding: 4rpx 18rpx;
-        color: #1890FF;
-    }
+	.tab_area {
+		width: 100%;
+		height: 50rpx;
+	}
 
-    .form-item {
-        display: flex;
-        align-items: center;
-        font-size: 30rpx;
-        padding: 6rpx 0;
+	.other {
+		margin-top: 8rpx;
+		text-align: center;
+		font-size: 28rpx;
+		padding: 4rpx 18rpx;
+		color: #1890FF;
+	}
 
-        .title {
-            width: 208rpx;
+	.form-item {
+		display: flex;
+		align-items: center;
+		font-size: 30rpx;
+		padding: 6rpx 0;
+		position: relative;
 
-            text {
-                color: red;
-                font-weight: bold;
-            }
-        }
+		.title {
+			width: 208rpx;
 
-        .right {
-            width: 450rpx;
-            border-radius: 22rpx;
-            border: 1px solid #acacac;
-        }
+			text {
+				color: red;
+				font-weight: bold;
+			}
+		}
 
-        .righton {
-            width: 450rpx;
-            border-radius: 22rpx;
-            border: 1px solid #e4e4e4;
-            background-color: #e4e4e4;
-        }
+		.right {
+			height: inherit;
+			flex: 1;
+			border-radius: 22rpx;
+			border: 1px solid #acacac;
+		}
 
-        input {
-            width: 100%;
-            padding: 8rpx 20rpx;
-            font-size: 30rpx;
-        }
+		.righton {
+			flex: 1;
+			border-radius: 22rpx;
+			border: 1px solid #e4e4e4;
+			background-color: #e4e4e4;
+		}
 
-        textarea {
-            width: 98%;
-            padding: 8rpx 20rpx;
-            font-size: 30rpx;
-        }
+		input {
+			width: 100%;
+			padding: 8rpx 20rpx;
+			font-size: 30rpx;
+		}
 
-    }
+		textarea {
+			width: 98%;
+			padding: 8rpx 20rpx;
+			font-size: 30rpx;
+		}
 
-    .op {
-        display: flex;
-        justify-content: space-around;
+	}
 
-        button {
-            padding: 0;
-            width: 150rpx;
-            font-size: 25rpx;
-        }
+	.op {
+		display: flex;
+		justify-content: space-around;
 
-        .op1 {
-            border: 1px solid #3a78ff;
-            color: #3a78ff;
-            background-color: rgba(58, 120, 255, 0.1);
-        }
+		button {
+			padding: 0;
+			width: 150rpx;
+			font-size: 25rpx;
+		}
 
-        .op2 {
-            border: 1px solid #41a863;
-            color: #41a863;
-            background-color: rgba(65, 168, 99, 0.1);
-        }
+		.op1 {
+			border: 1px solid #3a78ff;
+			color: #3a78ff;
+			background-color: rgba(58, 120, 255, 0.1);
+		}
 
-        .op3 {
-            border: 1px solid #da0000;
-            color: #da0000;
-            background-color: rgba(218, 0, 0, 0.1);
-        }
-    }
+		.op2 {
+			border: 1px solid #41a863;
+			color: #41a863;
+			background-color: rgba(65, 168, 99, 0.1);
+		}
 
-    .has-ticking {
-        display: flex;
-        flex-direction: row;
-        justify-content: right;
-    }
+		.op3 {
+			border: 1px solid #da0000;
+			color: #da0000;
+			background-color: rgba(218, 0, 0, 0.1);
+		}
+	}
 
-    .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;
+	.has-ticking {
+		display: flex;
+		flex-direction: row;
+		justify-content: right;
+	}
 
-        button {
-            border-radius: 50rpx;
-            width: 180rpx;
-            height: 66rpx;
-            line-height: 66rpx;
-            font-size: 28rpx;
-        }
+	.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;
 
-        .btn-a {
-            background-color: #3A78FF;
-            color: #fff;
-        }
+		button {
+			border-radius: 50rpx;
+			width: 180rpx;
+			height: 66rpx;
+			line-height: 66rpx;
+			font-size: 28rpx;
+		}
 
-        .btn-b {
-            background-color: #41a863;
-            color: #fff;
-            // margin-left: 30rpx;
-        }
+		.btn-a {
+			background-color: #3A78FF;
+			color: #fff;
+		}
 
-        .btn-c {
-            background-color: #acacac;
-            color: #fff;
-            // position: absolute;
-            // right: 120rpx;
-        }
+		.btn-b {
+			background-color: #41a863;
+			color: #fff;
+			// margin-left: 30rpx;
+		}
 
-        .btn-d {
-            background-color: #ff8901;
-            color: #fff;
-            // margin-left: 30rpx;
-        }
-    }
+		.btn-c {
+			background-color: #acacac;
+			color: #fff;
+			// position: absolute;
+			// right: 120rpx;
+		}
 
-    .tick-wrapper {
-        display: flex;
-        flex-direction: row;
-        gap: 20rpx;
+		.btn-d {
+			background-color: #ff8901;
+			color: #fff;
+			// margin-left: 30rpx;
+		}
+	}
 
-        .form-item:nth-child(1) {
-            flex: 1;
+	.tick-wrapper {
+		display: flex;
+		flex-direction: row;
+		gap: 20rpx;
 
-            >.title {
-                width: 208rpx;
-                flex-shrink: 0;
-            }
+		.form-item:nth-child(1) {
+			flex: 1;
 
-            >.right {
-                width: inherit;
-                display: flex;
+			>.title {
+				width: 208rpx;
+				flex-shrink: 0;
+			}
 
-                input {
-                    width: inherit;
-                }
-            }
-        }
+			>.right {
+				width: inherit;
+				display: flex;
 
-        .form-item:nth-child(2) {}
+				input {
+					width: inherit;
+				}
+			}
+		}
 
-    }
+		.form-item:nth-child(2) {}
+
+	}
 </style>
\ No newline at end of file
diff --git a/pages/weiwaigxIn/form.vue b/pages/weiwaigxIn/form.vue
index 5706239..ff0287a 100644
--- a/pages/weiwaigxIn/form.vue
+++ b/pages/weiwaigxIn/form.vue
@@ -68,6 +68,7 @@
 				<view class="right">
 					<picker mode="date" v-model="hform.HDate" @change="HDateChange">
 						<input disabled v-model="hform.HDate" placeholder="璇烽�夋嫨鏃ユ湡" />
+						<view class="picker-overlay"></view>
 					</picker>
 				</view>
 			</view>
@@ -1104,6 +1105,8 @@
 		align-items: center;
 		font-size: 30rpx;
 		padding: 6rpx 0;
+		position: relative;
+		
 		.title{
 			width: 208rpx;
 			text{
diff --git a/pages/weiwaigxOut/form.vue b/pages/weiwaigxOut/form.vue
index c63fdbf..58f2f08 100644
--- a/pages/weiwaigxOut/form.vue
+++ b/pages/weiwaigxOut/form.vue
@@ -21,10 +21,10 @@
 					size="20" @click="toScanProcNo"></uni-icons>
 			</view>
 			<view class="form-item">
-			    <view class="title">宸ュ簭缂栫爜:</view>
-			    <view class="righton">
-			        <input disabled v-model="hform.HProcNumber" placeholder="璇疯緭鍏ュ伐搴忕紪鐮�" />
-			    </view>
+				<view class="title">宸ュ簭缂栫爜:</view>
+				<view class="righton">
+					<input disabled v-model="hform.HProcNumber" placeholder="璇疯緭鍏ュ伐搴忕紪鐮�" />
+				</view>
 			</view>
 			<view class="form-item">
 				<view class="title">鏈姤宸ユ暟閲�:</view>
@@ -108,6 +108,7 @@
 				<view class="right">
 					<picker mode="date" v-model="hform.HDate" @change="HDateChange">
 						<input disabled v-model="hform.HDate" placeholder="璇烽�夋嫨鏃ユ湡" />
+						<view class="picker-overlay"></view>
 					</picker>
 				</view>
 			</view>
@@ -376,7 +377,9 @@
 		getUserInfo
 	} from "@/utils/auth.js";
 	import ProcExchListPopupVue from '../../components/ProcExchListPopup/ProcExchListPopup.vue';
-import { CommonUtils } from '../../utils/common';
+	import {
+		CommonUtils
+	} from '../../utils/common';
 	export default {
 		components: {
 			ProcExchListPopupVue
@@ -688,30 +691,33 @@
 			},
 			getHDeptList() { // 鑾峰緱閮ㄩ棬
 				CommonUtils.doRequest(
-				"/Gy_Department/list",
-				{
-					sWhere: ` and HUSEORGID=${uni.getStorageSync('OrganizationID')}`,
-					user: this.userInfo['Czymc'],
-					Organization: uni.getStorageSync('Organization')
-				},
-				(res) => {
-					let {data, count, Message} = res.data
-					console.log('data: ',data);
-					if(count == 1) {
-						this.HDeptList = data
-						this.arrayHDept = Array.from(data).map(e => e['閮ㄩ棬鍚嶇О'])
-					}else {
-						uni.showToast({
-							icon: 'none',
-							Message: Message
-						})
+					"/Gy_Department/list", {
+						sWhere: ` and HUSEORGID=${uni.getStorageSync('OrganizationID')}`,
+						user: this.userInfo['Czymc'],
+						Organization: uni.getStorageSync('Organization')
+					},
+					(res) => {
+						let {
+							data,
+							count,
+							Message
+						} = res.data
+						console.log('data: ', data);
+						if (count == 1) {
+							this.HDeptList = data
+							this.arrayHDept = Array.from(data).map(e => e['閮ㄩ棬鍚嶇О'])
+						} else {
+							uni.showToast({
+								icon: 'none',
+								Message: Message
+							})
+						}
 					}
-				}
 				)
 			},
 			HHDeptChange(e) {
 				for (var i = 0; i < this.HDeptList.length; i++) {
-					if (this.HDeptList[i]['閮ㄩ棬鍚嶇О']== e) {
+					if (this.HDeptList[i]['閮ㄩ棬鍚嶇О'] == e) {
 						this.hform.HDeptID = this.HDeptList[i].HItemID
 					}
 				}
@@ -883,7 +889,7 @@
 						console.log(1, res.data.data[0]);
 						if (res.data.code == 1) {
 							var data = res.data.data[0]
-							this.getHBarCodeData(data.HBarCode,1)
+							this.getHBarCodeData(data.HBarCode, 1)
 							// this.getHProcNoData(data.HBarCode, data.HProcNo)
 
 							this.hform.HInterID = data.HInterID
@@ -986,7 +992,7 @@
 							this.hform.HProcExchHinteID = data.hmainid
 							this.hform.HPRDOrg = data.缁勭粐鍚嶇О
 							this.hform.HPRDOrgID = data.HPRDORGID
-							
+
 							if (e) {
 								this.getHProcNoData(this.hform.HBarCode, this.hform.HProcNo)
 							}
@@ -1079,7 +1085,7 @@
 			},
 			submit() {
 				//鍘婚櫎鍒嗗彿浠ュ厤鍚庣鍒嗚В鎶ラ敊
-				this.hform.HMaterName= this.hform.HMaterName.replace(/;/g, '');
+				this.hform.HMaterName = this.hform.HMaterName.replace(/;/g, '');
 				this.hform.HMaterModel = this.hform.HMaterModel.replace(/;/g, '');
 				if (!this.hform.HBarCode) {
 					uni.showToast({
@@ -1131,8 +1137,8 @@
 								// prePage.$vm.getList()
 								if (this.isEdit) {
 									uni.showToast({
-									    title: '淇敼鎴愬姛',
-									    icon: 'none'
+										title: '淇敼鎴愬姛',
+										icon: 'none'
 									})
 									setTimeout(() => {
 										uni.redirectTo({
@@ -1318,6 +1324,7 @@
 		font-size: 30rpx;
 		padding: 6rpx 0;
 		gap: 10rpx;
+		position: relative;
 
 		.title {
 			width: 188rpx;

--
Gitblit v1.9.1