|
|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <page-layout :title="model.title">
|
|
|
+ <page-layout :title="'订单编号:'+model.orderNumber">
|
|
|
<detail-list slot="headerContent" size="small" :col="2" class="detail-layout" style="padding-bottom: 32px">
|
|
|
<detail-list-item term="需求单号">{{model.requireCode}}</detail-list-item>
|
|
|
</detail-list>
|
|
|
@@ -197,7 +197,7 @@
|
|
|
computed: {},
|
|
|
methods: {
|
|
|
resetData() {
|
|
|
-
|
|
|
+ this.model = {};
|
|
|
},
|
|
|
initAutoListConfig() {
|
|
|
return new Promise((resolve, reject) => {
|
|
|
@@ -225,7 +225,6 @@
|
|
|
})
|
|
|
},
|
|
|
configInfohandler(res) {
|
|
|
- let that = this
|
|
|
//解析字典
|
|
|
initDictOptions('order_status').then((resdict) => {
|
|
|
if (resdict.success) {
|
|
|
@@ -237,17 +236,16 @@
|
|
|
status = option.text
|
|
|
}
|
|
|
})
|
|
|
- that.model = res.result
|
|
|
- console.log('df===', that.model)
|
|
|
- if(that.model.status == 2){
|
|
|
- if(that.model.serviceStage){
|
|
|
- status = '第'+that.model.serviceStage+'期服务中';
|
|
|
+ this.model = res.result
|
|
|
+ console.log('df===', this.model)
|
|
|
+ if(res.result.status == 2){
|
|
|
+ if(res.result.serviceStage){
|
|
|
+ status = '第'+res.result.serviceStage+'期服务中';
|
|
|
}
|
|
|
}
|
|
|
- that.model.status_text = status
|
|
|
- that.detailLength = res.result.hwOrderProcessDetailList.length
|
|
|
- that.model.title = '订单编号: ' + res.result.orderNumber
|
|
|
- that.model.totalPrice = res.result.hwRequirement.settlementMethod == 0 ? res.result.hwRequirement.price : this.accMul(res.result.hwRequirement.price, res.result.hwRequirement.stage)
|
|
|
+ this.model.status_text = status
|
|
|
+ this.detailLength = res.result.hwOrderProcessDetailList.length
|
|
|
+ this.model.totalPrice = res.result.hwRequirement.settlementMethod == 0 ? res.result.hwRequirement.price : this.accMul(res.result.hwRequirement.price, res.result.hwRequirement.stage)
|
|
|
} else {
|
|
|
|
|
|
}
|
|
|
@@ -263,9 +261,7 @@
|
|
|
status = option.text
|
|
|
}
|
|
|
})
|
|
|
- that.model = res.result
|
|
|
- console.log('df===', that.model)
|
|
|
- that.model.electronicContractStatus_dictText = status
|
|
|
+ this.model.electronicContractStatus_dictText = status
|
|
|
} else {
|
|
|
|
|
|
}
|