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
a294f0a4
Commit
a294f0a4
authored
Dec 21, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了开土制备表格编辑
parent
524eff5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
SoilSampleManageTab.vue
pages/soil-sample-manage/SoilSampleManageTab.vue
+6
-4
No files found.
pages/soil-sample-manage/SoilSampleManageTab.vue
View file @
a294f0a4
...
@@ -40,7 +40,8 @@
...
@@ -40,7 +40,8 @@
<Input
:value=
"scope.row.describeDetail"
@
change
.
native=
"_inputChange($event.target.value,scope.row)"
></Input>
<Input
:value=
"scope.row.describeDetail"
@
change
.
native=
"_inputChange($event.target.value,scope.row)"
></Input>
</div>
</div>
<div
v-else-if=
"item.key==='remark'"
@
click
.
stop=
"_handleRow(scope)"
>
<div
v-else-if=
"item.key==='remark'"
@
click
.
stop=
"_handleRow(scope)"
>
<el-input
v-model=
"scope.row.remark"
@
change=
"_remarkChange(scope.row)"
></el-input>
<Input
:value=
"scope.row.remark"
@
change
.
native=
"_remarkChange($event.target.value,scope.row)"
></Input>
<!--
<Input
v-model=
"scope.row.remark"
@
change=
"_remarkChange(scope.row)"
></Input>
-->
</div>
</div>
</
template
>
</
template
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -170,10 +171,11 @@ export default {
...
@@ -170,10 +171,11 @@ export default {
}
}
},
},
_remarkChange
:
async
function
(
info
)
{
_remarkChange
:
async
function
(
info
,
data
)
{
this
.
getPage
.
records
[
data
.
index
].
remark
=
info
const
result
=
await
soilEntrust
.
sampleRemarkEdit
({
const
result
=
await
soilEntrust
.
sampleRemarkEdit
({
id
:
info
.
id
,
id
:
data
.
id
,
remark
:
info
.
remark
remark
:
info
})
})
if
(
result
)
{
if
(
result
)
{
// this._resultChange('修改成功')
// this._resultChange('修改成功')
...
...
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