|
|
@@ -58,198 +58,159 @@
|
|
|
<view class="module-com input-line-wrap">
|
|
|
|
|
|
|
|
|
-<block v-if="ghsInfo.pfLevel && ghsInfo.pfLevel == 1">
|
|
|
-
|
|
|
- <tui-list-cell class="line-cell" :hover="false" :arrow="false" v-if="ghsInfo.shopId == 14636">
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 2 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(2)">冷链物流</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 3 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(3)">航空物流</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 0 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(0)">德邦物流</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 1 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(1)">顺丰物流</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 4 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(4)">同城配送</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 5 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;font-size:23upx;" @click="changeTransType(5)">到店自取</button>
|
|
|
- </tui-list-cell>
|
|
|
-
|
|
|
- <tui-list-cell class="line-cell" :hover="false" :arrow="false" v-else-if="ghsInfo.shopId == 3">
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 2 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(2)">冷链物流</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 3 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(3)">航空物流</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 0 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(0)">德邦物流</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 1 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(1)">顺丰物流</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 4 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(4)">同城配送</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 5 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;font-size:23upx;" @click="changeTransType(5)">到店自取</button>
|
|
|
- </tui-list-cell>
|
|
|
-
|
|
|
- <tui-list-cell class="line-cell" :hover="false" :arrow="false" v-else-if="ghsInfo.shopId == 29136">
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 0 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(0)">德邦物流</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 1 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(1)">顺丰物流</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 2 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(2)">冷链物流</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 3 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(3)">航空物流</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 4 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(4)">同城配送</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 5 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;font-size:23upx;" @click="changeTransType(5)">到店自取</button>
|
|
|
- </tui-list-cell>
|
|
|
-
|
|
|
- <tui-list-cell class="line-cell" :hover="false" :arrow="false" v-else>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 4 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(4)">同城配送</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 0 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(0)">德邦物流</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 1 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(1)">顺丰物流</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 2 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(2)">冷链物流</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 3 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(3)">航空物流</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.transType == 5 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;font-size:23upx;" @click="changeTransType(5)">到店自取</button>
|
|
|
- </tui-list-cell>
|
|
|
-
|
|
|
- <tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
- <view>
|
|
|
- <block v-if="ghsInfo.shopId == 21319">
|
|
|
- <view>
|
|
|
- <text style="width:100%;font-weight:bold;color:#3385FF;">所有打包费/运费,客服会一一同大家对接收取。客服微信 hzz252252</text>
|
|
|
- </view>
|
|
|
- </block>
|
|
|
- <block v-else>
|
|
|
- <view v-if="form.transType == 0 || form.transType == 1">
|
|
|
- <text style="color:red;width:100%;font-weight:bold;">送货上门</text>
|
|
|
- </view>
|
|
|
- <view v-if="form.transType == 2 || form.transType == 3">
|
|
|
- <text style="color:red;width:100%;font-weight:bold;">提货自理</text>
|
|
|
- </view>
|
|
|
- <view v-if="form.transType != 5">
|
|
|
- <text style="color:#3385FF;width:100%;font-weight:bold;">早班或晚班,指定发物流公司请备注。</text>
|
|
|
- </view>
|
|
|
- <view v-if="form.transType != 5">
|
|
|
- <text v-if="ghsInfo.shopId == 13398" style="color:red;width:100%;font-weight:bold;">本店昆明直发包邮到店,购买数量需要15扎以上,低于15扎请联系当地店长!</text>
|
|
|
- <text v-else-if="ghsInfo.shopId == 29136" style="color:red;width:100%;font-weight:bold;">运费、打包费请联系客服</text>
|
|
|
- <text v-else style="color:#3385FF;width:100%;font-weight:bold;">运费预收,根据实际产生物流费用,多退少补。有退款会原路退回。</text>
|
|
|
- </view>
|
|
|
+ <block v-if="ghsInfo.pfLevel && ghsInfo.pfLevel == 1">
|
|
|
+
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="false" v-if="ghsInfo.shopId == 14636">
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 2 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(2)">冷链物流</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 3 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(3)">航空物流</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 0 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(0)">德邦物流</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 1 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(1)">顺丰物流</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 4 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(4)">同城配送</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 5 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;font-size:23upx;" @click="changeTransType(5)">到店自取</button>
|
|
|
+ </tui-list-cell>
|
|
|
+
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="false" v-else-if="ghsInfo.shopId == 3">
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 2 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(2)">冷链物流</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 3 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(3)">航空物流</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 0 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(0)">德邦物流</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 1 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(1)">顺丰物流</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 4 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(4)">同城配送</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 5 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;font-size:23upx;" @click="changeTransType(5)">到店自取</button>
|
|
|
+ </tui-list-cell>
|
|
|
+
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="false" v-else-if="ghsInfo.shopId == 29136">
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 0 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(0)">德邦物流</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 1 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(1)">顺丰物流</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 2 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(2)">冷链物流</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 3 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(3)">航空物流</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 4 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(4)">同城配送</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 5 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;font-size:23upx;" @click="changeTransType(5)">到店自取</button>
|
|
|
+ </tui-list-cell>
|
|
|
+
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="false" v-else>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 4 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(4)">同城配送</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 0 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(0)">德邦物流</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 1 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(1)">顺丰物流</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 2 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(2)">冷链物流</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 3 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(3)">航空物流</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.transType == 5 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;font-size:23upx;" @click="changeTransType(5)">到店自取</button>
|
|
|
+ </tui-list-cell>
|
|
|
+
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
+ <view>
|
|
|
+ <block v-if="ghsInfo.shopId == 21319">
|
|
|
+ <view>
|
|
|
+ <text style="width:100%;font-weight:bold;color:#3385FF;">所有打包费/运费,客服会一一同大家对接收取。客服微信 hzz252252</text>
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
+ <block v-else>
|
|
|
+ <view v-if="form.transType == 0 || form.transType == 1">
|
|
|
+ <text style="color:red;width:100%;font-weight:bold;">送货上门</text>
|
|
|
+ </view>
|
|
|
+ <view v-if="form.transType == 2 || form.transType == 3">
|
|
|
+ <text style="color:red;width:100%;font-weight:bold;">提货自理</text>
|
|
|
+ </view>
|
|
|
+ <view v-if="form.transType != 5">
|
|
|
+ <text style="color:#3385FF;width:100%;font-weight:bold;">早班或晚班,指定发物流公司请备注。</text>
|
|
|
+ </view>
|
|
|
+ <view v-if="form.transType != 5">
|
|
|
+ <text v-if="ghsInfo.shopId == 13398" style="color:red;width:100%;font-weight:bold;">本店昆明直发包邮到店,购买数量需要15扎以上,低于15扎请联系当地店长!</text>
|
|
|
+ <text v-else-if="ghsInfo.shopId == 29136" style="color:red;width:100%;font-weight:bold;">运费、打包费请联系客服</text>
|
|
|
+ <text v-else style="color:#3385FF;width:100%;font-weight:bold;">运费预收,根据实际产生物流费用,多退少补。有退款会原路退回。</text>
|
|
|
+ </view>
|
|
|
|
|
|
- </block>
|
|
|
- </view>
|
|
|
- </tui-list-cell>
|
|
|
-
|
|
|
-</block>
|
|
|
-<block v-else>
|
|
|
- <tui-list-cell class="line-cell" :hover="false" :arrow="false" >
|
|
|
- <button class="admin-button-com middle" :class="[form.sendType == 0 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;" @click="changeSendType(0)" v-if="ghsInfo.shopId != 4608" >送货上门</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.sendType == 1 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:60upx;" @click="changeSendType(1)">自取</button>
|
|
|
- <template v-if="ghsInfo.shopId != 14248">
|
|
|
- <view v-if="ghsInfo.openIntraCity==1" style="position:relative;display:inline-block;">
|
|
|
- <button class="admin-button-com middle" :class="[form.sendType == 2 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:60upx;" @click="changeSendType(2)">跑腿</button>
|
|
|
- </view>
|
|
|
- <button v-else class="admin-button-com middle" :class="[form.sendType == 2 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:60upx;" @click="changeSendType(2)">跑腿</button>
|
|
|
- </template>
|
|
|
- <button class="admin-button-com middle" :class="[form.sendType == 4 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:60upx;" @click="changeSendType(4)" v-if="ghsInfo.shopId != 14248">快递</button>
|
|
|
- <button class="admin-button-com middle" :class="[form.sendType == 3 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:60upx;" @click="changeSendType(3)" v-if="ghsInfo.shopId != 14248">物流</button>
|
|
|
- </tui-list-cell>
|
|
|
-
|
|
|
- <tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
-
|
|
|
- <view v-if="form.sendType == 0">
|
|
|
- <block v-if="ghsInfo.shopId == 40312">
|
|
|
- <view style="color:red;width:100%;font-weight:bold;">市区如需配送请拍运费,(左下角运费服务专栏)县城寄货运费可到付</view>
|
|
|
- </block>
|
|
|
- <block v-else-if="ghsInfo.shopId == 4608">
|
|
|
- <view style="color:red;width:100%;font-weight:bold;">满500元,10公里内免费配送</view>
|
|
|
- <view style="color:red;width:100%;font-weight:bold;">满1000元,20公里内免费配送</view>
|
|
|
- <view style="color:#3385FF;width:100%;font-weight:bold;">请自行查询距离是否符合要求,符合要求再下单哦!</view>
|
|
|
- </block>
|
|
|
- <block v-else>
|
|
|
- <view><text style="color:#3385FF;">首次下单,请联系客服确认您是否在配送范围</text></view>
|
|
|
- <text style="color: #3385FF;width:100%;" v-if="ghsInfo.shopId && (ghsInfo.shopId == 520 || ghsInfo.shopId == 1489)">
|
|
|
- 在本店配送范围的,下单满200元免费送货上门
|
|
|
- </text>
|
|
|
- <text style="color: #3385FF;width:100%;" v-else>在本店配送范围的,免费送货上门</text>
|
|
|
-
|
|
|
- <view><text style="color: #3385FF;width:100%;" v-if="ghsInfo.shopId && ghsInfo.shopId == 14248">每天早上8:00(7:00截单)和下午1:00(12:30截单)发车,请提前下单,截单后的订单默认下一趟配送;市区满100元起送,远的地区需满200元起(顺路1扎花也可以送)</text></view>
|
|
|
- <view><text style="color: #3385FF;width:100%;" v-if="ghsInfo.shopId && ghsInfo.shopId == 14248">其余时间不免费配送,请在规定时间内下单!配送根据线路安排,不支持催单哦,急单可以帮叫车单独送,车费到付</text></view>
|
|
|
- <view><text style="color: #09733e;width:100%;font-weight:bold;" v-if="ghsInfo.shopId && ghsInfo.shopId == 14248">理赔规则:鲜花是鲜活类产品,一旦送出后无质量问题不退不换;收到货请仔细检查数量和质量,有问题请在6小时内联系客服,超过6小时不再理赔;所有花材10%为正常损耗不售后,超出的部分可以售后,感谢支持。</text></view>
|
|
|
- <view><text style="color: #09733e;width:100%;font-weight:bold;" v-if="ghsInfo.shopId && ghsInfo.shopId == 14248">基地玫瑰:基地玫瑰有夹支、畸形花头 属于正常,一律不售后。</text></view>
|
|
|
-
|
|
|
- <view><text style="color:red;font-weight:bold">免费配送仅送货到楼下,不支持送货上楼</text></view>
|
|
|
- <view v-if="ghsInfo.shopId && (ghsInfo.shopId == 520 || ghsInfo.shopId == 1489)"><text style="color:red;font-weight:bold">免费配送每天23:30发车,其它时间请用跑腿或自取</text></view>
|
|
|
- <view><text style="color:red;font-weight:bold">不在配送范围的,请勿选送货上门,否则运费自理</text></view>
|
|
|
- <view v-if="ghsInfo.shopId && (ghsInfo.shopId == 11094 || ghsInfo.shopId == 11318)"><text style="color:red;font-weight:bold">所有彩玫瑰1扎损耗3支内不售后</text></view>
|
|
|
- <view v-if="ghsInfo.shopId && (ghsInfo.shopId == 21486)"><text style="color:#3385FF;">收到货品后,3个小时之内可以申请售后,要求有图片!鲜花是生鲜产品,3个小时后不提供售后</text></view>
|
|
|
- <view v-if="ghsInfo.shopId && (ghsInfo.shopId == 21486)"><text style="color:black;font-weight:bold;">寻菊花,玫瑰等单品,常年用量大且稳定的客户合作!有意向的联系客服</text></view>
|
|
|
- <view v-if="ghsInfo.shopId && (ghsInfo.shopId == 23281)"><text style="color:#3385FF;font-weight:bold">0:00-7:30下单当日配送,7:30-23:59下单次日配送</text></view>
|
|
|
- </block>
|
|
|
+ </block>
|
|
|
+ </view>
|
|
|
+ </tui-list-cell>
|
|
|
+
|
|
|
+ </block>
|
|
|
+ <block v-else>
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="false" >
|
|
|
+ <button class="admin-button-com middle" :class="[form.sendType == 0 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;" @click="changeSendType(0)" v-if="ghsInfo.shopId != 4608" >送货上门</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.sendType == 1 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:60upx;" @click="changeSendType(1)">自取</button>
|
|
|
+ <template v-if="ghsInfo.shopId != 14248">
|
|
|
+ <view v-if="ghsInfo.openIntraCity==1" style="position:relative;display:inline-block;">
|
|
|
+ <button class="admin-button-com middle" :class="[form.sendType == 2 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:60upx;" @click="changeSendType(2)">跑腿</button>
|
|
|
+ </view>
|
|
|
+ <button v-else class="admin-button-com middle" :class="[form.sendType == 2 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:60upx;" @click="changeSendType(2)">跑腿</button>
|
|
|
+ </template>
|
|
|
+ <button class="admin-button-com middle" :class="[form.sendType == 4 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:60upx;" @click="changeSendType(4)" v-if="ghsInfo.shopId != 14248">快递</button>
|
|
|
+ <button class="admin-button-com middle" :class="[form.sendType == 3 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:60upx;" @click="changeSendType(3)" v-if="ghsInfo.shopId != 14248">物流</button>
|
|
|
+ </tui-list-cell>
|
|
|
+
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
+
|
|
|
+ <view v-if="form.sendType == 0">
|
|
|
+ <block v-if="ghsInfo.shopId == 40312">
|
|
|
+ <view style="color:red;width:100%;font-weight:bold;">市区如需配送请拍运费,(左下角运费服务专栏)县城寄货运费可到付</view>
|
|
|
+ </block>
|
|
|
+ <block v-else-if="ghsInfo.shopId == 4608">
|
|
|
+ <view style="color:red;width:100%;font-weight:bold;">满500元,10公里内免费配送</view>
|
|
|
+ <view style="color:red;width:100%;font-weight:bold;">满1000元,20公里内免费配送</view>
|
|
|
+ <view style="color:#3385FF;width:100%;font-weight:bold;">请自行查询距离是否符合要求,符合要求再下单哦!</view>
|
|
|
+ </block>
|
|
|
+ <block v-else>
|
|
|
+ <view><text style="color:#3385FF;">首次下单,请联系客服确认您是否在配送范围</text></view>
|
|
|
+ <text style="color: #3385FF;width:100%;" v-if="ghsInfo.shopId && (ghsInfo.shopId == 520 || ghsInfo.shopId == 1489)">
|
|
|
+ 在本店配送范围的,下单满200元免费送货上门
|
|
|
+ </text>
|
|
|
+ <text style="color: #3385FF;width:100%;" v-else>在本店配送范围的,免费送货上门</text>
|
|
|
+
|
|
|
+ <view><text style="color: #3385FF;width:100%;" v-if="ghsInfo.shopId && ghsInfo.shopId == 14248">每天早上8:00(7:00截单)和下午1:00(12:30截单)发车,请提前下单,截单后的订单默认下一趟配送;市区满100元起送,远的地区需满200元起(顺路1扎花也可以送)</text></view>
|
|
|
+ <view><text style="color: #3385FF;width:100%;" v-if="ghsInfo.shopId && ghsInfo.shopId == 14248">其余时间不免费配送,请在规定时间内下单!配送根据线路安排,不支持催单哦,急单可以帮叫车单独送,车费到付</text></view>
|
|
|
+ <view><text style="color: #09733e;width:100%;font-weight:bold;" v-if="ghsInfo.shopId && ghsInfo.shopId == 14248">理赔规则:鲜花是鲜活类产品,一旦送出后无质量问题不退不换;收到货请仔细检查数量和质量,有问题请在6小时内联系客服,超过6小时不再理赔;所有花材10%为正常损耗不售后,超出的部分可以售后,感谢支持。</text></view>
|
|
|
+ <view><text style="color: #09733e;width:100%;font-weight:bold;" v-if="ghsInfo.shopId && ghsInfo.shopId == 14248">基地玫瑰:基地玫瑰有夹支、畸形花头 属于正常,一律不售后。</text></view>
|
|
|
+
|
|
|
+ <view><text style="color:red;font-weight:bold">免费配送仅送货到楼下,不支持送货上楼</text></view>
|
|
|
+ <view v-if="ghsInfo.shopId && (ghsInfo.shopId == 520 || ghsInfo.shopId == 1489)"><text style="color:red;font-weight:bold">免费配送每天23:30发车,其它时间请用跑腿或自取</text></view>
|
|
|
+ <view><text style="color:red;font-weight:bold">不在配送范围的,请勿选送货上门,否则运费自理</text></view>
|
|
|
+ <view v-if="ghsInfo.shopId && (ghsInfo.shopId == 11094 || ghsInfo.shopId == 11318)"><text style="color:red;font-weight:bold">所有彩玫瑰1扎损耗3支内不售后</text></view>
|
|
|
+ <view v-if="ghsInfo.shopId && (ghsInfo.shopId == 21486)"><text style="color:#3385FF;">收到货品后,3个小时之内可以申请售后,要求有图片!鲜花是生鲜产品,3个小时后不提供售后</text></view>
|
|
|
+ <view v-if="ghsInfo.shopId && (ghsInfo.shopId == 21486)"><text style="color:black;font-weight:bold;">寻菊花,玫瑰等单品,常年用量大且稳定的客户合作!有意向的联系客服</text></view>
|
|
|
+ <view v-if="ghsInfo.shopId && (ghsInfo.shopId == 23281)"><text style="color:#3385FF;font-weight:bold">0:00-7:30下单当日配送,7:30-23:59下单次日配送</text></view>
|
|
|
+ </block>
|
|
|
|
|
|
- </view>
|
|
|
- <view v-if="form.sendType == 1">
|
|
|
- <text style="color: #3385FF;width:100%;">到店自取,没有配送费</text>
|
|
|
- </view>
|
|
|
- <view v-if="form.sendType == 2">
|
|
|
- <text v-if="ghsInfo.openIntraCity == 0" style="color: #3385FF;width:100%;font-size:34upx;font-weight:bold;">运费自理或到付(请联系客服)</text>
|
|
|
- <text v-if="ghsInfo.openIntraCity == 2" style="color: red;width:100%;font-size:34upx;font-weight:bold;">跑腿配送暂不可用,请选其它方式</text>
|
|
|
- <text v-if="ghsInfo.openIntraCity == 1" style="color: #3385FF;width:100%;">各平台跑腿费</text>
|
|
|
- <!-- 跑腿平台报价列表 -->
|
|
|
- <view v-if="ghsInfo.openIntraCity == 1 && deliveryQuotes.length > 0" class="delivery-quotes-container">
|
|
|
- <view class="delivery-quotes-grid">
|
|
|
- <view
|
|
|
- v-for="(item, index) in deliveryQuotes"
|
|
|
- :key="index"
|
|
|
- class="delivery-quote-item"
|
|
|
- :class="{
|
|
|
- 'active': selectedDeliveryIndex === index,
|
|
|
- 'disabled': !item.isAble,
|
|
|
- 'fixed-width': deliveryQuotes.length <= 2
|
|
|
- }"
|
|
|
- @click="selectDelivery(item, index)"
|
|
|
- >
|
|
|
- <view class="platform-name">{{ item.displayName || item.name }}</view>
|
|
|
- <view class="platform-price">{{ item.priceText }}元</view>
|
|
|
- <view v-if="item.type" class="platform-type">{{ item.type }}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view v-else-if="ghsInfo.openIntraCity == 1 && deliveryQuotesLoading" style="text-align: center; padding: 20upx 0; color: #999;">
|
|
|
- 正在获取报价...
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view v-if="form.sendType == 3">
|
|
|
- <text style="color: #3385FF;width:100%;">运费到付</text>
|
|
|
- </view>
|
|
|
- <view v-if="form.sendType == 4">
|
|
|
- <text style="color: #3385FF;width:100%;">运费到付</text>
|
|
|
- </view>
|
|
|
- </tui-list-cell>
|
|
|
+ </view>
|
|
|
+ <view v-if="form.sendType == 1">
|
|
|
+ <text style="color: #3385FF;width:100%;">到店自取,没有配送费</text>
|
|
|
+ </view>
|
|
|
+ <view v-if="form.sendType == 2">
|
|
|
+ <text v-if="ghsInfo.openIntraCity == 0" style="color: #3385FF;width:100%;font-size:34upx;font-weight:bold;">运费自理或到付(请联系客服)</text>
|
|
|
+ <text v-if="ghsInfo.openIntraCity == 2" style="color: red;width:100%;font-size:34upx;font-weight:bold;">跑腿配送暂不可用,请选其它方式</text>
|
|
|
+ </view>
|
|
|
+ <view v-if="form.sendType == 3">
|
|
|
+ <text style="color: #3385FF;width:100%;">运费到付</text>
|
|
|
+ </view>
|
|
|
+ <view v-if="form.sendType == 4">
|
|
|
+ <text style="color: #3385FF;width:100%;">运费到付</text>
|
|
|
+ </view>
|
|
|
+ </tui-list-cell>
|
|
|
+
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="false" v-if="needAddPackCost == true">
|
|
|
+ <view>
|
|
|
+ <text style="color: red;width:100%;">
|
|
|
+ 当天订单不满{{lackExpend}}元,加纸箱包装费{{ form.packCost }}元
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
+ </tui-list-cell>
|
|
|
+
|
|
|
+ <block v-if="$util.isEmpty(wlList)">
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" v-if="form.sendType == 3">
|
|
|
+ <view class="tui-title">配送物流</view>
|
|
|
+ <input type="text" placeholder="请填选物流" v-model="form.wlName" @focus="form.wlName=''" placeholder-class="tui-placeholder"/>
|
|
|
+ </tui-list-cell>
|
|
|
+ </block>
|
|
|
+ <block v-else>
|
|
|
+ <tui-list-cell class="line-cell" :arrow="true" v-if="form.sendType == 3">
|
|
|
+ <div class="tui-title">配送物流</div>
|
|
|
+ <picker mode="selector" :value="form.wlId" :range="wlList" range-key="name" @change="changeWlFn" class="tui-input" >
|
|
|
+ <div v-if="form.wlId">{{ wlSelData.name }}</div>
|
|
|
+ <div class="tui-placeholder" v-else>请选择</div>
|
|
|
+ </picker>
|
|
|
+ </tui-list-cell>
|
|
|
+ </block>
|
|
|
+ </block>
|
|
|
|
|
|
- <tui-list-cell class="line-cell" :hover="false" :arrow="false" v-if="needAddPackCost == true">
|
|
|
- <view>
|
|
|
- <text style="color: red;width:100%;">
|
|
|
- 当天订单不满{{lackExpend}}元,加纸箱包装费{{ form.packCost }}元
|
|
|
- </text>
|
|
|
- </view>
|
|
|
- </tui-list-cell>
|
|
|
-
|
|
|
- <block v-if="$util.isEmpty(wlList)">
|
|
|
- <tui-list-cell class="line-cell" :hover="false" v-if="form.sendType == 3">
|
|
|
- <view class="tui-title">配送物流</view>
|
|
|
- <input type="text" placeholder="请填选物流" v-model="form.wlName" @focus="form.wlName=''" placeholder-class="tui-placeholder"/>
|
|
|
- </tui-list-cell>
|
|
|
- </block>
|
|
|
- <block v-else>
|
|
|
- <tui-list-cell class="line-cell" :arrow="true" v-if="form.sendType == 3">
|
|
|
- <div class="tui-title">配送物流</div>
|
|
|
- <picker mode="selector" :value="form.wlId" :range="wlList" range-key="name" @change="changeWlFn" class="tui-input" >
|
|
|
- <div v-if="form.wlId">{{ wlSelData.name }}</div>
|
|
|
- <div class="tui-placeholder" v-else>请选择</div>
|
|
|
- </picker>
|
|
|
- </tui-list-cell>
|
|
|
- </block>
|
|
|
-</block>
|
|
|
-
|
|
|
- <tui-list-cell class="line-cell" :hover="false" v-if="displaySendCost == true && Number(showDistance)>0">
|
|
|
- <view class="tui-title">距离</view>
|
|
|
- <text v-if="showDistance > 100" style="color: #3385FF">{{ (showDistance/1000).toFixed(1) }}公里</text>
|
|
|
- <text v-else style="color: #3385FF">{{ showDistance }} 米</text>
|
|
|
- </tui-list-cell>
|
|
|
- <tui-list-cell class="line-cell" :hover="false" v-if="displaySendCost == true">
|
|
|
- <view class="tui-title">跑腿费</view>
|
|
|
- <view>
|
|
|
- <text :class="isFreeDelivery ? 'delivery-price-free' : 'delivery-price-normal'">¥ {{ form.sendCost }}</text>
|
|
|
- <text v-if="isFreeDelivery" class="free-delivery-tag">【免跑腿费】</text>
|
|
|
- <text v-if="showDeliveryPolicy" class="delivery-policy-link" @click="showDeliveryPolicyModal">
|
|
|
- <text class="iconfont iconchangjianwentixiangguanwenti2 policy-icon"></text>包配送政策
|
|
|
- </text>
|
|
|
- </view>
|
|
|
- </tui-list-cell>
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="true" v-if="displayAddress == true" @click="modifyAddress">
|
|
|
<view class="tui-title">收花地址</view>
|
|
|
<view v-if="!$util.isEmpty(shopInfo.address)">
|
|
|
@@ -261,6 +222,50 @@
|
|
|
</view>
|
|
|
</tui-list-cell>
|
|
|
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
+ <view v-if="form.sendType == 2">
|
|
|
+ <!-- 跑腿平台报价列表 -->
|
|
|
+ <view v-if="ghsInfo.openIntraCity == 1 && deliveryQuotes.length > 0" class="delivery-quotes-container">
|
|
|
+ <view class="delivery-quotes-grid">
|
|
|
+ <view
|
|
|
+ v-for="(item, index) in deliveryQuotes"
|
|
|
+ :key="index"
|
|
|
+ class="delivery-quote-item"
|
|
|
+ :class="{
|
|
|
+ 'active': selectedDeliveryIndex === index,
|
|
|
+ 'disabled': !item.isAble,
|
|
|
+ 'fixed-width': deliveryQuotes.length <= 2
|
|
|
+ }"
|
|
|
+ @click="selectDelivery(item, index)"
|
|
|
+ >
|
|
|
+ <view class="platform-name">{{ item.displayName || item.name }}</view>
|
|
|
+ <view class="platform-price">{{ item.priceText }}元</view>
|
|
|
+ <view v-if="item.type" class="platform-type">{{ item.type }}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view v-else style="text-align: center; padding: 20upx 0;">
|
|
|
+ <text v-if="validAddress">正在获取运费...</text><text v-else style="color:red;font-weight:bold;font-size:32upx;">上面地址缺失或有问题,请修改</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </tui-list-cell>
|
|
|
+
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" v-if="displaySendCost == true && Number(showDistance)>0">
|
|
|
+ <view class="tui-title">距离</view>
|
|
|
+ <text v-if="showDistance > 100" style="color: #3385FF">{{ (showDistance/1000).toFixed(1) }}公里</text>
|
|
|
+ <text v-else style="color: #3385FF">{{ showDistance }} 米</text>
|
|
|
+ </tui-list-cell>
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" v-if="displaySendCost == true">
|
|
|
+ <view class="tui-title">跑腿费</view>
|
|
|
+ <view>
|
|
|
+ <text :class="isFreeDelivery ? 'delivery-price-free' : 'delivery-price-normal'">¥ {{ form.sendCost }}</text>
|
|
|
+ <text v-if="isFreeDelivery" class="free-delivery-tag">【免跑腿费】</text>
|
|
|
+ <text v-if="showDeliveryPolicy" class="delivery-policy-link" @click="showDeliveryPolicyModal">
|
|
|
+ 免费配送要求
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
+ </tui-list-cell>
|
|
|
+
|
|
|
<tui-list-cell class="line-cell" :hover="false" v-if="needAddPackCost == true">
|
|
|
<view class="tui-title">包装费</view>
|
|
|
<text style="color: #3385FF">¥{{ form.packCost }}</text>
|
|
|
@@ -409,7 +414,8 @@ export default {
|
|
|
lat:'',
|
|
|
long:'',
|
|
|
fullAddress:'',
|
|
|
- showAddress:''
|
|
|
+ showAddress:'',
|
|
|
+ address:''
|
|
|
},
|
|
|
wlList:[],
|
|
|
wlSelData: {id:0,name:''},
|
|
|
@@ -419,9 +425,9 @@ export default {
|
|
|
showDistance:0,
|
|
|
deliveryQuotes: [], // 跑腿平台报价列表
|
|
|
selectedDeliveryIndex: -1, // 选中的报价索引
|
|
|
- deliveryQuotesLoading: false, // 报价加载状态
|
|
|
selectedDeliveryData: null, // 选中的报价数据
|
|
|
- deliveryPolicyList: [] // 包配送政策列表
|
|
|
+ deliveryPolicyList: [], // 包配送政策列表
|
|
|
+ validAddress:false
|
|
|
};
|
|
|
},
|
|
|
onLoad() {
|
|
|
@@ -484,7 +490,11 @@ export default {
|
|
|
if(this.displaySendCost == false){
|
|
|
return false
|
|
|
}
|
|
|
-
|
|
|
+ //地址有问题时,不展示免费跑腿情况
|
|
|
+ if(this.validAddress == false){
|
|
|
+ return false
|
|
|
+ }
|
|
|
+
|
|
|
// 条件1: 比较距离与免费公里数
|
|
|
// showDistance单位是米,hcFreeKm单位是千米
|
|
|
const distanceInMeters = Number(this.showDistance) || 0
|
|
|
@@ -529,10 +539,10 @@ export default {
|
|
|
if (!this.ghsInfo) return false
|
|
|
|
|
|
// 检查 hcFreeKm
|
|
|
- const hasFreeKm = this.ghsInfo.hcFreeKm && Number(this.ghsInfo.hcFreeKm) > 0
|
|
|
+ const hasFreeKm = this.ghsInfo.hcFreeKm ?Number(this.ghsInfo.hcFreeKm):0
|
|
|
|
|
|
// 检查 hcMap
|
|
|
- let hasMap = false
|
|
|
+ let hasPolicy = false
|
|
|
let mapData = this.ghsInfo.hcMap
|
|
|
if(mapData && typeof mapData == 'string'){
|
|
|
try {
|
|
|
@@ -542,10 +552,12 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
if(mapData && Array.isArray(mapData) && mapData.length > 0){
|
|
|
- hasMap = true
|
|
|
+ hasPolicy = true
|
|
|
}
|
|
|
-
|
|
|
- return hasFreeKm || hasMap
|
|
|
+ if(hasFreeKm>0){
|
|
|
+ hasPolicy = true
|
|
|
+ }
|
|
|
+ return hasPolicy
|
|
|
},
|
|
|
/**
|
|
|
* 计算总金额
|
|
|
@@ -694,9 +706,11 @@ export default {
|
|
|
if(num == 2){
|
|
|
//计算运费
|
|
|
//this.calcFreight() //废弃
|
|
|
-
|
|
|
+
|
|
|
if(this.displaySendCost && this.ghsInfo.openIntraCity == 1){
|
|
|
- this.getDeliveryQuotes()//各跑腿平台报价
|
|
|
+ if(!this.$util.isEmpty(this.shopInfo.lat) && !this.$util.isEmpty(this.shopInfo.long) && !this.$util.isEmpty(this.shopInfo.address)){
|
|
|
+ this.getDeliveryQuotes()//各跑腿平台报价
|
|
|
+ }
|
|
|
}
|
|
|
} else {
|
|
|
// 切换到其他配送方式时清空报价数据
|
|
|
@@ -708,7 +722,6 @@ export default {
|
|
|
},
|
|
|
// 获取跑腿平台报价
|
|
|
getDeliveryQuotes() {
|
|
|
- this.deliveryQuotesLoading = true
|
|
|
this.deliveryQuotes = []
|
|
|
this.selectedDeliveryIndex = -1
|
|
|
this.selectedDeliveryData = null
|
|
|
@@ -721,7 +734,6 @@ export default {
|
|
|
weight: 1, // 固定重量1kg,请后期根据实际需求修改。测试过后,所有平台都能在5kg的重量下,不会产生额外费用。
|
|
|
remark: '',
|
|
|
}).then(res => {
|
|
|
- this.deliveryQuotesLoading = false
|
|
|
if (res.code === 1 && res.data && res.data.deliveryList) {
|
|
|
// 处理报价数据
|
|
|
this.deliveryQuotes = res.data.deliveryList
|
|
|
@@ -753,18 +765,10 @@ export default {
|
|
|
this.selectDelivery(this.deliveryQuotes[firstAvailableIndex], firstAvailableIndex)
|
|
|
}
|
|
|
} else {
|
|
|
- uni.showToast({
|
|
|
- title: '暂无可用的配送平台',
|
|
|
- icon: 'none'
|
|
|
- })
|
|
|
+ uni.showToast({ title: '暂无跑腿可用', icon: 'none' })
|
|
|
}
|
|
|
}).catch(err => {
|
|
|
- this.deliveryQuotesLoading = false
|
|
|
- console.error('获取跑腿报价失败:', err)
|
|
|
- uni.showToast({
|
|
|
- title: '获取报价失败',
|
|
|
- icon: 'none'
|
|
|
- })
|
|
|
+ uni.showToast({ title: '没有获取到跑腿费用', icon: 'none' })
|
|
|
})
|
|
|
},
|
|
|
// 选择跑腿平台
|
|
|
@@ -875,11 +879,12 @@ export default {
|
|
|
|
|
|
},
|
|
|
getCurrentShop(){
|
|
|
- let that = this
|
|
|
currentShop().then(res=>{
|
|
|
- let that = this
|
|
|
if(res.code == 1){
|
|
|
- that.shopInfo = res.data
|
|
|
+ this.shopInfo = res.data
|
|
|
+ if(!this.$util.isEmpty(this.shopInfo.lat) && !this.$util.isEmpty(this.shopInfo.long) && !this.$util.isEmpty(this.shopInfo.address)){
|
|
|
+ this.validAddress = true
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
@@ -1525,13 +1530,13 @@ export default {
|
|
|
|
|
|
.free-delivery-tag {
|
|
|
color: #3385FF;
|
|
|
- margin-left: 10upx;
|
|
|
+ margin-left: 5upx;
|
|
|
}
|
|
|
|
|
|
.delivery-policy-link {
|
|
|
color: rgb(201, 52, 52);
|
|
|
font-size: 28upx;
|
|
|
- margin-left: 26upx;
|
|
|
+ margin-left: 5upx;
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
|
|
|
@@ -1574,7 +1579,7 @@ export default {
|
|
|
margin-left: 40upx;
|
|
|
}
|
|
|
.policy-btn {
|
|
|
- width: 100%;
|
|
|
+ width: 50%;
|
|
|
height: 80upx;
|
|
|
line-height: 80upx;
|
|
|
text-align: center;
|