wudingsheng 2 ヶ月 前
コミット
c594e3d3dc
1 ファイル変更4 行追加1 行削除
  1. 4 1
      imcs-ui/src/views/zuihou/dispatchMgr/tools/Index.vue

+ 4 - 1
imcs-ui/src/views/zuihou/dispatchMgr/tools/Index.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="app-container space">
 
-    <el-card class="box-card">
+    <el-card class="box-card" v-loading="robotLoading">
       <div slot="header" class="clearfix">手动移库(机器人)</div>
       <el-form ref="form" :model="form" :rules="rules4"  label-width="80px">
         <el-row :gutter="12">
@@ -336,6 +336,7 @@
 	      queryParams: initQueryParams({}),
 	      selection: [],
 	      loading: false,
+        robotLoading: false,
 	      rules1: {
         	taskNodeId: [
         		{ required: true, message: this.$t("rules.require"), trigger: 'blur' }
@@ -442,6 +443,7 @@
       updateStorgeByRobot () {
         this.$refs.form.validate((valid) => {
           if(valid){
+            this.robotLoading=true
             toolbarApi.updateStorgeByRobot(this.form).then(response=>{
               const res = response.data
               if(res.isSuccess){
@@ -456,6 +458,7 @@
                 })
               }
             }).finally(()=>{
+              this.robotLoading=false
               return true
             })
           }else{