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
d4feed4c
Commit
d4feed4c
authored
Jul 14, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了客户在线委托单编辑送出检下拉框
parent
a9c08c18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
12 deletions
+27
-12
MeterGoOutTestEdit.vue
pages/meter-entrust/client-online/MeterGoOutTestEdit.vue
+27
-12
No files found.
pages/meter-entrust/client-online/MeterGoOutTestEdit.vue
View file @
d4feed4c
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
</Radio-group>
</Radio-group>
</Form-item>
</Form-item>
<Form-item
label=
"委托单位"
prop=
"client"
class=
"width-48"
>
<Form-item
label=
"委托单位"
prop=
"client"
class=
"width-48"
>
<AutoComplete
:value=
"formObj.client"
:down-data=
"customerData"
name=
"client
"
<AutoComplete
:value=
"formObj.client"
:down-data=
"customerData"
@
on-result-change=
"_cusNameChange
"
placeholder=
"请输入或选择委托单位"
@
on-result-change=
"_cusNameChange
"
name=
"client"
placeholder=
"请输入或选择委托单位
"
></AutoComplete>
></AutoComplete>
</Form-item>
</Form-item>
<Form-item
label=
"联系人"
prop=
"operation.person"
class=
"width-48"
>
<Form-item
label=
"联系人"
prop=
"operation.person"
class=
"width-48"
>
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<Input
v-model=
"formObj.operation.fax"
name=
"operation.fax"
placeholder=
"请输入传真"
/>
<Input
v-model=
"formObj.operation.fax"
name=
"operation.fax"
placeholder=
"请输入传真"
/>
</Form-item>
</Form-item>
<Form-item
label=
"省、市、区"
prop=
"testedCityData"
class=
"width-48"
>
<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>
</CityNameCascader>
</Form-item>
</Form-item>
<Form-item
label=
"街道"
prop=
"street"
class=
"width-48"
>
<Form-item
label=
"街道"
prop=
"street"
class=
"width-48"
>
...
@@ -38,14 +38,14 @@
...
@@ -38,14 +38,14 @@
<Input
v-model=
"formObj.operation.email"
name=
"operation.email"
placeholder=
"请输入E-mail"
/>
<Input
v-model=
"formObj.operation.email"
name=
"operation.email"
placeholder=
"请输入E-mail"
/>
</Form-item>
</Form-item>
<Form-item
label=
"委托日期:"
prop=
"edate"
class=
"width-48"
>
<Form-item
label=
"委托日期:"
prop=
"edate"
class=
"width-48"
>
<Date-picker
v-model=
"formObj.edate"
type=
"date"
split-panels
style=
"width:100%;"
placeholder=
"请选择委托日期
"
<Date-picker
v-model=
"formObj.edate"
@
on-change=
"_ctimeChange"
type=
"date"
split-panels
style=
"width:100%;
"
@
on-change=
"_ctimeChange
"
></Date-picker>
placeholder=
"请选择委托日期
"
></Date-picker>
</Form-item>
</Form-item>
<Form-item
label=
"合同号:"
prop=
"contractCode"
class=
"width-48"
>
<Form-item
label=
"合同号:"
prop=
"contractCode"
class=
"width-48"
>
<Input
v-model=
"formObj.contractCode"
name=
"contractCode"
placeholder=
"请输入合同号"
/>
<Input
v-model=
"formObj.contractCode"
name=
"contractCode"
placeholder=
"请输入合同号"
/>
</Form-item>
</Form-item>
<Form-item
label=
"委托费用:"
prop=
"operation.fee"
class=
"width-48"
>
<Form-item
label=
"委托费用:"
prop=
"operation.fee"
class=
"width-48"
>
<Input
v-model=
"formObj.operation.fee"
type=
"number"
name=
"operation.fee"
placeholder=
"请输入委托费用"
@
keydown
.
native=
"channelInputLimit
"
/>
<Input
v-model=
"formObj.operation.fee"
@
keydown
.
native=
"channelInputLimit"
type=
"number"
name=
"operation.fee"
placeholder=
"请输入委托费用
"
/>
</Form-item>
</Form-item>
<Form-item
label=
"备注:"
prop=
"remark"
style=
"width: 99.8%"
>
<Form-item
label=
"备注:"
prop=
"remark"
style=
"width: 99.8%"
>
<Input
v-model=
"formObj.remark"
:rows=
"3"
name=
"remark"
type=
"textarea"
<Input
v-model=
"formObj.remark"
:rows=
"3"
name=
"remark"
type=
"textarea"
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<Col
span=
"24"
>
<Col
span=
"24"
>
<!--
<btn-list
:msg=
"btn"
:open=
"searchOpen"
:showSearchBtn=
"false"
@
on-result-change=
"_btnClick"
--
>
<!--
<btn-list
:msg=
"btn"
:open=
"searchOpen"
:showSearchBtn=
"false"
@
on-result-change=
"_btnClick"
--
>
<!-- class="contHide">
</btn-list>
-->
<!-- class="contHide">
</btn-list>
-->
<Button
type=
"success"
@
click=
"_add()
"
>
添加
</Button>
<Button
@
click=
"_add()"
type=
"success
"
>
添加
</Button>
</Col>
</Col>
<Col
span=
"24"
>
<Col
span=
"24"
>
<PTVXETable
<PTVXETable
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
>
>
<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"
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>
></el-input>
</div>
</div>
<div
v-if=
"item.key==='spec'"
@
click
.
stop=
"_handleRow(scope)"
>
<div
v-if=
"item.key==='spec'"
@
click
.
stop=
"_handleRow(scope)"
>
...
@@ -95,28 +95,35 @@
...
@@ -95,28 +95,35 @@
</Option>
</Option>
</Select>
</Select>
</div>
</div>
<div
v-if=
"item.key==='sampleType'"
@
click
.
stop=
"_handleRow(scope)"
>
<Select
v-model=
"scope.row.sampleType"
>
<Option
v-for=
"(item,index) in typeOptions"
:key=
"item.name"
:value=
"index"
>
{{
item
.
name
}}
</Option>
</Select>
</div>
<div
v-if=
"item.key==='quantity'"
@
click
.
stop=
"_handleRow(scope)"
>
<div
v-if=
"item.key==='quantity'"
@
click
.
stop=
"_handleRow(scope)"
>
<el-input
<el-input
v-model=
"scope.row.quantity"
v-model=
"scope.row.quantity"
@
keydown
.
native=
"channelInputLimit"
type=
"number"
type=
"number"
placeholder=
"请输入或选择数量"
placeholder=
"请输入或选择数量"
@
keydown
.
native=
"channelInputLimit"
/>
/>
</div>
</div>
<div
v-if=
"item.key==='price'"
@
click
.
stop=
"_handleRow(scope)"
>
<div
v-if=
"item.key==='price'"
@
click
.
stop=
"_handleRow(scope)"
>
<el-input
<el-input
v-model=
"scope.row.price"
v-model=
"scope.row.price"
@
keydown
.
native=
"channelInputLimit"
type=
"number"
type=
"number"
placeholder=
"请输入单价"
placeholder=
"请输入单价"
@
keydown
.
native=
"channelInputLimit"
/>
/>
</div>
</div>
<div
v-if=
"item.key==='totalPrice'"
@
click
.
stop=
"_handleRow(scope)"
>
<div
v-if=
"item.key==='totalPrice'"
@
click
.
stop=
"_handleRow(scope)"
>
<el-input
<el-input
v-model=
"scope.row.totalPrice"
v-model=
"scope.row.totalPrice"
@
keydown
.
native=
"channelInputLimit"
type=
"number"
type=
"number"
placeholder=
"请输入总价"
placeholder=
"请输入总价"
@
keydown
.
native=
"channelInputLimit"
/>
/>
</div>
</div>
</
template
>
</
template
>
...
@@ -127,7 +134,7 @@
...
@@ -127,7 +134,7 @@
<div
slot=
"footer"
>
<div
slot=
"footer"
>
<modal-footer
ref=
"footerModal"
:footer=
"footerList"
@
on-result-change=
"_footerResult"
></modal-footer>
<modal-footer
ref=
"footerModal"
:footer=
"footerList"
@
on-result-change=
"_footerResult"
></modal-footer>
</div>
</div>
<EditModal
ref=
"EditModal"
is-change
@
on-result-change=
"_backData"
/>
<EditModal
ref=
"EditModal"
@
on-result-change=
"_backData"
is-change
/>
</Modal>
</Modal>
</div>
</div>
</template>
</template>
...
@@ -200,6 +207,14 @@ export default {
...
@@ -200,6 +207,14 @@ export default {
name
:
'外观检查'
name
:
'外观检查'
}
}
],
],
typeOptions
:
[
{
name
:
'送检'
},
{
name
:
'出检'
}
],
index
:
0
,
index
:
0
,
id
:
''
,
id
:
''
,
modalTitle
:
''
,
modalTitle
:
''
,
...
...
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