feat:【mall 商城】门店自提的迁移(ele 100%)
This commit is contained in:
@@ -157,7 +157,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
cellConfig: {
|
cellConfig: {
|
||||||
height: 100,
|
height: 80,
|
||||||
},
|
},
|
||||||
columns: useGridColumns(),
|
columns: useGridColumns(),
|
||||||
height: 'auto',
|
height: 'auto',
|
||||||
@@ -236,14 +236,13 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
<div
|
<div
|
||||||
v-for="item in row.items"
|
v-for="item in row.items"
|
||||||
:key="item.id!"
|
:key="item.id!"
|
||||||
class="flex items-start gap-2"
|
class="flex items-start gap-2 text-left"
|
||||||
>
|
>
|
||||||
<Image
|
<Image
|
||||||
:src="item.picUrl"
|
:src="item.picUrl"
|
||||||
:alt="item.spuName"
|
:alt="item.spuName"
|
||||||
:width="30"
|
:width="60"
|
||||||
:height="30"
|
:height="60"
|
||||||
class="flex-shrink-0"
|
|
||||||
:preview="{
|
:preview="{
|
||||||
src: item.picUrl,
|
src: item.picUrl,
|
||||||
}"
|
}"
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ async function getOrderSum() {
|
|||||||
/** 核销订单 */
|
/** 核销订单 */
|
||||||
async function handlePickup(pickUpVerifyCode?: string) {
|
async function handlePickup(pickUpVerifyCode?: string) {
|
||||||
// 如果没有传核销码,则弹窗输入
|
// 如果没有传核销码,则弹窗输入
|
||||||
// TODO @AI:不太对
|
// TODO @xingyu:这个貌似不太行,帮忙看看~
|
||||||
if (!pickUpVerifyCode) {
|
if (!pickUpVerifyCode) {
|
||||||
await prompt({
|
await prompt({
|
||||||
component: () => {
|
component: () => {
|
||||||
@@ -163,7 +163,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
},
|
},
|
||||||
gridOptions: {
|
gridOptions: {
|
||||||
cellConfig: {
|
cellConfig: {
|
||||||
height: 100,
|
height: 80,
|
||||||
},
|
},
|
||||||
columns: useGridColumns(),
|
columns: useGridColumns(),
|
||||||
height: 'auto',
|
height: 'auto',
|
||||||
@@ -242,15 +242,12 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
<div
|
<div
|
||||||
v-for="item in row.items"
|
v-for="item in row.items"
|
||||||
:key="item.id!"
|
:key="item.id!"
|
||||||
class="flex items-start gap-2"
|
class="flex items-start gap-2 text-left"
|
||||||
>
|
>
|
||||||
<!-- TODO @AI:长宽不太对 -->
|
|
||||||
<ElImage
|
<ElImage
|
||||||
:src="item.picUrl || ''"
|
:src="item.picUrl"
|
||||||
:alt="item.spuName || ''"
|
:alt="item.spuName"
|
||||||
:width="30"
|
style="width: 60px; height: 60px"
|
||||||
:height="30"
|
|
||||||
class="flex-shrink-0"
|
|
||||||
:preview-src-list="item.picUrl ? [item.picUrl] : []"
|
:preview-src-list="item.picUrl ? [item.picUrl] : []"
|
||||||
/>
|
/>
|
||||||
<div class="flex flex-1 flex-col gap-1">
|
<div class="flex flex-1 flex-col gap-1">
|
||||||
@@ -266,7 +263,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
</ElTag>
|
</ElTag>
|
||||||
</div>
|
</div>
|
||||||
<span class="text-xs text-gray-500">
|
<span class="text-xs text-gray-500">
|
||||||
{{ fenToYuan(item.price) }} 元 x {{ item.count || 0 }}
|
{{ fenToYuan(item.price!) }} 元 x {{ item.count }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user