|
|
@@ -10,7 +10,7 @@
|
|
|
<!-- 中间可滚动:表单内容多,避免挤掉底部提交按钮 -->
|
|
|
<div class="panel-scroll">
|
|
|
<div class="commit-body">
|
|
|
- <!-- 当前门店/客户名称已移至顶栏展示,此处不再重复渲染;form.customName 仍用于提交 -->
|
|
|
+ <!-- 当前门店名在底部提交按钮正上方展示,避免多店开错单;form.customName 仍用于提交 -->
|
|
|
|
|
|
<!-- 批发商 pfLevel:同城/德邦等 -->
|
|
|
<div class="accounts-list" v-if="currentShop.pfLevel && currentShop.pfLevel == 1">
|
|
|
@@ -194,8 +194,8 @@
|
|
|
<div class="accounts-list">
|
|
|
<span class="accounts-label">合计金额</span>
|
|
|
<div class="accounts-center accounts-center--row">
|
|
|
- <span style="color:#3385ff;font-weight:700;">¥{{ parseFloat(finalPrice) }}</span>
|
|
|
- <el-button size="small" style="margin-left:12px;" @click="discountVisible = true">打折</el-button>
|
|
|
+ <span style="color:#3385ff;font-weight:700;font-size:28px;">¥{{ parseFloat(finalPrice) }}</span>
|
|
|
+ <el-button size="small" style="margin-left:20px;" @click="discountVisible = true">打折</el-button>
|
|
|
<span v-if="discountValue > 0 && discountValue < 1" class="discount-tag">
|
|
|
{{ (Number(discountValue) * 10).toFixed(1) }}折
|
|
|
</span>
|
|
|
@@ -253,12 +253,12 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <!-- 底部固定提交:始终可见,不随表单滚动 -->
|
|
|
+ <!-- 底部固定提交:始终可见,不随表单滚动;门店提示贴在按钮正上方,提交前再确认当前店 -->
|
|
|
<div class="panel-footer">
|
|
|
+ <div class="shop-tip">当前在 {{ displayShopName }}</div>
|
|
|
<el-button type="primary" :loading="submitting" class="submit-btn" @click="submitOrder(false)">
|
|
|
确认提交(Ctrl+Enter)
|
|
|
</el-button>
|
|
|
- <p class="tip">按 Tab 切到下一个,按空格选中</p>
|
|
|
</div>
|
|
|
|
|
|
<!-- 选物流:嵌套弹窗挂到 body,避免被侧栏裁剪 -->
|
|
|
@@ -380,7 +380,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
- // 面板已隐藏「当前门店」行;仍保留计算,避免与 shopName/currentShop 同步逻辑脱节
|
|
|
+ // 提交按钮上方「当前在 xxx」:优先用父页传入的 shopName,缺省再取当前店资料
|
|
|
displayShopName() {
|
|
|
if (this.shopName) return this.shopName
|
|
|
const shop = this.currentShop || {}
|
|
|
@@ -806,16 +806,21 @@ export default {
|
|
|
padding: 10px 12px 14px;
|
|
|
border-top: 1px solid #ebeef5;
|
|
|
background: #fff;
|
|
|
- .submit-btn {
|
|
|
- width: 100%;
|
|
|
- height: 40px;
|
|
|
+ .shop-tip {
|
|
|
+ margin-bottom: 8px;
|
|
|
font-size: 15px;
|
|
|
- }
|
|
|
- .tip {
|
|
|
+ font-weight: 700;
|
|
|
+ color: #303133;
|
|
|
+ line-height: 1.3;
|
|
|
text-align: center;
|
|
|
- color: #999;
|
|
|
- margin: 8px 0 0;
|
|
|
- font-size: 12px;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ }
|
|
|
+ .submit-btn {
|
|
|
+ width: 100%;
|
|
|
+ height: 52px;
|
|
|
+ font-size: 16px;
|
|
|
}
|
|
|
}
|
|
|
.commit-body {
|