huangxiaoqiang
2025-10-15 b7da1f32d5d9997378b5ac535593a3f6144af46b
ÏîÄ¿´úÂë/PDA/pages/task/AGVCarry.vue
@@ -13,9 +13,9 @@
                  <uni-easyinput type="text" :focus="istrue" v-model="SourceAddress" placeholder="请输入AGV搬运起点"
                     ref='midInput' />
               </uni-forms-item>
               <uni-forms-item label="搬运终点区域">
               <uni-forms-item label="终点区域">
                  <uni-data-select :focus="!istrue" v-model="AreaId" :localdata="range"
                     placeholder="请输入AGV搬运终点区域"></uni-data-select>
                     placeholder="请选择AGV搬运终点区域"></uni-data-select>
               </uni-forms-item>
            </uni-forms>
            <button @click="RequestAGVCarryTaskAsync" type="primary" size="default"
@@ -49,6 +49,9 @@
</template>
<script>
   import {
      config
   } from '../../common/config';
   export default {
      data() {
         return {
@@ -63,29 +66,12 @@
            SourceAddress: "",
            items: ['AGV区域搬运', '点对点搬运'],
            current: 0,
            range: [{
                  value: "4",
                  text: "一楼入库区"
               },
               {
                  value: "2",
                  text: "一楼出库区"
               },
               {
                  value: "3",
                  text: "立库缓存区"
               },
               {
                  value: "5",
                  text: "二楼B4-G4缓存区"
               },
               {
                  value: "6",
                  text: "二楼B5-G5缓存区"
               }
            ],
            range: [],
         }
      },
      onLoad(e){
         this.range=config.AreaId
      },
      methods: {
         onClickItem(e) {
            if (this.current != e.currentIndex) {