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
1cf9cbc2
Commit
1cf9cbc2
authored
Oct 14, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入仓国际化2
parent
8eb28edf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
index.vue
src/views/ecw/order/warehousing/index.vue
+13
-13
No files found.
src/views/ecw/order/warehousing/index.vue
View file @
1cf9cbc2
...
@@ -280,7 +280,7 @@ export default {
...
@@ -280,7 +280,7 @@ export default {
orderId
:
this
.
orderId
orderId
:
this
.
orderId
}).
then
(
r
=>
{
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
if
(
r
.
code
===
0
){
this
.
$message
.
success
(
r
.
msg
||
'
修改标签箱号成功
'
)
this
.
$message
.
success
(
r
.
msg
||
this
.
$t
(
'
修改标签箱号成功
'
)
)
}
}
})
})
},
},
...
@@ -317,9 +317,9 @@ export default {
...
@@ -317,9 +317,9 @@ export default {
},
},
async
handleSubmit
()
{
async
handleSubmit
()
{
if
(
this
.
specialHas0
())
{
if
(
this
.
specialHas0
())
{
const
confirm
=
await
this
.
$confirm
(
'
有特需费用为0或未填写,请问是否继续?
'
,
'
注意
'
,
{
const
confirm
=
await
this
.
$confirm
(
this
.
$t
(
'
有特需费用为0或未填写,请问是否继续?
'
),
this
.
$t
(
'
注意
'
)
,
{
confirmButtonText
:
'
继续
'
,
confirmButtonText
:
this
.
$t
(
'
继续
'
)
,
cancelButtonText
:
'
取消
'
,
cancelButtonText
:
this
.
$t
(
'
取消
'
)
,
type
:
'
warning
'
type
:
'
warning
'
})
})
if
(
confirm
!==
'
confirm
'
){
if
(
confirm
!==
'
confirm
'
){
...
@@ -343,20 +343,20 @@ export default {
...
@@ -343,20 +343,20 @@ export default {
if
(
r
.
code
===
0
)
{
if
(
r
.
code
===
0
)
{
this
.
escapeBol
=
false
;
this
.
escapeBol
=
false
;
this
.
finishVisible
=
false
this
.
finishVisible
=
false
const
message
=
!
r
.
data
?
'
该订单已成功入仓,是否打印?
'
:
"
<h3>货物已入仓,存在异常</h3>该订单已成功入仓,是否打印?
"
const
message
=
!
r
.
data
?
this
.
$t
(
'
该订单已成功入仓,是否打印?
'
)
:
`<h3>
${
this
.
$t
(
'
货物已入仓,存在异常
'
)}
</h3>
${
this
.
$t
(
'
该订单已成功入仓,是否打印?
'
)}
`
this
.
$confirm
(
this
.
$confirm
(
message
,
message
,
'
货物已入仓
'
,
this
.
$t
(
'
货物已入仓
'
)
,
{
{
confirmButtonText
:
'
是
'
,
confirmButtonText
:
this
.
$t
(
'
是
'
)
,
cancelButtonText
:
'
否
'
,
cancelButtonText
:
this
.
$t
(
'
否
'
)
,
dangerouslyUseHTMLString
:
true
dangerouslyUseHTMLString
:
true
}
}
).
then
(()
=>
{
).
then
(()
=>
{
this
.
isShowPrint
=
true
this
.
isShowPrint
=
true
}).
catch
(()
=>
{
}).
catch
(()
=>
{
// this.$store.dispatch('tagsView/delVisitedView')
// this.$store.dispatch('tagsView/delVisitedView')
this
.
$message
.
success
(
'
入仓成功
'
)
this
.
$message
.
success
(
this
.
$t
(
'
入仓成功
'
)
)
this
.
$tab
.
closePage
()
this
.
$tab
.
closePage
()
})
})
}
}
...
@@ -367,9 +367,9 @@ export default {
...
@@ -367,9 +367,9 @@ export default {
this
.
warehousingVisible
=
true
this
.
warehousingVisible
=
true
},
},
handleWarehousingReturn
(
item
){
handleWarehousingReturn
(
item
){
this
.
$confirm
(
item
.
prodTitleZh
+
'
退仓后不可恢复,是否确认退仓?
'
,
'
确定要退仓?
'
,
{
this
.
$confirm
(
item
.
prodTitleZh
+
this
.
$t
(
'
退仓后不可恢复,是否确认退仓?
'
),
this
.
$t
(
'
确定要退仓?
'
)
,
{
confirmButtonText
:
'
确定
'
,
confirmButtonText
:
this
.
$t
(
'
确定
'
)
,
cancelButtonText
:
'
取消
'
,
cancelButtonText
:
this
.
$t
(
'
取消
'
)
,
type
:
'
warning
'
type
:
'
warning
'
}).
then
(()
=>
{
}).
then
(()
=>
{
rollbackDelete
({
rollbackDelete
({
...
@@ -378,7 +378,7 @@ export default {
...
@@ -378,7 +378,7 @@ export default {
}).
then
(()
=>
{
}).
then
(()
=>
{
this
.
$message
({
this
.
$message
({
type
:
'
success
'
,
type
:
'
success
'
,
message
:
'
货物退仓成功!
'
message
:
this
.
$t
(
'
货物退仓成功!
'
)
});
});
getOrderWarehouseIn
(
this
.
orderId
).
then
(
r
=>
this
.
orderItemList
=
r
.
data
.
reverse
())
getOrderWarehouseIn
(
this
.
orderId
).
then
(
r
=>
this
.
orderItemList
=
r
.
data
.
reverse
())
...
...
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