codeMan 2 éve
szülő
commit
efcd4da84b

+ 2 - 2
src/Form/marketing2/agent/add.vue

@@ -92,8 +92,8 @@
             <el-col :span="12">
               <el-form-item label="开票节点" prop="invoicingpoint">
                 <el-radio-group v-model="form.invoicingpoint">
-                  <el-radio :value="1" label="订单审核"></el-radio>
-                  <el-radio :value="2" label="发货"></el-radio>
+                  <el-radio :label="1">订单审核</el-radio>
+                  <el-radio :label="2">发货</el-radio>
                 </el-radio-group>
               </el-form-item>
             </el-col>

+ 3 - 0
src/HDrpManagement/afterSalesmag/components/add.vue

@@ -62,6 +62,7 @@
 <script>
 import selectAgent from '@/template/selectAgent/index'
 import selectOrder from './selectOrder'
+import { log } from '@antv/g2plot/lib/utils'
 export default {
   name: "add",
   components:{selectAgent,selectOrder},
@@ -120,6 +121,8 @@ export default {
         this.tool.showMessage(res,()=>{
           this.$emit('onSuccess')
           this.dialogFormVisible = false
+          this.$store.dispatch('changeDetailDrawer',true)
+          this.$router.push({path:'/afterSalesmagDetail',query:{id:res.data.sa_aftersalesmagid,rowindex:res.data.rowindex,type:'退货单'}})
         })
       })
     },

+ 2 - 0
src/HDrpManagement/aftersalesBill/components/add.vue

@@ -119,6 +119,8 @@ export default {
         this.tool.showMessage(res,()=>{
           this.$emit('onSuccess')
           this.dialogFormVisible = false
+          this.$store.dispatch('changeDetailDrawer',true)
+          this.$router.push({path:'/aftersalesBillDetail',query:{id:res.data.sa_aftersalesmagid,rowindex:res.data.rowindex,type:'退货单'}})
         })
       })
     },

+ 1 - 1
src/HDrpManagement/orderManage/details/index.vue

@@ -56,7 +56,7 @@
         <product-list @select="select" @onSuccess="queryMainData()" :data="mainData" ref="prod">
           <div slot="operation">
             <importFile v-if="tool.checkAuth($route.name,'importOrderMx')" class="inline-16" :bindData="{ownertable:'sa_order',ownerid:$route.query.id,usetype:'default'}" :errorUrl="errorUrl" @clearUrl="errorUrl = null" @onSuccess="bindImportOrder"></importFile>
-            <changeOrderMx v-if="mainData.status === '审核'" :tableData="selection" class="inline-16" :data="mainData" @onSuccess="$refs['prod'].listData()"></changeOrderMx>
+            <changeOrderMx v-if="mainData.status === '审核'" :tableData="selection" class="inline-16" :data="mainData" @onSuccess="$refs['prod'].listData();queryMainData"></changeOrderMx>
             <el-button :disabled="mainData.status !== '审核' || selection.length === 0"  size="small" type="primary" style="margin-bottom:12px" @click="adddispatch">一键发货</el-button>
           </div>
         </product-list>

+ 2 - 0
src/HDrpManagement/toolBill/components/add.vue

@@ -119,6 +119,8 @@ export default {
         this.tool.showMessage(res,()=>{
           this.$emit('onSuccess')
           this.dialogFormVisible = false
+          this.$store.dispatch('changeDetailDrawer',true)
+          this.$router.push({path:'/toolBillDetail',query:{id:res.data.sa_aftersalesmagid,rowindex:res.data.rowindex,type:'借用归还单'}})
         })
       })
     },

+ 2 - 0
src/HDrpManagement/toolBillMag/components/add.vue

@@ -117,6 +117,8 @@ export default {
         this.tool.showMessage(res,()=>{
           this.$emit('onSuccess')
           this.dialogFormVisible = false
+          this.$store.dispatch('changeDetailDrawer',true)
+          this.$router.push({path:'/toolManageDetail',query:{id:res.data.sa_aftersalesmagid,rowindex:res.data.rowindex,type:'借用归还单'}})
         })
       })
     },