From f41b4b2fdca909f2fb0cec4242f5abd9882ee770 Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期四, 11 五月 2023 18:22:04 +0800
Subject: [PATCH] 入库值仓,电子巡更

---
 igds-app/js/admin/inout-out-handle.js |   29 ++++-------------------------
 1 files changed, 4 insertions(+), 25 deletions(-)

diff --git a/igds-app/js/admin/inout-out-handle.js b/igds-app/js/admin/inout-out-handle.js
index d21528f..e72585c 100644
--- a/igds-app/js/admin/inout-out-handle.js
+++ b/igds-app/js/admin/inout-out-handle.js
@@ -43,11 +43,12 @@
 	url = user.url + "/api-phone/v35/gateway";
 	uploadUrl = user.url + "/api-phone/v35/upload-img";
 	data.tokenAuth = user.tokenAuth;
+	data1.tokenAuth = user.tokenAuth;
 	//鑾峰彇浠庝笂涓�涓〉闈紶閫掔殑鏁版嵁
 	var self = plus.webview.currentWebview();
 	depotData = self.data;
 	data.data.id = depotData.serialNumber;
-	// data.data.intelCard = depotData.intelCard;
+	data.data.intelCard = depotData.intelCard;
 	$("#plateNum").html(depotData.plateNum);
 	$("#depotName").html(depotData.depotName);
 	$("#storeKeeperName").html(depotData.storeKeeperName);
@@ -179,27 +180,6 @@
 		success: function(result) {
 			if (result.code == '0000') {
 				if (result.data.handleStart != null) {
-					var btnArray = [{
-						title: "鎷嶇収涓婁紶"
-					}, {
-						title: "浠庣浉鍐岄�夋嫨"
-					}];
-					plus.nativeUI.actionSheet({
-							title: "璇烽�夋嫨",
-							cancel: "鍙栨秷",
-							buttons: btnArray
-						},
-						function(e) {
-							var index = e.index;
-							switch (index) {
-								case 1:
-									cameraImg(typeNum);
-									break;
-								case 2:
-									galleryImg(typeNum);
-									break;
-							}
-						});
 					var picker = new mui.PopPicker();
 					picker.setData([{
 						value: "cameraImg",
@@ -243,9 +223,6 @@
 	// 		galleryImg(typeNum);
 	// 	}
 	// })
-	
-		});
-
 };
 
 //浣跨敤鐩告満鎷嶇収
@@ -308,6 +285,8 @@
 		});
 	//鎼哄甫杞︾墝鍙傛暟
 	task.addData("plateNum", depotData.plateNum);
+	//涓氬姟绫诲瀷
+	task.addData("bizType","01");
 	//鍥剧墖淇℃伅
 	task.addFile(path, {
 		key: "uploadkey"

--
Gitblit v1.9.3