jufubao-base 1.0.415 → 1.0.416
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -731,6 +731,60 @@ export default {
|
|
|
731
731
|
{ label: '隐藏', value: '0' },
|
|
732
732
|
]
|
|
733
733
|
},
|
|
734
|
+
{
|
|
735
|
+
label: '订单来源:',
|
|
736
|
+
ele: 'xd-radio',
|
|
737
|
+
valueKey: 'showOrderSource',
|
|
738
|
+
value: data['showOrderSource'] || 'N',
|
|
739
|
+
groupKey:'content',
|
|
740
|
+
placeholder: '请选择',
|
|
741
|
+
list: [
|
|
742
|
+
{ label: '显示', value: 'Y' },
|
|
743
|
+
{ label: '隐藏', value: 'N' },
|
|
744
|
+
],
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
label: '快递提示',
|
|
748
|
+
ele: 'xd-cus-switch',
|
|
749
|
+
valueKey: 'showLogisticsTip',
|
|
750
|
+
value: dataVal({ data, key: 'showLogisticsTip', dValue: 'Y', gValue }),
|
|
751
|
+
className: 'input100',
|
|
752
|
+
groupKey:'content',
|
|
753
|
+
labelInline:true,
|
|
754
|
+
inline: false,
|
|
755
|
+
cusStyle:{marginBottom: '10px'},
|
|
756
|
+
setting: {
|
|
757
|
+
tips:['显示','不显示'],
|
|
758
|
+
isBackType: 'string'
|
|
759
|
+
},
|
|
760
|
+
notice:'仅针对配送方式为快递的商品展示',
|
|
761
|
+
},
|
|
762
|
+
{ ele: 'group_start' },
|
|
763
|
+
{
|
|
764
|
+
label: "展示方式",
|
|
765
|
+
ele: "xd-radio",
|
|
766
|
+
valueKey: "logisticsTipType",
|
|
767
|
+
value: dataVal({ data, key: 'logisticsTipType', dValue: 'shop', gValue }),
|
|
768
|
+
groupKey:'content',
|
|
769
|
+
list: [
|
|
770
|
+
{ label: "按拆单展示", value: "shop"},
|
|
771
|
+
{ label: "按商品展示", value: "prod"},
|
|
772
|
+
],
|
|
773
|
+
hidden: data.showLogisticsTip === 'N',
|
|
774
|
+
labelInline: true,
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
label: "",
|
|
778
|
+
ele: "el-input",
|
|
779
|
+
valueKey: "logisticsTipText",
|
|
780
|
+
value: dataVal({ data, key: 'logisticsTipText', dValue: '', gValue }),
|
|
781
|
+
hidden: data.showLogisticsTip === 'N',
|
|
782
|
+
labelInline: true,
|
|
783
|
+
className: 'input100',
|
|
784
|
+
placeholder: '订单生成后72小时发货,如遇节假日发货顺延',
|
|
785
|
+
groupKey:'content',
|
|
786
|
+
},
|
|
787
|
+
{ ele: 'group_end' },
|
|
734
788
|
{
|
|
735
789
|
label: "核销订单样式",
|
|
736
790
|
ele: "xd-radio",
|
|
@@ -227,6 +227,14 @@
|
|
|
227
227
|
<view> {{ Fitem.label }}: </view>
|
|
228
228
|
<view> {{ Fitem.value }} </view>
|
|
229
229
|
</view>
|
|
230
|
+
<!-- 订单来源 -->
|
|
231
|
+
<view v-if="showOrderSource==='Y' && Sitem.special_names" class="postage_tip">
|
|
232
|
+
订单来源:{{ Sitem.special_names }}
|
|
233
|
+
</view>
|
|
234
|
+
<!-- 配送提示 -->
|
|
235
|
+
<view v-if="showLogisticsTip==='Y' && logisticsTipType==='prod'" class="postage_tip">
|
|
236
|
+
<view>{{ Sitem.postage_tip || logisticsTipText}}</view>
|
|
237
|
+
</view>
|
|
230
238
|
</view>
|
|
231
239
|
<view
|
|
232
240
|
class="jfb-base-order-detail__body-delivery-bottom"
|
|
@@ -1248,6 +1256,10 @@ export default {
|
|
|
1248
1256
|
refundPath: "",
|
|
1249
1257
|
refundFastPath: "",
|
|
1250
1258
|
btnTextSize: 20,
|
|
1259
|
+
showOrderSource: "",
|
|
1260
|
+
showLogisticsTip: "",
|
|
1261
|
+
logisticsTipType: "",
|
|
1262
|
+
logisticsTipText: "",
|
|
1251
1263
|
order_from: "",
|
|
1252
1264
|
|
|
1253
1265
|
showSupplement: false,
|
|
@@ -1412,6 +1424,8 @@ export default {
|
|
|
1412
1424
|
is_show_product: this.is_show_product === "Y" ? 1 : 0,
|
|
1413
1425
|
version: 'v2',
|
|
1414
1426
|
is_show_after_btn: this.showApplyAfter === 'Y' ? 1 : 0,
|
|
1427
|
+
is_show_sub_order_postage_tip: (this.showLogisticsTip === 'Y' && this.logisticsTipType === 'shop') ? 1 : 2,
|
|
1428
|
+
default_sub_order_postage_tip: this.logisticsTipText,
|
|
1415
1429
|
style: this.qrcodeLayout
|
|
1416
1430
|
},
|
|
1417
1431
|
})
|
|
@@ -1773,6 +1787,10 @@ export default {
|
|
|
1773
1787
|
this.showPreviewCode = true;
|
|
1774
1788
|
}
|
|
1775
1789
|
}
|
|
1790
|
+
this.showOrderSource = getContainerPropsValue(container, "content.showOrderSource", 'N');
|
|
1791
|
+
this.showLogisticsTip = getContainerPropsValue(container, "content.showLogisticsTip", 'Y');
|
|
1792
|
+
this.logisticsTipType = getContainerPropsValue(container, "content.logisticsTipType", 'shop');
|
|
1793
|
+
this.logisticsTipText = getContainerPropsValue(container, "content.logisticsTipText", '订单生成后72小时发货,如遇节假日发货顺延');
|
|
1776
1794
|
this.is_show_invoice = getContainerPropsValue(container, "content.is_show_invoice", "N");
|
|
1777
1795
|
this.showService = getContainerPropsValue(container, "content.showService", "");
|
|
1778
1796
|
this.serviceIcon = getContainerPropsValue(container, "content.serviceIcon", 'iconkefu');
|
|
@@ -2368,6 +2386,12 @@ export default {
|
|
|
2368
2386
|
}
|
|
2369
2387
|
}
|
|
2370
2388
|
|
|
2389
|
+
.postage_tip{
|
|
2390
|
+
color: rgb(229, 116, 112);
|
|
2391
|
+
font-size: 24rpx;
|
|
2392
|
+
margin: 10px 0;
|
|
2393
|
+
}
|
|
2394
|
+
|
|
2371
2395
|
.code-url {
|
|
2372
2396
|
display: flex;
|
|
2373
2397
|
justify-content: flex-start;
|