|
@@ -46,7 +46,7 @@
|
|
<!--关联合同-->
|
|
<!--关联合同-->
|
|
<ws-form-item prop="agreementNo" label="关联合同" span="1" v-show="deptBudgetList.agreementType =='补充协议'">
|
|
<ws-form-item prop="agreementNo" label="关联合同" span="1" v-show="deptBudgetList.agreementType =='补充协议'">
|
|
<ws-select v-model="deptBudgetList.agreementNo" placeholder="请选择编号" @change="selectRelation">
|
|
<ws-select v-model="deptBudgetList.agreementNo" placeholder="请选择编号" @change="selectRelation">
|
|
- <ws-option v-for="item in contractNoList" :key="item.constKey" :label="item.agreementNo"
|
|
|
|
|
|
+ <ws-option v-for="item in contractNoList" :key="item.id" :label="item.agreementNo"
|
|
:value="item.contractNo"></ws-option>
|
|
:value="item.contractNo"></ws-option>
|
|
</ws-select>
|
|
</ws-select>
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
@@ -718,6 +718,8 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
selectRelation(e) {
|
|
selectRelation(e) {
|
|
|
|
+ console.log(this.contractNoList)
|
|
|
|
+ debugger
|
|
for (var i = 0; i < this.contractNoList.length; i++) {
|
|
for (var i = 0; i < this.contractNoList.length; i++) {
|
|
if (this.contractNoList[i].contractNo == e) {
|
|
if (this.contractNoList[i].contractNo == e) {
|
|
this.deptBudgetList = this.contractNoList[i]
|
|
this.deptBudgetList = this.contractNoList[i]
|