From f02d3a8ffc05a10a64859b2a16d5d43c8abb0fb9 Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期一, 23 三月 2026 11:13:36 +0800
Subject: [PATCH] 北京回长沙的最终版

---
 项目代码/PDA/pages/Outbound/OutboundCall_New.vue |   84 ++++++++++++++++++++++++++++++++---------
 1 files changed, 65 insertions(+), 19 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/Outbound/OutboundCall_New.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/Outbound/OutboundCall_New.vue"
index a88bdce..c5cb855 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/Outbound/OutboundCall_New.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/Outbound/OutboundCall_New.vue"
@@ -20,14 +20,18 @@
 					<u-td width="30%">杞鏉$爜</u-td>
 					<u-td>
 						<u-input v-model="barcode" :focus="qrcodeFocus" :border="true" placeholder="璇锋壂鎻忚疆瀵规潯鐮�"
-							/>
+							@input="barcodeChange" />
 					</u-td>
 				</u-tr>
 				<u-tr>
 					<u-td width="30%">杞﹀瀷</u-td>
 					<u-td>
-						<u-input v-model="materiel" :border="true" placeholder="璇锋墜鍔ㄨ緭鍏ヨ溅鍨�" />
+						<!-- <u-input v-model="materiel" :border="true" placeholder="璇锋墜鍔ㄨ緭鍏ヨ溅鍨�" /> -->
+						<xfl-select :list="CxTypes" :initValue="stateInitValueCarmodel" :clearable="false" @change="Get_VehicleType_Alls"
+							ref="Get_VehicleType_All" :key="CarmodelKey">
+						</xfl-select>
 					</u-td>
+					
 				</u-tr>
 				<u-tr>
 					<u-td width="30%">宸﹂槻灏樻澘骞冲潎鍊�</u-td>
@@ -50,7 +54,7 @@
 					</u-td>
 				</u-tr>
 
-				<u-tr>
+				<!-- <u-tr>
 					<u-td width="30%">宸︽尅娌圭幆骞冲潎鍊�</u-td>
 					<u-td>
 						<u-input v-model="zydAVG" :border="true" placeholder="璇疯緭鍏�..." />
@@ -59,7 +63,7 @@
 					<u-td>
 						<u-input v-model="yydAVG" :border="true" placeholder="璇疯緭鍏�..." />
 					</u-td>
-				</u-tr>
+				</u-tr> -->
 				<u-tr>
 					<u-td width="30%">杞存壙绫诲埆:</u-td>
 					<u-td>
@@ -69,13 +73,13 @@
 					</u-td>
 				</u-tr>
 				<u-tr>
-					<u-td width="30%">鍘傚:</u-td>
+					<u-td width="30%">杞存壙鍝佺墝:</u-td>
 					<u-td>
 						<!-- <xfl-select :list="ManufacturerArray" :initValue="'璇烽�夋嫨'" :clearable="false"
 							@change="ManufacturerChange" ref="ManufacturerSelect">
 						</xfl-select> -->
 						<u-td>
-							<u-input v-model="Manufacturer" :border="true" placeholder="璇疯緭鍏ュ巶瀹�" />
+							<u-input v-model="Manufacturer" :border="true" placeholder="璇疯緭鍏ヨ酱鎵垮搧鐗�" />
 						</u-td>
 					</u-td>
 				</u-tr>
