From 196e1b3cf2017cfa25038f9c8ef5071e046f0abf Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期一, 12 一月 2026 16:45:25 +0800
Subject: [PATCH] Merge branch 'Dev' of http://101.37.171.70:10101/r/~jhz/STUWMS into Dev

---
 pages/ZLGL/checkFlowList/QC_CheckBillflowList.vue             |    3 
 manifest.json                                                 |   17 +--
 pages/jishikucunchaxun/table.vue                              |    3 
 pages.json                                                    |   48 +++++----
 pages/ZLGL/QualityReportStep/QualityReportStepBill.vue        |  177 ++---------------------------------
 .hbuilderx/launch.json                                        |    4 
 pages/ZLGL/lailiaojianyan_fast/Kf_QCStockInCheckBill_Fast.vue |    6 
 7 files changed, 54 insertions(+), 204 deletions(-)

diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json
index a7d9080..4dd14cd 100644
--- a/.hbuilderx/launch.json
+++ b/.hbuilderx/launch.json
@@ -21,11 +21,11 @@
             "type" : "uni-app:app-ios"
         },
         {
-            "customPlaygroundType" : "local",
+            "customPlaygroundType" : "device",
             "localRepoPath" : "D:/WorkBench/ZY_APP_Dev/STUWMS/unpackage/debug",
             "openVueDevtools" : true,
             "packageName" : "com.shebeiguanli.www",
-            "playground" : "custom",
+            "playground" : "standard",
             "type" : "uni-app:app-android"
         }
     ]
diff --git a/manifest.json b/manifest.json
index 1cbe8d4..82d78ad 100644
--- a/manifest.json
+++ b/manifest.json
@@ -16,6 +16,10 @@
             "autoclose" : true,
             "delay" : 0
         },
+		"screenOrientation": [          //鍙�夛紝瀛楃涓叉暟缁勭被鍨嬶紝搴旂敤鏀寔鐨勬í绔栧睆
+			"portrait-primary",                 //鍙�夛紝瀛楃涓茬被鍨嬶紝鏀寔绔栧睆
+			"portrait-secondary"               //鍙�夛紝瀛楃涓茬被鍨嬶紝鏀寔鍙嶅悜绔栧睆
+		],
         /* 妯″潡閰嶇疆 */
         "modules" : {
             "Camera" : {},
@@ -151,18 +155,7 @@
         "enable" : false
     },
     "vueVersion" : "2",
-    "orientation" : [
-        //绔栧睆姝f柟鍚�
-        "portrait-primary",
-        //绔栧睆鍙嶆柟鍚�
-        "portrait-secondary",
-        //妯睆姝f柟鍚�
-        "landscape-primary",
-        //妯睆鍙嶆柟鍚�
-        "landscape-secondary",
-        //鑷劧鏂瑰悜
-        "default"
-    ],
+    
     "locale" : "zh-Hans",
     "fallbackLocale" : "zh-Hans"
 }
diff --git a/pages.json b/pages.json
index 5bed573..e55bf90 100644
--- a/pages.json
+++ b/pages.json
@@ -341,7 +341,16 @@
 			"style": {
 				"navigationBarTitleText": "閲囪喘閫�鏂欏垪琛�",
 				"enablePullDownRefresh": true
-			}
+            }
+        },
+        {
+            "path" : "pages/ZLGL/QualityReportStep/QualityReportStepBill",
+            "style" : 
+            {
+                "navigationBarTitleText" : "鍏ㄦ妫�楠屽崟(涓嶈壇姹囨姤)",
+				"pageOrientation": "auto"
+				
+            }
 		},
 		{
 			"path": "pages/caigoutuiliao/POStockInBackBill",
@@ -1585,7 +1594,7 @@
 				"pagePath": "pages/index/tab4",
 				"iconPath": "static/tabBar/icon3.png",
 				"selectedIconPath": "static/tabBar/icon3-default.png",
-				"text": "璐ㄩ噺绠$悊"
+				"text": "璐ㄩ噺绠$悊" 
 			},
 			{
 				"pagePath": "pages/index/tab2",
@@ -1599,22 +1608,21 @@
 				"selectedIconPath": "static/tabBar/user-default.png",
 				"text": "鎴戠殑"
 			}
