Browse Source

wms修改

Tiroble 3 years ago
parent
commit
f1e08ee66a
1 changed files with 6 additions and 3 deletions
  1. 6 3
      src/views/WMS/components/steel/steel_outbound.vue

+ 6 - 3
src/views/WMS/components/steel/steel_outbound.vue

@@ -7,7 +7,7 @@
         <span class="demonstration">选择时间</span>
         <el-date-picker
           v-model="queryDate"
-          type="daterange"
+          type="datetimerange"
           align="right"
           unlink-panels
           range-separator="至"
@@ -21,7 +21,7 @@
       </el-button>
     </div>
     <div class="table">
-      <dilTable v-bind.sync="options" ref="table">
+      <dilTable v-bind.sync="options" ref="tab">
       </dilTable>
     </div>
   </div>
@@ -41,7 +41,10 @@ export default {
   },
   methods:{
     onclick(){
-      this.option.requestUrl="/api/v1/wms/getWmspOutboundResult/152?con="+this.inputText;
+       //改变查询条件
+      this.$refs.tab.setDataRequestQuery({"startTime":sjTime(this.queryDate[0]),
+                      "endTime": sjTime(this.queryDate[1])
+                      });         
     },
   }
 }