xiaojiao
6 小时以前 557f02072fa311eefe3123aa44afebac22adc465
ÏîÄ¿´úÂë/PDA/pages/Outbound/OutboundCall_New.vue
@@ -75,12 +75,12 @@
            <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>
@@ -95,6 +95,14 @@
               <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>
@@ -139,9 +147,19 @@
                  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线库压装台'
@@ -172,12 +190,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) {
@@ -232,10 +263,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) {
@@ -282,7 +313,7 @@
            //_this.StateArray = [];
            _this.ldCode = '';
            _this.ortherData = '';
            _this.ManufacturerArray = [];
            //_this.ManufacturerArray = [];
            _this.$refs.StateSelect.setInput("请选择");
            _this.$refs.StateSelect.clearItemActive();
            //_this.$refs.ManufacturerSelect.setInput("请选择");
@@ -291,9 +322,10 @@
         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;
@@ -328,7 +360,8 @@
                           targetStation: _this.targetStation,
                           ZCdirection: _this.ZCdirection,
                           ldCode: _this.ldCode,
                           ortherData: _this.ortherData
                           ortherData: _this.ortherData,
                           Placeoforigin:_this.Placeoforigin
                        },
                     };
                     console.log("选好的数据",data)