Przeglądaj źródła

```
refactor(traceability): 将保质期硬编码改为动态数据绑定

- 将cjx页面中的保质期从固定值"18个月"改为{{shelfLife}}变量
- 将qilang页面中的保质期从固定值"18个月"改为{{shelfLife}}变量
- 将xhc页面中的保质期从固定值"18个月"改为{{shelfLife}}变量
- 统一三个页面的保质期显示逻辑为动态数据绑定
```

mws 2 dni temu
rodzic
commit
993af8f372

+ 1 - 1
pages/cjx/traceability/traceability.vue

@@ -80,7 +80,7 @@
 						<view class="item-left item-text">保&nbsp;&nbsp;质&nbsp;&nbsp;期</view>
 					</u-col>
 					<u-col span="8">
-						<view class="item-text">18个月</view>
+						<view class="item-text">{{shelfLife}}</view>
 					</u-col>
 				</u-row>
 				<u-row class="row-class" customStyle="margin-bottom: 5px">

+ 1 - 1
pages/qilang/traceability/traceability.vue

@@ -66,7 +66,7 @@
 						<view class="item-left item-text">保&nbsp;&nbsp;质&nbsp;&nbsp;期</view>
 					</u-col>
 					<u-col span="8">
-						<view class="item-text-value">18个月</view>
+						<view class="item-text-value">{{shelfLife}}</view>
 					</u-col>
 				</u-row>
 				<u-row class="row-class" customStyle="margin-bottom: 5px">

+ 1 - 1
pages/xhc/traceability/traceability.vue

@@ -74,7 +74,7 @@
 						<view class="item-left item-text">保&nbsp;&nbsp;质&nbsp;&nbsp;期</view>
 					</u-col>
 					<u-col span="8">
-						<view class="item-text-value">18个月</view>
+						<view class="item-text-value">{{shelfLife}}</view>
 					</u-col>
 				</u-row>
 				<u-row class="row-class" customStyle="margin-bottom: 5px">