File tree Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 70
70
<Icon class =" mr-5px" icon =" ep:refresh" />
71
71
重置
72
72
</el-button >
73
+ <el-button @click =" handlePickup" type =" success" plain v-hasPermi =" ['trade:order:pick-up']" >
74
+ <Icon class =" mr-5px" icon =" ep:check" />
75
+ 核销
76
+ </el-button >
73
77
</el-form-item >
74
78
</el-form >
75
79
</ContentWrap >
80
+
76
81
<!-- 统计卡片 -->
77
82
<el-row :gutter =" 16" class =" summary" >
78
83
<el-col :sm =" 6" :xs =" 12" v-loading =" loading" >
190
195
@pagination =" getList"
191
196
/>
192
197
</ContentWrap >
198
+
199
+ <!-- 各种操作的弹窗 -->
200
+ <OrderPickUpForm ref =" pickUpForm" @success =" getList" />
193
201
</template >
194
202
195
203
<script lang="ts" setup>
@@ -204,6 +212,7 @@ import { dateFormatter } from '@/utils/formatTime'
204
212
import { DeliveryTypeEnum } from ' @/utils/constants'
205
213
import { TradeOrderSummaryRespVO } from ' @/api/mall/trade/order'
206
214
import { DeliveryPickUpStoreVO } from ' @/api/mall/trade/delivery/pickUpStore'
215
+ import OrderPickUpForm from ' @/views/mall/trade/order/form/OrderPickUpForm.vue'
207
216
208
217
defineOptions ({ name: ' PickUpOrder' })
209
218
@@ -291,6 +300,12 @@ const getPickUpStoreList = async () => {
291
300
pickUpStoreList .value = await PickUpStoreApi .getListAllSimple ()
292
301
}
293
302
303
+ /** 显示核销表单 */
304
+ const pickUpForm = ref ()
305
+ const handlePickup = () => {
306
+ pickUpForm .value .open ()
307
+ }
308
+
294
309
/** 初始化 **/
295
310
onMounted (() => {
296
311
getList ()
Original file line number Diff line number Diff line change 157
157
<Icon class =" mr-5px" icon =" ep:refresh" />
158
158
重置
159
159
</el-button >
160
- <el-button @click =" handlePickup" type =" success" plain >
161
- <Icon class =" mr-5px" icon =" ep:check" />
162
- 核销
163
- </el-button >
164
160
</el-form-item >
165
161
</el-form >
166
162
</ContentWrap >
352
348
<!-- 各种操作的弹窗 -->
353
349
<OrderDeliveryForm ref =" deliveryFormRef" @success =" getList" />
354
350
<OrderUpdateRemarkForm ref =" updateRemarkForm" @success =" getList" />
355
- <OrderPickUpForm ref =" pickUpForm" @success =" getList" />
356
351
</template >
357
352
358
353
<script lang="ts" setup>
@@ -367,7 +362,6 @@ import { floatToFixed2 } from '@/utils'
367
362
import { createImageViewer } from ' @/components/ImageViewer'
368
363
import * as DeliveryExpressApi from ' @/api/mall/trade/delivery/express'
369
364
import { DeliveryTypeEnum , TradeOrderStatusEnum } from ' @/utils/constants'
370
- import OrderPickUpForm from ' ./form/OrderPickUpForm.vue'
371
365
372
366
defineOptions ({ name: ' TradeOrder' })
373
367
@@ -528,12 +522,6 @@ watch(
528
522
}
529
523
)
530
524
531
- /** 显示核销表单 */
532
- const pickUpForm = ref ()
533
- const handlePickup = () => {
534
- pickUpForm .value .open ()
535
- }
536
-
537
525
const pickUpStoreList = ref ([]) // 自提门店精简列表
538
526
const deliveryExpressList = ref ([]) // 物流公司
539
527
/** 初始化 **/
You can’t perform that action at this time.
0 commit comments