修复bug,更新代码
This commit is contained in:
parent
a75534084b
commit
f278009f18
|
@ -434,12 +434,33 @@ onUnmounted(() => {
|
||||||
现金收款
|
现金收款
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<div v-if="form.activities==1" style="display: inline-block;margin-right: 20px">
|
||||||
|
<div style="display: inline-block;margin-right: 20px">
|
||||||
|
<div style="color: #999;padding: 2rem 0 0.3rem 0">原价:</div>
|
||||||
|
<div style="color: #f5222d; padding-bottom: 2rem">
|
||||||
|
¥<span style="font-size: 1.6rem">{{ form.original_price }}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="display: inline-block;">
|
||||||
|
<div style="color: #999;padding: 2rem 0 0.3rem 0">活动折扣:</div>
|
||||||
|
<div style="color: #f5222d; padding-bottom: 2rem">
|
||||||
|
{{ form.activity }}¥<span style="font-size: 1.6rem">{{ form.activity_price }}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="display: inline-block ">
|
||||||
<div style="color: #999; padding: 2rem 0 0.3rem 0">应收金额(元):</div>
|
<div style="color: #999; padding: 2rem 0 0.3rem 0">应收金额(元):</div>
|
||||||
<div style="color: #f5222d; padding-bottom: 2rem">
|
<div style="color: #f5222d; padding-bottom: 2rem">
|
||||||
¥<span style="font-size: 1.6rem">{{ form.pay_price }}</span>
|
¥<span style="font-size: 1.6rem">{{ form.pay_price }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<div v-loading="loading" element-loading-text="支付中" class="card1" v-if="active == 1">
|
<div v-loading="loading" element-loading-text="支付中" class="card1" v-if="active == 1">
|
||||||
<el-input ref="codeRef" v-model="input" autofocus class="code-input" placeholder="请点击输入框聚焦扫码或输入编码号"
|
<el-input ref="codeRef" v-model="input" autofocus class="code-input"
|
||||||
|
placeholder="请点击输入框聚焦扫码或输入编码号"
|
||||||
@keyup.enter="handleEnter" @focus="isFocus = true" @blur="isFocus = false"/>
|
@keyup.enter="handleEnter" @focus="isFocus = true" @blur="isFocus = false"/>
|
||||||
<div class="tips"></div>
|
<div class="tips"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -462,13 +483,17 @@ onUnmounted(() => {
|
||||||
</div>
|
</div>
|
||||||
<div class="keypad">
|
<div class="keypad">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<el-button v-for="item in numList" :key="item" @click="numTap(item)">{{ item
|
<el-button v-for="item in numList" :key="item" @click="numTap(item)">{{
|
||||||
}}</el-button>
|
item
|
||||||
|
}}
|
||||||
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<el-button @click="delNum"><el-icon>
|
<el-button @click="delNum">
|
||||||
|
<el-icon>
|
||||||
<Delete/>
|
<Delete/>
|
||||||
</el-icon></el-button>
|
</el-icon>
|
||||||
|
</el-button>
|
||||||
<el-button @click="delNum(-1)">C</el-button>
|
<el-button @click="delNum(-1)">C</el-button>
|
||||||
<el-button class="enter" :class="{ 'enter-disable': +collection < +form.total }"
|
<el-button class="enter" :class="{ 'enter-disable': +collection < +form.total }"
|
||||||
:disabled="+collection < +form.total" @click="cashBnt">
|
:disabled="+collection < +form.total" @click="cashBnt">
|
||||||
|
|
|
@ -236,7 +236,7 @@ onUnmounted(() => {
|
||||||
|
|
||||||
.cahier {
|
.cahier {
|
||||||
&::before {
|
&::before {
|
||||||
content: "收银";
|
content: "平台";
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 0.7rem;
|
font-size: 0.7rem;
|
||||||
padding: 0.1rem 0.1rem;
|
padding: 0.1rem 0.1rem;
|
||||||
|
|
Loading…
Reference in New Issue