wankeda
2025-04-14 0ea4a390d09679425cf3ad217a38a9e717641c95
´úÂë¹ÜÀí/AGVjiaoliaoPDA/pages/materielGroup/OutboundTask.vue
@@ -11,15 +11,17 @@
                           placeholder="请扫瞄缓存架编号" ref='midInput' @input="inputChangebarcode" />
                     </uni-forms-item>
                     <uni-forms-item label="物料类型">
                        <uni-data-select v-model="PalletCode" :localdata="rangs"></uni-data-select>
                           <uni-easyinput type="text" :focus="!addressFocus" v-model="PalletCode"
                              placeholder="请扫描物料类型" ref='midInput' @input="inputChangebarcode" />
                     </uni-forms-item>
                     <uni-forms-item>
                        <button @click="inbound" type="primary" size="default" style="margin-top: 2%;">出库确认</button>
                        <button @click="inbound" type="primary" size="default"
                           style="margin-top: 2%;">出库确认</button>
                     </uni-forms-item>
                  </uni-forms>
               </view>
            </view>
          </view>
         </view>
         <u-toast ref="uToast" />
      </view>
   </template>
@@ -41,7 +43,7 @@
               materSn: "",
               sns: [],
               addressFocus: false,
               materialtype:"",
               materialtype: "",
               stationcode: "",
               address: "",
               check: true,
@@ -67,7 +69,7 @@
               innerAudioContext.src = src;
               innerAudioContext.play();
            },
            updateFocus() {
               this.$nextTick(() => {
                  this.materSn = '';
@@ -139,8 +141,8 @@
               this.$u.post('/api/Task/OutboundTasks', postData).then(res => {
                  if (res.status) {
                     uni.$showMsg("任务添加成功");
                     this.stationcode = "";
                     this.PalletCode = "";
                     this.stationcode = ""; // æ¸…空缓存架编号
                     this.PalletCode = ""; // æ¸…空物料类型
                  } else {
                     this.$refs.uToast.show({
                        title: res.message,