Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsMin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f974b102
authored
May 09, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
mask-click
parent
5e21d9fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
pages/tally/index.vue
pages/tally/index.vue
View file @
f974b102
...
@@ -208,7 +208,7 @@
...
@@ -208,7 +208,7 @@
</view>
</view>
</uni-popup>
</uni-popup>
<!-- 关单封箱弹窗 -->
<!-- 关单封箱弹窗 -->
<uni-popup
ref=
"inputDialog"
type=
"dialog"
:mask-click=
"true"
>
<uni-popup
ref=
"inputDialog"
type=
"dialog"
:mask-click=
"true"
@
maskClick=
"maskClick"
>
<uni-popup-dialog
ref=
"inputClose"
mode=
"input"
:title=
"title"
v-model=
"gross_weight"
value=
""
confirmText=
"新箱子"
cancelText=
"不需要换箱"
placeholder=
"请输入毛重"
@
close=
"dialogInputClose"
@
confirm=
"dialogInputConfirm"
:before-close=
"true"
></uni-popup-dialog>
<uni-popup-dialog
ref=
"inputClose"
mode=
"input"
:title=
"title"
v-model=
"gross_weight"
value=
""
confirmText=
"新箱子"
cancelText=
"不需要换箱"
placeholder=
"请输入毛重"
@
close=
"dialogInputClose"
@
confirm=
"dialogInputConfirm"
:before-close=
"true"
></uni-popup-dialog>
</uni-popup>
</uni-popup>
</view>
</view>
...
@@ -262,6 +262,12 @@
...
@@ -262,6 +262,12 @@
},
},
methods
:
{
methods
:
{
/**
/**
* 点击遮罩层触发
*/
maskClick
()
{
this
.
$refs
.
inputDialog
.
close
();
},
/**
* 找出false对应的下标
* 找出false对应的下标
* @param {Object} arr
* @param {Object} arr
* @param {Object} target
* @param {Object} target
...
@@ -715,7 +721,7 @@
...
@@ -715,7 +721,7 @@
this
.
wsty_id
=
''
;
this
.
wsty_id
=
''
;
this
.
tallyData
=
[];
this
.
tallyData
=
[];
this
.
erp_order_sn
=
''
;
this
.
erp_order_sn
=
''
;
this
.
$refs
.
inputDialog
.
close
()
this
.
$refs
.
inputDialog
.
close
()
;
},
2000
);
},
2000
);
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
...
...
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