-		]
-	},
-	"globalStyle": {
-		"navigationBarTextStyle": "white",
-		"navigationBarTitleText": "璁惧绠$悊",
-		"navigationBarBackgroundColor": "#3A78FF",
-		"backgroundColor": "#F8F8F8",
-		"pageOrientation": "default"
-	},
-	"uniIdRouter": {},
-	"condition": { //妯″紡閰嶇疆锛屼粎寮�鍙戞湡闂寸敓鏁�
-		"current": 0, //褰撳墠婵�娲荤殑妯″紡(list 鐨勭储寮曢」)
-		"list": [{
-			"name": "", //妯″紡鍚嶇О
-			"path": "", //鍚姩椤甸潰锛屽繀閫�
-			"query": "" //鍚姩鍙傛暟锛屽湪椤甸潰鐨刼nLoad鍑芥暟閲岄潰寰楀埌
-		}]
-	}
+        ]
+    },
+    "globalStyle": {
+        "navigationBarTextStyle": "white",
+        "navigationBarTitleText": "璁惧绠$悊",
+        "navigationBarBackgroundColor": "#3A78FF",
+        "backgroundColor": "#F8F8F8"
+    },
+    "uniIdRouter": {},
+    "condition": { //妯″紡閰嶇疆锛屼粎寮�鍙戞湡闂寸敓鏁�
+        "current": 0, //褰撳墠婵�娲荤殑妯″紡(list 鐨勭储寮曢」)
+        "list": [{
+            "name": "", //妯″紡鍚嶇О
+            "path": "", //鍚姩椤甸潰锛屽繀閫�
+            "query": "" //鍚姩鍙傛暟锛屽湪椤甸潰鐨刼nLoad鍑芥暟閲岄潰寰楀埌
+        }]
+    }
 }
