瀏覽代碼

物流单调整

qymljy 1 年之前
父節點
當前提交
de1472d2bc

+ 1 - 0
src/HDrpManagement/logistics/modules/dispatchTable.vue

@@ -84,6 +84,7 @@
           })
           this.tool.showMessage(res,()=>{
             this.listData()
+            this.$emit('delSuccess')
           })
         } else {
           this.tableData = this.tableData.filter(e=>{

+ 4 - 1
src/HDrpManagement/logistics/modules/edit.vue

@@ -65,7 +65,7 @@ ed<template>
         </div>
         <el-row :gutter="10">
           <el-col :span="setcol">
-            <dispatch-table type="edit" :needQuery="true" ref="dislist" @isCorrelation="isCorrelation"></dispatch-table>
+            <dispatch-table type="edit" :needQuery="true" ref="dislist" @isCorrelation="isCorrelation" @delSuccess="delSuccess"></dispatch-table>
           </el-col>
           <el-col :span="24 - setcol">
             <add-disbill ref="addbill" :data="enterpriseInfo" @onConfirm="onConfirm"></add-disbill>
@@ -151,6 +151,9 @@ export default {
       })
 
     },
+    delSuccess(){
+      this.$refs['addbill'].listData()
+    },
     isCorrelation(val){
       this.isCorrelate = val
     },