Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-back-soil
Overview
Overview
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
wangweidong
patzn-cloud-web-back-soil
Commits
09ff6c2e
Commit
09ff6c2e
authored
Mar 03, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了添加编辑委托单现场编号必填判断
parent
59c1e2d6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
EntrustRegisterEdit.vue
pages/meter-entrust/entrust-register/EntrustRegisterEdit.vue
+9
-0
No files found.
pages/meter-entrust/entrust-register/EntrustRegisterEdit.vue
View file @
09ff6c2e
...
...
@@ -736,6 +736,13 @@ export default {
if
(
valid
)
{
const
data
=
this
.
$serialize
(
'MeterSendTestEdit'
)
console
.
log
(
this
.
getPage
.
records
)
for
(
let
i
=
0
;
i
<
this
.
getPage
.
records
.
length
;
i
++
)
{
if
(
this
.
getPage
.
records
[
i
].
siteNo
===
''
)
{
this
.
$Message
.
error
(
'有未填写现场编号的样品'
)
this
.
_hideLoading
()
return
}
}
if
(
this
.
$string
(
this
.
id
).
isEmpty
())
{
// 添加
data
.
sampleList
=
this
.
getPage
.
records
...
...
@@ -746,6 +753,7 @@ export default {
data
.
projectLeader
=
undefined
data
.
projectLeaderId
=
undefined
}
// alert('添加')
this
.
_save
(
data
)
}
else
{
data
.
id
=
this
.
id
...
...
@@ -758,6 +766,7 @@ export default {
data
.
projectLeader
=
undefined
data
.
projectLeaderId
=
undefined
}
// alert('编辑')
this
.
_edit
(
data
)
}
}
else
{
...
...
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