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
77e24cfb
Commit
77e24cfb
authored
Oct 26, 2020
by
张冬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
0f2b53cf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
100 additions
and
94 deletions
+100
-94
citySelect.vue
src/components/citySelect/citySelect.vue
+89
-89
bond.vue
src/pages/supply/bid/joinProject/bidStage/bond/bond.vue
+0
-1
tenderFee.vue
...s/supply/bid/joinProject/bidStage/tenderFee/tenderFee.vue
+11
-4
No files found.
src/components/citySelect/citySelect.vue
View file @
77e24cfb
<
template
>
<
template
>
<div>
<div>
<el-select
v-model=
"provinceId"
style=
"width:167px;margin-right: 25px;"
@
change=
"getProvince"
>
<el-select
v-model=
"provinceId"
style=
"width: 167px; margin-right: 25px"
@
change=
"getProvince"
>
<el-option
v-for=
"item in provinceArr"
:value=
"item.id"
:key=
"item.id"
:label=
"item.name"
>
<el-option
v-for=
"item in provinceArr"
:value=
"item.id"
:key=
"item.id"
:label=
"item.name"
>
</el-option>
</el-option>
</el-select>
</el-select>
<el-select
v-model=
"cityId"
style=
"width: 167px; margin-right: 25px"
@
change=
"getCity"
>
<el-select
v-model=
"cityId"
style=
"width:167px;margin-right: 25px;"
@
change=
"getCity"
>
<el-option
v-for=
"item in cityArr"
:value=
"item.id"
:key=
"item.id"
:label=
"item.name"
>
</el-option>
<el-option
v-for=
"item in cityArr"
:value=
"item.id"
:key=
"item.id"
:label=
"item.name"
>
</el-select>
</el-option>
<el-select
v-model=
"districtId"
style=
"width: 167px; margin-right: 25px"
@
change=
"getDistrict"
>
</el-select>
<el-option
v-for=
"item in districtArr"
:value=
"item.id"
:key=
"item.id"
:label=
"item.name"
>
</el-option>
<el-select
v-model=
"districtId"
style=
"width:167px;margin-right: 25px;"
@
change=
"getDistrict"
>
</el-select>
<el-option
v-for=
"item in districtArr"
:value=
"item.id"
:key=
"item.id"
:label=
"item.name"
>
</div>
</el-option>
</el-select>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
import
{
cityList
}
from
'@/api/common/list'
;
cityList
}
from
'@/api/common/list'
// import arrAll from './area.js'
// import arrAll from './area.js'
export
default
{
export
default
{
props
:
{
data
()
{
provinceId
:
{
return
{
type
:
Number
,
provinceId
:
''
,
default
:
''
cityId
:
''
,
},
districtId
:
''
,
cityId
:
{
provinceArr
:
[],
type
:
Number
,
cityArr
:
[],
default
:
''
districtArr
:
[]
},
}
districtId
:
{
},
type
:
Number
,
created
()
{
default
:
''
this
.
getProvinceArr
()
}
},
methods
:
{
// 获取省列表
async
getProvinceArr
()
{
const
{
code
,
data
}
=
await
cityList
(
0
)
if
(
code
===
200
)
{
this
.
provinceArr
=
data
}
},
},
// 获取市列表
data
()
{
async
getcityArr
(
id
)
{
return
{
const
{
provinceArr
:
[],
code
,
cityArr
:
[],
data
districtArr
:
[]
}
=
await
cityList
(
id
)
};
if
(
code
===
200
)
{
this
.
cityArr
=
data
}
},
},
// 获取区列表
created
()
{
async
getdistrictArr
(
id
)
{
this
.
getProvinceArr
();
const
{
if
(
this
.
provinceId
){
code
,
this
.
getcityArr
(
this
.
provinceId
);
data
}
}
=
await
cityList
(
id
)
if
(
this
.
cityId
){
if
(
code
===
200
)
{
this
.
getdistrictArr
(
this
.
cityId
);
this
.
districtArr
=
data
}
}
},
},
methods
:
{
// 获取省列表
async
getProvinceArr
()
{
const
{
code
,
data
}
=
await
cityList
(
0
);
if
(
code
===
200
)
{
this
.
provinceArr
=
data
;
}
},
// 获取市列表
async
getcityArr
(
id
)
{
const
{
code
,
data
}
=
await
cityList
(
id
);
if
(
code
===
200
)
{
this
.
cityArr
=
data
;
}
},
// 获取区列表
async
getdistrictArr
(
id
)
{
const
{
code
,
data
}
=
await
cityList
(
id
);
if
(
code
===
200
)
{
this
.
districtArr
=
data
;
}
},
getProvince
()
{
getProvince
()
{
this
.
getcityArr
(
this
.
provinceId
);
this
.
getcityArr
(
this
.
provinceId
)
this
.
cityId
=
''
;
this
.
cityId
=
''
this
.
districtId
=
''
;
this
.
districtId
=
''
this
.
$emit
(
'sendprovinceId'
,
this
.
provinceId
);
this
.
$emit
(
'sendprovinceId'
,
this
.
provinceId
)
},
getCity
()
{
},
this
.
getdistrictArr
(
this
.
cityId
);
getCity
()
{
this
.
districtId
=
''
;
this
.
getdistrictArr
(
this
.
cityId
)
this
.
$emit
(
'sendcityId'
,
this
.
cityId
);
this
.
districtId
=
''
},
this
.
$emit
(
'sendcityId'
,
this
.
cityId
)
getDistrict
()
{
},
this
.
$emit
(
'senddistrictId'
,
this
.
districtId
);
getDistrict
()
{
}
this
.
$emit
(
'senddistrictId'
,
this
.
districtId
)
}
}
}
// getCounty() {
// getCounty() {
// for (var i = 0; i
<
this
.
cityArr
.
length
;
i
++
)
{
// for (var i = 0; i
<
this
.
cityArr
.
length
;
i
++
)
{
// var obj = this.cityArr[i]
// var obj = this.cityArr[i]
// if (this.city == obj.name) {
// if (this.city == obj.name) {
// this.countyArr = obj.sub
// this.countyArr = obj.sub
// this.county = ''
// this.county = ''
// this.$emit('getCounty', this.city)
// this.$emit('getCounty', this.city)
// }
// }
// }
// }
// },
// },
// getDistrict() {
// getDistrict() {
// this.$emit('getCity', this.county)
// this.$emit('getCity', this.county)
// }
// }
}
}
;
</
script
>
</
script
>
<
style
>
<
style
>
...
...
src/pages/supply/bid/joinProject/bidStage/bond/bond.vue
View file @
77e24cfb
...
@@ -196,7 +196,6 @@ export default {
...
@@ -196,7 +196,6 @@ export default {
}
else
{
}
else
{
var
{
code
,
msg
}
=
await
bidderEarnestpayment
(
message
);
var
{
code
,
msg
}
=
await
bidderEarnestpayment
(
message
);
}
}
if
(
code
==
200
)
{
if
(
code
==
200
)
{
this
.
$message
({
this
.
$message
({
message
:
msg
,
message
:
msg
,
...
...
src/pages/supply/bid/joinProject/bidStage/tenderFee/tenderFee.vue
View file @
77e24cfb
...
@@ -112,7 +112,13 @@
...
@@ -112,7 +112,13 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"上传缴费凭证:"
prop=
"voucherList"
>
<el-form-item
label=
"上传缴费凭证:"
prop=
"voucherList"
>
<Upload
:limit=
"5"
:max=
"10"
tip=
"完成上传5份文件,每份不超过10M"
@
input=
"getfile"
:fileList=
"ruleForm.voucherList"
></Upload>
<Upload
:limit=
"5"
:max=
"10"
tip=
"完成上传5份文件,每份不超过10M"
@
input=
"getfile"
:fileList=
"ruleForm.voucherList"
></Upload>
</el-form-item>
</el-form-item>
</div>
</div>
</div>
</div>
...
@@ -265,9 +271,10 @@ export default {
...
@@ -265,9 +271,10 @@ export default {
message
.
projectId
=
localStorage
.
getItem
(
'projectId'
);
message
.
projectId
=
localStorage
.
getItem
(
'projectId'
);
let
type
=
this
.
type
;
let
type
=
this
.
type
;
if
(
type
==
1
)
{
if
(
type
==
1
)
{
var
{
code
,
msg
}
=
await
editBidBook
(
message
);
var
{
code
,
msg
}
=
await
editBidBook
(
message
);
}
else
{
var
{
code
,
msg
}
=
await
bidBookpayment
(
message
);
}
}
var
{
code
,
msg
}
=
await
bidBookpayment
(
message
);
if
(
code
==
200
)
{
if
(
code
==
200
)
{
this
.
$message
({
this
.
$message
({
message
:
msg
,
message
:
msg
,
...
@@ -290,7 +297,7 @@ export default {
...
@@ -290,7 +297,7 @@ export default {
try
{
try
{
const
{
data
,
code
}
=
await
bidbookDetail
(
projectId
);
const
{
data
,
code
}
=
await
bidbookDetail
(
projectId
);
if
(
code
==
200
)
{
if
(
code
==
200
)
{
data
.
companyName
=
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
)).
companyName
;
data
.
companyName
=
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
)).
companyName
;
for
(
let
item
of
data
.
voucherList
)
{
for
(
let
item
of
data
.
voucherList
)
{
item
.
name
=
item
.
fileName
;
item
.
name
=
item
.
fileName
;
item
.
url
=
item
.
fileUrl
;
item
.
url
=
item
.
fileUrl
;
...
...
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