chenrui 1 سال پیش
والد
کامیت
236ceecb94
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      src/views/inventoryManagement/inventoryImport/detailList.vue

+ 3 - 2
src/views/inventoryManagement/inventoryImport/detailList.vue

@@ -8,7 +8,6 @@
         class="form-model-con"
         layout="inline"
         :model="queryParam"
-        :rules="rules"
         :labelCol="labelCol"
         :wrapperCol="wrapperCol"
         @keyup.enter.native="handleSearch" >
@@ -39,7 +38,7 @@
     <a-alert type="info" style="margin-bottom:10px">
       <div class="ftext" slot="message">
         导入单号:<strong>{{ detailSn ||'--' }}</strong>;
-        款数:<strong>{{ (totalData && (totalData.putQty || totalData.putQty==0)) ? totalData.putQty : '--' }}</strong>;
+        款数:<strong>{{ (countInfo || countInfo==0) ? countInfo : '--' }}</strong>;
         数量:<strong>{{ (totalData && (totalData.putQty || totalData.putQty==0)) ? totalData.putQty : '--' }}</strong>;
         <div v-if="$hasPermissions('M_ShowAllCost')" style="display: inline-block;">
           成本:<strong>{{ (totalData && (totalData.cost || totalData.cost==0)) ? toThousands(totalData.cost) : '--' }}</strong>。
@@ -100,6 +99,7 @@ export default {
         },
         stockImportNo: ''
       },
+      countInfo: 0,
       disabled: false, //  查询、重置按钮是否可操作
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {
@@ -112,6 +112,7 @@ export default {
         }
         return reportStockImportDetailList(params).then(res => {
           let data
+          this.countInfo = res.data.count
           if (res.status == 200) {
             data = res.data
             // 总计