zhangyuewww 2 lat temu
rodzic
commit
b43d494cfe

+ 1 - 1
src/lang/zh.js

@@ -1068,7 +1068,7 @@ export default {
     warehouseprofitsdetails:'库点利润  /  利润详情',
     expensemanagementdetails:'费用管理  /  费用详情',
     contractinventory:'合同利润  /  利润详情  /  库存',
-    warehouseinventory:'合同利润  /  利润详情  /  库存',
+    warehouseinventory:'库点利润  /  利润详情  /  库存',
     warehousecost:'库点利润  /  利润详情  /  费用',
     contractcost:'合同利润  /  利润详情  /  费用',
     cashout:'费用管理  /  费用详情  /  请款',

+ 2 - 1
src/views/profitable/warehouseinventory.vue

@@ -71,6 +71,7 @@
         expenseIncome:0,
         expensesPay:0,
         currentProfit:0,
+        warehouseName:'',
       }
     },
     activated() {
@@ -126,7 +127,7 @@
          getinventoryinfo({
             compId: localStorage.getItem('ws-pf_compId'),
             currentPage: this.currentPage,
-            warehouseName:this.warehouseName,
+            warehouse:this.warehouseName,
             pageSize:this.pageSize ,
             inventoryType:3,
           })

+ 1 - 1
src/views/profitable/warehouseprofitsdetails.vue

@@ -19,7 +19,7 @@
             <el-date-picker value-format='yyyy-MM-dd' v-model="value" type="daterange" align="right" unlink-panels range-separator="至"
               start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions" class="data_css" @change="changeDate" >
             </el-date-picker>
-            <el-input placeholder="可按仓库名称查找" class="input_css" v-model="searchKeyWord"></el-input>
+            <el-input placeholder="可按仓库名称查找" class="input_css" v-model="searchKeyWord" @keyup.enter.native="find()"></el-input>
             <el-button class="find" type="primary" @click="find()"><img width="16" height="16" style="left: -8px;"
                 src="../../../public/img/sousuo.png" alt="" /></el-button>
           </div>