瀏覽代碼

提成发放调整

qymljy 1 年之前
父節點
當前提交
fc3780b81b
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 3 1
      src/Form/commissionDistribution/add.vue
  2. 1 1
      src/Form/commissionDistribution/edit.vue

+ 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">