From b174ea476eb1afd872985b2c261241a814e0185d Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期四, 12 三月 2026 09:55:27 +0800
Subject: [PATCH] 一次大的提交,涉及,wms,wcs,pda
---
项目代码/PDA/pages/Outbound/OutboundCall_New.vue | 74 ++++++++++++++++++++++++++++++-------
1 files changed, 60 insertions(+), 14 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..7b584ba 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>
@@ -114,6 +118,10 @@
export default {
data() {
return {
+ CxTypes:[], //鎵�鏈夎溅鍨�
+ stateInitValueCarmodel:'璇烽�夋嫨', // 銆愯溅鍨嬨��
+ CarmodelKey: 0, //銆愯溅鍨嬨��
+
date: '',
CurrentUser: '', //褰撳墠鐢ㄦ埛
barcode: '',
@@ -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