bug fix
This commit is contained in:
parent
64a710d72f
commit
aa1a90027f
|
|
@ -3,7 +3,6 @@
|
|||
<el-card shadow="never" style="margin-bottom:20px">
|
||||
<el-form
|
||||
ref="ruleForm"
|
||||
:rules="rules"
|
||||
:model="formInline"
|
||||
size="mini"
|
||||
label-width="190px"
|
||||
|
|
@ -227,26 +226,31 @@ export default {
|
|||
initInput(data = null) {
|
||||
this.editId = data == null ? "" : data.id; // 编辑id
|
||||
this.formInline = {
|
||||
id: data.id,
|
||||
projectId: data.projectId,
|
||||
projectName: data.projectName,
|
||||
projectLongName: data.projectLongName,
|
||||
registrationLotNumber: data.registrationLotNumber,
|
||||
registrationDeadline: data.registrationDeadline,
|
||||
registrationFee: data.registrationFee,
|
||||
registrationMethod: data.registrationMethod,
|
||||
biddingDateTime: data.biddingDateTime,
|
||||
bidBond: data.bidBond,
|
||||
bondAccountNumber: data.bondAccountNumber,
|
||||
biddingLocation: data.biddingLocation,
|
||||
isOnsiteBidding: data.isOnsiteBidding,
|
||||
numberOfSuppliersPerLot: data.numberOfSuppliersPerLot,
|
||||
isBusinessTechnicalSeparate: data.isBusinessTechnicalSeparate,
|
||||
numberOfOriginalBidDocuments: data.numberOfOriginalBidDocuments,
|
||||
isElectronicBidRequired: data.isElectronicBidRequired,
|
||||
isBidPriceSeparatelySealed: data.isBidPriceSeparatelySealed,
|
||||
isTenderFeeRequired: data.isTenderFeeRequired,
|
||||
remarks: data.remarks
|
||||
id: data == null ? "" : data.id,
|
||||
projectId: data == null ? "" : data.projectId,
|
||||
projectName: data == null ? "" : data.projectName,
|
||||
projectLongName: data == null ? "" : data.projectLongName,
|
||||
registrationLotNumber: data == null ? "" : data.registrationLotNumber,
|
||||
registrationDeadline: data == null ? "" : data.registrationDeadline,
|
||||
registrationFee: data == null ? "" : data.registrationFee,
|
||||
registrationMethod: data == null ? "" : data.registrationMethod,
|
||||
biddingDateTime: data == null ? "" : data.biddingDateTime,
|
||||
bidBond: data == null ? "" : data.bidBond,
|
||||
bondAccountNumber: data == null ? "" : data.bondAccountNumber,
|
||||
biddingLocation: data == null ? "" : data.biddingLocation,
|
||||
isOnsiteBidding: data == null ? "" : data.isOnsiteBidding,
|
||||
numberOfSuppliersPerLot:
|
||||
data == null ? "" : data.numberOfSuppliersPerLot,
|
||||
isBusinessTechnicalSeparate:
|
||||
data == null ? "" : data.isBusinessTechnicalSeparate,
|
||||
numberOfOriginalBidDocuments:
|
||||
data == null ? "" : data.numberOfOriginalBidDocuments,
|
||||
isElectronicBidRequired:
|
||||
data == null ? "" : data.isElectronicBidRequired,
|
||||
isBidPriceSeparatelySealed:
|
||||
data == null ? "" : data.isBidPriceSeparatelySealed,
|
||||
isTenderFeeRequired: data == null ? "" : data.isTenderFeeRequired,
|
||||
remarks: data == null ? "" : data.remarks
|
||||
};
|
||||
},
|
||||
// 取消 :是编辑会转成新增
|
||||
|
|
@ -255,7 +259,7 @@ export default {
|
|||
localStorage.setItem("editData", null);
|
||||
this.initInput();
|
||||
this.$refs[formName].resetFields();
|
||||
this.$router.push({ path: "/newproject/list" });
|
||||
this.$router.push({ path: "/newproject/bidding/index" });
|
||||
},
|
||||
changeHtState(e) {
|
||||
console.log(e);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user