Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-inventory
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 79f76361
authored
May 16, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
第二轮测试BUG修复
1 parent
d83f5fc3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
3 deletions
src/api/modules/stockManage.js
src/views/earlyWarning/index.vue
src/api/modules/stockManage.js
View file @
79f7636
...
@@ -273,4 +273,17 @@ export function merchantShopGoodsStockPage(params) {
...
@@ -273,4 +273,17 @@ export function merchantShopGoodsStockPage(params) {
sign
:
true
sign
:
true
})
})
}
}
export
default
{
inventoryWarningList
,
exportaInventExcel
,
exportaAllocateExcel
,
exportCheckExcel
,
exportReduceExcel
,
exportMerchantExcel
,
exportExcel
,
saveStockAllocate
,
stockAllocateDetailPage
,
stockAllocatePage
,
yqRelatedList
,
saveStockCheck
,
stockRemainPage
,
stockCheckDetailPage
,
stockCheckPage
,
getMerchantGoodsStockReduceRecord
,
getReportByGoods
,
getyqMerchantList
,
getGoodsWarehousingList
,
getMerchantGoodsStockMonthReport
,
merchantShopGoodsStockPage
,
getServicemerchantrefList
}
// 是否有发货主体
export
function
checkShipper
(
params
)
{
params
.
method
=
`scrm.api.boutiquecoupon.rop.router.twoCityTale`
params
.
routerMethod
=
`dj.api.smarcarlife.purchaseOrder.checkShipper`
return
http
({
url
:
'rop-scrm-boutiquecoupon/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
}
export
default
{
inventoryWarningList
,
exportaInventExcel
,
exportaAllocateExcel
,
exportCheckExcel
,
exportReduceExcel
,
exportMerchantExcel
,
exportExcel
,
saveStockAllocate
,
stockAllocateDetailPage
,
stockAllocatePage
,
yqRelatedList
,
saveStockCheck
,
stockRemainPage
,
stockCheckDetailPage
,
stockCheckPage
,
getMerchantGoodsStockReduceRecord
,
getReportByGoods
,
getyqMerchantList
,
getGoodsWarehousingList
,
getMerchantGoodsStockMonthReport
,
merchantShopGoodsStockPage
,
getServicemerchantrefList
,
checkShipper
}
src/views/earlyWarning/index.vue
View file @
79f7636
...
@@ -247,8 +247,29 @@ export default {
...
@@ -247,8 +247,29 @@ export default {
})
})
},
},
//去补货
//去补货
gotoReplenishment
()
{
// gotoReplenishment() {
this
.
$history
.
push
(
`/purchase/purchaseOrder/add`
)
// this.$history.push(`/purchase/purchaseOrder/add`)
// },
async
gotoReplenishment
()
{
let
result
=
await
this
.
checkShipper
()
console
.
log
(
result
)
if
(
result
)
this
.
$router
.
push
(
'/purchase/purchaseOrder/add'
)
},
checkShipper
()
{
return
new
Promise
(
resolve
=>
{
this
.
$apis
.
stockManage
.
checkShipper
({}).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
code
==
-
1
)
{
this
.
$message
({
type
:
'error'
,
message
:
res
.
message
})
resolve
(
false
)
}
else
{
resolve
(
true
)
}
})
})
},
},
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
earlyWarningRef
.
refreshTable
()
this
.
$refs
.
earlyWarningRef
.
refreshTable
()
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment