Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
14bac375
Commit
14bac375
authored
May 18, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into release
parents
4fcef2d6
2644ef2c
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
81 additions
and
12 deletions
+81
-12
boxSea.js
src/api/ecw/boxSea.js
+3
-2
request.js
src/utils/request.js
+3
-0
startPacking.vue
...ews/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
+20
-0
preinstall.vue
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
+24
-2
index.vue
src/views/ecw/box/shippingSea/nodePage/tally/index.vue
+24
-3
create.vue
src/views/ecw/offer/create.vue
+2
-2
create.vue
src/views/ecw/order/create.vue
+2
-2
splitApply.vue
src/views/ecw/order/splitApply.vue
+3
-1
No files found.
src/api/ecw/boxSea.js
View file @
14bac375
...
@@ -520,10 +520,11 @@ export function deleteSection(id) {
...
@@ -520,10 +520,11 @@ export function deleteSection(id) {
* @param {*} id
* @param {*} id
* @return {*}
* @return {*}
*/
*/
export
function
deleteGoods
(
id
)
{
export
function
deleteGoods
(
params
)
{
return
request
({
return
request
({
url
:
"
/ecw/box-preload-goods/delete
?ids=
"
+
id
.
join
(
"
,
"
)
,
url
:
"
/ecw/box-preload-goods/delete
"
,
method
:
"
delete
"
,
method
:
"
delete
"
,
params
});
});
}
}
...
...
src/utils/request.js
View file @
14bac375
...
@@ -109,6 +109,9 @@ service.interceptors.response.use(res => {
...
@@ -109,6 +109,9 @@ service.interceptors.response.use(res => {
}
else
if
(
code
===
566
)
{
}
else
if
(
code
===
566
)
{
// 额外情况
// 额外情况
return
Promise
.
reject
(
res
.
data
)
return
Promise
.
reject
(
res
.
data
)
}
else
if
(
code
===
666
)
{
// 额外情况
return
Promise
.
reject
(
res
.
data
)
}
else
if
(
code
!==
200
)
{
}
else
if
(
code
!==
200
)
{
Notification
.
error
({
Notification
.
error
({
title
:
msg
title
:
msg
...
...
src/views/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
View file @
14bac375
...
@@ -535,6 +535,26 @@ export default {
...
@@ -535,6 +535,26 @@ export default {
serviceMsg
(
res
,
this
).
then
(()
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
getLoadSecGoodsList
();
this
.
getLoadSecGoodsList
();
});
});
}).
catch
((
res
)
=>
{
if
(
res
.
code
===
666
)
{
this
.
$confirm
(
res
.
msg
+
this
.
$t
(
'
是否需要一起移出?
'
),
this
.
$t
(
"
提示
"
),
{
type
:
"
warning
"
,
})
.
then
((
_
)
=>
{
remove
({
...
params
,
deleteType
:
2
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
getLoadSecGoodsList
();
});
});
})
.
catch
((
_
)
=>
{
remove
({
...
params
,
deleteType
:
1
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
getLoadSecGoodsList
();
});
});
});
}
});
});
},
},
/* 修改柜信息 */
/* 修改柜信息 */
...
...
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
View file @
14bac375
...
@@ -737,11 +737,33 @@ export default {
...
@@ -737,11 +737,33 @@ export default {
if
(
type
===
"
row
"
)
{
if
(
type
===
"
row
"
)
{
ids
.
push
(
data
.
id
);
ids
.
push
(
data
.
id
);
}
}
let
param
=
{
deleteGoods
(
ids
).
then
((
res
)
=>
{
ids
:
ids
.
join
(
"
,
"
)
}
deleteGoods
(
param
).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
queryAllData
();
this
.
queryAllData
();
}
);
}
);
}
).
catch
((
res
)
=>
{
if
(
res
.
code
===
666
)
{
this
.
$confirm
(
res
.
msg
+
this
.
$t
(
'
是否需要一起移出?
'
),
this
.
$t
(
"
提示
"
),
{
type
:
"
warning
"
,
}
)
.
then
((
_
)
=>
{
deleteGoods
({
...
param
,
deleteType
:
2
}
).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
queryAllData
();
}
);
}
);
}
)
.
catch
((
_
)
=>
{
deleteGoods
({
...
param
,
deleteType
:
1
}
).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
queryAllData
();
}
);
}
);
}
);
}
}
);
}
);
}
,
}
,
/* 查询所有数据 */
/* 查询所有数据 */
...
...
src/views/ecw/box/shippingSea/nodePage/tally/index.vue
View file @
14bac375
...
@@ -240,14 +240,35 @@ export default {
...
@@ -240,14 +240,35 @@ export default {
type
:
"
warning
"
,
type
:
"
warning
"
,
})
})
.
then
((
_
)
=>
{
.
then
((
_
)
=>
{
tallyRemove
(
{
let
param
=
{
orderIdLIst
:
orderIds
,
orderIdLIst
:
orderIds
,
shipmentId
:
this
.
shipmentObj
.
id
,
shipmentId
:
this
.
shipmentObj
.
id
,
}).
then
((
res
)
=>
{
}
tallyRemove
(
param
).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
getList
();
this
.
getList
();
});
});
});
}).
catch
((
res
)
=>
{
if
(
res
.
code
===
666
)
{
this
.
$confirm
(
res
.
msg
+
this
.
$t
(
'
是否需要一起移出?
'
),
this
.
$t
(
"
提示
"
),
{
type
:
"
warning
"
,
})
.
then
((
_
)
=>
{
tallyRemove
({
...
param
,
deleteType
:
2
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
getList
();
});
});
})
.
catch
((
_
)
=>
{
tallyRemove
({
...
param
,
deleteType
:
1
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
getList
();
});
});
});
}
});
})
})
.
catch
((
_
)
=>
{});
.
catch
((
_
)
=>
{});
},
},
...
...
src/views/ecw/offer/create.vue
View file @
14bac375
<
script
>
<
script
>
// 对edit组件复用并更名,防止keepalive缓存数据
// 对edit组件复用并更名,防止keepalive缓存数据
import
edit
from
'
./edit.vue
'
import
edit
from
'
./edit.vue
'
edit
.
name
=
'
OfferCreate
'
edit
.
name
=
'
Ecw
OfferCreate
'
export
default
edit
export
default
edit
</
script
>
</
script
>
\ No newline at end of file
src/views/ecw/order/create.vue
View file @
14bac375
<
script
>
<
script
>
// 对edit组件复用并更名,防止keepalive缓存数据
// 对edit组件复用并更名,防止keepalive缓存数据
import
edit
from
'
./edit.vue
'
import
edit
from
'
./edit.vue
'
edit
.
name
=
'
OrderCreate
'
edit
.
name
=
'
Ecw
OrderCreate
'
export
default
edit
export
default
edit
</
script
>
</
script
>
\ No newline at end of file
src/views/ecw/order/splitApply.vue
View file @
14bac375
...
@@ -426,7 +426,7 @@ export default {
...
@@ -426,7 +426,7 @@ export default {
}
}
splitItemUpdate
(
row
).
then
(()
=>
{
splitItemUpdate
(
row
).
then
(()
=>
{
this
.
$message
.
success
(
this
.
$t
(
'
修改成功
'
))
this
.
$message
.
success
(
this
.
$t
(
'
修改成功
'
))
}).
catch
(()
=>
{
}).
finally
(()
=>
{
this
.
getList
()
this
.
getList
()
})
})
},
},
...
@@ -537,6 +537,8 @@ export default {
...
@@ -537,6 +537,8 @@ export default {
})
})
// 2. 遍历商品项 对比数据是否符合
// 2. 遍历商品项 对比数据是否符合
let
prods
=
[]
// 数据不符合要求的商品
let
prods
=
[]
// 数据不符合要求的商品
// 挂在到window测试
window
.
orderData
=
this
.
orderData
this
.
orderData
.
orderItemVOList
.
forEach
(
item
=>
{
this
.
orderData
.
orderItemVOList
.
forEach
(
item
=>
{
if
(
!
item
.
splitSum
){
if
(
!
item
.
splitSum
){
prods
.
push
(
this
.
$l
(
item
,
'
prodTitle
'
))
prods
.
push
(
this
.
$l
(
item
,
'
prodTitle
'
))
...
...
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