@@ -114,6 +118,10 @@
 	export default {
 		data() {
 			return {
+				CxTypes:[],      //鎵�鏈夎溅鍨�
+				stateInitValueCarmodel:'璇烽�夋嫨', // 銆愯溅鍨嬨��
+				CarmodelKey: 0, //銆愯溅鍨嬨��
+				
 				date: '',
 				CurrentUser: '', //褰撳墠鐢ㄦ埛
 				barcode: '',
@@ -124,7 +132,7 @@
 				zydAVG: '',
 				yydAVG: '',
 				StateArray: [{
-						label: 'RO',
+						label: 'R0',
 						value: '鏂伴��'
 					},{
 						label: 'R1',
@@ -135,11 +143,11 @@
 						value: '1鍙峰巶瀹�'
 					}],
 				StationArray: [{
-						label: '70101',
+						label: '1鍙峰帇瑁呬綅',
 						value: '2绾垮簱鍘嬭鍙�'
 					},
 					{
-						label: '70103',
+						label: '2鍙峰帇瑁呬綅',
 						value: '3绾垮簱鍘嬭鍙�'
 					}
 				],
@@ -184,6 +192,7 @@
 			},
 			StateChange(value) {
 				this.zcState = value.orignItem.label;
+				console.log(this.zcState)
 			},
 			StationChange(value) {
 				this.targetStation = value.orignItem.label;
@@ -201,22 +210,24 @@
 						barcode: _this.barcode
 					},
 				};
+				
 				// let data = {
 				// 	barcode: _this.barcode
 				// };
 				_this.$AjaxRequest.Params('post', 'ToMes/Mes_GetBearingNeckSizeInfo',
 					data, _user.token);
 				_this.$AjaxRequest.Request().then(function(result) {
-					//console.log(result);
+					console.log('鑾峰彇鐨勬帴鍙f暟鎹�');
+					console.log(result);
 					if (result.data.status) {
 						let obj = JSON.parse(JSON.stringify(result.data.data));
 						_this.yfcbAVG = obj.yfcbAVG;
 						_this.zfcbAVG = obj.zfcbAVG;
-						_this.zydAVG = obj.zydAVG;
-						_this.yydAVG = obj.yydAVG;
+						//_this.zydAVG = obj.zydAVG;
+						// _this.yydAVG = obj.yydAVG;
 						_this.zzjAVG = obj.zzjAVG;
 						_this.yzjAVG = obj.yzjAVG;
-						_this.materiel = obj.materiel;
+						//_this.materiel = obj.materiel;
 						_this.ldCode = obj.ldCode;
 						_this.ortherData = obj.ortherData;
 						if (null != obj.manufacturerArray)
@@ -261,29 +272,35 @@
 			initAVG() {
 				_this.yfcbAVG = '';
 				_this.zfcbAVG = '';
-				_this.zydAVG = '';
-				_this.yydAVG = '';
+				// _this.zydAVG = '';
+				// _this.yydAVG = '';
 				_this.zzjAVG = '';
 				_this.yzjAVG = '';
 				_this.materiel = '';
 				_this.Manufacturer = '';
 				_this.zcState = '';
-				_this.StateArray = [];
+				//_this.StateArray = [];
 				_this.ldCode = '';
 				_this.ortherData = '';
 				_this.ManufacturerArray = [];
 				_this.$refs.StateSelect.setInput("璇烽�夋嫨");
 				_this.$refs.StateSelect.clearItemActive();
-				_this.$refs.ManufacturerSelect.setInput("璇烽�夋嫨");
-				_this.$refs.ManufacturerSelect.clearItemActive();
+				//_this.$refs.ManufacturerSelect.setInput("璇烽�夋嫨");
+				//_this.$refs.ManufacturerSelect.clearItemActive();
 			},
 			SaveInfomation() {
+				var _this = this;
 				if (_this.barcode == '' || _this.Manufacturer == '' ||
-					_this.zcState == '' || _this.targetStation == '') {
+					_this.zcState == '' || _this.targetStation == '' || _this.materiel == '') {
 					uni.showToast({
 						title: "璇烽�夋嫨鍘傚銆佸伐浣嶆垨鑰呴�夐厤鏍囧噯淇℃伅.",
 						duration: 2000
 					});
+					alert(_this.Manufacturer)
+					alert(_this.materiel)
+					alert(_this.barcode)
+					alert(_this.zcState)
+					alert(_this.targetStation)
 					return;
 				}
 				if (_this.yfcbAVG == '' && _this.zfcbAVG == '' &&
@@ -348,6 +365,34 @@
 					}
 				});
 			},
+			VehicleType(){
+				let data = {};
+				_this.$AjaxRequest.Params('post', 'Dt_materielinfo/Get_VehicleType_All',
+					data, _user.token);
+				_this.$AjaxRequest.Request().then(function(result) {
+					if (result.data.status) {
+						_this.CxTypes = result.data.data
+					} else {
+						uni.showToast({
+							icon: 'none',
+							title: "璇锋眰閿欒:" + result.data.message,
+							duration: 2000
+						});
+					}
+					console.log("杞﹀瀷鐨勬墍鏈夋暟鎹�",result)
+				}).catch(function(err) {
+					uni.showToast({
+						icon: 'none',
+						title: "璇锋眰鍚庡彴寮傚父,閿欒淇℃伅." + err.errMsg,
+						duration: 2000
+					});
+				});
+			},
+			Get_VehicleType_Alls(value){
+				_this = this;
+				_this.materiel = value.orignItem; // 缁欒溅鍨嬭祴鍊�
+				console.log(_this.materiel)
+			},
 		},
 		created: function() {
 			// 姣忔杩涘叆鐣岄潰鏃讹紝鍏堟竻闄や箣鍓嶇殑鎵�鏈夊畾鏃跺櫒锛岀劧鍚庡惎鍔ㄦ柊鐨勫畾鏃跺櫒
@@ -367,6 +412,7 @@
 			_this = this;
 			_this.qrcodeFocus = true;
 			//_this.queryOrder();
+			this.VehicleType();
 		},
 
 

--
Gitblit v1.9.3