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
0562ea6e
Commit
0562ea6e
authored
Jul 22, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了业务管理报价登记添加
parent
0a5b5247
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
14 deletions
+19
-14
EditModal.vue
pages/meter-business/quote-register/EditModal.vue
+16
-12
MeterQuoteRegisterEdit.vue
.../meter-business/quote-register/MeterQuoteRegisterEdit.vue
+3
-2
No files found.
pages/meter-business/quote-register/EditModal.vue
View file @
0562ea6e
...
@@ -9,20 +9,20 @@
...
@@ -9,20 +9,20 @@
<Col
span=
"24"
>
<Col
span=
"24"
>
<Form
id=
"test-item-form"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<Form
id=
"test-item-form"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
/>
<label
class=
"label-sign"
/>
<Form-item
:label-width=
"70"
label=
"
授权资质仪器
名称"
>
<Form-item
:label-width=
"70"
label=
"
样品
名称"
>
<Input
<Input
v-model=
"code"
v-model=
"code"
placeholder=
"授权资质仪器名称"
style=
"width: 100%"
@
on-enter=
"_pageChange(1)"
@
on-enter=
"_pageChange(1)"
placeholder=
"样品名称"
style=
"width: 100%"
/>
/>
</Form-item>
</Form-item>
<Form-item
label=
"检测依据名称"
>
<Form-item
label=
"检测依据名称"
>
<Input
<Input
v-model=
"name"
v-model=
"name"
@
on-enter=
"_pageChange(1)"
placeholder=
"请输入检测依据名称"
placeholder=
"请输入检测依据名称"
style=
"width: 100%"
style=
"width: 100%"
@
on-enter=
"_pageChange(1)"
/>
/>
</Form-item>
</Form-item>
</Form>
</Form>
...
@@ -31,12 +31,12 @@
...
@@ -31,12 +31,12 @@
<el-table
<el-table
:height=
"300"
:height=
"300"
:data=
"getPage"
:data=
"getPage"
@
row-click=
"_rowChange"
@
row-dblclick=
"_dbClick"
border
border
size=
"small"
size=
"small"
highlight-current-row
highlight-current-row
style=
"width: 100%"
style=
"width: 100%"
@
row-click=
"_rowChange"
@
row-dblclick=
"_dbClick"
>
>
<el-table-column
<el-table-column
v-for=
"item in pageColumns"
v-for=
"item in pageColumns"
...
@@ -57,23 +57,23 @@
...
@@ -57,23 +57,23 @@
</Col>
</Col>
<Col
span=
"24"
>
<Col
span=
"24"
>
<Page
<Page
:total=
"getPage.total"
:total=
"total"
:page-size=
"getPage.size"
:page-size=
"size"
@
on-change=
"_pageChange"
@
on-page-size-change=
"_pageRows"
placement=
"top"
placement=
"top"
show-total
show-total
show-elevator
show-elevator
show-sizer
show-sizer
@
on-change=
"_pageChange"
@
on-page-size-change=
"_pageRows"
/>
/>
<div
style=
"clear: both"
/>
<div
style=
"clear: both"
/>
</Col>
</Col>
</Row>
</Row>
<div
slot=
"footer"
class=
"btn-width"
>
<div
slot=
"footer"
class=
"btn-width"
>
<Button
style=
"margin-left: 8px"
@
click=
"_cancel
"
>
<Button
@
click=
"_cancel"
style=
"margin-left: 8px
"
>
取消
取消
</Button>
</Button>
<Button
type=
"primary"
@
click=
"_ok
"
>
<Button
@
click=
"_ok"
type=
"primary
"
>
确定
确定
</Button>
</Button>
</div>
</div>
...
@@ -89,6 +89,8 @@ export default {
...
@@ -89,6 +89,8 @@ export default {
data
()
{
data
()
{
return
{
return
{
loading
:
true
,
loading
:
true
,
total
:
0
,
size
:
0
,
pageParams
:
{
rows
:
20
},
pageParams
:
{
rows
:
20
},
pageColumns
:
[
pageColumns
:
[
{
title
:
'样品名称'
,
key
:
'name'
},
{
title
:
'样品名称'
,
key
:
'name'
},
...
@@ -122,6 +124,8 @@ export default {
...
@@ -122,6 +124,8 @@ export default {
if
(
result
)
{
if
(
result
)
{
console
.
log
(
'查询结果'
)
console
.
log
(
'查询结果'
)
console
.
log
(
result
)
console
.
log
(
result
)
this
.
total
=
result
.
total
this
.
size
=
result
.
size
this
.
getPage
=
result
.
records
this
.
getPage
=
result
.
records
this
.
loading
=
false
this
.
loading
=
false
console
.
log
(
this
.
getPage
)
console
.
log
(
this
.
getPage
)
...
...
pages/meter-business/quote-register/MeterQuoteRegisterEdit.vue
View file @
0562ea6e
...
@@ -71,8 +71,9 @@
...
@@ -71,8 +71,9 @@
>
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<div
v-if=
"item.key==='name'"
@
click
.
stop=
"_handleRow(scope)"
>
<div
v-if=
"item.key==='name'"
@
click
.
stop=
"_handleRow(scope)"
>
<el-input
v-model=
"scope.row.name"
@
click
.
native=
"_selectjudgeBasis(scope.$rowIndex)"
blur
placeholder=
"请输入或选择样品名称"
<el-input
v-model=
"scope.row.name"
blur
style=
"width: 150px;"
placeholder=
"请输入或选择样品名称"
></el-input>
></el-input>
<a
@
on-result-change=
"_judgeBasisChange"
@
click=
"_selectjudgeBasis(scope.$rowIndex)"
style=
"font-size: 18px;"
class=
""
>
+
</a>
</div>
</div>
<div
v-if=
"item.key==='spec'"
@
click
.
stop=
"_handleRow(scope)"
>
<div
v-if=
"item.key==='spec'"
@
click
.
stop=
"_handleRow(scope)"
>
<el-input
v-model=
"scope.row.spec"
blur
placeholder=
"请输入或选择型号规格"
<el-input
v-model=
"scope.row.spec"
blur
placeholder=
"请输入或选择型号规格"
...
@@ -202,7 +203,7 @@ export default {
...
@@ -202,7 +203,7 @@ export default {
}
}
],
],
pageColumns
:
[
pageColumns
:
[
{
title
:
'名称'
,
key
:
'name'
,
width
:
16
0
},
{
title
:
'名称'
,
key
:
'name'
,
width
:
20
0
},
{
title
:
'型号'
,
key
:
'spec'
},
{
title
:
'型号'
,
key
:
'spec'
},
{
title
:
'数量'
,
key
:
'quantity'
},
{
title
:
'数量'
,
key
:
'quantity'
},
{
title
:
'技术参数'
,
key
:
'technicalParameter'
},
{
title
:
'技术参数'
,
key
:
'technicalParameter'
},
...
...
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