|
|
@@ -15,12 +15,12 @@
|
|
|
<a-row :gutter="24">
|
|
|
<a-col :lg="12" :md="12" :sm="24">
|
|
|
<a-form-model-item label="批次单号" :labelCol="labelCol" :wrapperCol="wrapperCol" >
|
|
|
- {{this.$route.query.record.paymentCode}}
|
|
|
+ {{this.model.paymentCode}}
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
<a-col :lg="12" :md="12" :sm="24">
|
|
|
<a-form-model-item label="任务单号" :labelCol="labelCol" :wrapperCol="wrapperCol" >
|
|
|
- {{this.$route.query.record.requirementCode}}
|
|
|
+ {{this.model.requirementCode}}
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
@@ -28,12 +28,12 @@
|
|
|
<a-row :gutter="24">
|
|
|
<a-col :lg="12" :md="12" :sm="24">
|
|
|
<a-form-model-item label="任务名称" :labelCol="labelCol" :wrapperCol="wrapperCol" >
|
|
|
- {{this.$route.query.record.requirementName}}
|
|
|
+ {{this.model.requirementName}}
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
<a-col :lg="12" :md="12" :sm="24">
|
|
|
<a-form-model-item label="服务内容" :labelCol="labelCol" :wrapperCol="wrapperCol" >
|
|
|
- {{this.$route.query.record.invoiceCategoryName}}
|
|
|
+ {{this.model.invoiceCategoryName}}
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
@@ -43,7 +43,7 @@
|
|
|
<a-row :gutter="24">
|
|
|
<a-col :lg="12" :md="12" :sm="24">
|
|
|
<a-form-model-item label="企业名称" :labelCol="labelCol" :wrapperCol="wrapperCol" >
|
|
|
- {{this.$route.query.record.companyName}}
|
|
|
+ {{this.model.companyName}}
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
@@ -53,12 +53,12 @@
|
|
|
<a-row :gutter="24">
|
|
|
<a-col :lg="12" :md="12" :sm="24">
|
|
|
<a-form-model-item label="服务商" :labelCol="labelCol" :wrapperCol="wrapperCol" >
|
|
|
- {{this.$route.query.record.subcontractorName}}
|
|
|
+ {{this.model.subcontractorName}}
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
<a-col :lg="12" :md="12" :sm="24">
|
|
|
<a-form-model-item label="服务费率" :labelCol="labelCol" :wrapperCol="wrapperCol" >
|
|
|
- {{this.$route.query.record.serviceRate}}%
|
|
|
+ {{this.model.serviceRate}}%
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
@@ -198,13 +198,13 @@
|
|
|
},
|
|
|
},
|
|
|
created () {
|
|
|
+ this.model=JSON.parse(this.$route.query.record)
|
|
|
this.loadData(1)
|
|
|
},
|
|
|
methods: {
|
|
|
initDictConfig(){
|
|
|
},
|
|
|
edit (record) {
|
|
|
- this.model = Object.assign({}, record);
|
|
|
this.visible = true;
|
|
|
},
|
|
|
loadData(arg) {
|
|
|
@@ -212,12 +212,15 @@
|
|
|
this.$message.error('请设置url.list属性!')
|
|
|
return
|
|
|
}
|
|
|
+ if(!this.model.id){
|
|
|
+ return;
|
|
|
+ }
|
|
|
//加载数据 若传入参数1则加载第一页的内容
|
|
|
if (arg === 1) {
|
|
|
this.ipagination.current = 1
|
|
|
}
|
|
|
var params = this.getQueryParams();//查询条件
|
|
|
- params.paymentId=this.$route.query.record.id;
|
|
|
+ params.paymentId=this.model.id;
|
|
|
this.loading = true
|
|
|
getAction(this.url.list, params).then((res) => {
|
|
|
if (res.success) {
|