Browse Source

no message

Moss 1 year ago
parent
commit
86fab7959b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/mallManagement/order/offline_order_list/index.vue

+ 3 - 1
src/views/mallManagement/order/offline_order_list/index.vue

@@ -875,6 +875,7 @@ export default {
             this.getCategoryList();
             this.getCategoryList();
       			this.formType = type
       			this.formType = type
       			this.formVisible = true
       			this.formVisible = true
+            this.formTabs = 'a';
             if (type == 'add') {
             if (type == 'add') {
       				this.formDialogType = 0
       				this.formDialogType = 0
               this.getinitlbslist();
               this.getinitlbslist();
@@ -894,7 +895,7 @@ export default {
                       mainId: item.mainId,
                       mainId: item.mainId,
                       smallId: item.smallId,
                       smallId: item.smallId,
                       specId: item.specId,
                       specId: item.specId,
-                      attrId: item.itemList.map(o => o.id),
+                      attrId: item.itemList.map(o => o.goodsCategoryItemId),
                       num: item.num,
                       num: item.num,
                       price: item.payAmount,
                       price: item.payAmount,
                     }
                     }
@@ -996,6 +997,7 @@ export default {
           this.pageType = type;
           this.pageType = type;
       		this.formCancel()
       		this.formCancel()
       		this.$nextTick(()=>{
       		this.$nextTick(()=>{
+            this.detailTabs = 'a';
             if (type == 'detail') {
             if (type == 'detail') {
       				this.formDialogType = 0
       				this.formDialogType = 0
       			} else if(type == 'examine'){
       			} else if(type == 'examine'){