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
f062b910
Commit
f062b910
authored
Jul 14, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了合同档案的按钮id
parent
d8676669
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
31 deletions
+51
-31
MeterContractFile.vue
pages/meter-contract/contract-file/MeterContractFile.vue
+14
-10
MeterContractFileEdit.vue
pages/meter-contract/contract-file/MeterContractFileEdit.vue
+22
-14
MeterContractReviewAddEdit.vue
...ter-contract/contract-file/MeterContractReviewAddEdit.vue
+15
-7
No files found.
pages/meter-contract/contract-file/MeterContractFile.vue
View file @
f062b910
...
...
@@ -6,24 +6,24 @@
<Row>
<!--查询-->
<Col
span=
"24"
style=
"margin-top: 10px"
>
<Form
v-show=
"searchOpen"
id=
"formId
"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<Form
id=
"formId"
v-show=
"searchOpen
"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<Form-item
class=
"search-item"
label=
"实验室名称:"
>
<Input
v-model=
"formObj.name"
name=
"name"
placeholder=
"请输入实验室名称"
clearable
@
on-enter=
"_formSearch"
/>
<Input
v-model=
"formObj.name"
@
on-enter=
"_formSearch"
name=
"name"
placeholder=
"请输入实验室名称"
clearable
/>
</Form-item>
<Form-item
class=
"search-item"
label=
"资质:"
>
<Input
v-model=
"formObj.aptitude"
name=
"aptitude"
placeholder=
"请输入资质"
clearable
@
on-enter=
"_formSearch"
/>
<Input
v-model=
"formObj.aptitude"
@
on-enter=
"_formSearch"
name=
"aptitude"
placeholder=
"请输入资质"
clearable
/>
</Form-item>
<Form-item
class=
"search-btn"
>
<Button
type=
"primary"
@
click=
"_formSearch
"
>
搜索
</Button>
<Button
@
click=
"_formSearch"
type=
"primary
"
>
搜索
</Button>
</Form-item>
</Form>
</Col>
<!--操作-->
<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"
>
...
...
@@ -89,18 +89,22 @@ export default {
iconMsg
:
[
{
type
:
'md-create'
,
id
:
''
,
id
:
'
contract-file-meter-contract-file-review-record-operation
'
,
name
:
'评审记录'
},
{
type
:
'ios-beaker'
,
id
:
''
,
id
:
'
contract-file-meter-contract-file-sample-manage-operation
'
,
name
:
'样品管理'
},
{
type
:
'md-cloud'
,
id
:
''
,
name
:
'附件'
},
{
type
:
'md-cloud'
,
id
:
'contract-file-meter-contract-file-accessory-operation'
,
name
:
'附件'
},
{
type
:
'ios-clock'
,
id
:
''
,
id
:
'
contract-file-meter-contract-file-record-operation
'
,
name
:
'操作日志'
}
],
...
...
pages/meter-contract/contract-file/MeterContractFileEdit.vue
View file @
f062b910
...
...
@@ -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"
ref=
"autoComplet
e"
placeholder=
"请输入或选择委托单位"
@
on-result-change=
"_cusNameChange
"
<AutoComplete
ref=
"autoComplete"
:value=
"formObj.client"
:down-data=
"customerData"
@
on-result-change=
"_cusNameChang
e"
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>
...
...
@@ -28,8 +28,8 @@
<Input
v-model=
"formObj.street"
name=
"street"
placeholder=
"请输入街道"
/>
</Form-item>
<Form-item
label=
"要求完成时间:"
prop=
"odate"
class=
"width-48"
>
<Date-picker
type=
"date"
split-panels
style=
"width:100%;"
placeholder=
"请选择要求完成时间
"
@
on-change=
"_ctimeChange
"
></Date-picker>
<Date-picker
@
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=
"折扣"
/>
...
...
@@ -48,8 +48,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
...
...
@@ -71,7 +71,7 @@
>
<template
slot-scope=
"scope"
>
<div
v-if=
"item.key==='name'"
@
click
.
stop=
"_handleRow(scope)"
>
<el-input
v-model=
"scope.row.name"
blur
placeholder=
"请输入或选择样品名称"
@
on-result-change=
"_judgeBasisChange"
@
click
.
native=
"_selectjudgeBasis(scope.$rowIndex)
"
<el-input
v-model=
"scope.row.name"
@
on-result-change=
"_judgeBasisChange"
@
click
.
native=
"_selectjudgeBasis(scope.$rowIndex)"
blur
placeholder=
"请输入或选择样品名称
"
></el-input>
</div>
<div
v-if=
"item.key==='spec'"
@
click
.
stop=
"_handleRow(scope)"
>
...
...
@@ -92,9 +92,9 @@
<div
v-if=
"item.key==='quantity'"
@
click
.
stop=
"_handleRow(scope)"
>
<el-input
v-model=
"scope.row.quantity"
@
keydown
.
native=
"channelInputLimit"
type=
"number"
placeholder=
"请输入或选择数量"
@
keydown
.
native=
"channelInputLimit"
/>
</div>
<div
v-else-if=
"item.date"
>
...
...
@@ -112,7 +112,7 @@
<modal-footer
ref=
"footerModal"
:footer=
"footerList"
@
on-result-change=
"_footerResult"
></modal-footer>
</div>
</Modal>
<importModal
ref=
"importModal"
aptitude-item
@
on-result-change=
"_inputBack"
></importModal>
<importModal
ref=
"importModal"
@
on-result-change=
"_inputBack"
aptitude-item
></importModal>
</div>
</template>
<
script
>
...
...
@@ -151,8 +151,16 @@ export default {
testedCityData
:
[],
judgeType
:
[{
value
:
1
,
name
:
'是'
},
{
value
:
0
,
name
:
'否'
}],
iconMsg
:
[
{
type
:
'ios-clock'
,
id
:
''
,
name
:
'编辑'
},
{
type
:
'ios-clock'
,
id
:
''
,
name
:
'删除'
}
{
type
:
'ios-clock'
,
id
:
'contract-file-meter-contract-file-edit-edit-operation'
,
name
:
'编辑'
},
{
type
:
'ios-clock'
,
id
:
'contract-file-meter-contract-file-edit-remove-operation'
,
name
:
'删除'
}
],
pageColumns
:
[
{
title
:
'名称'
,
key
:
'name'
,
width
:
160
},
...
...
@@ -183,12 +191,12 @@ export default {
btn
:
[
{
type
:
'success'
,
id
:
''
,
id
:
'
contract-file-meter-contract-file-edit-add
'
,
name
:
'添加'
},
{
type
:
'success'
,
id
:
''
,
id
:
'
contract-file-meter-contract-file-edit-import
'
,
name
:
'导入'
}
],
...
...
pages/meter-contract/contract-file/MeterContractReviewAddEdit.vue
View file @
f062b910
...
...
@@ -14,7 +14,7 @@
<!--
<Input
v-model=
"formObj.person"
name=
"person"
placeholder=
"请输入评审人员"
/>
-->
<!--
</Form-item>
-->
<Form-item
label=
"检定/校准执行规程/规范:"
prop=
"operation.requirements"
style=
"width: 100%;margin-bottom: 5px;"
>
<Input
v-model=
"formObj.operation.requirements"
readonly
:rows=
"2"
name=
"requirements"
type=
"textarea"
placeholder=
"请输入要求"
/>
<Input
v-model=
"formObj.operation.requirements"
:rows=
"2"
readonly
name=
"requirements"
type=
"textarea"
placeholder=
"请输入要求"
/>
</Form-item>
<Form-item
label=
"要求完成时间"
prop=
"odate"
style=
"width: 100%;margin-bottom: 5px;"
>
<span>
...
...
@@ -57,7 +57,7 @@
placeholder=
"请输入解决的问题"
/>
</Form-item>
<Form-item
label=
"评审结论"
prop=
"operation.reviewConclusion"
style=
"width: 99.8%;margin-bottom: 5px;"
>
<Input
v-model=
"formObj.operation.reviewConclusion"
readonly
:rows=
"2"
name=
"verdict"
type=
"textarea"
<Input
v-model=
"formObj.operation.reviewConclusion"
:rows=
"2"
readonly
name=
"verdict"
type=
"textarea"
placeholder=
"请输入评审结论"
/>
</Form-item>
...
...
@@ -72,7 +72,7 @@
<modal-footer
ref=
"footerModal"
:footer=
"footerList"
@
on-result-change=
"_footerResult"
></modal-footer>
</div>
</Modal>
<importModal
ref=
"importModal"
aptitude-item
@
on-result-change=
"_inputBack"
></importModal>
<importModal
ref=
"importModal"
@
on-result-change=
"_inputBack"
aptitude-item
></importModal>
</div>
</
template
>
<
script
>
...
...
@@ -111,8 +111,16 @@ export default {
testedCityData
:
[],
judgeType
:
[{
value
:
1
,
name
:
'是'
},
{
value
:
0
,
name
:
'否'
}],
iconMsg
:
[
{
type
:
'ios-clock'
,
id
:
''
,
name
:
'编辑'
},
{
type
:
'ios-clock'
,
id
:
''
,
name
:
'删除'
}
{
type
:
'ios-clock'
,
id
:
'contract-file-meter-contract-review-add-edit-edit-operation'
,
name
:
'编辑'
},
{
type
:
'ios-clock'
,
id
:
'contract-file-meter-contract-review-add-edit-remove-operation'
,
name
:
'删除'
}
],
pageColumns
:
[
{
title
:
'名称'
,
key
:
'name'
,
width
:
160
},
...
...
@@ -143,12 +151,12 @@ export default {
btn
:
[
{
type
:
'success'
,
id
:
''
,
id
:
'
contract-file-meter-contract-review-add-edit-add
'
,
name
:
'添加'
},
{
type
:
'success'
,
id
:
''
,
id
:
'
contract-file-meter-contract-review-add-edit-import
'
,
name
:
'导入'
}
],
...
...
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