Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-pda-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-pda-master
Commits
18f2ad79
Commit
18f2ad79
authored
Nov 13, 2024
by
xiaoyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature: 入仓取消空白关闭&弹窗点取消二次确认
parent
517e74c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
71 additions
and
32 deletions
+71
-32
warehousing.vue
src/pages/warehousing/warehousing.vue
+36
-16
warehousing.vue
src/pages/warehousingAir/warehousing.vue
+35
-16
No files found.
src/pages/warehousing/warehousing.vue
View file @
18f2ad79
...
@@ -146,7 +146,7 @@
...
@@ -146,7 +146,7 @@
<button
style=
"color: #007aff"
@
tap=
"next"
>
{{$t('下一步')}}
</button>
<button
style=
"color: #007aff"
@
tap=
"next"
>
{{$t('下一步')}}
</button>
</view>
</view>
<view
class=
"add-popup"
>
<view
class=
"add-popup"
>
<uni-popup
ref=
"popup"
background-color=
"#fff"
@
maskClick=
"maskClick
"
>
<uni-popup
ref=
"popup"
background-color=
"#fff"
:maskClick=
"false
"
>
<view
class=
"popup-content"
>
<view
class=
"popup-content"
>
<view
class=
"popup-title"
>
{{title}}
</view>
<view
class=
"popup-title"
>
{{title}}
</view>
<view
class=
"add-form"
>
<view
class=
"add-form"
>
...
@@ -293,7 +293,7 @@
...
@@ -293,7 +293,7 @@
<!-- 添加新商品-->
<!-- 添加新商品-->
<view
class=
"add-popup"
>
<view
class=
"add-popup"
>
<uni-popup
ref=
"product"
background-color=
"#fff"
@
maskClick=
"maskClickAddProduct
"
>
<uni-popup
ref=
"product"
background-color=
"#fff"
:maskClick=
"false
"
>
<view
class=
"popup-content"
>
<view
class=
"popup-content"
>
<view
class=
"popup-title"
>
{{$t('添加新商品')}}
</view>
<view
class=
"popup-title"
>
{{$t('添加新商品')}}
</view>
...
@@ -908,25 +908,45 @@ export default {
...
@@ -908,25 +908,45 @@ export default {
})
})
},
},
maskClick
()
{
maskClick
()
{
this
.
$refs
.
popup
.
close
()
const
_this
=
this
this
.
addForm
=
{
uni
.
showModal
({
unit
:
'
1
'
,
title
:
'
提示
'
,
orderWarehouseInItemDoList
:
[{
cartonsNum
:
undefined
}],
content
:
'
确认取消吗?
'
,
pictureUrls
:
[],
success
:
function
(
res
)
{
usageIds
:
[],
if
(
res
.
confirm
)
{
}
console
.
log
(
'
用户点击确定
'
);
_this
.
$refs
.
popup
.
close
()
_this
.
addForm
=
{
unit
:
'
1
'
,
orderWarehouseInItemDoList
:
[{
cartonsNum
:
undefined
}],
pictureUrls
:
[],
usageIds
:
[],
}
}
}
});
},
},
addProduct
()
{
addProduct
()
{
this
.
$refs
.
product
.
open
(
'
center
'
)
this
.
$refs
.
product
.
open
(
'
center
'
)
},
},
maskClickAddProduct
()
{
maskClickAddProduct
()
{
this
.
$refs
.
product
.
close
()
const
_this
=
this
this
.
productForm
=
{
uni
.
showModal
({
typeId
:
undefined
,
title
:
'
提示
'
,
attrArray
:
[],
content
:
'
确认取消吗?
'
,
titleZh
:
undefined
,
success
:
function
(
res
)
{
titleEn
:
undefined
if
(
res
.
confirm
)
{
}
console
.
log
(
'
用户点击确定
'
);
_this
.
$refs
.
product
.
close
()
_this
.
productForm
=
{
typeId
:
undefined
,
attrArray
:
[],
titleZh
:
undefined
,
titleEn
:
undefined
}
}
}
});
},
},
saveProductForm
()
{
saveProductForm
()
{
if
(
!
this
.
productForm
.
typeId
){
if
(
!
this
.
productForm
.
typeId
){
...
...
src/pages/warehousingAir/warehousing.vue
View file @
18f2ad79
...
@@ -145,7 +145,7 @@
...
@@ -145,7 +145,7 @@
<button
style=
"color: #007aff"
@
tap=
"next"
>
{{$t('下一步')}}
</button>
<button
style=
"color: #007aff"
@
tap=
"next"
>
{{$t('下一步')}}
</button>
</view>
</view>
<view
class=
"add-popup"
>
<view
class=
"add-popup"
>
<uni-popup
ref=
"popup"
background-color=
"#fff"
@
maskClick=
"maskClick
"
>
<uni-popup
ref=
"popup"
background-color=
"#fff"
:maskClick=
"false
"
>
<view
class=
"popup-content"
>
<view
class=
"popup-content"
>
<view
class=
"popup-title"
>
{{title}}
</view>
<view
class=
"popup-title"
>
{{title}}
</view>
<view
class=
"add-form"
>
<view
class=
"add-form"
>
...
@@ -292,7 +292,7 @@
...
@@ -292,7 +292,7 @@
<!-- 添加新商品-->
<!-- 添加新商品-->
<view
class=
"add-popup"
>
<view
class=
"add-popup"
>
<uni-popup
ref=
"product"
background-color=
"#fff"
@
maskClick=
"maskClickAddProduct
"
>
<uni-popup
ref=
"product"
background-color=
"#fff"
:maskClick=
"false
"
>
<view
class=
"popup-content"
>
<view
class=
"popup-content"
>
<view
class=
"popup-title"
>
{{$t('添加新商品')}}
</view>
<view
class=
"popup-title"
>
{{$t('添加新商品')}}
</view>
...
@@ -906,25 +906,44 @@ export default {
...
@@ -906,25 +906,44 @@ export default {
})
})
},
},
maskClick
()
{
maskClick
()
{
this
.
$refs
.
popup
.
close
()
const
_this
=
this
this
.
addForm
=
{
uni
.
showModal
({
unit
:
'
1
'
,
title
:
'
提示
'
,
orderWarehouseInItemDoList
:
[{
cartonsNum
:
undefined
}],
content
:
'
确认取消吗?
'
,
pictureUrls
:
[],
success
:
function
(
res
)
{
usageIds
:
[],
if
(
res
.
confirm
)
{
}
console
.
log
(
'
用户点击确定
'
);
_this
.
$refs
.
popup
.
close
()
_this
.
addForm
=
{
unit
:
'
1
'
,
orderWarehouseInItemDoList
:
[{
cartonsNum
:
undefined
}],
pictureUrls
:
[],
usageIds
:
[],
}
}
}
});
},
},
addProduct
()
{
addProduct
()
{
this
.
$refs
.
product
.
open
(
'
center
'
)
this
.
$refs
.
product
.
open
(
'
center
'
)
},
},
maskClickAddProduct
()
{
maskClickAddProduct
()
{
this
.
$refs
.
product
.
close
()
const
_this
=
this
this
.
productForm
=
{
uni
.
showModal
({
typeId
:
undefined
,
title
:
'
提示
'
,
attrArray
:
[],
content
:
'
确认取消吗?
'
,
titleZh
:
undefined
,
success
:
function
(
res
)
{
titleEn
:
undefined
if
(
res
.
confirm
)
{
}
_this
.
$refs
.
product
.
close
()
_this
.
productForm
=
{
typeId
:
undefined
,
attrArray
:
[],
titleZh
:
undefined
,
titleEn
:
undefined
}
}
}
});
},
},
saveProductForm
()
{
saveProductForm
()
{
if
(
!
this
.
productForm
.
typeId
){
if
(
!
this
.
productForm
.
typeId
){
...
...
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