瀏覽代碼

bug修复

chenrui 3 年之前
父節點
當前提交
962ba928c3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/allocationManagement/transferOut/edit.vue

+ 1 - 1
src/views/allocationManagement/transferOut/edit.vue

@@ -257,6 +257,7 @@ export default {
         this.chooseDisabled = true
         const params = Object.assign(parameter, this.chooseQueryParam, { allocateSn: this.$route.params.sn })
         return allocateBillDetailList(params).then(res => {
+          this.getDetailCount()
           const data = res.data
           const no = (data.pageNo - 1) * data.pageSize
           for (var i = 0; i < data.list.length; i++) {
@@ -550,7 +551,6 @@ export default {
     },
     pageInit () {
       this.getDetail()
-      this.getDetailCount()
     }
   },
   mounted () {