From b532ba8806996246ab7a0896bf34b884c47dee7e Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期二, 14 四月 2026 14:06:25 +0800
Subject: [PATCH] 试生产版本

---
 项目代码/PDA/pages/Outbound/OutboundCall_New.vue |   99 +++++++++++++++++++++++++++++++++++--------------
 1 files changed, 70 insertions(+), 29 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 4669c19..7592e1c 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,37 +20,41 @@
 					<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>
+					<u-td width="30%">杞村彿绔槻灏樻澘骞冲潎鍊�</u-td>
 					<u-td>
 						<u-input v-model="zfcbAVG" :border="true" placeholder="璇疯緭鍏�..." />
 					</u-td>
-					<u-td width="30%">鍙抽槻灏樻澘骞冲潎鍊�</u-td>
+					<u-td width="30%">闈炶酱鍙风闃插皹鏉垮钩鍧囧��</u-td>
 					<u-td>
 						<u-input v-model="yfcbAVG" :border="true" placeholder="璇疯緭鍏�..." />
 					</u-td>
 				</u-tr>
 				<u-tr>
-					<u-td width="30%" height="50px;">宸﹁酱棰堝钩鍧囧��</u-td>
+					<u-td width="30%" height="50px;">杞村彿绔酱棰堝钩鍧囧��</u-td>
 					<u-td>
 						<u-input v-model="zzjAVG" :border="true" placeholder="璇疯緭鍏�..." />
 					</u-td>
-					<u-td width="30%">鍙宠酱棰堝钩鍧囧��</u-td>
+					<u-td width="30%">闈炶酱鍙风杞撮骞冲潎鍊�</u-td>
 					<u-td>
 						<u-input v-model="yzjAVG" :border="true" placeholder="璇疯緭鍏�..." />
 					</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: '',
@@ -145,14 +153,14 @@
 				],
 				ZCdirectionArray: [{
 						label: 'all',
-						value: '涓や晶'
+						value: '涓ょ'
 					}, {
 						label: 'left',
-						value: '宸︿晶'
+						value: '杞寸'
 					},
 					{
 						label: 'right',
-						value: '鍙充晶'
+						value: '闈炶酱绔�'
 					}
 				],
 				zcState: '',
@@ -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)
@@ -233,12 +244,12 @@
 									name = '鏂板搧';
 								}
 
-								if (null == _this.StateArray.find(r => r.value == name)) {
-									_this.StateArray.push({
-										label: item,
-										value: name
-									})
-								}
+								// if (null == _this.StateArray.find(r => r.value == name)) {
+								// 	_this.StateArray.push({
+								// 		label: item,
+								// 		value: name
+								// 	})
+								// }
 							});
 						//console.log(obj);
 					} else {
@@ -261,25 +272,26 @@
 			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
@@ -348,6 +360,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 +407,7 @@
 			_this = this;
 			_this.qrcodeFocus = true;
 			//_this.queryOrder();
+			this.VehicleType();
 		},
 
 

--
Gitblit v1.9.3