xiaojiao
4 小时以前 557f02072fa311eefe3123aa44afebac22adc465
ÏîÄ¿´úÂë/PDA/pages/Outbound/Manual_selection.vue
@@ -138,6 +138,14 @@
                  <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>
@@ -222,12 +230,25 @@
            //轴承号
            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) {
@@ -307,10 +328,10 @@
                  _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) {
@@ -414,7 +435,7 @@
            //_this.StateArray = [];
            _this.ldCode = '';
            _this.ortherData = '';
            _this.ManufacturerArray = [];
            //_this.ManufacturerArray = [];
            _this.$refs.StateSelect.setInput("请选择");
            _this.$refs.StateSelect.clearItemActive();
            //_this.$refs.ManufacturerSelect.setInput("请选择");
@@ -422,16 +443,12 @@
         },
         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 == '' &&
@@ -470,6 +487,7 @@
                           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)