| | |
| | | </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> |
| | | <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-input v-model="zjgyl" :border="true" placeholder="èªå¨è®¡ç®è¿çé" /> |
| | | </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> |
| | | |
| | | </u-table> |
| | | </view> |
| | |
| | | // }, |
| | | { |
| | | label: 'left', |
| | | value: '左侧' |
| | | value: '轴端' |
| | | }, |
| | | { |
| | | label: 'right', |
| | | value: 'å³ä¾§' |
| | | value: 'é轴端' |
| | | } |
| | | ], |
| | | zcState: '', |
| | |
| | | //è½´æ¿å· |
| | | 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() { |
| | | if (_this.barcode == '' || _this.Manufacturer == '' || |
| | | _this.zcState == '' || _this.materiel == '') { |
| | | _this.zcState == '' || _this.materiel == '' || |
| | | _this.Placeoforigin == '') { |
| | | uni.showToast({ |
| | | title: "è¯·éæ©åå®¶ã工使è
éé
æ åä¿¡æ¯.", |
| | | title: "ä¿¡æ¯è¾å
¥ä¸å®æ´", |
| | | duration: 2000 |
| | | }); |
| | | alert(_this.barcode) |
| | | alert(_this.Manufacturer) |
| | | alert(_this.zcState) |
| | | alert(_this.targetStation) |
| | | alert(_this.barcode) |
| | | return; |
| | | } |
| | | if (_this.yfcbAVG == '' && _this.zfcbAVG == '' && |
| | |
| | | csize_in_value:_this.csize_in_value, |
| | | csize_in_result:_this.csize_in_result, |
| | | Bearing_code:_this.Bearing_code, |
| | | Placeoforigin:_this.Placeoforigin |
| | | }, |
| | | }; |
| | | console.log("éå¥½çæ°æ®",data) |