| | |
| | | <u-tr> |
| | | <u-td width="30%">è½´æ¿åç:</u-td> |
| | | <u-td> |
| | | <!-- <xfl-select :list="ManufacturerArray" :initValue="'è¯·éæ©'" :clearable="false" |
| | | <xfl-select :list="ManufacturerArray" :initValue="'è¯·éæ©'" :clearable="false" |
| | | @change="ManufacturerChange" ref="ManufacturerSelect"> |
| | | </xfl-select> --> |
| | | <u-td> |
| | | </xfl-select> |
| | | <!-- <u-td> |
| | | <u-input v-model="Manufacturer" :border="true" placeholder="请è¾å
¥è½´æ¿åç" /> |
| | | </u-td> |
| | | </u-td> --> |
| | | </u-td> |
| | | </u-tr> |
| | | <u-tr> |
| | |
| | | <u-td> |
| | | <xfl-select :list="ZCdirectionArray" :initValue="'è¯·éæ©'" :clearable="false" |
| | | @change="ZCdirectionChange"> |
| | | </xfl-select> |
| | | </u-td> |
| | | </u-tr> |
| | | <u-tr> |
| | | <u-td width="30%">产å°</u-td> |
| | | <u-td> |
| | | <xfl-select :key="PlaceoforiginKey" :list="PlaceoforiginArray" :initValue="PlaceoforiginValue" :clearable="false" @change="PlaceoforiginChange" |
| | | ref="StateSelect"> |
| | | </xfl-select> |
| | | </u-td> |
| | | </u-tr> |
| | |
| | | value: 'æ£ä¿®' |
| | | }], |
| | | ManufacturerArray: [{ |
| | | label: '1å·åå®¶', |
| | | value: '1å·åå®¶' |
| | | }], |
| | | label: 'FAG', |
| | | value: 'FAG' |
| | | },{ |
| | | label: 'SKF', |
| | | value: 'SKF' |
| | | },{ |
| | | label: 'NTN', |
| | | value: 'NTN' |
| | | },{ |
| | | label: 'NSK', |
| | | value: 'NSK' |
| | | }, |
| | | ], |
| | | StationArray: [{ |
| | | label: '1å·åè£
ä½', |
| | | value: '2线åºåè£
å°' |
| | |
| | | //è½´æ¿å· |
| | | ldCode: '', |
| | | ortherData: '', |
| | | qrcodeFocus: false |
| | | qrcodeFocus: false, |
| | | PlaceoforiginArray: [{ |
| | | label: 'å½äº§', |
| | | value: 'å½äº§' |
| | | },{ |
| | | label: 'è¿å£', |
| | | value: 'è¿å£' |
| | | }], |
| | | Placeoforigin:'', // 产å°(å½äº§/è¿å£) |
| | | PlaceoforiginKey: 0, // æ°å¢ï¼æ§å¶ç»ä»¶é建 ã产å°ã |
| | | PlaceoforiginValue: 'è¯·éæ©', // åå§å¼ï¼åç»å¨æä¿®æ¹ã产å°ã |
| | | } |
| | | }, |
| | | methods: { |
| | | UserChange(value) { |
| | | |
| | | }, |
| | | PlaceoforiginChange(value) { // éæ©äº§å°(å½äº§/è¿å£) |
| | | _this.Placeoforigin = value.orignItem.label; |
| | | }, |
| | | setTimer() { |
| | | if (this.timer == null) { |
| | |
| | | _this.ortherData = obj.ortherData; |
| | | if (null != obj.manufacturerArray) |
| | | obj.manufacturerArray.forEach(function(item, index, arr) { |
| | | _this.ManufacturerArray.push({ |
| | | label: item, |
| | | value: item |
| | | }) |
| | | // _this.ManufacturerArray.push({ |
| | | // label: item, |
| | | // value: item |
| | | // }) |
| | | }); |
| | | if (null != obj.neworold) |
| | | obj.neworold.forEach(function(item, index, arr) { |
| | |
| | | //_this.StateArray = []; |
| | | _this.ldCode = ''; |
| | | _this.ortherData = ''; |
| | | _this.ManufacturerArray = []; |
| | | //_this.ManufacturerArray = []; |
| | | _this.$refs.StateSelect.setInput("è¯·éæ©"); |
| | | _this.$refs.StateSelect.clearItemActive(); |
| | | //_this.$refs.ManufacturerSelect.setInput("è¯·éæ©"); |
| | |
| | | SaveInfomation() { |
| | | var _this = this; |
| | | if (_this.barcode == '' || _this.Manufacturer == '' || |
| | | _this.zcState == '' || _this.targetStation == '' || _this.materiel == '') { |
| | | _this.zcState == '' || _this.targetStation == '' || |
| | | _this.materiel == '' || _this.Placeoforigin == '') { |
| | | uni.showToast({ |
| | | title: "è¯·éæ©åå®¶ã工使è
éé
æ åä¿¡æ¯.", |
| | | title: "ä¿¡æ¯è¾å
¥ä¸å®æ´", |
| | | duration: 2000 |
| | | }); |
| | | return; |
| | |
| | | targetStation: _this.targetStation, |
| | | ZCdirection: _this.ZCdirection, |
| | | ldCode: _this.ldCode, |
| | | ortherData: _this.ortherData |
| | | ortherData: _this.ortherData, |
| | | Placeoforigin:_this.Placeoforigin |
| | | }, |
| | | }; |
| | | console.log("éå¥½çæ°æ®",data) |