\ No newline at end of file
diff --git a/pages/ZLGL/QualityReportStep/QualityReportStepBill.vue b/pages/ZLGL/QualityReportStep/QualityReportStepBill.vue
index 191b607..049ddb9 100644
--- a/pages/ZLGL/QualityReportStep/QualityReportStepBill.vue
+++ b/pages/ZLGL/QualityReportStep/QualityReportStepBill.vue
@@ -466,7 +466,13 @@
 				});
 			},
 			async getGy_BadReasonList() {
-				let sWhere = ` and HUSEORGID = '${uni.getStorageSync('OrganizationID')}' and ISNULL(瀹℃牳浜�,'')  != '' order by 涓嶈壇鍘熷洜浠g爜`
+				let sWhere = ` and HUSEORGID = '${uni.getStorageSync('OrganizationID')}' and ISNULL(瀹℃牳浜�,'')  != '' `
+				if (this.serverUrl == 'http://122.228.39.234:7177/API/') {
+				    //娴疯瘹鏍规嵁鐗╂枡鍒嗙粍璁剧疆涓嶈壇鍘熷洜
+					sWhere += " and 涓嶈壇绫诲瀷 like '%鎴愬搧%' order by 涓嶈壇鍘熷洜浠g爜"
+				}else{
+					sWhere += " order by 涓嶈壇鍘熷洜浠g爜"
+				}
 				let res = await CommonUtils.doRequest2Async({
 					url: "/Gy_BadReason/list",
 					data: {
@@ -709,7 +715,7 @@
 					let res = await CommonUtils.doRequest2Async({
 						url: "/Gy_Employee/list",
 						data: {
-							sWhere: ` and 缁勭粐鍚嶇О = '${uni.getStorageSync("Organization")}' and 绂佺敤鏍囪 = ''and 瀹℃牳浜� !='' order by 閮ㄩ棬浠g爜`,
+							sWhere: ` and 绂佺敤鏍囪 = '' order by 閮ㄩ棬浠g爜`,
 							user: getUserInfo()["Czymc"],
 							Organization: uni.getStorageSync("Organization"),
 						},
@@ -744,7 +750,7 @@
 					let res = await CommonUtils.doRequest2Async({
 						url: "/Gy_Source/list",
 						data: {
-							sWhere: `and 绂佺敤鏍囪 != 'Y' and ISNULL(瀹℃牳浜�,'')  != '' and 缁勭粐 = '${uni.getStorageSync("Organization")}'`,
+							sWhere: `and 绂佺敤鏍囪 != 'Y' and 缁勭粐 = '${uni.getStorageSync("Organization")}'`,
 							user: getUserInfo()["Czymc"],
 						},
 					});
@@ -776,7 +782,7 @@
 					let res = await CommonUtils.doRequest2Async({
 						url: "/Gy_Group/list",
 						data: {
-							sWhere: `and 绂佺敤鏍囪 != 'Y' and ISNULL(瀹℃牳浜�,'')  != '' and 缁勭粐 = '${uni.getStorageSync("Organization")}'`,
+							sWhere: `and 绂佺敤鏍囪 != 'Y' and 缁勭粐 = '${uni.getStorageSync("Organization")}'`,
 							user: getUserInfo()["Czymc"],
 						},
 					});
@@ -1014,164 +1020,7 @@
 			goBack() {
 				uni.navigateBack();
 			},
-			async RoadBillMain() {
-				try {
-					let res = await CommonUtils.doRequest2Async({
-						url: "/QC_ProcessCheckBill/QC_ProcessCheckBill_Edit",
-						data: {
-							sWhere: ` and hmainid=${this.hform.HInterID}`,
-							user: getUserInfo()["Czymc"],
-						},
-					});
-
-					let {
-						data,
-						count,
-						Message
-					} = res.data;
-
-					if (count == 1) {
-						console.log("RoadBillMain: : ", data);
-						Object.assign(this.hform, {
-							HInterID: data[0].hmainid,
-							HBillNo: data[0].鍗曟嵁鍙�,
-							HDate: dayjs(data[0].鏃ユ湡).format("YYYY-MM-DD"),
-							HSourceID: data[0].HSourceID,
-							HSourceName: data[0].鐢熶骇璧勬簮鍚嶇О,
-							HICMOBillNo: data[0].浠诲姟鍗曞彿,
-							HICMOQty: data[0].浠诲姟鍗曟暟閲�,
-							HICMOInterID: data[0].HICMOInterID,
-							HICMOEntryID: data[0].HICMOEntryID || 1,
-							HMaterID: data[0].HMaterID,
-							HMaterName: data[0].鐗╂枡鍚嶇О,
-							HMaterNumber: data[0].鐗╂枡浠g爜,
-							HProcID: data[0].HProcID,
-							HProcName: data[0].HProcName,
-							HProcExchQty: data[0].HProcExchQty || 0,
-							HProcExchBillNo: data[0].HProcExchBillNo,
-							HProcExchInterID: data[0].HProcExchInterID,
-							HProcExchEntryID: data[0].HProcExchEntryID || 0,
-							HFirstCheckEmp: data[0].HFirstCheckEmp,
-							HFirstCheckEmpName: data[0].璐ㄦ鍛樺悕绉�,
-							HQCSchemeID: data[0].妫�楠屾柟妗圛D,
-							HQCSchemeName: data[0].妫�楠屾柟妗堝悕绉�,
-							HRemark: data[0].琛ㄥご澶囨敞,
-							HMaker: data[0].鍒跺崟浜�,
-							HMakeDate: data[0].鍒跺崟鏃ユ湡,
-							HChecker: data[0].瀹℃牳浜�,
-							HCheckDate: data[0].瀹℃牳鏃ユ湡,
-							HCloseMan: data[0].鍏抽棴浜�,
-							HCloseDate: data[0].鍏抽棴鏃ユ湡,
-							HUpDateDate: data[0].淇敼鏃ユ湡,
-							HDeleteDate: data[0].浣滃簾鏃ユ湡,
-							HSampleSchemeID: data[0].HSampleSchemeID,
-							HSampleSchemeName: data[0].鎶芥牱鏂规鍚嶇О,
-							HSampleQty: data[0].鏍锋湰閲�,
-							HSampleQty2: data[0].鏍锋湰閲�,
-							HSampleDamageQty: data[0].鏍锋湰鐮村潖鏁�,
-							HSamplingType: data[0].鎶芥牱绫诲瀷,
-							HAcceptQty: data[0].鍏佽鏁�,
-							HInspectionLevel: data[0].妫�楠屾按骞�,
-							HRejectQty: data[0].鎷掔粷鏁�,
-							HStrictness: data[0].涓ユ牸搴�,
-							HSampleUnRightQty: data[0].鏍锋湰涓嶅悎鏍兼暟 || 0,
-							HSampleUnRightQty2: data[0].鏍锋湰涓嶅悎鏍兼暟,
-							HAQL: data[0].AQL,
-							HUnitID: data[0].HUnitID,
-							HUnit: data[0].鍗曚綅,
-							HInspectValB: data[0].妫�娴嬪�煎熀纭�璧勬枡,
-							HInspectVal: data[0].妫�娴嬪��,
-							HTargetValB: data[0].鐩爣鍊煎熀纭�璧勬枡,
-							HTargetVal: data[0].鐩爣鍊�,
-							HUpLimit: data[0].涓婇檺鍊�,
-							HDownLimit: data[0].涓嬮檺鍊�,
-							HUpOffSet: data[0].涓婂亸宸�,
-							HDownOffSet: data[0].涓嬪亸宸�,
-							HEntryID: data[0].hsubid,
-							HQCCheckItemName: data[0].妫�楠岄」鐩悕绉�,
-							HQCCheckItemID: data[0].HQCCheckItemID,
-							HShiftsID: data[0].HShiftsID,
-							HShiftsName: data[0].鐝鍚嶇О,
-							HErrTreatment: data[0].寮傚父涓存椂澶勭悊鏂规,
-							HBatchNo: data[0].鎵瑰彿,
-							HCheckerResult: data[0].鍒ゅ畾缁撹 == "鍚堟牸" ? true : false,
-							HTakeSampleCheckBillID: data[0].HTakeSampleCheckBillID,
-							HTakeSampleCheckBillNo: data[0].HTakeSampleCheckBillNo,
-							HAnalysisMethod: function() {
-								if (data[0].HAnalysisMethod == 1) {
-									return '瀹氭�ф楠�'
-								} else if (data[0].HAnalysisMethod == 2) {
-									return '瀹氶噺妫�楠�'
-								} else {
-									return '鍏朵粬妫�楠�'
-								}
-							}(),
-
-
-
-						});
-
-						for (let i = 0; i < data.length; i++) {
-							this.addCheckItem({
-								HQCCheckItemID: data[i].HQCCheckItemID,
-								HQCCheckItemNumber: data[i].妫�楠岄」鐩唬鐮�,
-								HQCCheckItemName: data[i].妫�楠岄」鐩悕绉�,
-								HInspectInstruMentID: data[i].HInspectInstruMentID,
-								HInspectInstruMentNumber: data[i].妫�楠屼华鍣ㄤ唬鐮�,
-								HInspectInstruMentName: data[i].妫�楠屼华鍣ㄥ悕绉�,
-								HQCStd: data[i].妫�楠屾爣鍑�,
-								HUnit: data[i].鍗曚綅鍚嶇О,
-								HQCNote: data[i].妫�楠岃褰�,
-								HResult: data[i].缁撹 == "鍚堟牸" ? 1 : 0,
-								HMax: data[i].鏈�澶у��,
-								HMin: data[i].鏈�灏忓��,
-								HAvg: data[i].骞冲潎鍊�,
-								HRemark: data[i].琛ㄤ綋澶囨敞,
-								HAnalysisMethod: data[i].鍒嗘瀽鏂规硶 == "瀹氭�у垎鏋�" ?
-									1 : data[i].鍒嗘瀽鏂规硶 == "瀹氶噺鍒嗘瀽" ?
-									2 : 3,
-								HKeyInspect: data[i].閲嶇偣妫�鏌� == "鍚�" ? false : true,
-								HSampleSchemeID: data[i].HSampleSchemeID,
-								HUnitID: data[i].HUnitID,
-								HInspectVal: data[i].妫�娴嬪��,
-								HTargetVal: data[i].鐩爣鍊�,
-								HUpLimit: data[i].涓婇檺鍊�,
-								HDownLimit: data[i].涓嬮檺鍊�,
-								HUpOffSet: data[i].涓婂亸宸�,
-								HDownOffSet: data[i].涓嬪亸宸�,
-								HSampleDamageQty: data[i].鏍锋湰鐮村潖鏁�,
-								HSampleSchemeName: data[i].鎶芥牱鏂规鍚嶇О,
-								HSampleQty: data[i].鏍锋湰閲�,
-								HSampleDamageQty: data[i].鏍锋湰鐮村潖鏁�,
-								HAcceptQty: data[i].鍏佽鏁�,
-								HInspectionLevel: 0,
-								HRejectQty: data[i].鎷掔粷鏁�,
-								HStrictness: 0,
-								HSampleUnRightQty: data[i].鏍锋湰涓嶅悎鏍兼暟,
-								HAQL: data[i].AQL,
-								HSamplingType: 0,
-								HSamplingType: data[i].鎶芥牱绫诲瀷,
-								HStrictness: data[i].涓ユ牸搴�,
-								HInspectResultToSee: data[i].妫�楠岀粨鏋�
-							});
-
-						}
-
-
-						this.hasSourceBill = true
-					} else {
-						CommonUtils.showTips({
-							title: "娓╅Θ鎻愮ず",
-							message: `鍔犺浇鍗曟嵁澶辫触: ${Message}`,
-						});
-					}
-				} catch (err) {
-					CommonUtils.showTips({
-						title: "娓╅Θ鎻愮ず",
-						message: `鍔犺浇鍗曟嵁澶辫触: ${err}`,
-					});
-				}
-			},
+			
 		},
 		async onLoad(e) {
 			this.operationType = e.operationType || 1;
@@ -1180,9 +1029,7 @@
 				await this.getMaxBillNo();
 			} else if (this.operationType == 2) {
 
-			} else if (this.operationType == 3) {
-				await this.RoadBillMain();
-			}
+			} 
 			this.getGy_BadReasonList();
 			await this.InitHSource();
 			await this.InitHEmp();
diff --git a/pages/ZLGL/checkFlowList/QC_CheckBillflowList.vue b/pages/ZLGL/checkFlowList/QC_CheckBillflowList.vue
index b008d73..fe425fb 100644
--- a/pages/ZLGL/checkFlowList/QC_CheckBillflowList.vue
+++ b/pages/ZLGL/checkFlowList/QC_CheckBillflowList.vue
@@ -68,7 +68,8 @@
 				</view>
 				<view class="op" v-if="operations == index">
 					<button class="op3" size="mini" plain @tap.stop="audit(item, 0)">瀹℃牳</button>
-					<button class="op3" size="mini" plain @tap.stop="Reject(item)">椹冲洖</button>
+					<button class="op3" size="mini" plain @tap.stop="audit(item, 1)">鍙嶅鏍�</button>
+					<!-- <button class="op3" size="mini" plain @tap.stop="Reject(item)">椹冲洖</button> -->
 					<button class="op5" size="mini" plain @tap.stop="operations = -1">鍙栨秷鎿嶄綔</button>
 				</view>
 			</uni-card>
diff --git a/pages/ZLGL/lailiaojianyan_fast/Kf_QCStockInCheckBill_Fast.vue b/pages/ZLGL/lailiaojianyan_fast/Kf_QCStockInCheckBill_Fast.vue
index 34d0e38..37fb1b4 100644
--- a/pages/ZLGL/lailiaojianyan_fast/Kf_QCStockInCheckBill_Fast.vue
+++ b/pages/ZLGL/lailiaojianyan_fast/Kf_QCStockInCheckBill_Fast.vue
@@ -470,15 +470,13 @@
 
             },
             HCheckResultChangeHandle(e) {
-
                 this.detailManifestItem.HCheckResult =
-                    this.HCheckResultList.find(elem => elem.text = e)?.value
+                    this.HCheckResultList.find(elem => elem.text == e)?.value
 
             },
             HUseResultChangeHandle(e) {
-
                 this.detailManifestItem.HUseResult =
-                    this.HUseResultList.find(elem => elem.text = e)?.value
+                    this.HUseResultList.find(elem => elem.text == e)?.value
 
             },
             async toDetail(item, index) {
diff --git a/pages/jishikucunchaxun/table.vue b/pages/jishikucunchaxun/table.vue
index 90ddd46..719d382 100644
--- a/pages/jishikucunchaxun/table.vue
+++ b/pages/jishikucunchaxun/table.vue
@@ -45,6 +45,9 @@
                         <view class="detail" v-if="item['浠撲綅']">
                             <text>浠撲綅锛�</text>{{item['浠撲綅']}}
                         </view>
+						<view class="detail" v-if="item['渚涘簲鍟�']">
+						    <text>渚涘簲鍟嗭細</text>{{item['渚涘簲鍟�']}}
+						</view>
                         <view class="detail" v-if="item['鐗╂枡鍚嶇О']">
                             <text>鐗╂枡鍚嶇О锛�</text>{{item['鐗╂枡鍚嶇О']}}
                         </view>

--
Gitblit v1.9.1