|
@@ -34,16 +34,16 @@
|
|
|
:rules="ruleDeptBudget" />
|
|
|
</ws-form-item>
|
|
|
<!--关联合同-->
|
|
|
- <ws-form-item prop="contractNo" label="关联合同" span="1" v-if="deptBudgetList.agreementType == '补充协议'">
|
|
|
- <ws-select v-model="deptBudgetList.contractNo" placeholder="请选择编号" @change="selectRelation">
|
|
|
- <ws-option v-for="item in contractNoList" :key="item.constKey" :label="item.contractNo"
|
|
|
+ <ws-form-item prop="agreementNo" label="关联合同" span="1" v-if="deptBudgetList.agreementType == '补充协议'">
|
|
|
+ <ws-select v-model="deptBudgetList.agreementNo" placeholder="请选择编号" @change="selectRelation">
|
|
|
+ <ws-option v-for="item in contractNoList" :key="item.constKey" :label="item.agreementNo"
|
|
|
:value="item.contractNo"></ws-option>
|
|
|
</ws-select>
|
|
|
</ws-form-item>
|
|
|
<!--补充协议编号-->
|
|
|
- <ws-form-item label="补充协议编号" span="1" prop="agreementNo" class="readonly"
|
|
|
+ <ws-form-item label="补充协议编号" span="1" prop="contractNo" class="readonly"
|
|
|
v-if="deptBudgetList.agreementType == '补充协议'">
|
|
|
- <ws-input v-model="deptBudgetList.agreementNo" placeholder="请输入补充协议编号" maxlength="50" size="small"
|
|
|
+ <ws-input v-model="deptBudgetList.contractNo" placeholder="请输入补充协议编号" maxlength="50" size="small"
|
|
|
:rules="ruleDeptBudget" />
|
|
|
</ws-form-item>
|
|
|
<!--运输方式-->
|
|
@@ -612,6 +612,7 @@
|
|
|
if (this.contractNoList[i].contractNo == e) {
|
|
|
this.deptBudgetList = this.contractNoList[i]
|
|
|
this.deptBudgetList.agreementNo = this.contractNoList[i].contractNo
|
|
|
+ this.deptBudgetList.contractNo = this.contractNoList[i].contractNo
|
|
|
this.deptBudgetList.agreementType = '补充协议'
|
|
|
}
|
|
|
}
|