|
@@ -88,8 +88,12 @@
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<div v-if="contractNo != ''">
|
|
<div v-if="contractNo != ''">
|
|
|
|
+ <span v-if="orderList.seller"
|
|
|
|
+ >卖方: {{ orderList.seller }} </span
|
|
|
|
+ >
|
|
|
|
+ <span v-else>卖方:--</span>
|
|
<span v-if="orderList.goodsName">货名: {{ orderList.goodsName }}</span>
|
|
<span v-if="orderList.goodsName">货名: {{ orderList.goodsName }}</span>
|
|
- <span v-else>货名:——</span>
|
|
|
|
|
|
+ <span v-else>货名:--</span>
|
|
|
|
|
|
<span v-if="orderList.weight"
|
|
<span v-if="orderList.weight"
|
|
>合同重量: {{ orderList.weight }} 吨</span
|
|
>合同重量: {{ orderList.weight }} 吨</span
|
|
@@ -530,6 +534,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
activated() {
|
|
activated() {
|
|
|
|
+ this.getContractList()
|
|
this.getList()
|
|
this.getList()
|
|
this.showType = this.isShow
|
|
this.showType = this.isShow
|
|
},
|
|
},
|
|
@@ -649,7 +654,6 @@ export default {
|
|
},
|
|
},
|
|
//定金附件
|
|
//定金附件
|
|
fujian() {
|
|
fujian() {
|
|
- debugger
|
|
|
|
if (this.orderList.depositUrl === null || this.orderList.depositUrl === '') {
|
|
if (this.orderList.depositUrl === null || this.orderList.depositUrl === '') {
|
|
EventBus.$emit(
|
|
EventBus.$emit(
|
|
'warning',
|
|
'warning',
|
|
@@ -897,7 +901,6 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- console.log(this.addressUrlArray,'tyis')
|
|
|
|
this.contractNo = e
|
|
this.contractNo = e
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
@@ -962,7 +965,6 @@ export default {
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
- // debugger
|
|
|
|
this.payingMoney = 0
|
|
this.payingMoney = 0
|
|
this.payedMoney = 0
|
|
this.payedMoney = 0
|
|
this.payNotMoney = 0
|
|
this.payNotMoney = 0
|
|
@@ -975,7 +977,9 @@ export default {
|
|
this.deptBudgetTotal = response.total
|
|
this.deptBudgetTotal = response.total
|
|
this.warehouseList = response
|
|
this.warehouseList = response
|
|
})
|
|
})
|
|
- getStockPurchaseContractNoList({
|
|
|
|
|
|
+ },
|
|
|
|
+ getContractList(){
|
|
|
|
+ getStockPurchaseContractNoList({
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
currentPage: this.currentPage,
|
|
currentPage: this.currentPage,
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
@@ -986,7 +990,7 @@ export default {
|
|
.then((response) => {
|
|
.then((response) => {
|
|
this.contractNoList = response
|
|
this.contractNoList = response
|
|
this.option = this.contractNoList
|
|
this.option = this.contractNoList
|
|
-
|
|
|
|
|
|
+ this.contractNo = this.option[0].contractNo
|
|
})
|
|
})
|
|
},
|
|
},
|
|
handleRemove(file) {
|
|
handleRemove(file) {
|