...
|
...
|
@@ -96,7 +96,7 @@ const compute = (uid, yohoCoin) => { |
|
|
};
|
|
|
|
|
|
/**
|
|
|
* 提交订单
|
|
|
* 提交订单(电子发票)
|
|
|
* @param number uid user id
|
|
|
* @param number address_id 地址id
|
|
|
* @param number yohoCoin 使用的有货币
|
...
|
...
|
@@ -111,6 +111,37 @@ const compute = (uid, yohoCoin) => { |
|
|
* @param number payment_id 支付id
|
|
|
* @param number payment_type 支付类型
|
|
|
*/
|
|
|
// const _submitElInvoice = (uid, other) => api.get('', {
|
|
|
// method: 'app.Shopping.submit',
|
|
|
// uid: uid,
|
|
|
// address_id: other.address_id,
|
|
|
// yohoCoin: other.yohoCoin,
|
|
|
// invoices_type: other.invoices_type,
|
|
|
// invoices_title: other.invoices_title,
|
|
|
// invoices_content: other.invoices_content,
|
|
|
// recevierMobile: other.recevierMobile,
|
|
|
// remark: other.remark,
|
|
|
// isPrintPrice: other.isPrintPrice,
|
|
|
// delivery_time: other.delivery_time,
|
|
|
// delivery_way: other.delivery_way,
|
|
|
// payment_id: other.payment_id,
|
|
|
// payment_type: other.payment_type
|
|
|
// });
|
|
|
|
|
|
/**
|
|
|
* 提交订单
|
|
|
* @param number uid user id
|
|
|
* @param number address_id 地址id
|
|
|
* @param number yohoCoin 使用的有货币
|
|
|
* @param string invoices_title 发票抬头
|
|
|
* @param int invoices_type_id 发票内容
|
|
|
* @param string remark 备注
|
|
|
* @param boolean isPrintPrice 是否打印价格
|
|
|
* @param number delivery_time 送货时间
|
|
|
* @param number delivery_way 送货方式(1-普通,2-顺丰)
|
|
|
* @param number payment_id 支付id
|
|
|
* @param number payment_type 支付类型
|
|
|
*/
|
|
|
const _submit = (uid, other) => api.get('', {
|
|
|
method: 'app.Shopping.submit',
|
|
|
uid: uid,
|
...
|
...
|
|