|
@@ -46,7 +46,7 @@
|
|
|
<!--关联合同-->
|
|
|
<ws-form-item prop="agreementNo" label="关联合同" span="1" v-show="deptBudgetList.agreementType =='补充协议'">
|
|
|
<ws-select v-model="deptBudgetList.agreementNo" placeholder="请选择编号" @change="selectRelation">
|
|
|
- <ws-option v-for="item in contractNoList" :key="item.id" :label="item.agreementNo"
|
|
|
+ <ws-option v-for="item in contractNoList" :key="item.id" :label="item.contractNo"
|
|
|
:value="item.contractNo"></ws-option>
|
|
|
</ws-select>
|
|
|
</ws-form-item>
|
|
@@ -656,6 +656,17 @@
|
|
|
this.deptBudgetList.totalContractPrice = e * this.deptBudgetList.weight
|
|
|
},
|
|
|
returnsales() {
|
|
|
+ this.deptBudgetList = {
|
|
|
+ deliverType: '1',
|
|
|
+ agreementType: '采购合同',
|
|
|
+ finalTradingVolume: 0,
|
|
|
+ totalContractPrice: 0,
|
|
|
+ contractGoodsInfo: {
|
|
|
+ goodsName: '',
|
|
|
+ },
|
|
|
+ contractProcessInfo: {},
|
|
|
+ addressUrl: '',
|
|
|
+ }
|
|
|
this.$router.push({
|
|
|
path: 'buyContract'
|
|
|
})
|
|
@@ -718,8 +729,8 @@
|
|
|
})
|
|
|
},
|
|
|
selectRelation(e) {
|
|
|
- console.log(this.contractNoList)
|
|
|
- debugger
|
|
|
+ // console.log(this.contractNoList)
|
|
|
+ // debugger
|
|
|
for (var i = 0; i < this.contractNoList.length; i++) {
|
|
|
if (this.contractNoList[i].contractNo == e) {
|
|
|
this.deptBudgetList = this.contractNoList[i]
|