|
@@ -1155,24 +1155,15 @@ export default {
|
|
}
|
|
}
|
|
let das = this.contractForm
|
|
let das = this.contractForm
|
|
if (this.contractForm.contractType != 1) {
|
|
if (this.contractForm.contractType != 1) {
|
|
- if (this.idList.length > 0) {
|
|
|
|
- delete das.startStation
|
|
|
|
- delete das.endStation
|
|
|
|
- delete das.projectPlace
|
|
|
|
- das.idList = []
|
|
|
|
- this.idList.forEach(val => {
|
|
|
|
- das.idList.push({contractId: val})
|
|
|
|
- })
|
|
|
|
- resolve(submitContractInfo(das))
|
|
|
|
- this.btnLoad = false
|
|
|
|
- } else {
|
|
|
|
- reject('验证失败')
|
|
|
|
- this.$message({
|
|
|
|
- type: "error",
|
|
|
|
- message: "请先选择合同段权限配置"
|
|
|
|
- })
|
|
|
|
- this.btnLoad = false
|
|
|
|
- }
|
|
|
|
|
|
+ delete das.startStation
|
|
|
|
+ delete das.endStation
|
|
|
|
+ delete das.projectPlace
|
|
|
|
+ das.idList = []
|
|
|
|
+ this.idList.forEach(val => {
|
|
|
|
+ das.idList.push({contractId: val})
|
|
|
|
+ })
|
|
|
|
+ resolve(submitContractInfo(das))
|
|
|
|
+ this.btnLoad = false
|
|
} else {
|
|
} else {
|
|
resolve(submitContractInfo(das))
|
|
resolve(submitContractInfo(das))
|
|
this.btnLoad = false
|
|
this.btnLoad = false
|