Explorar el Código

提交订单接口增加price参数

hejie hace 3 años
padre
commit
69624421b4
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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,
                 address_id: this.DefaultAddress.id,
                 trade_type: type,
+                price:this.goodsInfo.cost_price
             }).then((res) => {
                 if (res.code === 0) {
                     if (res.data.length !== 0) {
@@ -244,6 +245,8 @@ export default {
                             else this.goto("/pages/account/consignment");
                         }, 1500);
                     }
+                }else{
+                    this.loadData(this.Data) 
                 }
             });
         },