Browse Source

提成发放调整

qymljy 1 year ago
parent
commit
fc3780b81b

+ 3 - 1
src/Form/commissionDistribution/add.vue

@@ -4,7 +4,7 @@
     <el-drawer
         title="新建提成发放清单"
         :visible.sync="dialogVisible"
-        size="700px"
+        size="80%"
         direction="rtl"
         append-to-body
         @close="onClose">
@@ -96,6 +96,8 @@ export default {
       this.tool.showMessage(res,()=>{
         this.dialogVisible = false
         this.$emit('onSuccess')
+        this.$store.dispatch('changeDetailDrawer',true)
+        this.$router.push({path:'/commissionDistributionDetail',query:{id:res.data.sa_hrpayapplyid,rowindex:res.data.rowindex}})
       })
     },
     onClose(){

+ 1 - 1
src/Form/commissionDistribution/edit.vue

@@ -4,7 +4,7 @@
     <el-drawer
         title="编辑提成发放清单"
         :visible.sync="dialogVisible"
-        size="700px"
+        size="80%"
         direction="rtl"
         append-to-body
         @close="onClose">