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
d6311959
Commit
d6311959
authored
Jun 16, 2020
by
wangweidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
送样流程
parent
cf508452
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
13 deletions
+22
-13
DownloadTemplateImport.vue
components/import/DownloadTemplateImport.vue
+3
-2
MeterQuoteRegisterEdit.vue
.../meter-business/quote-register/MeterQuoteRegisterEdit.vue
+19
-11
No files found.
components/import/DownloadTemplateImport.vue
View file @
d6311959
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
</Spin>
</Spin>
</div>
</div>
<div>
<div>
<Button
@
click=
"_download"
v-if=
"hideDownloadBtn===undefined"
size=
"large
"
>
下载模板
</Button>
<Button
v-if=
"hideDownloadBtn===undefined"
size=
"large"
@
click=
"_download
"
>
下载模板
</Button>
</div>
</div>
<div
slot=
"footer"
class=
"btn-width"
>
<div
slot=
"footer"
class=
"btn-width"
>
...
@@ -107,9 +107,10 @@ export default {
...
@@ -107,9 +107,10 @@ export default {
_handelsuccess
(
response
,
file
,
fileList
)
{
_handelsuccess
(
response
,
file
,
fileList
)
{
// 上传成功
// 上传成功
if
(
response
.
success
)
{
if
(
response
.
success
)
{
console
.
log
(
'---response'
,
response
)
this
.
isLoad
=
false
this
.
isLoad
=
false
this
.
$Message
.
success
(
'导入成功!'
)
this
.
$Message
.
success
(
'导入成功!'
)
this
.
$emit
(
'on-result-change'
)
this
.
$emit
(
'on-result-change'
,
response
.
data
)
this
.
showModal
=
false
this
.
showModal
=
false
this
.
isDisabled
=
false
this
.
isDisabled
=
false
this
.
showError
=
false
this
.
showError
=
false
...
...
pages/meter-business/quote-register/MeterQuoteRegisterEdit.vue
View file @
d6311959
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
<Form
id=
"edit-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"90"
inline
>
<Form
id=
"edit-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"90"
inline
>
<Form-item
label=
"委托单位"
prop=
"client"
class=
"width-48"
>
<Form-item
label=
"委托单位"
prop=
"client"
class=
"width-48"
>
<AutoComplete
:value=
"formObj.client"
:down
Data=
"customerData"
@
on-result-change=
"_cusNameChange
"
<AutoComplete
:value=
"formObj.client"
:down
-data=
"customerData"
name=
"client
"
name=
"client"
placeholder=
"请输入或选择委托单位
"
placeholder=
"请输入或选择委托单位"
@
on-result-change=
"_cusNameChange
"
></AutoComplete>
></AutoComplete>
</Form-item>
</Form-item>
<Form-item
label=
"联系人"
prop=
"operation.person"
class=
"width-48"
>
<Form-item
label=
"联系人"
prop=
"operation.person"
class=
"width-48"
>
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,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"
@
on-result-change=
"_cascaderResult"
name=
"tested
"
>
<CityNameCascader
:value=
"testedCityData"
name=
"tested"
@
on-result-change=
"_cascaderResult
"
>
</CityNameCascader>
</CityNameCascader>
</Form-item>
</Form-item>
...
@@ -35,8 +35,8 @@
...
@@ -35,8 +35,8 @@
<Input
v-model=
"formObj.operation.email"
name=
"operation.email"
placeholder=
"请输入实验室名称"
/>
<Input
v-model=
"formObj.operation.email"
name=
"operation.email"
placeholder=
"请输入实验室名称"
/>
</Form-item>
</Form-item>
<Form-item
label=
"委托日期:"
prop=
"edate"
class=
"width-48"
>
<Form-item
label=
"委托日期:"
prop=
"edate"
class=
"width-48"
>
<Date-picker
@
on-change=
"_ctimeChange"
type=
"date"
split-panels
style=
"width:100%;
"
<Date-picker
type=
"date"
split-panels
style=
"width:100%;"
placeholder=
"请选择委托日期
"
placeholder=
"请选择委托日期
"
></Date-picker>
@
on-change=
"_ctimeChange
"
></Date-picker>
</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"
...
@@ -50,8 +50,8 @@
...
@@ -50,8 +50,8 @@
<!--操作-->
<!--操作-->
<Col
span=
"24"
>
<Col
span=
"24"
>
<btn-list
:msg=
"btn"
:open=
"searchOpen"
:show-search-btn=
"true"
@
on-result-change=
"_btnClick
"
<btn-list
:msg=
"btn"
:open=
"searchOpen"
:show-search-btn=
"true"
class=
"contHide
"
class=
"contHide
"
></btn-list>
@
on-result-change=
"_btnClick
"
></btn-list>
</Col>
</Col>
<Col
span=
"24"
>
<Col
span=
"24"
>
<PTVXETable
<PTVXETable
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,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"
@
on-result-change=
"_judgeBasisChange"
@
click
.
native=
"_selectjudgeBasis(scope.$rowIndex)"
blur
placeholder=
"请输入或选择样品名称
"
<el-input
v-model=
"scope.row.name"
blur
placeholder=
"请输入或选择样品名称"
@
on-result-change=
"_judgeBasisChange"
@
click
.
native=
"_selectjudgeBasis(scope.$rowIndex)
"
></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)"
>
...
@@ -94,9 +94,9 @@
...
@@ -94,9 +94,9 @@
<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>
</
template
>
</
template
>
...
@@ -108,8 +108,8 @@
...
@@ -108,8 +108,8 @@
<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>
</Modal>
</Modal>
<EditModal
ref=
"EditModal"
@
on-result-change=
"_backData"
is-change
/>
<EditModal
ref=
"EditModal"
is-change
@
on-result-change=
"_backData"
/>
<importModal
ref=
"importModal"
aptitude-item
></importModal>
<importModal
ref=
"importModal"
aptitude-item
@
on-result-change=
"_inputBack"
></importModal>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -347,6 +347,14 @@ export default {
...
@@ -347,6 +347,14 @@ export default {
console
.
log
(
data
)
console
.
log
(
data
)
console
.
log
(
this
.
getPage
.
records
)
console
.
log
(
this
.
getPage
.
records
)
},
},
_inputBack
(
data
)
{
if
(
undefined
!==
data
)
{
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
this
.
getPage
.
records
.
push
(
data
[
i
])
}
}
},
_add
()
{
_add
()
{
const
data
=
{
const
data
=
{
name
:
''
,
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