zhouhao %!s(int64=2) %!d(string=hai) anos
pai
achega
61f3d71573

+ 3 - 1
src/views/sales_control/sales_management/components/customer_sales_details.vue

@@ -233,7 +233,9 @@ export default {
     },
     handleInform(status = 2) {
       sbumitFrontOrder({ id: this.$refs.header.screenForm.id, status }).then(res => {
-        this.$successMsg('退货通知')
+        this.$successMsg('发货通知')
+        this.$parent.pageType = 0
+
       })
     }
 

+ 4 - 4
src/views/sales_control/sales_management/components/return_sales_details.vue

@@ -2,7 +2,7 @@
   <div>
     <el-page-header @back="$parent.pageType=0" content="详情" style=" padding: 20px 20px 0 20px;"></el-page-header>
     <return-sales-header ref="header" :details="details" />
-    <sales-table :dataList="dataList" :column="column"   @handleSelection="handleSelection">
+    <sales-table :dataList="dataList" :column="column" @handleSelection="handleSelection">
       <template #bts>
         <div>
           <el-button type="primary" size="mini" @click="dialogVisible=true">添加</el-button>
@@ -83,7 +83,7 @@ export default {
         {
           prop: 'qty',
           label: '数量',
-          width: '180',
+          width: '180'
         },
         {
           prop: 'volume',
@@ -98,7 +98,7 @@ export default {
         {
           prop: 'notes',
           label: '备注',
-          width: '180',
+          width: '180'
 
         }
       ]
@@ -142,9 +142,9 @@ export default {
       this.selection = data
     },
     handleInform(status = 2) {
-      console.log(33)
       sendRefund({ id: this.details.id, status }).then(res => {
         this.$successMsg('退货通知')
+        this.$parent.pageType = 0
 
       })
     },