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
7e90a7d0
Commit
7e90a7d0
authored
Aug 17, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了合同管理的添加编辑
parent
4203064e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
16 deletions
+17
-16
MeterContractRegisterEdit.vue
...-contract/contract-register/MeterContractRegisterEdit.vue
+17
-16
No files found.
pages/meter-contract/contract-register/MeterContractRegisterEdit.vue
View file @
7e90a7d0
...
...
@@ -6,8 +6,8 @@
<Form
id=
"edit-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"90"
inline
>
<Form-item
label=
"委托单位"
prop=
"client"
class=
"width-48"
>
<AutoComplete
:value=
"formObj.client"
:down-data=
"customerData"
name=
"client
"
placeholder=
"请输入或选择委托单位"
@
on-result-change=
"_cusNameChange
"
<AutoComplete
:value=
"formObj.client"
:down-data=
"customerData"
@
on-result-change=
"_cusNameChange
"
name=
"client"
placeholder=
"请输入或选择委托单位
"
></AutoComplete>
</Form-item>
<Form-item
label=
"联系人"
prop=
"person"
class=
"width-48"
>
...
...
@@ -20,7 +20,7 @@
<Input
v-model=
"formObj.fax"
name=
"fax"
placeholder=
"请输入传真"
/>
</Form-item>
<Form-item
label=
"省、市、区"
prop=
"testedCityData"
class=
"width-48"
>
<CityNameCascader
:value=
"testedCityData.join(',')"
name=
"tested"
@
on-result-change=
"_cascaderResult
"
>
<CityNameCascader
:value=
"testedCityData.join(',')"
@
on-result-change=
"_cascaderResult"
name=
"tested
"
>
</CityNameCascader>
</Form-item>
...
...
@@ -32,13 +32,13 @@
</Form-item>
<Form-item
label=
"合同登记时间:"
prop=
"edate"
class=
"width-48"
>
<Date-picker
v-model=
"formObj.edate"
type=
"date"
split-panels
style=
"width:100%;"
placeholder=
"请选择合同登记时间
"
@
on-change=
"_etimeChange
"
></Date-picker>
<Date-picker
v-model=
"formObj.edate"
@
on-change=
"_etimeChange"
type=
"date"
split-panels
style=
"width:100%;
"
placeholder=
"请选择合同登记时间
"
></Date-picker>
</Form-item>
<Form-item
label=
"要求完成时间:"
prop=
"odate"
class=
"width-48"
>
<Date-picker
v-model=
"formObj.odate"
type=
"date"
split-panels
style=
"width:100%;"
placeholder=
"请选择要求完成时间
"
@
on-change=
"_ctimeChange
"
></Date-picker>
<Date-picker
v-model=
"formObj.odate"
@
on-change=
"_ctimeChange"
type=
"date"
split-panels
style=
"width:100%;
"
placeholder=
"请选择要求完成时间
"
></Date-picker>
</Form-item>
<Form-item
label=
"折扣:"
prop=
"discount"
class=
"width-48"
>
<Input
v-model=
"formObj.discount"
name=
"discount"
placeholder=
"折扣"
/>
...
...
@@ -57,8 +57,8 @@
<!--操作-->
<Col
span=
"24"
>
<btn-list
:msg=
"btn"
:open=
"searchOpen"
:show-search-btn=
"true"
class=
"contHide
"
@
on-result-change=
"_btnClick
"
></btn-list>
<btn-list
:msg=
"btn"
:open=
"searchOpen"
:show-search-btn=
"true"
@
on-result-change=
"_btnClick
"
class=
"contHide
"
></btn-list>
</Col>
<Col
span=
"24"
>
<PTVXETable
...
...
@@ -80,13 +80,13 @@
>
<template
slot-scope=
"scope"
>
<div
v-if=
"item.key==='name'"
@
click
.
stop=
"_handleRow(scope)"
>
<el-input
v-model=
"scope.row.name"
blur
placeholder=
"请输入或选择样品名称"
style=
"width: 150px;"
@
on-result-change=
"_judgeBasisChange
"
<el-input
v-model=
"scope.row.name"
@
on-result-change=
"_judgeBasisChange"
blur
placeholder=
"请输入或选择样品名称"
style=
"width: 150px;
"
></el-input>
<a
style=
"font-size: 18px;"
class=
""
@
on-result-change=
"_judgeBasisChange"
@
click=
"_selectjudgeBasis(scope.$rowIndex)
"
>
+
</a>
<a
@
on-result-change=
"_judgeBasisChange"
@
click=
"_selectjudgeBasis(scope.$rowIndex)"
style=
"font-size: 18px;"
class=
"
"
>
+
</a>
</div>
<div
v-if=
"item.key==='verification'"
@
click
.
stop=
"_handleRow(scope)"
>
<el-input
v-model=
"scope.row.verification"
placeholder=
"请输入检定依据"
style=
"width: 85%"
></el-input>
<a
style=
"font-size: 18px;width: 15%"
class=
""
@
on-result-change=
"_judgeBasisChange"
@
click=
"_selectverification(scope.$rowIndex)
"
>
+
</a>
<a
@
on-result-change=
"_judgeBasisChange"
@
click=
"_selectverification(scope.$rowIndex)"
style=
"font-size: 18px;width: 15%"
class=
"
"
>
+
</a>
</div>
<div
v-else-if=
"item.key==='spec'"
@
click
.
stop=
"_handleRow(scope)"
>
<el-input
v-model=
"scope.row.spec"
blur
placeholder=
"请输入或选择型号规格"
...
...
@@ -133,7 +133,7 @@
/>
</div>
<div
v-if=
"item.key==='unit'"
@
click
.
stop=
"_handleRow(scope)"
>
<el-input
v-model=
"scope.row.unit"
blur
placeholder=
"请输入收费单位"
<el-input
v-model=
"scope.row.unit"
value=
"元"
blur
placeholder=
"请输入收费单位"
></el-input>
</div>
<div
v-else-if=
"item.date"
>
...
...
@@ -151,8 +151,8 @@
<modal-footer
ref=
"footerModal"
:footer=
"footerList"
@
on-result-change=
"_footerResult"
></modal-footer>
</div>
</Modal>
<EditModal
ref=
"EditModal"
is-change
@
on-result-change=
"_backData"
/>
<importModal
ref=
"importModal"
aptitude-item
@
on-result-change=
"_inputBack"
></importModal>
<EditModal
ref=
"EditModal"
@
on-result-change=
"_backData"
is-change
/>
<importModal
ref=
"importModal"
@
on-result-change=
"_inputBack"
aptitude-item
></importModal>
<VerificationModal
ref=
"VerificationModal"
@
on-result-change=
"_backVerification"
></VerificationModal>
</div>
</template>
...
...
@@ -505,7 +505,8 @@ export default {
spec
:
''
,
factoryNumber
:
''
,
quantity
:
''
,
type
:
''
type
:
''
,
unit
:
'元'
}
this
.
getPage
.
records
.
unshift
(
data
)
},
...
...
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