Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
folacin-front
Project
Project
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
ynby
folacin-front
Commits
caed2e8c
Commit
caed2e8c
authored
Jul 27, 2021
by
罗成兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug完善
parent
4a18acc2
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
580 additions
and
554 deletions
+580
-554
distributionWarehousing.vue
...onent/distributionWarehousing/distributionWarehousing.vue
+1
-3
folviteApply.vue
src/views/indexComponent/folviteApply/folviteApply.vue
+22
-19
addFolviteDistribution.vue
...folviteDistribution/components/addFolviteDistribution.vue
+280
-270
folviteDistributionDetail.vue
...viteDistribution/components/folviteDistributionDetail.vue
+112
-109
inStockManageInfo.vue
...nent/folviteDistribution/components/inStockManageInfo.vue
+0
-1
folviteDistribution.vue
...ndexComponent/folviteDistribution/folviteDistribution.vue
+7
-2
addStock.vue
...iews/indexComponent/inStockManage/components/addStock.vue
+140
-130
inStockManage.vue
src/views/indexComponent/inStockManage/inStockManage.vue
+11
-11
addSupply.vue
...iews/indexComponent/supplyManage/components/addSupply.vue
+6
-8
supplyManage.vue
src/views/indexComponent/supplyManage/supplyManage.vue
+1
-1
No files found.
src/views/indexComponent/distributionWarehousing/distributionWarehousing.vue
View file @
caed2e8c
...
@@ -49,6 +49,7 @@
...
@@ -49,6 +49,7 @@
const
columns
=
[
const
columns
=
[
{
{
title
:
'发放单位'
,
title
:
'发放单位'
,
width
:
'200px'
,
dataIndex
:
'sendNodeName'
,
dataIndex
:
'sendNodeName'
,
ellipsis
:
true
ellipsis
:
true
},
},
...
@@ -64,7 +65,6 @@
...
@@ -64,7 +65,6 @@
},
},
{
{
title
:
'批次号'
,
title
:
'批次号'
,
width
:
'120px'
,
dataIndex
:
'batchNumber'
,
dataIndex
:
'batchNumber'
,
ellipsis
:
true
ellipsis
:
true
},
},
...
@@ -75,7 +75,6 @@
...
@@ -75,7 +75,6 @@
},
},
{
{
title
:
'有效期'
,
title
:
'有效期'
,
width
:
'120px'
,
scopedSlots
:
{
customRender
:
'expireDateS'
},
scopedSlots
:
{
customRender
:
'expireDateS'
},
},
},
{
{
...
@@ -106,7 +105,6 @@
...
@@ -106,7 +105,6 @@
{
{
title
:
'操作'
,
title
:
'操作'
,
align
:
'center'
,
align
:
'center'
,
width
:
120
,
fixed
:
'right'
,
fixed
:
'right'
,
scopedSlots
:
{
customRender
:
'action'
},
scopedSlots
:
{
customRender
:
'action'
},
},
},
...
...
src/views/indexComponent/folviteApply/folviteApply.vue
View file @
caed2e8c
...
@@ -17,9 +17,9 @@
...
@@ -17,9 +17,9 @@
<!--v-price="
{digit:4}"-->
<!--v-price="
{digit:4}"-->
<a-input
v-model=
"searchForm.telephone"
placeholder=
"请输入联系电话"
style=
"width: 250px"
></a-input>
<a-input
v-model=
"searchForm.telephone"
placeholder=
"请输入联系电话"
style=
"width: 250px"
></a-input>
</a-form-item>
</a-form-item>
<a-button
type=
"primary"
icon=
"search"
class=
"search_btn"
@
click=
"searchList"
>
搜索
</a-button>
<a-button
type=
"primary"
icon=
"search"
class=
"search_btn"
@
click=
"searchList"
>
搜索
</a-button>
<a-button
class=
"search_btn"
icon=
"close"
style=
"margin-left: 10px"
@
click=
"restSearchForm"
>
清空
</a-button>
<a-button
class=
"search_btn"
icon=
"close"
style=
"margin-left: 10px"
@
click=
"restSearchForm"
>
清空
</a-button>
<div
style=
"clear: both"
></div>
<div
style=
"clear: both"
></div>
</a-form>
</a-form>
<div
style=
"clear: both"
></div>
<div
style=
"clear: both"
></div>
...
@@ -34,7 +34,8 @@
...
@@ -34,7 +34,8 @@
</
template
>
</
template
>
<
template
slot=
"action"
slot-scope=
"record"
>
<
template
slot=
"action"
slot-scope=
"record"
>
<a-button
type=
"link"
size=
"small"
@
click=
"toDetail(record)"
:disabled=
"record.status===2"
>
发放
</a-button>
<a-button
type=
"link"
size=
"small"
@
click=
"toDetail(record)"
:disabled=
"record.status===2"
>
发放
</a-button>
<a-button
type=
"link"
size=
"small"
@
click=
"deleteConfirm(record)"
:disabled=
"record.status===2"
>
删除
</a-button>
<a-button
type=
"link"
size=
"small"
@
click=
"deleteConfirm(record)"
:disabled=
"record.status===2"
>
删除
</a-button>
</
template
>
</
template
>
</a-table>
</a-table>
<a-pagination
<a-pagination
...
@@ -54,6 +55,7 @@
...
@@ -54,6 +55,7 @@
<
script
>
<
script
>
import
{
getEnumByFlag
,
isEmptyParams
}
from
"../../utils/common"
;
import
{
getEnumByFlag
,
isEmptyParams
}
from
"../../utils/common"
;
import
moment
from
'moment'
import
moment
from
'moment'
const
columns
=
[
const
columns
=
[
{
{
title
:
'女方姓名'
,
title
:
'女方姓名'
,
...
@@ -104,8 +106,8 @@
...
@@ -104,8 +106,8 @@
{
{
title
:
'操作'
,
title
:
'操作'
,
align
:
'center'
,
align
:
'center'
,
fixed
:
'right'
,
fixed
:
'right'
,
width
:
120
,
width
:
120
,
scopedSlots
:
{
customRender
:
'action'
},
scopedSlots
:
{
customRender
:
'action'
},
},
},
]
]
...
@@ -127,7 +129,7 @@
...
@@ -127,7 +129,7 @@
columns
,
columns
,
tableData
:
[],
tableData
:
[],
loading
:
false
,
loading
:
false
,
routerParams
:{}
routerParams
:
{}
}
}
},
},
created
()
{
created
()
{
...
@@ -186,10 +188,10 @@
...
@@ -186,10 +188,10 @@
},
},
restSearchForm
()
{
restSearchForm
()
{
this
.
searchForm
=
{
this
.
searchForm
=
{
breedId
:
undefined
,
breedId
:
undefined
,
medicalName
:
''
,
medicalName
:
''
,
factoryId
:
''
,
factoryId
:
''
,
produceDate
:
undefined
produceDate
:
undefined
}
}
this
.
searchList
()
this
.
searchList
()
},
},
...
@@ -219,10 +221,10 @@
...
@@ -219,10 +221,10 @@
},
},
toDetail
(
record
)
{
toDetail
(
record
)
{
let
params
=
{
let
params
=
{
...
recor
d
,
id
:
record
.
i
d
,
routerFlag
:
'update'
routerFlag
:
'update'
}
}
this
.
$router
.
push
({
path
:
'/folviteDistribution/add'
,
query
:
params
})
this
.
$router
.
push
({
path
:
'/folviteDistribution/add'
,
query
:
params
})
}
}
},
},
}
}
...
@@ -242,10 +244,11 @@
...
@@ -242,10 +244,11 @@
.btn_space {
.btn_space {
margin-right: 5px;
margin-right: 5px;
}
}
/* .search_form {
margin-top: -17px;
/* .search_form {
border: 1px solid rgba(255,77,128, .2);
margin-top: -17px;
border-top: 0px;
border: 1px solid rgba(255,77,128, .2);
padding: 30px;
border-top: 0px;
}*/
padding: 30px;
}*/
</
style
>
</
style
>
src/views/indexComponent/folviteDistribution/components/addFolviteDistribution.vue
View file @
caed2e8c
...
@@ -2,255 +2,261 @@
...
@@ -2,255 +2,261 @@
<div>
<div>
<a-spin
tip=
"加载中..."
:spinning=
"spinning"
>
<a-spin
tip=
"加载中..."
:spinning=
"spinning"
>
<a-card>
<a-card>
<div
style=
"font-size: 18px;font-weight: 600"
>
<div
style=
"font-size: 18px;font-weight: 600"
>
<span>
叶酸发放登记
</span>
<span>
叶酸发放登记
</span>
</div>
<a-form-model
ref=
"formRef"
:model=
"formData"
:rules=
"formRules"
:labelCol=
"
{span: 6}"
:wrapperCol="{span: 16}">
<div
style=
"margin: 30px 0px"
>
<div
class=
"divider_my"
><span
class=
"midText"
>
居民信息
</span></div>
</div>
</div>
<div
style=
"clear: both"
></div>
<a-form-model
ref=
"formRef"
:model=
"formData"
:rules=
"formRules"
:labelCol=
"
{span: 6}"
<a-card
size=
"small"
:headStyle=
"
{background: '#FAFAFA'}">
:wrapperCol="{span: 16}">
<div
slot=
"title"
>
<img
class=
"title_img"
src=
"../../../../../static/images/user_info_index.png"
>
<span
class=
"title_font"
>
女方信息
</span>
</div>
<a-button
slot=
"extra"
>
身份证识别
</a-button>
<a-row
:gutter=
"16"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"姓名"
prop=
"womanName"
>
<a-input
placeholder=
"请输入姓名"
v-model=
"formData.womanName"
></a-input>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"证件类型"
prop=
"womenCertificateType"
>
<a-select
v-model=
"formData.womenCertificateType"
placeholder=
"请选择"
>
<a-select-option
v-for=
"item in certificateTypeList"
:key=
"item.enumValue"
:value=
"item.enumValue"
>
{{
item
.
enumName
}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<div
style=
"margin: 30px 0px"
>
<a-form-model-item
label=
"证件号码"
prop=
"womenIdCard"
>
<div
class=
"divider_my"
><span
class=
"midText"
>
居民信息
</span></div>
<a-input
placeholder=
"请输入证件号码"
v-model=
"formData.womenIdCard"
></a-input>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"是否曾经怀孕"
prop=
"oncePregnant"
>
<a-radio-group
v-model=
"formData.oncePregnant"
@
change=
"onChangePregnant"
>
<a-radio
:value=
"1"
>
是
</a-radio>
<a-radio
:value=
"2"
>
否
</a-radio>
</a-radio-group>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"孕次"
prop=
"pregnantNum"
v-if=
"formData.oncePregnant==1"
>
<a-input
v-toInt
placeholder=
"请输入"
v-model=
"formData.pregnantNum"
></a-input>
</a-form-model-item>
</a-col>
</a-row>
</a-card>
<a-card
size=
"small"
:headStyle=
"
{background: '#FAFAFA'}" style="margin-top: 16px">
<div
slot=
"title"
>
<img
class=
"title_img"
src=
"../../../../../static/images/user_info_index.png"
>
<span
class=
"title_font"
>
男方信息
</span>
</div>
</div>
<a-button
slot=
"extra"
>
身份证识别
</a-button>
<div
style=
"clear: both"
></div>
<a-row
:gutter=
"16"
>
<a-card
size=
"small"
:headStyle=
"
{background: '#FAFAFA'}">
<a-col
:span=
"12"
>
<div
slot=
"title"
>
<a-form-model-item
label=
"姓名"
prop=
"manName"
>
<img
class=
"title_img"
src=
"../../../../../static/images/user_info_index.png"
>
<a-input
placeholder=
"请输入姓名"
v-model=
"formData.manName"
></a-input>
<span
class=
"title_font"
>
女方信息
</span>
</a-form-model-item>
</div>
</a-col>
<a-button
slot=
"extra"
>
身份证识别
</a-button>
<a-col
:span=
"12"
>
<a-row
:gutter=
"16"
>
<a-form-model-item
label=
"证件类型"
prop=
"menCertificateType"
>
<a-col
:span=
"12"
>
<a-select
v-model=
"formData.menCertificateType"
placeholder=
"请选择"
>
<a-form-model-item
label=
"姓名"
prop=
"womanName"
>
<a-select-option
v-for=
"item in certificateTypeList"
<a-input
placeholder=
"请输入姓名"
v-model=
"formData.womanName"
></a-input>
:key=
"item.enumValue"
:value=
"item.enumValue"
</a-form-model-item>
>
</a-col>
{{
item
.
enumName
}}
<a-col
:span=
"12"
>
</a-select-option>
<a-form-model-item
label=
"证件类型"
prop=
"womenCertificateType"
>
</a-select>
<a-select
v-model=
"formData.womenCertificateType"
placeholder=
"请选择"
>
</a-form-model-item>
<a-select-option
v-for=
"item in certificateTypeList"
</a-col>
:key=
"item.enumValue"
:value=
"item.enumValue"
>
{{
item
.
enumName
}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"证件号码"
prop=
"menIdCard"
>
<a-form-model-item
label=
"证件号码"
prop=
"womenIdCard"
>
<a-input
placeholder=
"请输入证件号码"
v-model=
"formData.menIdCard"
></a-input>
<a-input
placeholder=
"请输入证件号码"
v-model=
"formData.womenIdCard"
></a-input>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
</a-row>
<a-col
:span=
"12"
>
</a-card>
<a-form-model-item
label=
"是否曾经怀孕"
prop=
"oncePregnant"
>
<a-card
size=
"small"
:headStyle=
"
{background: '#FAFAFA'}" style="margin-top: 16px">
<a-radio-group
v-model=
"formData.oncePregnant"
@
change=
"onChangePregnant"
>
<div
slot=
"title"
>
<a-radio
:value=
"1"
>
<img
class=
"title_img"
src=
"../../../../../static/images/user_info_index.png"
>
是
<span
class=
"title_font"
>
其他信息
</span>
</a-radio>
</div>
<a-radio
:value=
"2"
>
<a-row
:gutter=
"16"
>
否
<a-col
:span=
"24"
>
</a-radio>
<a-form-model-item
label=
"联系电话"
prop=
"telephone"
:labelCol=
"
{span: 3}"
</a-radio-group>
:wrapperCol="{span: 8}">
</a-form-model-item>
<a-input
placeholder=
"请输入联系电话"
v-model=
"formData.telephone"
></a-input>
</a-col>
</a-form-model-item>
<a-col
:span=
"12"
>
</a-col>
<a-form-model-item
label=
"孕次"
prop=
"pregnantNum"
v-if=
"formData.oncePregnant==1"
>
<a-col
:span=
"24"
>
<a-input
v-toInt
placeholder=
"请输入"
v-model=
"formData.pregnantNum"
></a-input>
<a-form-model-item
label=
"现住地址"
prop=
"presentCode"
:labelCol=
"
{span: 3}"
</a-form-model-item>
:wrapperCol="{span: 20}">
</a-col>
<!--
<a-input
placeholder=
"请输入现住地址"
v-model=
"formData.presentCode"
></a-input>
-->
</a-row>
<a-cascader
v-model=
"formData.presentCode"
</a-card>
change-on-select
<a-card
size=
"small"
:headStyle=
"
{background: '#FAFAFA'}" style="margin-top: 16px">
:options=
"areaInfo"
<div
slot=
"title"
>
:fieldNames=
"fieldNames"
<img
class=
"title_img"
src=
"../../../../../static/images/user_info_index.png"
>
:load-data=
"loadAreaData"
<span
class=
"title_font"
>
男方信息
</span>
@
click
.
native=
"initLoadAreaData"
</div>
placeholder=
"请选择"
/>
<a-button
slot=
"extra"
>
身份证识别
</a-button>
</a-form-model-item>
<a-row
:gutter=
"16"
>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"姓名"
prop=
"manName"
>
<a-input
placeholder=
"请输入姓名"
v-model=
"formData.manName"
></a-input>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"证件类型"
prop=
"menCertificateType"
>
<a-select
v-model=
"formData.menCertificateType"
placeholder=
"请选择"
>
<a-select-option
v-for=
"item in certificateTypeList"
:key=
"item.enumValue"
:value=
"item.enumValue"
>
{{
item
.
enumName
}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:span=
"24"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"详细地址"
prop=
"nowAddress"
:labelCol=
"
{span: 3}"
<a-form-model-item
label=
"证件号码"
prop=
"menIdCard"
>
:wrapperCol="{span: 20}">
<a-input
placeholder=
"请输入证件号码"
v-model=
"formData.menIdCard"
></a-input>
<a-input
placeholder=
"请输入详细地址"
v-model=
"formData.nowAddress"
></a-input>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
</a-row>
<a-col
:span=
"12"
>
</a-card>
<a-form-model-item
label=
"签署方式"
prop=
"signedMode"
>
<a-card
size=
"small"
:headStyle=
"
{background: '#FAFAFA'}" style="margin-top: 16px">
<a-select
v-model=
"formData.signedMode"
placeholder=
"请选择"
disabled
>
<div
slot=
"title"
>
<a-select-option
v-for=
"item in signedModeList"
<img
class=
"title_img"
src=
"../../../../../static/images/user_info_index.png"
>
:key=
"item.enumValue"
:value=
"item.enumValue"
<span
class=
"title_font"
>
其他信息
</span>
>
</div>
{{
item
.
enumName
}}
<a-row
:gutter=
"16"
>
</a-select-option>
<a-col
:span=
"24"
>
</a-select>
<a-form-model-item
label=
"联系电话"
prop=
"telephone"
:labelCol=
"
{span: 3}"
</a-form-model-item>
:wrapperCol="{span: 8}">
</a-col>
<a-input
placeholder=
"请输入联系电话"
v-model=
"formData.telephone"
></a-input>
<a-col
:span=
"12"
>
</a-form-model-item>
<a-form-model-item
label=
"签署日期"
prop=
"parentDate"
>
</a-col>
<a-date-picker
v-model=
"formData.parentDate"
format=
"YYYY-MM-DD"
style=
"width: 100%"
/>
<a-col
:span=
"24"
>
</a-form-model-item>
<a-form-model-item
label=
"现住地址"
prop=
"presentCode"
:labelCol=
"
{span: 3}"
</a-col>
:wrapperCol="{span: 20}">
<a-col
:span=
"21"
:offset=
"3"
>
<!--
<a-input
placeholder=
"请输入现住地址"
v-model=
"formData.presentCode"
></a-input>
-->
<a-form-model-item
:wrapperCol=
"
{span: 23}">
<a-cascader
v-model=
"formData.presentCode"
<a-card
class=
"book"
:headStyle=
"
{background: '#FAFAFA'}">
change-on-select
<div
slot=
"title"
style=
"text-align: center;padding: 10px 0px"
>
:options=
"areaInfo"
<span
style=
"color: #262626;font-size: 14px"
>
知情同意书
</span>
:fieldNames=
"fieldNames"
</div>
:load-data=
"loadAreaData"
<div>
@
click
.
native=
"initLoadAreaData"
<div
v-html=
"bookHtmlContent.content"
>
placeholder=
"请选择"
/>
</a-form-model-item>
</a-col>
</div>
<a-col
:span=
"24"
>
</div>
<a-form-model-item
label=
"详细地址"
prop=
"nowAddress"
:labelCol=
"
{span: 3}"
</a-card>
:wrapperCol="{span: 20}">
</a-form-model-item>
<a-input
placeholder=
"请输入详细地址"
v-model=
"formData.nowAddress"
></a-input>
</a-col>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"签署方式"
prop=
"signedMode"
>
<a-select
v-model=
"formData.signedMode"
placeholder=
"请选择"
disabled
>
<a-select-option
v-for=
"item in signedModeList"
:key=
"item.enumValue"
:value=
"item.enumValue"
>
{{
item
.
enumName
}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"签署日期"
prop=
"parentDate"
>
<a-date-picker
v-model=
"formData.parentDate"
format=
"YYYY-MM-DD"
style=
"width: 100%"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"21"
:offset=
"3"
>
<a-form-model-item
:wrapperCol=
"
{span: 23}">
<a-card
class=
"book"
:headStyle=
"
{background: '#FAFAFA'}">
<div
slot=
"title"
style=
"text-align: center;padding: 10px 0px"
>
<span
style=
"color: #262626;font-size: 14px"
>
知情同意书
</span>
</div>
<div>
<div
v-html=
"bookHtmlContent.content"
>
<!--
<a-col
:span=
"21"
:offset=
"3"
>
</div>
<a-form-model-item
:wrapperCol=
"
{span: 23}">
</div>
<div
style=
"border: 1px dashed #EEEEEE"
>
</a-card>
<div
class=
"sign"
>
签字
</div>
</a-form-model-item>
<vue-signature-pad
</a-col>
id=
"signature"
width=
"100%"
height=
"200px"
ref=
"signaturePad"
:options=
"options"
/>
<div
class=
"opt"
>
<a-button
@
click=
"reWrite"
>
重写
</a-button>
<a-button
type=
"primary"
@
click=
"save"
style=
"margin-left: 10px"
>
确定签字
</a-button>
</div>
</div>
</a-form-model-item>
</a-col>
-->
</a-row>
</a-card>
<div
style=
"margin: 30px 0px"
>
<div
class=
"divider_my"
><span
class=
"midText"
>
发放信息
</span></div>
</div>
<div
style=
"clear: both"
></div>
<a-col
:span=
"12"
>
<!--
<a-col
:span=
"21"
:offset=
"3"
>
<a-form-model-item
label=
"发放日期"
prop=
"provideDate"
>
<a-form-model-item
:wrapperCol=
"
{span: 23}">
<a-date-picker
v-model=
"formData.provideDate"
format=
"YYYY-MM-DD"
style=
"width: 100%"
/>
<div
style=
"border: 1px dashed #EEEEEE"
>
</a-form-model-item>
<div
class=
"sign"
>
签字
</div>
</a-col>
<vue-signature-pad
<a-col
:span=
"12"
>
id=
"signature"
<a-form-model-item
label=
"发放医生"
prop=
"provideDoctorId"
>
width=
"100%"
<a-select
v-model=
"formData.provideDoctorId"
placeholder=
"请选择"
>
height=
"200px"
<a-select-option
v-for=
"item in doctorInfoList"
ref=
"signaturePad"
:key=
"item.id"
:value=
"item.id"
:options=
"options"
>
/>
{{
item
.
staffName
}}
<div
class=
"opt"
>
</a-select-option>
<a-button
@
click=
"reWrite"
>
重写
</a-button>
</a-select>
<a-button
type=
"primary"
@
click=
"save"
style=
"margin-left: 10px"
>
确定签字
</a-button>
</a-form-model-item>
</div>
</a-col>
</div>
<a-col
:span=
"21"
:offset=
"3"
>
</a-form-model-item>
<a-form-model-item
:wrapperCol=
"
{span: 23}">
</a-col>
-->
<a-button
type=
"primary"
@
click=
"openStockModel"
style=
"margin-bottom: 10px"
>
请选择要发放的叶酸种类
</a-button>
</a-row>
<a-table
:dataSource=
"formData.provideRecordList"
rowKey=
"id"
:pagination=
"false"
class=
"table_input tab_error"
</a-card>
bordered
>
<div
style=
"margin: 30px 0px"
>
<a-table-column
title=
"供应商名称"
data-index=
"supplierName"
></a-table-column>
<div
class=
"divider_my"
><span
class=
"midText"
>
发放信息
</span></div>
<a-table-column
title=
"品牌"
data-index=
"brandName"
></a-table-column>
</div>
<a-table-column
title=
"批次号"
data-index=
"batchNumber"
></a-table-column>
<div
style=
"clear: both"
></div>
<a-table-column
title=
"当前库存"
data-index=
"number"
></a-table-column>
<a-table-column
title=
"发放数量"
width=
"190px"
fixed=
"right"
>
<a-col
:span=
"12"
>
<template
slot-scope=
"text, record, index"
>
<a-form-model-item
label=
"发放日期"
prop=
"provideDate"
>
<a-form-model-item
:prop=
"'provideRecordList.' + index + '.sendNumber'"
<a-date-picker
v-model=
"formData.provideDate"
format=
"YYYY-MM-DD"
style=
"width: 100%"
/>
:rules=
"formRules.sendNumber"
class=
"tab_input_r"
>
</a-form-model-item>
<a-input
type=
"number"
</a-col>
v-toInt
<a-col
:span=
"12"
>
v-model=
"record.sendNumber"
<a-form-model-item
label=
"发放医生"
prop=
"provideDoctorId"
>
placeholder=
"请输入发放数量"
<a-select
v-model=
"formData.provideDoctorId"
placeholder=
"请选择"
>
style=
"width: 150px;margin-top: 20px"
<a-select-option
v-for=
"item in doctorInfoList"
@
change=
"getChangeRecord(record)"
:key=
"item.id"
:value=
"item.id"
>
>
{{
item
.
staffName
}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:span=
"21"
:offset=
"3"
>
<a-form-model-item
:wrapperCol=
"
{span: 23}">
<a-button
type=
"primary"
@
click=
"openStockModel"
style=
"margin-bottom: 10px"
>
请选择要发放的叶酸种类
</a-button>
<a-table
:dataSource=
"formData.provideRecordList"
rowKey=
"id"
:pagination=
"false"
class=
"table_input tab_error"
bordered
>
<a-table-column
title=
"供应商名称"
data-index=
"supplierName"
></a-table-column>
<a-table-column
title=
"品牌"
data-index=
"brandName"
></a-table-column>
<a-table-column
title=
"批次号"
data-index=
"batchNumber"
></a-table-column>
<a-table-column
title=
"当前库存"
data-index=
"number"
></a-table-column>
<a-table-column
title=
"发放数量"
width=
"190px"
fixed=
"right"
>
<template
slot-scope=
"text, record, index"
>
<a-form-model-item
:prop=
"'provideRecordList.' + index + '.sendNumber'"
:rules=
"formRules.sendNumber"
class=
"tab_input_r"
>
<a-input
type=
"number"
v-toInt
v-model=
"record.sendNumber"
placeholder=
"请输入发放数量"
style=
"width: 150px;margin-top: 20px"
@
change=
"getChangeRecord(record)"
>
</a-input>
</a-input>
</a-form-model-item>
</a-form-model-item>
</
template
>
</
template
>
</a-table-column>
</a-table-column>
<a-table-column
title=
"操作"
align=
"center"
fixed=
"right"
width=
"70px"
>
<a-table-column
title=
"操作"
align=
"center"
fixed=
"right"
width=
"70px"
>
<
template
slot-scope=
"text, record, index"
>
<
template
slot-scope=
"text, record, index"
>
<!--
<a-button
type=
"link"
class=
"table_delbtn"
@
click=
"deleteGoodsList(index)"
>
删除
</a-button>
-->
<!--
<a-button
type=
"link"
class=
"table_delbtn"
@
click=
"deleteGoodsList(index)"
>
删除
</a-button>
-->
<a-popconfirm
<a-popconfirm
title=
"确定移除该物资吗?"
title=
"确定移除该物资吗?"
ok-text=
"是"
ok-text=
"是"
cancel-text=
"否"
cancel-text=
"否"
@
confirm=
"confirm(index)"
@
confirm=
"confirm(index)"
>
>
<a
href=
"#"
class=
"table_delbtn"
>
删除
</a>
<a
href=
"#"
class=
"table_delbtn"
>
删除
</a>
</a-popconfirm>
</a-popconfirm>
</
template
>
</
template
>
</a-table-column>
</a-table-column>
</a-table>
</a-table>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:span=
"24"
>
<a-col
:span=
"24"
>
<a-form-model-item
label=
"备注"
prop=
"remarks"
:labelCol=
"{span: 3}"
:wrapperCol=
"{span: 20}"
>
<a-form-model-item
label=
"备注"
prop=
"remarks"
:labelCol=
"{span: 3}"
:wrapperCol=
"{span: 20}"
>
<a-textarea
placeholder=
"请输入备注"
v-model=
"formData.remarks"
:rows=
"5"
></a-textarea>
<a-textarea
placeholder=
"请输入备注,最多可输入500字"
v-model=
"formData.remarks"
:rows=
"5"
</a-form-model-item>
:maxLength=
"500"
></a-textarea>
</a-col>
</a-form-model-item>
</a-form-model>
</a-col>
</a-form-model>
<!-- 选择叶酸种类弹框-->
<!-- 选择叶酸种类弹框-->
<div>
<div>
<in-stock-manage-info
ref=
"inStockManageInfo"
@
selectedIdList=
"getChecked"
v-if=
"readyGetChecked"
></in-stock-manage-info>
<in-stock-manage-info
ref=
"inStockManageInfo"
@
selectedIdList=
"getChecked"
v-if=
"readyGetChecked"
></in-stock-manage-info>
</div>
<div
style=
"text-align: center;margin-top: 16px"
>
<a-button
@
click=
"goBack"
>
取消
</a-button>
<a-button
type=
"primary"
:loading=
"spinning"
@
click=
"addMaterialDis"
style=
"margin-left: 8px"
>
发放
</a-button>
</div>
</div>
<div
style=
"text-align: center;margin-top: 16px"
>
<a-button
@
click=
"goBack"
>
取消
</a-button>
<a-button
type=
"primary"
:loading=
"spinning"
@
click=
"addMaterialDis"
style=
"margin-left: 8px"
>
发放
</a-button>
</div>
</a-card>
</a-card>
</a-spin>
</a-spin>
</div>
</div>
...
@@ -269,14 +275,13 @@
...
@@ -269,14 +275,13 @@
data
()
{
data
()
{
return
{
return
{
unitInfo
:
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'networkInfo'
)),
unitInfo
:
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'networkInfo'
)),
routerParams
:
[],
spinning
:
false
,
spinning
:
false
,
// 弹窗内表单
// 弹窗内表单
formData
:
{
formData
:
{
womanName
:
undefined
,
womanName
:
undefined
,
womenCertificateType
:
'1'
,
womenCertificateType
:
'1'
,
womenIdCard
:
undefined
,
womenIdCard
:
undefined
,
oncePregnant
:
1
,
oncePregnant
:
''
,
pregnantNum
:
undefined
,
pregnantNum
:
undefined
,
manName
:
undefined
,
manName
:
undefined
,
menCertificateType
:
'1'
,
menCertificateType
:
'1'
,
...
@@ -301,12 +306,12 @@
...
@@ -301,12 +306,12 @@
womenIdCard
:
[
womenIdCard
:
[
{
required
:
true
,
message
:
'请输入证件号码'
}
{
required
:
true
,
message
:
'请输入证件号码'
}
],
],
oncePregnant
:
[
//
oncePregnant: [
{
required
:
true
,
message
:
'请选择是否曾经怀孕'
}
//
{required: true, message: '请选择是否曾经怀孕'}
],
//
],
pregnantNum
:
[
//
pregnantNum: [
{
required
:
true
,
message
:
'请输入孕次'
}
//
{required: true, message: '请输入孕次'}
],
//
],
manName
:
[
manName
:
[
{
required
:
true
,
message
:
'请输入姓名'
}
{
required
:
true
,
message
:
'请输入姓名'
}
],
],
...
@@ -326,10 +331,10 @@
...
@@ -326,10 +331,10 @@
nowAddress
:
[
nowAddress
:
[
{
required
:
true
,
message
:
'请输入详细地址'
}
{
required
:
true
,
message
:
'请输入详细地址'
}
],
],
signedMode
:
[
signedMode
:
[
{
required
:
true
,
message
:
'请选择签署方式'
}
{
required
:
true
,
message
:
'请选择签署方式'
}
],
],
parentDate
:
[
parentDate
:
[
{
required
:
true
,
message
:
'请选择签署日期'
}
{
required
:
true
,
message
:
'请选择签署日期'
}
],
],
provideDate
:
[
provideDate
:
[
...
@@ -352,10 +357,7 @@
...
@@ -352,10 +357,7 @@
}
}
},
},
},
},
],
]
remarks
:
[
{
required
:
true
,
message
:
'请输入备注'
}
],
},
},
womanPregnant
:
false
,
//是否怀孕
womanPregnant
:
false
,
//是否怀孕
options
:
{
options
:
{
...
@@ -369,7 +371,7 @@
...
@@ -369,7 +371,7 @@
},
},
readyGetChecked
:
true
,
readyGetChecked
:
true
,
doctorInfoList
:
[],
doctorInfoList
:
[],
areaInfo
:[],
areaInfo
:
[],
fieldNames
:
{
fieldNames
:
{
label
:
'areaName'
,
label
:
'areaName'
,
value
:
'areaCode'
,
value
:
'areaCode'
,
...
@@ -385,7 +387,7 @@
...
@@ -385,7 +387,7 @@
this
.
getBookHtmlContent
()
this
.
getBookHtmlContent
()
this
.
getAllDoctorList
()
this
.
getAllDoctorList
()
if
(
this
.
routerParams
.
routerFlag
==
'update'
)
{
//从申请过来的发放
if
(
this
.
routerParams
.
routerFlag
==
'update'
)
{
//从申请过来的发放
this
.
getStockListDetail
()
this
.
getStockListDetail
()
}
else
{
//由新增过来的发放
}
else
{
//由新增过来的发放
this
.
initLoadAreaData
()
this
.
initLoadAreaData
()
}
}
...
@@ -445,9 +447,9 @@
...
@@ -445,9 +447,9 @@
},
},
getBookHtmlContent
()
{
//获取用户知情书模板
getBookHtmlContent
()
{
//获取用户知情书模板
this
.
$api
.
common
.
fetchConsentInfo
().
then
(({
data
})
=>
{
this
.
$api
.
common
.
fetchConsentInfo
().
then
(({
data
})
=>
{
if
(
this
.
$api
.
utils
.
isBlank
(
data
)){
if
(
this
.
$api
.
utils
.
isBlank
(
data
))
{
this
.
bookHtmlContent
=
{
content
:
""
}
this
.
bookHtmlContent
=
{
content
:
""
}
}
else
{
}
else
{
this
.
bookHtmlContent
=
data
;
this
.
bookHtmlContent
=
data
;
}
}
})
})
...
@@ -455,7 +457,7 @@
...
@@ -455,7 +457,7 @@
getAllDoctorList
()
{
getAllDoctorList
()
{
this
.
$api
.
common
.
fetchAllDoctor
().
then
(({
data
})
=>
{
this
.
$api
.
common
.
fetchAllDoctor
().
then
(({
data
})
=>
{
this
.
doctorInfoList
=
data
this
.
doctorInfoList
=
data
})
})
},
},
//------签字-----------
//------签字-----------
reWrite
()
{
reWrite
()
{
...
@@ -494,24 +496,24 @@
...
@@ -494,24 +496,24 @@
},
},
addMaterialDis
()
{
//发放
addMaterialDis
()
{
//发放
let
vm
=
this
let
vm
=
this
;
this
.
$refs
.
formRef
.
validate
(
valid
=>
{
this
.
$refs
.
formRef
.
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
formData
.
provideRecordList
.
length
===
0
)
{
if
(
this
.
formData
.
provideRecordList
.
length
===
0
)
{
this
.
$message
.
warning
(
'发放叶酸不能为空!'
);
this
.
$message
.
warning
(
'发放叶酸不能为空!'
);
}
else
{
}
else
{
this
.
spinning
=
true
;
this
.
spinning
=
true
;
let
params
=
{}
let
params
=
{};
this
.
formData
.
provideRecordList
.
forEach
(
item
=>
{
this
.
formData
.
provideRecordList
.
forEach
(
item
=>
{
item
.
stockId
=
item
.
id
item
.
stockId
=
item
.
id
});
});
const
{
parentDate
,
provideDate
,
presentCode
,
provideDoctorId
,
...
others
}
=
vm
.
formData
const
{
parentDate
,
provideDate
,
presentCode
,
provideDoctorId
,
...
others
}
=
vm
.
formData
let
parentTime
=
moment
(
parentDate
).
format
(
'YYYY-MM-DD'
)
let
parentTime
=
moment
(
parentDate
).
format
(
'YYYY-MM-DD'
)
let
provideTme
=
moment
(
provideDate
).
format
(
'YYYY-MM-DD'
)
let
provideTme
=
moment
(
provideDate
).
format
(
'YYYY-MM-DD'
)
let
presentCodeInfo
=
presentCode
[
presentCode
.
length
-
1
]
let
presentCodeInfo
=
presentCode
[
presentCode
.
length
-
1
];
let
provideDoctorInfo
=
vm
.
doctorInfoList
.
filter
(
item
=>
item
.
id
==
provideDoctorId
)
let
provideDoctorInfo
=
vm
.
doctorInfoList
.
filter
(
item
=>
item
.
id
==
provideDoctorId
)
params
=
{
params
=
{
parentDate
:
parentTime
,
parentDate
:
parentTime
,
provideDate
:
provideTme
,
provideDate
:
provideTme
,
presentCode
:
presentCodeInfo
,
presentCode
:
presentCodeInfo
,
...
@@ -563,7 +565,13 @@
...
@@ -563,7 +565,13 @@
},
},
goBack
()
{
goBack
()
{
closedDetail
(
'/inStock/addMaterialDistribution'
,
'/Home/folviteDistribution'
)
if
(
this
.
routerParams
.
routerFlag
==
"update"
)
{
this
.
$router
.
push
(
"/Home/folviteApply"
);
closedDetail
(
'/inStock/addMaterialDistribution'
,
'/Home/folviteApply'
);
}
else
{
this
.
$router
.
push
(
"/Home/folviteDistribution"
);
closedDetail
(
'/inStock/addMaterialDistribution'
,
'/Home/folviteDistribution'
)
}
}
}
}
}
}
}
...
@@ -593,9 +601,10 @@
...
@@ -593,9 +601,10 @@
.book {
.book {
.ant-card-head-title {
.ant-card-head-title {
padding: 0px!important;
padding: 0px
!important;
}
}
}
}
.sign {
.sign {
position: absolute;
position: absolute;
background: #FFF1F0;
background: #FFF1F0;
...
@@ -609,11 +618,12 @@
...
@@ -609,11 +618,12 @@
float: right;
float: right;
margin-top: 10px;
margin-top: 10px;
}
}
.table_input {
.ant-table-tbody > tr > td {
.table_input {
padding: 5px!important;
.ant-table-tbody > tr > td {
overflow-wrap: break-word;
padding: 5px !important;
}
overflow-wrap: break-word;
}
}
}
</
style
>
</
style
>
src/views/indexComponent/folviteDistribution/components/folviteDistributionDetail.vue
View file @
caed2e8c
...
@@ -2,120 +2,120 @@
...
@@ -2,120 +2,120 @@
<div>
<div>
<a-spin
tip=
"加载中..."
:spinning=
"spinning"
>
<a-spin
tip=
"加载中..."
:spinning=
"spinning"
>
<a-card>
<a-card>
<div>
<div>
<div>
<div>
<span
style=
"font-size: 18px;font-weight: 600;"
>
叶酸发放登记
</span>
<span
style=
"font-size: 18px;font-weight: 600;"
>
叶酸发放登记
</span>
</div>
</div>
<div
style=
"margin: 30px 0px"
>
<div
style=
"margin: 30px 0px"
>
<div
class=
"divider_my"
><span
class=
"midText"
>
居民信息
</span></div>
<div
class=
"divider_my"
><span
class=
"midText"
>
居民信息
</span></div>
</div>
<div
style=
"clear: both"
></div>
<div
style=
"margin-top: 16px"
>
<div
class=
"detail_title"
>
<div
class=
"divider_my_dashed"
>
<span
class=
"midText"
style=
"font-size: 14px;color: #FF4D80;"
>
女方信息
</span>
</div>
<div
style=
"clear: both"
></div>
</div>
<a-descriptions
bordered
>
<a-descriptions-item
label=
"姓名"
>
{{
detailInfo
.
womanName
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"证件类型"
>
{{
detailInfo
.
womenCertificateTypeName
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"证件号码"
>
{{
detailInfo
.
womenIdCard
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"是否曾经怀孕"
>
{{
detailInfo
.
oncePregnantName
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"孕次"
>
{{
detailInfo
.
pregnantNum
||
'--'
}}
</a-descriptions-item>
</a-descriptions>
<div
class=
"detail_title"
style=
"border-top: 0px"
>
<div
class=
"divider_my_dashed"
>
<span
class=
"midText"
style=
"font-size: 14px;color: #FF4D80;"
>
男方信息
</span>
</div>
</div>
<div
style=
"clear: both"
></div>
<div
style=
"clear: both"
></div>
</div>
<div
style=
"margin-top: 16px"
>
<a-descriptions
bordered
>
<div
class=
"detail_title"
>
<a-descriptions-item
label=
"姓名"
>
<div
class=
"divider_my_dashed"
>
{{
detailInfo
.
manName
||
'--'
}}
<span
class=
"midText"
style=
"font-size: 14px;color: #FF4D80;"
>
女方信息
</span>
</a-descriptions-item>
</div>
<a-descriptions-item
label=
"证件类型"
>
<div
style=
"clear: both"
></div>
{{
detailInfo
.
menCertificateTypeName
||
'--'
}}
</div>
</a-descriptions-item>
<a-descriptions
bordered
>
<a-descriptions-item
label=
"证件号码"
>
<a-descriptions-item
label=
"姓名"
>
{{
detailInfo
.
menIdCard
||
'--'
}}
{{
detailInfo
.
womanName
||
'--'
}}
</a-descriptions-item>
</a-descriptions-item>
</a-descriptions>
<a-descriptions-item
label=
"证件类型"
>
<div
class=
"detail_title"
style=
"border-top: 0px"
>
{{
detailInfo
.
womenCertificateTypeName
||
'--'
}}
<div
class=
"divider_my_dashed"
>
</a-descriptions-item>
<span
class=
"midText"
style=
"font-size: 14px;color: #FF4D80;"
>
其他信息
</span>
<a-descriptions-item
label=
"证件号码"
>
{{
detailInfo
.
womenIdCard
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"是否曾经怀孕"
>
{{
detailInfo
.
oncePregnantName
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"孕次"
>
{{
detailInfo
.
pregnantNum
||
'--'
}}
</a-descriptions-item>
</a-descriptions>
<div
class=
"detail_title"
style=
"border-top: 0px"
>
<div
class=
"divider_my_dashed"
>
<span
class=
"midText"
style=
"font-size: 14px;color: #FF4D80;"
>
男方信息
</span>
</div>
<div
style=
"clear: both"
></div>
</div>
<a-descriptions
bordered
>
<a-descriptions-item
label=
"姓名"
>
{{
detailInfo
.
manName
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"证件类型"
>
{{
detailInfo
.
menCertificateTypeName
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"证件号码"
>
{{
detailInfo
.
menIdCard
||
'--'
}}
</a-descriptions-item>
</a-descriptions>
<div
class=
"detail_title"
style=
"border-top: 0px"
>
<div
class=
"divider_my_dashed"
>
<span
class=
"midText"
style=
"font-size: 14px;color: #FF4D80;"
>
其他信息
</span>
</div>
<div
style=
"clear: both"
></div>
</div>
<a-descriptions
bordered
>
<a-descriptions-item
label=
"联系电话"
>
{{
detailInfo
.
telephone
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"现在住址"
>
{{
detailInfo
.
presentCodeName
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"详细地址"
>
{{
detailInfo
.
nowAddress
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"签署方式"
>
{{
detailInfo
.
signedModeName
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"签署日期"
>
{{
detailInfo
.
parentDate
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"上传照片"
>
<img
width=
"120px"
height=
"120px"
:src=
"detailInfo.consentUrl"
/>
</a-descriptions-item>
</a-descriptions>
<!--
<a-descriptions
bordered
layout=
"vertical"
class=
"no_border"
>
-->
<!--
<a-descriptions-item
label=
"上传照片"
>
-->
<!--
{{
detailInfo
.
batchNumber
||
'--'
}}
-->
<!--
</a-descriptions-item>
-->
<!--
</a-descriptions>
-->
</div>
<div
style=
"margin: 30px 0px"
>
<div
class=
"divider_my"
><span
class=
"midText"
>
发放信息
</span></div>
</div>
</div>
<div
style=
"clear: both"
></div>
<div
style=
"clear: both"
></div>
<a-descriptions
bordered
:column=
"2"
>
<a-descriptions-item
label=
"发放日期"
>
{{
detailInfo
.
provideDate
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"发放医生"
>
{{
detailInfo
.
provideDoctorName
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"备注"
>
{{
detailInfo
.
remarks
||
'--'
}}
</a-descriptions-item>
</a-descriptions>
<div
class=
"detail_title"
style=
"border-top: 0px"
>
<div
class=
"divider_my_dashed"
>
<span
class=
"midText"
style=
"font-size: 14px;color: #FF4D80;"
>
叶酸发放种类
</span>
</div>
<div
style=
"clear: both"
></div>
</div>
<a-table
:dataSource=
"detailInfo.provideRecordList"
:columns=
"columns"
rowKey=
"id"
:pagination=
"false"
bordered
>
</a-table>
</div>
</div>
<a-descriptions
bordered
>
<div
style=
"text-align: center;margin-top: 40px"
>
<a-descriptions-item
label=
"联系电话"
>
<a-button
@
click=
"goBack"
>
关闭
</a-button>
{{
detailInfo
.
telephone
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"现在住址"
>
{{
detailInfo
.
presentCode
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"详细地址"
>
{{
detailInfo
.
nowAddress
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"签署方式"
>
{{
detailInfo
.
signedModeName
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"签署日期1"
>
{{
detailInfo
.
parentDate
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"线下知情同意书"
>
<img
width=
"120px"
height=
"120px"
:src=
"detailInfo.consentUrl"
/>
</a-descriptions-item>
</a-descriptions>
<a-descriptions
bordered
layout=
"vertical"
class=
"no_border"
>
<a-descriptions-item
label=
"上传照片"
>
{{
detailInfo
.
batchNumber
||
'--'
}}
</a-descriptions-item>
</a-descriptions>
</div>
<div
style=
"margin: 30px 0px"
>
<div
class=
"divider_my"
><span
class=
"midText"
>
发放信息
</span></div>
</div>
<div
style=
"clear: both"
></div>
<a-descriptions
bordered
:column=
"2"
>
<a-descriptions-item
label=
"发放日期"
>
{{
detailInfo
.
provideDate
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"发放医生"
>
{{
detailInfo
.
provideDoctorName
||
'--'
}}
</a-descriptions-item>
<a-descriptions-item
label=
"备注"
>
{{
detailInfo
.
remarks
||
'--'
}}
</a-descriptions-item>
</a-descriptions>
<div
class=
"detail_title"
style=
"border-top: 0px"
>
<div
class=
"divider_my_dashed"
>
<span
class=
"midText"
style=
"font-size: 14px;color: #FF4D80;"
>
叶酸发放种类
</span>
</div>
</div>
<div
style=
"clear: both"
></div>
</div>
<a-table
:dataSource=
"detailInfo.provideRecordList"
:columns=
"columns"
rowKey=
"id"
:pagination=
"false"
bordered
>
</a-table>
</div>
<div
style=
"text-align: center;margin-top: 40px"
>
<a-button
@
click=
"goBack"
>
关闭
</a-button>
</div>
</a-card>
</a-card>
</a-spin>
</a-spin>
</div>
</div>
...
@@ -123,6 +123,8 @@
...
@@ -123,6 +123,8 @@
<
script
>
<
script
>
import
moment
from
'moment'
;
import
moment
from
'moment'
;
import
{
closedDetail
}
from
"../../../utils/common"
;
import
{
closedDetail
}
from
"../../../utils/common"
;
import
router
from
"../../../../router"
;
const
columns
=
[
const
columns
=
[
{
{
title
:
'供应商'
,
title
:
'供应商'
,
...
@@ -170,11 +172,12 @@
...
@@ -170,11 +172,12 @@
residentId
:
this
.
routerParams
.
id
residentId
:
this
.
routerParams
.
id
}
}
this
.
$api
.
folviteDistributionManage
.
fetchFolviteDistributionDetail
(
par
).
then
(({
data
=
[],
code
})
=>
{
this
.
$api
.
folviteDistributionManage
.
fetchFolviteDistributionDetail
(
par
).
then
(({
data
=
[],
code
})
=>
{
this
.
spinning
=
false
this
.
spinning
=
false
;
this
.
detailInfo
=
data
this
.
detailInfo
=
data
})
})
},
},
goBack
()
{
goBack
()
{
this
.
$router
.
push
(
"/Home/folviteDistribution"
);
closedDetail
(
'/inStock/inStockManageDetail'
,
'/Home/folviteDistribution'
)
closedDetail
(
'/inStock/inStockManageDetail'
,
'/Home/folviteDistribution'
)
}
}
},
},
...
...
src/views/indexComponent/folviteDistribution/components/inStockManageInfo.vue
View file @
caed2e8c
...
@@ -196,7 +196,6 @@
...
@@ -196,7 +196,6 @@
pageIndex
:
this
.
pagination
.
pageIndex
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
pageSize
:
this
.
pagination
.
pageSize
}
}
console
.
log
(
par
);
this
.
$api
.
stockManage
.
fetchInStockList
(
par
).
then
(({
data
=
{}})
=>
{
this
.
$api
.
stockManage
.
fetchInStockList
(
par
).
then
(({
data
=
{}})
=>
{
const
{
dataList
=
[],
total
=
0
}
=
data
const
{
dataList
=
[],
total
=
0
}
=
data
this
.
tableData
=
dataList
this
.
tableData
=
dataList
...
...
src/views/indexComponent/folviteDistribution/folviteDistribution.vue
View file @
caed2e8c
...
@@ -48,6 +48,7 @@
...
@@ -48,6 +48,7 @@
:multiple=
"true"
:multiple=
"true"
:action=
"uploadAction"
:action=
"uploadAction"
:headers=
"headers"
:headers=
"headers"
@
preview=
"preview"
@
change=
"handleChange"
@
change=
"handleChange"
:file-list=
"fileList"
:file-list=
"fileList"
>
>
...
@@ -100,7 +101,7 @@
...
@@ -100,7 +101,7 @@
{
{
title
:
'证件号码'
,
title
:
'证件号码'
,
dataIndex
:
'womenIdCard'
,
dataIndex
:
'womenIdCard'
,
ellipsis
:
tru
e
ellipsis
:
fals
e
},
},
{
{
title
:
'联系电话'
,
title
:
'联系电话'
,
...
@@ -129,7 +130,8 @@
...
@@ -129,7 +130,8 @@
},
},
{
{
title
:
'操作'
,
title
:
'操作'
,
align
:
'center'
,
fixed
:
'right'
,
align
:
'left'
,
width
:
"200px"
,
width
:
"200px"
,
scopedSlots
:
{
customRender
:
'action'
},
scopedSlots
:
{
customRender
:
'action'
},
},
},
...
@@ -234,6 +236,9 @@
...
@@ -234,6 +236,9 @@
});
});
this
.
fileList
=
fileList
;
this
.
fileList
=
fileList
;
},
},
preview
(
val
){
window
.
open
(
val
.
response
.
data
.
trueDownloadUrl
)
},
onsubmit
()
{
onsubmit
()
{
if
(
this
.
$api
.
utils
.
isBlank
(
this
.
formData
.
consentId
))
{
if
(
this
.
$api
.
utils
.
isBlank
(
this
.
formData
.
consentId
))
{
this
.
$message
.
warning
(
'请上传文件'
);
this
.
$message
.
warning
(
'请上传文件'
);
...
...
src/views/indexComponent/inStockManage/components/addStock.vue
View file @
caed2e8c
<
template
>
<
template
>
<div
class=
"inStockAdd"
>
<div
class=
"inStockAdd"
>
<a-card
style=
"height: 100vh"
>
<a-card
style=
"height: 100vh"
>
<a-divider
orientation=
"left"
>
<a-divider
orientation=
"left"
>
<span
style=
"font-size: 16px;"
>
叶酸库存录入
</span>
<span
style=
"font-size: 16px;"
>
叶酸库存录入
</span>
</a-divider>
</a-divider>
<div
style=
"width:90%;margin: 0 auto;margin-top: 20px"
>
<div
style=
"width:90%;margin: 0 auto;margin-top: 20px"
>
<a-form-model
ref=
"formRef"
:model=
"formData"
:rules=
"formRules"
<a-form-model
ref=
"formRef"
:model=
"formData"
:rules=
"formRules"
:labelCol=
"
{span: 6}"
:labelCol=
"
{span: 6}"
:wrapperCol="{span: 16}"
:wrapperCol="{span: 16}"
>
>
<a-row
:gutter=
"16"
>
<a-row
:gutter=
"16"
>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"供应商"
prop=
"supplierId"
>
<a-form-model-item
label=
"供应商"
prop=
"supplierId"
>
<a-select
v-model=
"formData.supplierId"
<a-select
v-model=
"formData.supplierId"
placeholder=
"请选择"
placeholder=
"请选择"
:dropdownMatchSelectWidth=
"false"
:dropdownMatchSelectWidth=
"false"
@
click
.
native=
"getAllSupply"
@
click
.
native=
"getAllSupply"
>
>
<a-select-option
v-for=
"item in allSupplyInfo"
:key=
"item.id"
<a-select-option
v-for=
"item in allSupplyInfo"
:key=
"item.id"
:value=
"item.id"
>
{{
item
.
supplierName
}}
:value=
"item.id"
>
{{
item
.
supplierName
}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"品牌"
prop=
"brandId"
>
<a-select
v-model=
"formData.brandId"
placeholder=
"品牌名称"
:dropdownMatchSelectWidth=
"false"
>
<a-select-option
v-for=
"item in brandNameList"
:key=
"item.enumValue"
:value=
"item.enumValue"
>
{{
item
.
enumName
}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"批次号"
prop=
"batchNumber"
>
<a-input
v-model=
"formData.batchNumber"
placeholder=
"请输入批次号"
></a-input>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"生产日期"
prop=
"produceDate"
>
<a-date-picker
v-model=
"formData.produceDate"
format=
"YYYY-MM-DD"
style=
"width: 100%"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"有效期至"
prop=
"expireDate"
>
<a-date-picker
v-model=
"formData.expireDate"
format=
"YYYY-MM-DD"
style=
"width: 100%"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"单价"
prop=
"unitPrice"
>
<a-input
v-price
v-model=
"formData.unitPrice"
suffix=
"元"
placeholder=
"请输入单价"
></a-input>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"采购日期"
prop=
"purchDate"
>
<a-date-picker
v-model=
"formData.purchDate"
format=
"YYYY-MM-DD"
style=
"width: 100%"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"数量"
prop=
"number"
>
<a-input
v-toInt
v-model=
"formData.number"
placeholder=
"请输入数量"
>
<a-select
slot=
"addonAfter"
v-model=
"formData.specs"
default-value=
"瓶"
style=
"width: 60px"
>
<a-select-option
value=
"瓶"
>
瓶
</a-select-option>
</a-select-option>
<a-select-option
value=
"盒"
>
</a-select>
盒
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"品牌"
prop=
"brandId"
>
<a-select
v-model=
"formData.brandId"
placeholder=
"品牌名称"
:dropdownMatchSelectWidth=
"false"
>
<a-select-option
v-for=
"item in brandNameList"
:key=
"item.enumValue"
:value=
"item.enumValue"
>
{{
item
.
enumName
}}
</a-select-option>
</a-select-option>
</a-select>
</a-select>
</a-input>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"批次号"
prop=
"batchNumber"
>
<a-form-model-item
label=
"入库时间"
prop=
"enterDate"
>
<a-input
v-model=
"formData.batchNumber"
<a-date-picker
v-model=
"formData.enterDate"
format=
"YYYY-MM-DD"
style=
"width: 100%"
placeholder=
"请输入批次号"
></a-input>
/>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"入库经手人"
prop=
"handler"
>
<a-form-model-item
label=
"生产日期"
prop=
"produceDate"
>
<a-input
<a-date-picker
v-model=
"formData.produceDate"
format=
"YYYY-MM-DD"
style=
"width: 100%"
v-model=
"formData.handler"
/>
placeholder=
"请输入入库经手人"
></a-input>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:span=
"12"
>
<a-col
:span=
"24"
>
<a-form-model-item
label=
"有效期至"
prop=
"expireDate"
>
<a-form-model-item
label=
"备注"
<a-date-picker
v-model=
"formData.expireDate"
format=
"YYYY-MM-DD"
style=
"width: 100%"
prop=
"remarks"
/>
:labelCol=
"
{span: 3}"
</a-form-model-item>
:wrapperCol="{span: 20}">
</a-col>
<a-textarea
<a-col
:span=
"12"
>
:rows=
"6"
<a-form-model-item
label=
"单价"
prop=
"unitPrice"
>
v-model=
"formData.remarks"
<a-input
v-price
placeholder=
"请输入备注"
></a-textarea>
v-model=
"formData.unitPrice"
</a-form-model-item>
suffix=
"元"
</a-col>
placeholder=
"请输入单价,保留2位小数"
></a-input>
</a-row>
</a-form-model-item>
</a-form-model>
</a-col>
</div>
<a-col
:span=
"12"
>
<div
style=
"text-align: center"
>
<a-form-model-item
label=
"采购日期"
prop=
"purchDate"
>
<a-button
class=
"search_btn btn_space"
@
click=
"goBack"
>
取消
</a-button>
<a-date-picker
v-model=
"formData.purchDate"
format=
"YYYY-MM-DD"
style=
"width: 100%"
<a-button
type=
"primary"
class=
"search_btn btn_space"
:loading=
"subLoad"
style=
"margin-left: 10px"
@
click=
"submitForm"
>
库存录入
</a-button>
/>
</div>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"数量"
prop=
"number"
>
<a-input
v-toInt
v-model=
"formData.number"
placeholder=
"请输入数量"
>
<a-select
slot=
"addonAfter"
v-model=
"formData.specs"
default-value=
"瓶"
style=
"width: 60px"
>
<a-select-option
value=
"瓶"
>
瓶
</a-select-option>
<a-select-option
value=
"盒"
>
盒
</a-select-option>
</a-select>
</a-input>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"入库时间"
prop=
"enterDate"
>
<a-date-picker
v-model=
"formData.enterDate"
format=
"YYYY-MM-DD"
style=
"width: 100%"
/>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"入库经手人"
prop=
"handler"
>
<a-input
v-model=
"formData.handler"
placeholder=
"请输入入库经手人"
></a-input>
</a-form-model-item>
</a-col>
<a-col
:span=
"24"
>
<a-form-model-item
label=
"备注"
prop=
"remarks"
:labelCol=
"
{span: 3}"
:wrapperCol="{span: 20}">
<a-textarea
:rows=
"6"
:maxLength=
"500"
v-model=
"formData.remarks"
placeholder=
"请输入备注,最多500个字"
></a-textarea>
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</div>
<div
style=
"text-align: center"
>
<a-button
class=
"search_btn btn_space"
@
click=
"goBack"
>
取消
</a-button>
<a-button
type=
"primary"
class=
"search_btn btn_space"
:loading=
"subLoad"
style=
"margin-left: 10px"
@
click=
"submitForm"
>
库存录入
</a-button>
</div>
</a-card>
</a-card>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
moment
from
'moment'
import
moment
from
'moment'
import
{
closedDetail
,
getEnumByFlag
}
from
"../../../utils/common"
;
import
{
closedDetail
,
getEnumByFlag
}
from
"../../../utils/common"
;
import
commonCode
from
"../../../commonCode"
;
export
default
{
export
default
{
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
brandNameList
:
[],
brandNameList
:
[],
subLoad
:
false
,
subLoad
:
false
,
// form表单
// form表单
formData
:
{
formData
:
{
brandId
:
undefined
,
brandId
:
undefined
,
...
@@ -137,7 +143,7 @@
...
@@ -137,7 +143,7 @@
produceDate
:
undefined
,
produceDate
:
undefined
,
expireDate
:
undefined
,
expireDate
:
undefined
,
purchDate
:
undefined
,
purchDate
:
undefined
,
enterDate
:
undefined
,
enterDate
:
undefined
,
handler
:
undefined
,
handler
:
undefined
,
number
:
undefined
,
number
:
undefined
,
specs
:
'瓶'
,
specs
:
'瓶'
,
...
@@ -147,7 +153,7 @@
...
@@ -147,7 +153,7 @@
brandId
:
[
brandId
:
[
{
required
:
true
,
message
:
'请选择品牌'
}
{
required
:
true
,
message
:
'请选择品牌'
}
],
],
batchNumber
:[
batchNumber
:
[
{
required
:
true
,
message
:
'请输入批次号'
}
{
required
:
true
,
message
:
'请输入批次号'
}
],
],
supplierId
:
[
supplierId
:
[
...
@@ -171,11 +177,11 @@
...
@@ -171,11 +177,11 @@
unitPrice
:
[
unitPrice
:
[
{
required
:
true
,
message
:
'请输入单价'
}
{
required
:
true
,
message
:
'请输入单价'
}
],
],
remarks
:[
remarks
:
[
{
required
:
false
,
message
:
'请输入备注'
}
{
required
:
false
,
message
:
'请输入备注'
}
],
],
},
},
allSupplyInfo
:[]
allSupplyInfo
:
[]
}
}
},
},
created
()
{
created
()
{
...
@@ -183,31 +189,35 @@
...
@@ -183,31 +189,35 @@
},
},
methods
:
{
methods
:
{
getAllSupply
()
{
getAllSupply
()
{
let
par
=
{}
let
par
=
{}
this
.
$api
.
common
.
fetchAllSupply
(
par
).
then
(({
data
=
[]})
=>
{
this
.
$api
.
common
.
fetchAllSupply
(
par
).
then
(({
data
=
[]})
=>
{
this
.
allSupplyInfo
=
data
this
.
allSupplyInfo
=
data
})
})
},
},
// 弹窗确定按钮
// 弹窗确定按钮
submitForm
()
{
submitForm
()
{
let
vm
=
this
let
vm
=
this
;
this
.
$refs
.
formRef
.
validate
(
valid
=>
{
this
.
$refs
.
formRef
.
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
subLoad
=
true
this
.
subLoad
=
true
;
let
pars
=
{}
let
pars
=
{};
Object
.
assign
(
pars
,
vm
.
formData
)
Object
.
assign
(
pars
,
vm
.
formData
);
pars
.
produceDate
=
moment
(
vm
.
formData
.
produceDate
).
format
(
'YYYY-MM-DD'
)
console
.
log
(
pars
);
pars
.
expireDate
=
moment
(
vm
.
formData
.
expireDate
).
format
(
'YYYY-MM-DD'
)
pars
.
unitPrice
=
Number
(
pars
.
unitPrice
).
toFixed
(
2
);
pars
.
purchDate
=
moment
(
vm
.
formData
.
purchDate
).
format
(
'YYYY-MM-DD'
)
pars
.
produceDate
=
moment
(
vm
.
formData
.
produceDate
).
format
(
'YYYY-MM-DD'
);
pars
.
enterDate
=
moment
(
vm
.
formData
.
enterDate
).
format
(
'YYYY-MM-DD'
)
pars
.
expireDate
=
moment
(
vm
.
formData
.
expireDate
).
format
(
'YYYY-MM-DD'
);
pars
.
purchDate
=
moment
(
vm
.
formData
.
purchDate
).
format
(
'YYYY-MM-DD'
);
pars
.
enterDate
=
moment
(
vm
.
formData
.
enterDate
).
format
(
'YYYY-MM-DD'
);
let
par
=
{
let
par
=
{
...
pars
...
pars
}
}
;
vm
.
$api
.
stockManage
.
addHistoryStock
(
par
).
then
(
res
=>
{
vm
.
$api
.
stockManage
.
addHistoryStock
(
par
).
then
(
res
=>
{
if
(
res
.
code
===
'SUCCESS'
)
{
if
(
res
.
code
===
'SUCCESS'
)
{
vm
.
subLoad
=
false
vm
.
subLoad
=
false
;
vm
.
$message
.
success
(
'录入成功!'
)
vm
.
$message
.
success
(
'录入成功!'
)
vm
.
goBack
()
vm
.
goBack
();
}
else
{
vm
.
subLoad
=
false
}
}
}).
catch
(()
=>
{
}).
catch
(()
=>
{
vm
.
subLoad
=
false
vm
.
subLoad
=
false
...
@@ -216,7 +226,7 @@
...
@@ -216,7 +226,7 @@
});
});
},
},
goBack
()
{
goBack
()
{
closedDetail
(
'/inStock/add'
,
'/Home/inStock'
)
closedDetail
(
'/inStock/add'
,
'/Home/inStock'
)
}
}
},
},
}
}
...
...
src/views/indexComponent/inStockManage/inStockManage.vue
View file @
caed2e8c
...
@@ -112,13 +112,13 @@
...
@@ -112,13 +112,13 @@
const
columns
=
[
const
columns
=
[
{
{
title
:
'
品牌
'
,
title
:
'
供应商名称
'
,
dataIndex
:
'
brand
Name'
,
dataIndex
:
'
supplier
Name'
,
ellipsis
:
true
ellipsis
:
true
},
},
{
{
title
:
'
供应商名称
'
,
title
:
'
品牌
'
,
dataIndex
:
'
supplier
Name'
,
dataIndex
:
'
brand
Name'
,
ellipsis
:
true
ellipsis
:
true
},
},
{
{
...
@@ -142,11 +142,11 @@
...
@@ -142,11 +142,11 @@
dataIndex
:
'unitPrice'
,
dataIndex
:
'unitPrice'
,
ellipsis
:
true
ellipsis
:
true
},
},
{
//
{
title
:
'规格'
,
//
title: '规格',
dataIndex
:
'specs'
,
//
dataIndex: 'specs',
ellipsis
:
true
//
ellipsis: true
},
//
},
{
{
title
:
'库存总数'
,
title
:
'库存总数'
,
dataIndex
:
'number'
,
dataIndex
:
'number'
,
...
@@ -159,6 +159,7 @@
...
@@ -159,6 +159,7 @@
},
},
{
{
title
:
'操作'
,
title
:
'操作'
,
fixed
:
"right"
,
align
:
'center'
,
align
:
'center'
,
scopedSlots
:
{
customRender
:
'action'
},
scopedSlots
:
{
customRender
:
'action'
},
},
},
...
@@ -239,7 +240,6 @@
...
@@ -239,7 +240,6 @@
getInStockList
()
{
getInStockList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
let
pars
=
this
.
getQueryParam
();
let
pars
=
this
.
getQueryParam
();
console
.
log
(
pars
);
this
.
$api
.
stockManage
.
fetchInStockList
(
pars
).
then
(({
data
=
{}})
=>
{
this
.
$api
.
stockManage
.
fetchInStockList
(
pars
).
then
(({
data
=
{}})
=>
{
const
{
dataList
=
[],
total
=
0
}
=
data
const
{
dataList
=
[],
total
=
0
}
=
data
this
.
tableData
=
dataList
this
.
tableData
=
dataList
...
@@ -304,7 +304,7 @@
...
@@ -304,7 +304,7 @@
this
.
$router
.
push
({
path
:
'/inStock/addMaterialDistribution'
,
query
:
{
selected
:
this
.
selectedRowKeys
}})
this
.
$router
.
push
({
path
:
'/inStock/addMaterialDistribution'
,
query
:
{
selected
:
this
.
selectedRowKeys
}})
},
},
toDetail
(
record
)
{
toDetail
(
record
)
{
this
.
$router
.
push
({
path
:
'/inStock/inStockManageDetail'
,
query
:
record
})
this
.
$router
.
push
({
path
:
'/inStock/inStockManageDetail'
,
query
:
{
id
:
record
.
id
}
})
}
}
},
},
}
}
...
...
src/views/indexComponent/supplyManage/components/addSupply.vue
View file @
caed2e8c
...
@@ -105,12 +105,12 @@
...
@@ -105,12 +105,12 @@
{
required
:
true
,
message
:
'请输入联系人电话'
,
trigger
:
'change'
},
{
required
:
true
,
message
:
'请输入联系人电话'
,
trigger
:
'change'
},
{
validator
:
checkPhone
},
{
validator
:
checkPhone
},
],
],
areaCode
:
[
//
areaCode: [
{
required
:
true
,
message
:
'请选择联系地址'
,
trigger
:
'change'
}
//
{required: true, message: '请选择联系地址', trigger: 'change'}
],
//
],
address
:
[
//
address: [
{
required
:
true
,
message
:
'请输入详细地址'
,
trigger
:
'change'
}
//
{required: true, message: '请输入详细地址', trigger: 'change'}
],
//
],
},
},
queryParams
:
{},
queryParams
:
{},
areaInfo
:
[],
areaInfo
:
[],
...
@@ -158,7 +158,6 @@
...
@@ -158,7 +158,6 @@
targetOption
.
children
=
[...
data
]
targetOption
.
children
=
[...
data
]
this
.
areaInfo
=
[...
this
.
areaInfo
]
this
.
areaInfo
=
[...
this
.
areaInfo
]
}
}
console
.
log
(
this
.
areaInfo
)
})
})
},
},
// 弹窗确定按钮
// 弹窗确定按钮
...
@@ -173,7 +172,6 @@
...
@@ -173,7 +172,6 @@
areaCode
:
areaInfo
,
areaCode
:
areaInfo
,
...
others
...
others
};
};
console
.
log
(
par
)
if
(
this
.
queryParams
.
modeType
===
'add'
)
{
if
(
this
.
queryParams
.
modeType
===
'add'
)
{
vm
.
$api
.
common
.
fetchAddSupply
(
par
).
then
(
res
=>
{
vm
.
$api
.
common
.
fetchAddSupply
(
par
).
then
(
res
=>
{
this
.
subLoad
=
false
;
this
.
subLoad
=
false
;
...
...
src/views/indexComponent/supplyManage/supplyManage.vue
View file @
caed2e8c
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
}
}
},
},
created
()
{
created
()
{
this
.
routerParams
=
this
.
$route
.
query
this
.
routerParams
=
this
.
$route
.
query
;
if
(
this
.
routerParams
.
menuId
)
{
if
(
this
.
routerParams
.
menuId
)
{
window
.
sessionStorage
.
setItem
(
'menuId'
,
this
.
routerParams
.
menuId
)
window
.
sessionStorage
.
setItem
(
'menuId'
,
this
.
routerParams
.
menuId
)
}
}
...
...
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