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
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
48 additions
and
45 deletions
+48
-45
distributionWarehousing.vue
...onent/distributionWarehousing/distributionWarehousing.vue
+1
-3
folviteApply.vue
src/views/indexComponent/folviteApply/folviteApply.vue
+22
-19
addFolviteDistribution.vue
...folviteDistribution/components/addFolviteDistribution.vue
+0
-0
folviteDistributionDetail.vue
...viteDistribution/components/folviteDistributionDetail.vue
+0
-0
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
+0
-0
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
This diff is collapsed.
Click to expand it.
src/views/indexComponent/folviteDistribution/components/folviteDistributionDetail.vue
View file @
caed2e8c
This diff is collapsed.
Click to expand it.
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
This diff is collapsed.
Click to expand it.
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