huangmp 2 лет назад
Родитель
Сommit
75204f0314

+ 4 - 3
src/views/modules/afterSales/returnDelivery-add-or-update.vue

@@ -130,9 +130,10 @@ export default {
       }).then(({data}) => {
         this.$message({
           message: this.$i18n.t('publics.operation'),
-          type: 'success',
-          duration: 500
-        })
+          type: 'success'
+        });
+        this.$emit("refreshDataList", null);
+        this.visible = false;
       })
     },
     //扫描运单号获取订单信息

+ 1 - 1
src/views/modules/afterSales/thirdAfterSales-add-or-update.vue

@@ -268,7 +268,7 @@ export default {
         this.$message({
           message: this.$i18n.t('publics.operation'),
           type: 'success',
-          duration: 500,
+          duration: 200,
           onClose: () => {
             this.dataForm.pic = null;
             this.visible = false;