1
dengjunjie
2025-06-08 3311f02194604247c1fb0384ecc43cc3ef3f04be
´úÂë¹ÜÀí/ZhongHePDA/pages/basic/cachePoint.vue
@@ -11,7 +11,7 @@
                      </uni-forms-item>
                   </uni-forms>
                   <button @click="submit" type="primary" size="default" style="margin-top: 2%;">释放</button>
                   <u-toast ref="uToast" />
            <u-toast ref="BindluToast" />
                </view>
            </view>
            <view v-show="current === 1">
@@ -40,7 +40,7 @@
            istrue: false,
            range: [],
            value: "",
            items: ['释放缓存位', '拆包'],
            items: ['释放缓存位'], //, '拆包'
            current: 0
         }
      },
@@ -54,31 +54,31 @@
               }
             },
         submit() {
            if (this.value.length <= 0) {
               this.$refs.uToast.show({
            if (this.value == "") {
               this.$refs.BindluToast.show({
                  title: "请输入缓存点",
                  type: "error"
               })
               return;
            }
            var param = {
               MainData: {
                  matCode: this.value,
                  endPoint: this.value
               }
            }
            this.$u.post('/api/AcrossFloorCarry/AcrossFloorCallMat', param).then(res => {
            // var param = {
            //    MainData: {
            //       matCode: this.value,
            //       endPoint: this.value
            //    }
            // }
            this.$u.post('/api/PDA/AcrossFloorCallMat?Point=' + this.value, {}).then(res => {
               if (res.status) {
                  this.$refs.uToast.show({
                  this.$refs.BindluToast.show({
                     title: "释放成功",
                     type: "success"
                  })
                  this.carNo = "";
                  // this.carNo = "";
                  this.value = "";
                  this.locationNo = "";
                  // this.locationNo = "";
                  this.istrue = false;
               } else {
                  this.$refs.uToast.show({
                  this.$refs.BindluToast.show({
                     title: res.message,
                     type: "error"
                  })