|
|
@@ -407,37 +407,37 @@ const previousPage = () => {
|
|
|
infoSteps.value -= 1
|
|
|
}
|
|
|
const nextPage = () => {
|
|
|
- if (infoSteps.value === 0) {
|
|
|
- const home = {
|
|
|
- name: condition.name,
|
|
|
- address: condition.address,
|
|
|
- firstPrincipal: condition.firstPrincipal,
|
|
|
- firstPhone: condition.firstPhone
|
|
|
- }
|
|
|
- for (const item in home) {
|
|
|
- if (home[item] === '') {
|
|
|
- ElMessage.error('请将甲方信息填写完整')
|
|
|
- return
|
|
|
- }
|
|
|
- }
|
|
|
- infoSteps.value += 1
|
|
|
- } else if (infoSteps.value === 1) {
|
|
|
- const second = {
|
|
|
- projectPrice: condition.projectPrice,
|
|
|
- secondPrincipal: condition.secondPrincipal,
|
|
|
- signTime: condition.signTime,
|
|
|
- intoConstructionTime: condition.intoConstructionTime,
|
|
|
- completedTime: condition.completedTime,
|
|
|
- illustrate: condition.illustrate
|
|
|
- }
|
|
|
- for (const item in second) {
|
|
|
- if (second[item] === '' || second[item] === 0) {
|
|
|
- ElMessage.error('请将乙方信息填写完整')
|
|
|
- return
|
|
|
- }
|
|
|
- }
|
|
|
- infoSteps.value += 1
|
|
|
- }
|
|
|
+ // if (infoSteps.value === 0) {
|
|
|
+ // const home = {
|
|
|
+ // name: condition.name,
|
|
|
+ // address: condition.address,
|
|
|
+ // firstPrincipal: condition.firstPrincipal,
|
|
|
+ // firstPhone: condition.firstPhone
|
|
|
+ // }
|
|
|
+ // for (const item in home) {
|
|
|
+ // if (home[item] === '') {
|
|
|
+ // ElMessage.error('请将甲方信息填写完整')
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // infoSteps.value += 1
|
|
|
+ // } else if (infoSteps.value === 1) {
|
|
|
+ // const second = {
|
|
|
+ // projectPrice: condition.projectPrice,
|
|
|
+ // secondPrincipal: condition.secondPrincipal,
|
|
|
+ // signTime: condition.signTime,
|
|
|
+ // intoConstructionTime: condition.intoConstructionTime,
|
|
|
+ // completedTime: condition.completedTime,
|
|
|
+ // illustrate: condition.illustrate
|
|
|
+ // }
|
|
|
+ // for (const item in second) {
|
|
|
+ // if (second[item] === '' || second[item] === 0) {
|
|
|
+ // ElMessage.error('请将乙方信息填写完整')
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ infoSteps.value += 1
|
|
|
}
|
|
|
|
|
|
// 附属文件
|