dev
This commit is contained in:
parent
ba7af95399
commit
2438e6a044
|
|
@ -1,8 +1,14 @@
|
||||||
<template>
|
<template>
|
||||||
<Mask :height="650" :width="900" :is-show="show" title="追溯码采集" @close="show = false" :show-footer="true">
|
<Mask :height="650" :width="900" :is-show="show" title="追溯码采集" @close="show = false" :show-footer="true">
|
||||||
<el-card>
|
<template #default>
|
||||||
<div class="detail">
|
<div class="detail">
|
||||||
<el-input placeholder="请输入追溯码" v-model="inputIdCode" clearable @keydown.enter="openAssociationIdCode()">
|
<el-input
|
||||||
|
placeholder="请输入追溯码"
|
||||||
|
v-model="inputIdCode"
|
||||||
|
clearable
|
||||||
|
@keydown.enter="openAssociationIdCode()"
|
||||||
|
style="height: 42px;background: #FFFFFF;border-radius: 6px;border: 1px solid #EAEAEC;"
|
||||||
|
>
|
||||||
<template #prefix>
|
<template #prefix>
|
||||||
<el-icon>
|
<el-icon>
|
||||||
<Monitor/>
|
<Monitor/>
|
||||||
|
|
@ -36,22 +42,20 @@
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
|
||||||
</el-card>
|
|
||||||
<template #footer>
|
|
||||||
<div class="bottom-btn">
|
|
||||||
<el-button @click="saveRetail()" type="primary">确定</el-button>
|
|
||||||
<el-button @click="show = false">关闭</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
<template #footer>
|
||||||
|
<div class="bottom">
|
||||||
|
<div class="default-btn" @click="show = false">关闭</div>
|
||||||
|
<div class="default-btn" @click="saveRetail()" style="margin-left: 24px">确定</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</Mask>
|
||||||
<AssociationIdCode
|
<AssociationIdCode
|
||||||
ref="associationIdCodeRef"
|
ref="associationIdCodeRef"
|
||||||
@addIdCode="cleanInputIdCode"
|
@addIdCode="cleanInputIdCode"
|
||||||
@addTraceabilityCode="addTraceAbilityCodeHandler"></AssociationIdCode>
|
@addTraceabilityCode="addTraceAbilityCodeHandler"></AssociationIdCode>
|
||||||
</Mask>
|
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Mask from "@/components/common/Mask.vue";
|
import Mask from "@/components/common/Mask.vue";
|
||||||
|
|
@ -184,8 +188,18 @@ const addTraceAbilityCodeHandler = (item: any, code: any) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.detail {
|
.detail {
|
||||||
|
padding: 24px 24px 0;
|
||||||
|
|
||||||
.list {
|
.list {
|
||||||
height: 400px;
|
height: 400px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bottom {
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
align-items: center;
|
||||||
|
padding: 24px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -24,13 +24,12 @@ const openSettlement =()=>{
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div>总金额:<span class="text icon">¥</span><span class="text">{{ totalAmount || '0' }}</span></div>
|
<div>总金额:<span class="text icon">¥</span><span class="text">{{ totalAmount || '0' }}</span></div>
|
||||||
<div class="btn-group" v-if="status">
|
<div class="btn-group" v-if="status">
|
||||||
<span type="primary" @click="openCheckOut">追溯码</span>
|
<span class="default-btn" @click="openCheckOut">追溯码</span>
|
||||||
<span type="primary" @click="openSettlement">收费</span>
|
<span class="default-btn" @click="openSettlement" style="margin-left: 24px">收费</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Panel>
|
</Panel>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.footer {
|
.footer {
|
||||||
height: 86px;
|
height: 86px;
|
||||||
|
|
@ -53,14 +52,6 @@ const openSettlement =()=>{
|
||||||
span{
|
span{
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 119px;
|
width: 119px;
|
||||||
height: 48px;
|
|
||||||
background: #4D6DE4;
|
|
||||||
border-radius: 8px;
|
|
||||||
margin-left: 24px;
|
|
||||||
color: #fff;
|
|
||||||
line-height: 48px;
|
|
||||||
text-align: center;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
Reference in New Issue