chenrui 3 лет назад
Родитель
Сommit
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 () {