diff --git a/pages.json b/pages.json
index b052eac..b593539 100644
--- a/pages.json
+++ b/pages.json
@@ -174,7 +174,7 @@
{
"path": "product/symptoms",
"style": {
- "navigationBarTitleText": "填写病症",
+ "navigationBarTitleText": "商品详情",
"enablePullDownRefresh": false
}
}
diff --git a/request/api/product.js b/request/api/product.js
index b4b8c7c..5ad8598 100644
--- a/request/api/product.js
+++ b/request/api/product.js
@@ -15,4 +15,12 @@ export async function getStoreDrugListBySalespersonApi(params) {
*/
export async function getStoreDrugDetailApi(params) {
return await get('/product/product-detail', params, 3)
+}
+/**
+ * 获取商品配送服务文本
+ * @param params
+ * @returns {Promise<*>}
+ */
+export async function getOrderTextApi(params) {
+ return await get('/product/order-text', params, 3)
}
\ No newline at end of file
diff --git a/subPackages/my/my-drug/drug-info.vue b/subPackages/my/my-drug/drug-info.vue
index c45f2b8..7c296c2 100644
--- a/subPackages/my/my-drug/drug-info.vue
+++ b/subPackages/my/my-drug/drug-info.vue
@@ -1,418 +1,483 @@
-
-
- 订单已取消
-
-
-
- 配送方式
-
- {{orderInfo.ProductOrder.delivery_method==0&&'快递到家'||orderInfo.ProductOrder.delivery_method==1&&'到店自取'}}
-
-
-
-
-
-
-
- 收货地址
-
-
-
-
-
- 请先选择收货地址
-
-
- {{JSON.parse(orderInfo.ProductOrder.address).name || '请先选择收货地址'}}
- {{JSON.parse(orderInfo.ProductOrder.address).mobile || ''}}
-
-
- {{JSON.parse(orderInfo.ProductOrder.address).region || ''}}{{JSON.parse(orderInfo.ProductOrder.address).detail_address || ''}}
-
-
+
+
+
+ {{ orderText }}
+
-
-
-
- 到店自取
-
-
- {{infoList.store.name}}
- {{infoList.store.mobile}}
-
-
- {{infoList.store.position}}
-
-
+
+ 订单已取消
+
+
+
+ 配送方式
+
+ {{orderInfo.ProductOrder.delivery_method==0&&'快递到家'||orderInfo.ProductOrder.delivery_method==1&&'到店自取'}}
+
+
+
+
+
+
+
+ 收货地址
+
+
+
+
+
+ 请先选择收货地址
+
+
+ {{JSON.parse(orderInfo.ProductOrder.address).name || '请先选择收货地址'}}
+ {{JSON.parse(orderInfo.ProductOrder.address).mobile || ''}}
+
+
+ {{JSON.parse(orderInfo.ProductOrder.address).region || ''}}{{JSON.parse(orderInfo.ProductOrder.address).detail_address || ''}}
+
+
-
-
-
- {{infoList.store.name}}
+
+
+
+ 到店自取
+
+
+ {{infoList.store.name}}
+ {{infoList.store.mobile}}
+
+
+ {{infoList.store.position}}
+
+
-
+
+
+
+ {{infoList.store.name}}
-
-
-
- {{item.drug_name}}
- x{{item.number}}
-
-
-
-
+
+
+
+ {{item.drug_name}}
+ x{{item.number}}
+
+
+
+
+
+
+
+
+
+ {{item.drug_name}}{{item.drug.function}}
+
+ {{item.drug.usage}}
+
+
+ ¥{{item.price}}
+
+ x{{item.number}}
+
+
+
+
+
-
-
-
-
-
-
- {{item.drug_name}}{{item.drug.function}}
-
- {{item.drug.usage}}
-
-
- ¥{{item.price}}
-
- x{{item.number}}
-
-
-
-
-
+
+
+
+ 商品总价
+ ¥{{orderInfo.ProductOrder.items_price}}
+
+
+ 快递费
+ ¥{{orderInfo.ProductOrder.trans_expenses}}
+
+
+ 诊疗费
+ ¥{{orderInfo.ProductOrder.treatement_price}}
+
+
+ 加工费
+ 共{{payWay.dosage}}剂¥{{orderInfo.ProductOrder.process_price}}
+
+
+ 总金额
+
+ 合计:
+ ¥{{orderInfo.ProductOrder.total_pay_price}}
+
+
+
+ 支付时间
+
+ {{orderInfo.ProductOrder.pay_time | formatDate}}
+
+
+
+
-
-
-
- 商品总价
- ¥{{orderInfo.ProductOrder.items_price}}
-
-
- 快递费
- ¥{{orderInfo.ProductOrder.trans_expenses}}
-
-
- 诊疗费
- ¥{{orderInfo.ProductOrder.treatement_price}}
-
-
- 加工费
- 共{{payWay.dosage}}剂¥{{orderInfo.ProductOrder.process_price}}
-
-
-
- 总金额
-
- 合计:
- ¥{{orderInfo.ProductOrder.total_pay_price}}
-
-
-
- 支付时间
-
- {{orderInfo.ProductOrder.pay_time | formatDate}}
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/subPackages/product/product.vue b/subPackages/product/product.vue
index 16f0485..9f579b0 100644
--- a/subPackages/product/product.vue
+++ b/subPackages/product/product.vue
@@ -48,7 +48,7 @@
- ¥{{ item.price }}
+ ¥{{ item.drug.drug_store_drug.price }}
库存:999盒
diff --git a/subPackages/product/symptoms.vue b/subPackages/product/symptoms.vue
index 4012f03..976a0f8 100644
--- a/subPackages/product/symptoms.vue
+++ b/subPackages/product/symptoms.vue
@@ -1,181 +1,577 @@
-
-
-
-
-
-
-
-
-
- 药品图片
+
+
+
+
+
+
+
+
+
+
-
- {{ formData.drug_name }}
-
- 功效:{{ indicationsText }}
+
+
+
+
+
+ ¥{{ productPrice }}
+
+ ¥{{ productDetail.daijian_price }}
+
+
+ 处方药
-
- 单价:¥{{ formData.price }}
- 总价:¥{{ totalPrice.toFixed(2) }}
+
+ 非处方药
+
+
+
+ {{ productDetail.drug_name }}
+ {{ productDetail.drug_alias || productDetail.drug_name }}
+
+
+
+
+ 规格:{{ productDetail.specification || '暂无' }}
-
-
-
-
-
-
-
+
+
+ {{ orderText }}
+
-
-
-
-
- 是
- 否
-
-
+
+
+
+ 功效主治
-
-
-
-
-
- 是
- 否
-
-
+
+ {{ productDetail.function || productDetail.indications || '暂无相关信息' }}
+
-
-
-
-
-
+
+
+ 用法用量
-
+
+ {{ productDetail.usage || '暂无相关信息' }}
+
+
-
+
+
+
+ 说明书
+
+
+
+
+
+ 暂无说明书,详见产品内部的说明书
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+