Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pda-scan
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
ximai
mes-pda-scan
Commits
493e53a4
Commit
493e53a4
authored
Aug 09, 2025
by
李驰骋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
录入领料单不区分是否按批,直接显示批次号
parent
c5797f81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
47 deletions
+25
-47
Edit.vue
pages/moctcforcreate/Edit.vue
+25
-47
No files found.
pages/moctcforcreate/Edit.vue
View file @
493e53a4
...
...
@@ -52,53 +52,31 @@
>
</input>
</u-form-item>
<template
v-if=
"!form.islot"
>
<u-form-item
prop=
"quantity"
:label=
"$t('领料数量:')"
>
<input
v-model
.
number=
"form.quantity"
type=
"text"
@
confirm=
"submit"
>
</input>
</u-form-item>
<u-form-item
prop=
"te025"
:label=
"$t('库位:')"
>
<input
v-model=
"form.te025"
type=
"text"
@
confirm=
"submit"
>
</input>
</u-form-item>
</
template
>
<
template
v-else
>
<view
style=
"display: flex;"
>
<button
size=
"medium"
type=
"primary"
style=
"margin-top: 10rpx;margin-right: 20rpx;"
@
click=
"addBatch()"
>
<span>
{{
$t
(
'添加批次'
)
}}
</span>
</button>
</view>
<view
class=
"batchBox"
>
<view
v-for=
"(item, index) in info.moctes"
:key=
"index"
@
click=
"editBatch(item, index)"
>
<view
class=
"batchContent"
v-if=
"item.batch && item.tb003 === form.tb003"
>
<view
class=
"itemtitle"
>
<text>
{{
calckw
(
item
.
te010
)
}}
</text>
<view>
<text
style=
"color: #1f731f;"
>
{{
item
.
quantity
}}
</text>
</view>
</view>
<view>
<text>
{{
$t
(
'库位'
)
}}
</text>
<text>
{{
item
.
te025
}}
</text>
</view>
</view>
</view>
</view>
</
template
>
<u-form-item
prop=
"te025"
:label=
"$t('库位:')"
>
<input
v-model=
"form.te025"
type=
"text"
@
confirm=
"submit"
>
</input>
</u-form-item>
<u-form-item
prop=
"te010"
:label=
"$t('批次号:')"
>
<input
v-model=
"form.te010"
type=
"text"
@
confirm=
"submit"
>
</input>
</u-form-item>
<u-form-item
prop=
"quantity"
:label=
"$t('领料数量:')"
>
<input
v-model
.
number=
"form.quantity"
type=
"text"
@
confirm=
"submit"
>
</input>
</u-form-item>
<u-form-item
style=
"width:100%;"
>
<button
size=
"medium"
...
...
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