Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsApp
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
3999b2e4
authored
Jul 28, 2025
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
优化代码格式,统一函数参数空格,提升可读性
parent
be75e7ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
pages/tallyReceive/operate.vue
pages/tallyReceive/operate.vue
View file @
3999b2e4
...
...
@@ -136,7 +136,7 @@
</view>
<view
class=
"item row verCenter"
v-if=
"detail.sku_id > 0"
>
<text
class=
"label"
>
包装:
</text>
<text
class=
"tt"
>
{{
detail.packing_cn}} - {{detail.mpq
}}
</text>
<text
class=
"tt"
>
{{
detail.packing_cn }} - {{ detail.mpq
}}
</text>
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
销售员:
</text>
...
...
@@ -144,7 +144,7 @@
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
采购员:
</text>
<text
class=
"tt"
>
{{ detail.purchase_user }}/{{
detail.purchase_department_name
}}
</text>
<text
class=
"tt"
>
{{ detail.purchase_user }}/{{
detail.purchase_department_name
}}
</text>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
客户:
</text>
...
...
@@ -472,7 +472,7 @@
* @param {Object} e
* @param {Object} type
*/
bindPickerChange
:
function
(
e
,
type
)
{
bindPickerChange
:
function
(
e
,
type
)
{
console
.
log
(
'picker发送选择改变,携带值为'
,
e
.
detail
.
value
);
if
(
type
==
1
)
{
this
.
useOptionIndex
=
e
.
detail
.
value
;
...
...
@@ -503,7 +503,7 @@
/**
* 监听理货数量
*/
handleInputNumber
:
debounce
(
function
(
event
,
wait_tally_qty
)
{
handleInputNumber
:
debounce
(
function
(
event
,
wait_tally_qty
)
{
var
wait_tally_qty
=
Number
(
wait_tally_qty
);
var
val
=
event
.
target
.
value
*
1
;
if
(
val
>
wait_tally_qty
)
{
...
...
@@ -581,7 +581,7 @@
* 单号搜索
* @param {Object} event
*/
handleInput
:
debounce
(
function
(
type
,
event
)
{
handleInput
:
debounce
(
function
(
type
,
event
)
{
var
val
=
event
.
target
.
value
;
if
(
val
)
{
if
(
type
==
1
)
{
...
...
@@ -726,11 +726,11 @@
this
.
request
(
API
.
getTallyContainer
,
'GET'
,
{},
false
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
var
name
=
this
.
searchParams
.
container_name
;
this
.
is_submit
=
res
.
data
.
list
.
some
(
function
(
obj
)
{
this
.
is_submit
=
res
.
data
.
list
.
some
(
function
(
obj
)
{
return
obj
.
name
===
name
;
});
if
(
this
.
is_submit
)
{
var
id
=
res
.
data
.
list
.
filter
(
function
(
item
)
{
var
id
=
res
.
data
.
list
.
filter
(
function
(
item
)
{
if
(
item
.
name
==
name
)
{
return
{
id
:
item
.
id
...
...
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