Sfoglia il codice sorgente

提交订单接口增加price参数

hejie 3 anni fa
parent
commit
69624421b4
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/pages/to-pay-list/index.vue

+ 3 - 0
src/pages/to-pay-list/index.vue

@@ -215,6 +215,7 @@ export default {
                 ...this.Data,
                 ...this.Data,
                 address_id: this.DefaultAddress.id,
                 address_id: this.DefaultAddress.id,
                 trade_type: type,
                 trade_type: type,
+                price:this.goodsInfo.cost_price
             }).then((res) => {
             }).then((res) => {
                 if (res.code === 0) {
                 if (res.code === 0) {
                     if (res.data.length !== 0) {
                     if (res.data.length !== 0) {
@@ -244,6 +245,8 @@ export default {
                             else this.goto("/pages/account/consignment");
                             else this.goto("/pages/account/consignment");
                         }, 1500);
                         }, 1500);
                     }
                     }
+                }else{
+                    this.loadData(this.Data) 
                 }
                 }
             });
             });
         },
         },