Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
supply-web
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 f3d136d2
authored
Sep 13, 2020
by
wangql
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
周日修改细节
1 parent
62ccbc52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
src/router/index.js
src/views/orderManage/assignShipment.vue
src/router/index.js
View file @
f3d136d
...
@@ -43,9 +43,10 @@ router.beforeEach(async(to, from, next) => {
...
@@ -43,9 +43,10 @@ router.beforeEach(async(to, from, next) => {
await
setCurrent
(
to
.
fullPath
)
await
setCurrent
(
to
.
fullPath
)
// 进度条
// 进度条
NProgress
.
start
()
NProgress
.
start
()
store
.
dispatch
(
'd2admin/account/login'
,{
loginName
:
'155454'
,
password
:
'5541514'
,
method
:
'fims.user.loginTem'
});
// 关闭搜索面板
// 关闭搜索面板
store
.
commit
(
'd2admin/search/set'
,
false
)
store
.
commit
(
'd2admin/search/set'
,
false
)
//暂时屏蔽掉登录页面
store
.
dispatch
(
'd2admin/account/login'
,{
loginName
:
'155454'
,
password
:
'5541514'
,
method
:
'fims.user.loginTem'
});
if
(
from
.
name
===
null
&&
to
.
path
!==
'/login'
&&
!
source
)
{
// 页面刷新 动态路由会失效 初始化路由与左侧菜单栏
if
(
from
.
name
===
null
&&
to
.
path
!==
'/login'
&&
!
source
)
{
// 页面刷新 动态路由会失效 初始化路由与左侧菜单栏
await
store
.
dispatch
(
'd2admin/auth/init'
)
await
store
.
dispatch
(
'd2admin/auth/init'
)
await
store
.
dispatch
(
'd2admin/account/load'
)
await
store
.
dispatch
(
'd2admin/account/load'
)
...
...
src/views/orderManage/assignShipment.vue
View file @
f3d136d
...
@@ -646,15 +646,15 @@ export default {
...
@@ -646,15 +646,15 @@ export default {
oParams
.
listOrderWarehouseVo
=
listOrderWarehouseVo
oParams
.
listOrderWarehouseVo
=
listOrderWarehouseVo
console
.
log
(
oParams
)
console
.
log
(
oParams
)
//
DISPATCHSPORDERSCANY(oParams).then(res => {
DISPATCHSPORDERSCANY
(
oParams
).
then
(
res
=>
{
//
if (res.returnCode == 0) {
if
(
res
.
returnCode
==
0
)
{
//
this.$message({
this
.
$message
({
//
type: 'success',
type
:
'success'
,
//
message: '操作成功!'
message
:
'操作成功!'
//
});
});
//
_this.$emit('closed',true)
_this
.
$emit
(
'closed'
,
true
)
//
}
}
//
})
})
}
else
if
(
this
.
info
.
deviceScanType
==
'N'
){
//子订单不扫码模式分配发货
}
else
if
(
this
.
info
.
deviceScanType
==
'N'
){
//子订单不扫码模式分配发货
/**不扫码时物料编号和名称不变 */
/**不扫码时物料编号和名称不变 */
oParams
.
materialCode
=
_this
.
form
.
materialCode
oParams
.
materialCode
=
_this
.
form
.
materialCode
...
...
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