gjy 3 vuotta sitten
vanhempi
commit
b769b35041
1 muutettua tiedostoa jossa 52 lisäystä ja 1 poistoa
  1. 52 1
      src/views/taskManagement/tranManagementWarehouseInOutTask.vue

+ 52 - 1
src/views/taskManagement/tranManagementWarehouseInOutTask.vue

@@ -14,6 +14,10 @@
           <ws-option v-for="item in taskTypeList" :key="item.value" :label="item.value" :value="item.value"
             style="color: #8890b1" />
         </ws-select>
+        <ws-select v-model="inOutType" placeholder class="typeselect" @change="selectinOutType" :value="inOutType">
+          <ws-option v-for="item in inOutTypeList" :key="item.value" :label="item.value" :value="item.value"
+            style="color: #8890b1" />
+        </ws-select>
         <ws-input @keyup.enter.native="find()" class='findValue' v-model="searchKeyWord" placeholder="可按合同编号或任务编号查找" clearable maxlength="500" type="input"></ws-input>
         <ws-button class="find" type="primary" @click="lookUp()">
           <img width="16" height="16" style="
@@ -172,6 +176,49 @@
         searchType: 1,
         searchTypeText: '待审核',
         searchKeyWord: '',
+        inOutType:'',
+        inOutTypeList:[
+          {
+            value: '销售出库',
+            type: 1
+          },
+          {
+            value: '移库出库',
+            type: 3
+          },
+          {
+            value: '暂存出库',
+            type: 2
+          },
+          {
+            value: '贸易服务出库',
+            type: 4
+          },
+          {
+            value: '采购出库',
+            type: 5
+          },
+          {
+            value: '采购入库',
+            type: 6
+          },
+          {
+            value: '移库入库',
+            type: 7
+          },
+          {
+            value: '暂存入库',
+            type: 8
+          },
+          {
+            value: '贸易服务入库',
+            type: 9
+          },
+          {
+            value: '退库',
+            type: 10
+          },
+        ],
         contractType: 2,
         taskTypeList: [{
             value: '待审核',
@@ -220,6 +267,9 @@
       this.showType = this.isShow
     },
     methods: {
+      selectinOutType(){
+        this.getList()
+      },
       //添加
       handleAdd() {
         this.$router.push({
@@ -270,6 +320,7 @@
             pageSize: this.pageSize,
             searchType: this.searchType,
             searchKeyWord: this.searchKeyWord,
+            inOutType:this.inOutType
           })
           .toPromise()
           .then((response) => {
@@ -504,7 +555,7 @@
 
   .findValue {
     // width: 0%;
-    margin-left: 25%;
+    margin-left: 10px;
   }
 
   .search {