Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2457665b
authored
Oct 20, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code review:门店自提
parent
83501f9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
12 deletions
+15
-12
src/views/mall/trade/delivery/pickUpOrder/index.vue
+15
-0
src/views/mall/trade/order/index.vue
+0
-12
No files found.
src/views/mall/trade/delivery/pickUpOrder/index.vue
View file @
2457665b
...
...
@@ -70,9 +70,14 @@
<Icon
class=
"mr-5px"
icon=
"ep:refresh"
/>
重置
</el-button>
<el-button
@
click=
"handlePickup"
type=
"success"
plain
v-hasPermi=
"['trade:order:pick-up']"
>
<Icon
class=
"mr-5px"
icon=
"ep:check"
/>
核销
</el-button>
</el-form-item>
</el-form>
</ContentWrap>
<!-- 统计卡片 -->
<el-row
:gutter=
"16"
class=
"summary"
>
<el-col
:sm=
"6"
:xs=
"12"
v-loading=
"loading"
>
...
...
@@ -190,6 +195,9 @@
@
pagination=
"getList"
/>
</ContentWrap>
<!-- 各种操作的弹窗 -->
<OrderPickUpForm
ref=
"pickUpForm"
@
success=
"getList"
/>
</template>
<
script
lang=
"ts"
setup
>
...
...
@@ -204,6 +212,7 @@ import { dateFormatter } from '@/utils/formatTime'
import
{
DeliveryTypeEnum
}
from
'@/utils/constants'
import
{
TradeOrderSummaryRespVO
}
from
'@/api/mall/trade/order'
import
{
DeliveryPickUpStoreVO
}
from
'@/api/mall/trade/delivery/pickUpStore'
import
OrderPickUpForm
from
'@/views/mall/trade/order/form/OrderPickUpForm.vue'
defineOptions
({
name
:
'PickUpOrder'
})
...
...
@@ -291,6 +300,12 @@ const getPickUpStoreList = async () => {
pickUpStoreList
.
value
=
await
PickUpStoreApi
.
getListAllSimple
()
}
/** 显示核销表单 */
const
pickUpForm
=
ref
()
const
handlePickup
=
()
=>
{
pickUpForm
.
value
.
open
()
}
/** 初始化 **/
onMounted
(()
=>
{
getList
()
...
...
src/views/mall/trade/order/index.vue
View file @
2457665b
...
...
@@ -157,10 +157,6 @@
<Icon
class=
"mr-5px"
icon=
"ep:refresh"
/>
重置
</el-button>
<el-button
@
click=
"handlePickup"
type=
"success"
plain
>
<Icon
class=
"mr-5px"
icon=
"ep:check"
/>
核销
</el-button>
</el-form-item>
</el-form>
</ContentWrap>
...
...
@@ -352,7 +348,6 @@
<!-- 各种操作的弹窗 -->
<OrderDeliveryForm
ref=
"deliveryFormRef"
@
success=
"getList"
/>
<OrderUpdateRemarkForm
ref=
"updateRemarkForm"
@
success=
"getList"
/>
<OrderPickUpForm
ref=
"pickUpForm"
@
success=
"getList"
/>
</template>
<
script
lang=
"ts"
setup
>
...
...
@@ -367,7 +362,6 @@ import { floatToFixed2 } from '@/utils'
import
{
createImageViewer
}
from
'@/components/ImageViewer'
import
*
as
DeliveryExpressApi
from
'@/api/mall/trade/delivery/express'
import
{
DeliveryTypeEnum
,
TradeOrderStatusEnum
}
from
'@/utils/constants'
import
OrderPickUpForm
from
'./form/OrderPickUpForm.vue'
defineOptions
({
name
:
'TradeOrder'
})
...
...
@@ -528,12 +522,6 @@ watch(
}
)
/** 显示核销表单 */
const
pickUpForm
=
ref
()
const
handlePickup
=
()
=>
{
pickUpForm
.
value
.
open
()
}
const
pickUpStoreList
=
ref
([])
// 自提门店精简列表
const
deliveryExpressList
=
ref
([])
// 物流公司
/** 初始化 **/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment