zhouhao há 2 anos atrás
pai
commit
180b48d079

+ 2 - 1
src/views/sales_control/sales_management/components/customer_sales_form.vue

@@ -322,7 +322,8 @@ export default {
               if (this.isFront ===false){
                 this.$parent.pageType = 0
               }              this.salesId = res.data
-              this.$forceUpdate()
+              this.$refs.header.screenForm.id = res.data
+                            this.$forceUpdate()
             })
 
           } else {

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

@@ -6,8 +6,8 @@
 
 
       <template #events>
-        <el-button v-if="details.status==1 && isFront!==false" type="primary" size="mini" @click="handleInform(2)">通知退货</el-button>
-        <!-- <el-button v-if="details.status==2 && isFront!==false" size="mini">撤销退货</el-button> -->
+        <el-button v-if="details.status==1 " type="primary" size="mini" @click="handleInform(2)">通知退货</el-button>
+        <el-button v-if="details.status==2 " disabled size="mini">撤销退货</el-button>
        
       </template>