From 0e5cc5f682866e32be324024a72f54d117eb6423 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 28 九月 2022 17:39:17 +0800
Subject: [PATCH] 1.设备维修申请静态页面开发完成

---
 pages/sbgl/dqby.html |   21 +++++++--------------
 1 files changed, 7 insertions(+), 14 deletions(-)

diff --git a/pages/sbgl/dqby.html b/pages/sbgl/dqby.html
index e81d757..0da7910 100644
--- a/pages/sbgl/dqby.html
+++ b/pages/sbgl/dqby.html
@@ -154,7 +154,7 @@
 						dropdownValue = topContent.find(r => r.code === topContent[0].code).main_cycle
 
 						centerContent = res.data
-						centerContent = JSON.parse(JSON.stringify(centerContent))
+						// centerContent = JSON.parse(JSON.stringify(centerContent))
 						centerContent.forEach(item => {
 							item.isDisabled = item.isscan === 'Y'
 							item.inputValue = ''
@@ -409,11 +409,13 @@
 
 			},
 			methods: {
+				// 鏈� 骞撮�夋嫨
 				onSelectSheet(val) {
-					dropdownValue = val
+					dropdownValue = val.code
 					this.$forceUpdate()
 					this.sheetFlag = false
 				},
+				//鎻愪氦
 				submit() {
 					let children = []
 					centerContent.forEach(item => {
@@ -433,15 +435,11 @@
 						children: children
 					}
 
-					console.log(data, 1)
-
 					const params = {
 						username: localStorage.getItem('username'),
 						maintcyc: dropdownValue
 					}
-
-// vant.Notify(JSON.stringify(params))
-// vant.Toast(JSON.stringify(data))
+					
 					post('AppDeviceManage/AppDeviceRepairSave' + formatParams(params), data)
 						.then(res => {
 							if (res.code === '200') {
@@ -470,6 +468,7 @@
 				vanFieldBlur() {
 					this.$forceUpdate()
 				},
+				//鎵弿淇濆吇宸ヤ綅鐐瑰嚮涓嶅悓閫夋嫨椤�
 				topContentClcik(code) {
 					radioValue = code
 					this.$forceUpdate()
@@ -500,16 +499,11 @@
 						}
 					})
 				},
-
+				//淇濆吇缁撴灉鐐瑰嚮
 				resultClick(val) {
 					resultValue = val
 					this.$forceUpdate()
 				},
-
-				selected(id) {
-					alert(id)
-				},
-
 				// 鎵弿淇濆吇宸ヤ綅鎵弿
 				topScanClick() {
 					createWithoutTitle('../../components/barcode_scan.html', {
@@ -547,7 +541,6 @@
 						}
 					});
 				},
-
 				// 閮ㄤ綅姝e父 寮傚父鎸夐挳鐐瑰嚮
 				bwClick(item, val) {
 					item.isOK = val

--
Gitblit v1.9.3