|
@@ -82,11 +82,11 @@
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="fixed__btn__panel">
|
|
<div class="fixed__btn__panel">
|
|
|
- <el-button size="small" @click="onClose" class="normal-btn-width inline-16">取 消</el-button>
|
|
|
|
|
|
|
+ <el-button size="small" @click="onClose" class="normal-btn-width inline-16" :disabled="loading">取 消</el-button>
|
|
|
<el-button size="small" type="primary" :loading="loading" @click="onSubmit" class="normal-btn-width">确 定</el-button>
|
|
<el-button size="small" type="primary" :loading="loading" @click="onSubmit" class="normal-btn-width">确 定</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</el-drawer>
|
|
</el-drawer>
|
|
|
- <el-dialog :visible.sync="dialogTableVisible" append-to-body center width="780px">
|
|
|
|
|
|
|
+ <el-dialog :visible.sync="dialogTableVisible" append-to-body center width="70%">
|
|
|
<template slot="title">
|
|
<template slot="title">
|
|
|
<span style="float: left" >居间费调整确认</span>
|
|
<span style="float: left" >居间费调整确认</span>
|
|
|
</template>
|
|
</template>
|
|
@@ -114,8 +114,8 @@
|
|
|
</template>
|
|
</template>
|
|
|
</table-detail>
|
|
</table-detail>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
|
- <el-button @click="dialogTableVisible = false">取消</el-button>
|
|
|
|
|
- <el-button type="primary" @click="dialogTableVisible = false">确定调整</el-button>
|
|
|
|
|
|
|
+ <el-button @click="adjustCancel" class="normal-btn-width" size="small" :disabled="adjustLoading" >取消</el-button>
|
|
|
|
|
+ <el-button type="primary" @click="adjustClick" class="normal-btn-width" size="small" :loading="adjustLoading">确定调整</el-button>
|
|
|
</span>
|
|
</span>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
</div>
|
|
</div>
|
|
@@ -134,7 +134,9 @@ export default {
|
|
|
dialogTableVisible:false,
|
|
dialogTableVisible:false,
|
|
|
agentVisible:false,
|
|
agentVisible:false,
|
|
|
loading:false,
|
|
loading:false,
|
|
|
- tableHieght:'calc(100vh - 380px)',
|
|
|
|
|
|
|
+ adjustLoading:false,
|
|
|
|
|
+ adjustCancle:false,
|
|
|
|
|
+ tableHieght:'calc(100vh - 580px)',
|
|
|
form:{
|
|
form:{
|
|
|
"sa_contractid": 0,//合同id
|
|
"sa_contractid": 0,//合同id
|
|
|
"sys_enterpriseid": "",//居间商id
|
|
"sys_enterpriseid": "",//居间商id
|
|
@@ -260,7 +262,6 @@ export default {
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
async onAdjust(data){
|
|
async onAdjust(data){
|
|
|
- console.log(data,'data3333')
|
|
|
|
|
this.adjustParam.content.sa_contractid = data.sa_contractid
|
|
this.adjustParam.content.sa_contractid = data.sa_contractid
|
|
|
this.adjustParam.content.orderratio = data.orderratio
|
|
this.adjustParam.content.orderratio = data.orderratio
|
|
|
this.adjustParam.content.ascription_contractid = data.ascription_contractid
|
|
this.adjustParam.content.ascription_contractid = data.ascription_contractid
|
|
@@ -286,6 +287,30 @@ export default {
|
|
|
this.form.orderratio = ''
|
|
this.form.orderratio = ''
|
|
|
this.$refs.form.resetFields()
|
|
this.$refs.form.resetFields()
|
|
|
this.form.remarks = ''
|
|
this.form.remarks = ''
|
|
|
|
|
+ },
|
|
|
|
|
+ async adjustClick(){
|
|
|
|
|
+ this.adjustLoading = true
|
|
|
|
|
+ const res = await this.$api.requested({
|
|
|
|
|
+ "id": "20240828163204",
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "sa_contractid": this.adjustParam.content.sa_contractid,
|
|
|
|
|
+ "orderratio": this.adjustParam.content.orderratio,
|
|
|
|
|
+ "sys_enterpriseid":this.form.sys_enterpriseid,
|
|
|
|
|
+ "remarks":""
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ this.tool.showMessage(res,()=>{
|
|
|
|
|
+ this.adjustLoading = false
|
|
|
|
|
+ this.loading = false
|
|
|
|
|
+ this.drawerFormVisible = false
|
|
|
|
|
+ this.dialogTableVisible = false
|
|
|
|
|
+ this.$emit('adjustSuccess')
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+ adjustCancel(){
|
|
|
|
|
+ this.adjustLoading = false
|
|
|
|
|
+ this.loading = false
|
|
|
|
|
+ this.dialogTableVisible = false
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|