Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-purchase
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
张冬
web-purchase
Commits
4938c450
Commit
4938c450
authored
Sep 25, 2020
by
张冬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新输入框限制
parent
38668a85
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
119 additions
and
100 deletions
+119
-100
bid.js
src/api/supply/bid.js
+7
-0
specialUpload.vue
src/components/Upload/specialUpload.vue
+1
-1
Sidebar.vue
src/components/common/Sidebar.vue
+88
-90
demand.vue
src/pages/purchaser/bid/releaseProject/demand.vue
+2
-2
message.vue
src/pages/purchaser/bid/releaseProject/message.vue
+2
-2
releaseProject.vue
src/pages/purchaser/bid/releaseProject/releaseProject.vue
+1
-1
timeSet.vue
src/pages/purchaser/bid/releaseProject/timeSet.vue
+1
-1
tenderFee.vue
src/pages/supply/bid/joinProject/bidStage/tenderFee.vue
+17
-3
No files found.
src/api/supply/bid.js
View file @
4938c450
...
@@ -82,6 +82,8 @@ export function projectdetail(id) {
...
@@ -82,6 +82,8 @@ export function projectdetail(id) {
method
:
'get'
,
method
:
'get'
,
})
})
}
}
// ------------------------------------------------------------------------------------
//流程进度
//流程进度
export
function
timeInfo
(
projectId
)
{
export
function
timeInfo
(
projectId
)
{
return
request
({
return
request
({
...
@@ -107,6 +109,11 @@ export function bidderEarnestpayment(data) {
...
@@ -107,6 +109,11 @@ export function bidderEarnestpayment(data) {
})
})
}
}
//查看某个澄清的 投标方列表
//查看某个澄清的 投标方列表
export
function
bidClarifies
(
params
)
{
export
function
bidClarifies
(
params
)
{
return
request
({
return
request
({
...
...
src/components/Upload/specialUpload.vue
View file @
4938c450
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<el-radio-group
v-model=
"scope.row.free"
>
<el-radio-group
v-model=
"scope.row.free"
>
<el-radio
:label=
"true"
>
免费
</el-radio>
<el-radio
:label=
"true"
>
免费
</el-radio>
<el-radio
:label=
"false"
>
收费
</el-radio>
<el-radio
:label=
"false"
>
收费
</el-radio>
<el-input
v-show=
"scope.row.free==false"
v-model=
"scope.row.price"
placeholder=
"价格(元)"
></el-input
>
<el-input-number
v-model=
"scope.row.pric"
v-show=
"scope.row.free==false"
:min=
"0"
:controls=
"false"
:precision=
"2"
placeholder=
"价格(元)"
></el-input-number
>
</el-radio-group>
</el-radio-group>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
src/components/common/Sidebar.vue
View file @
4938c450
...
@@ -55,99 +55,97 @@ export default {
...
@@ -55,99 +55,97 @@ export default {
data
()
{
data
()
{
return
{
return
{
collapse
:
false
,
collapse
:
false
,
//
items: [
//
items: [
//
{
//
{
//
icon: 'el-icon-lx-home',
//
icon: 'el-icon-lx-home',
//
index: '/purchaser/Home',
//
index: '/purchaser/Home',
//
title: '首页'
//
title: '首页'
//
},
//
},
//
{
//
{
//
icon: 'el-icon-lx-home',
//
icon: 'el-icon-lx-home',
//
index:"2",
//
index:"2",
//
title: '招标管理',
//
title: '招标管理',
//
subs:[
//
subs:[
//
{
//
{
//
icon: 'el-icon-lx-home',
//
icon: 'el-icon-lx-home',
//
index: '/purchaser/bid/administrationList',
//
index: '/purchaser/bid/administrationList',
//
title: '招标项目管理',
//
title: '招标项目管理',
//
}
//
}
//
]
//
]
//
},
//
},
//
{
//
{
//
icon: 'el-icon-lx-cascades',
//
icon: 'el-icon-lx-cascades',
//
title: '应收账款买断管理',
//
title: '应收账款买断管理',
//
index:'3',
//
index:'3',
//
subs:[
//
subs:[
//
{
//
{
//
icon: 'el-icon-lx-home',
//
icon: 'el-icon-lx-home',
//
index: '/purchaser/buyOut/buyoutList',
//
index: '/purchaser/buyOut/buyoutList',
//
title: '应收账款买断列表',
//
title: '应收账款买断列表',
//
}
//
}
//
]
//
]
//
},
//
},
//
{
//
{
//
icon: 'el-icon-lx-cascades',
//
icon: 'el-icon-lx-cascades',
//
title: '供应商管理',
//
title: '供应商管理',
//
index:'4',
//
index:'4',
//
subs:[
//
subs:[
//
{
//
{
//
icon: 'el-icon-lx-home',
//
icon: 'el-icon-lx-home',
//
index: '/purchaser/supply/allSupplyList',
//
index: '/purchaser/supply/allSupplyList',
//
title: '供应商列表',
//
title: '供应商列表',
//
},
//
},
//
{
//
{
//
icon: 'el-icon-lx-home',
//
icon: 'el-icon-lx-home',
//
index: '/purchaser/supply/mySupplyList',
//
index: '/purchaser/supply/mySupplyList',
//
title: '我的供应商',
//
title: '我的供应商',
//
}
//
}
//
]
//
]
//
},
//
},
//
{
//
{
//
icon: 'el-icon-lx-copy',
//
icon: 'el-icon-lx-copy',
//
title: '组织管理',
//
title: '组织管理',
//
index:'5',
//
index:'5',
//
subs:[
//
subs:[
//
{
//
{
//
icon: 'el-icon-lx-home',
//
icon: 'el-icon-lx-home',
//
index: '/purchaser/organization/informationSee',
//
index: '/purchaser/organization/informationSee',
//
title: '单位信息',
//
title: '单位信息',
//
},
//
},
//
{
//
{
//
icon: 'el-icon-lx-home',
//
icon: 'el-icon-lx-home',
//
index: '/purchaser/organization/memberManagement',
//
index: '/purchaser/organization/memberManagement',
//
title: '成员管理',
//
title: '成员管理',
//
},
//
},
//
{
//
{
//
icon: 'el-icon-lx-home',
//
icon: 'el-icon-lx-home',
//
index: '/purchaser/organization/jurisdictionList',
//
index: '/purchaser/organization/jurisdictionList',
//
title: '角色管理',
//
title: '角色管理',
//
}
//
}
//
]
//
]
//
},
//
},
//
{
//
{
//
icon: 'el-icon-lx-redpacket_fill',
//
icon: 'el-icon-lx-redpacket_fill',
//
title: '系统管理',
//
title: '系统管理',
//
index:'6',
//
index:'6',
//
subs:[
//
subs:[
//
{
//
{
//
icon: 'el-icon-lx-home',
//
icon: 'el-icon-lx-home',
//
index: '/purchaser/organization/jurisdictionList',
//
index: '/purchaser/organization/jurisdictionList',
//
title: 'CA绑定与解除',
//
title: 'CA绑定与解除',
//
},
//
},
//
{
//
{
//
icon: 'el-icon-lx-home',
//
icon: 'el-icon-lx-home',
//
index: '/purchaser/system/logList',
//
index: '/purchaser/system/logList',
//
title: '日志列表',
//
title: '日志列表',
//
},
//
},
//
]
//
]
//
}
//
}
//
],
//
],
//供应商
// 供应商
items
:
[
items
:
[
{
{
icon
:
'el-icon-lx-home'
,
icon
:
'el-icon-lx-home'
,
...
...
src/pages/purchaser/bid/releaseProject/demand.vue
View file @
4938c450
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<el-input
v-model
.
trim=
"searchData.bidName"
placeholder=
'请输入'
maxlength=
"30"
></el-input>
<el-input
v-model
.
trim=
"searchData.bidName"
placeholder=
'请输入'
maxlength=
"30"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"数量:"
prop=
"quantity"
>
<el-form-item
label=
"数量:"
prop=
"quantity"
>
<el-input
v-model
.
trim=
"searchData.quantity"
placeholder=
'请输入'
maxlength=
"30"
></el-input>
<el-input
v-model
.
trim=
"searchData.quantity"
onkeyup=
"value=value.replace(/[^\d]/g,'')"
placeholder=
'请输入'
maxlength=
"30"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"计量单位:"
prop=
"unit"
>
<el-form-item
label=
"计量单位:"
prop=
"unit"
>
<el-input
v-model
.
trim=
"searchData.unit"
placeholder=
'请输入'
maxlength=
"30"
></el-input>
<el-input
v-model
.
trim=
"searchData.unit"
placeholder=
'请输入'
maxlength=
"30"
></el-input>
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<el-input
v-model
.
trim=
"searchData.specification"
placeholder=
'请输入'
maxlength=
"30"
></el-input>
<el-input
v-model
.
trim=
"searchData.specification"
placeholder=
'请输入'
maxlength=
"30"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"标杆价(元):"
prop=
"price"
>
<el-form-item
label=
"标杆价(元):"
prop=
"price"
>
<el-input
v-model
.
trim=
"searchData.price"
placeholder=
'请输入'
maxlength=
"30"
></el-input
>
<el-input
-number
v-model=
"searchData.price"
:min=
"0"
:controls=
"false"
:precision=
"2"
placeholder=
"输入"
></el-input-number
>
</el-form-item>
</el-form-item>
<el-form-item
label=
"备注:"
prop=
"remark"
>
<el-form-item
label=
"备注:"
prop=
"remark"
>
<el-input
v-model
.
trim=
"searchData.remark"
placeholder=
'请输入'
maxlength=
"30"
></el-input>
<el-input
v-model
.
trim=
"searchData.remark"
placeholder=
'请输入'
maxlength=
"30"
></el-input>
...
...
src/pages/purchaser/bid/releaseProject/message.vue
View file @
4938c450
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
<div
v-show=
"ruleForm.isNeedEarnest"
>
<div
v-show=
"ruleForm.isNeedEarnest"
>
<div>
<div>
<el-form-item
label=
"投标保证金金额:"
prop=
"money"
>
<el-form-item
label=
"投标保证金金额:"
prop=
"money"
>
<el-input
v-model
.
trim=
"earnestInfoPO.money"
placeholder=
"请输入"
maxlength=
"30"
></el-input
>
<el-input-number
v-model=
"earnestInfoPO.money"
:min=
"0"
:controls=
"false"
:precision=
"2"
></el-input-number
>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"flex-between"
>
<div
class=
"flex-between"
>
...
@@ -612,7 +612,7 @@ validator: checkPhone,
...
@@ -612,7 +612,7 @@ validator: checkPhone,
// }
// }
}
}
}
e
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
...
...
src/pages/purchaser/bid/releaseProject/releaseProject.vue
View file @
4938c450
...
@@ -56,7 +56,7 @@ export default {
...
@@ -56,7 +56,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
activeIdx
:
0
,
activeIdx
:
2
,
allForm
:
{}
allForm
:
{}
}
}
},
},
...
...
src/pages/purchaser/bid/releaseProject/timeSet.vue
View file @
4938c450
<
template
>
<
template
>
<div>
<div>
<div
class=
"describe"
>
标的需求
</div>
<div
class=
"describe"
>
招标时间设置
</div>
<div
class=
"form"
>
<div
class=
"form"
>
<!--
<dataForm
:search-form=
"searchForm"
:search-data=
"searchData"
:is-handle=
"false"
label-width=
"250px"
></dataForm>
-->
<!--
<dataForm
:search-form=
"searchForm"
:search-data=
"searchData"
:is-handle=
"false"
label-width=
"250px"
></dataForm>
-->
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
label-width=
"250px"
class=
"demo-ruleForm"
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
label-width=
"250px"
class=
"demo-ruleForm"
>
...
...
src/pages/supply/bid/joinProject/bidStage/tenderFee.vue
View file @
4938c450
<!-- 标书费缴纳 -->
<
template
>
<
template
>
<div>
<div>
<div
class=
"content-head"
>
<div
class=
"content-head"
>
...
@@ -138,6 +139,19 @@
...
@@ -138,6 +139,19 @@
Upload
Upload
},
},
data
()
{
data
()
{
let
checkPhone
=
async
(
rule
,
value
,
callback
)
=>
{
if
(
!
value
)
{
return
callback
(
new
Error
(
'手机号不能为空'
));
}
else
{
const
reg
=
/^1
[
3|4|5|7|8
][
0-9
]\d{8}
$/
console
.
log
(
reg
.
test
(
value
));
if
(
reg
.
test
(
value
))
{
callback
();
}
else
{
return
callback
(
new
Error
(
'请输入正确的手机号'
));
}
}
};
// 测试图片
// 测试图片
let
checkimg
=
(
rule
,
value
,
callback
)
=>
{
let
checkimg
=
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
ruleForm
.
voucherUrl
.
length
===
0
)
{
if
(
this
.
ruleForm
.
voucherUrl
.
length
===
0
)
{
...
@@ -177,7 +191,7 @@
...
@@ -177,7 +191,7 @@
}],
}],
companyPhone
:
[{
companyPhone
:
[{
required
:
true
,
required
:
true
,
message
:
'请输入'
,
validator
:
checkPhone
,
trigger
:
'blur'
trigger
:
'blur'
}],
}],
invoiceType
:
[{
invoiceType
:
[{
...
@@ -227,8 +241,8 @@
...
@@ -227,8 +241,8 @@
const
valid
=
await
this
.
$refs
[
'ruleForm'
].
validate
()
const
valid
=
await
this
.
$refs
[
'ruleForm'
].
validate
()
if
(
valid
)
{
if
(
valid
)
{
let
message
=
this
.
ruleForm
let
message
=
this
.
ruleForm
message
.
companyId
=
window
.
localStorage
.
getItem
(
"companyId"
),
message
.
companyId
=
localStorage
.
getItem
(
"companyId"
),
message
.
projectId
=
window
.
localstorage
.
getitem
(
"projectId"
)
message
.
projectId
=
localstorage
.
getitem
(
"projectId"
)
const
{
const
{
code
,
code
,
msg
msg
...
...
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