Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_webapp into dev
This commit is contained in:
@@ -7,8 +7,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</ai-title>
|
</ai-title>
|
||||||
<template #content>
|
<template #content>
|
||||||
<el-alert show-icon v-if="!detail.id" type="error" title="该产品已下架" center/>
|
<el-form v-if="detail.id" size="small" label-width="120px">
|
||||||
<el-form v-else size="small" label-width="120px">
|
|
||||||
<ai-card title="基本信息">
|
<ai-card title="基本信息">
|
||||||
<template #content>
|
<template #content>
|
||||||
<el-row type="flex" class="flexWrap">
|
<el-row type="flex" class="flexWrap">
|
||||||
|
|||||||
@@ -86,7 +86,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
<el-form-item v-else-if="form.auditStatus==2" label="审批意见" prop="remark">
|
<el-form-item v-else-if="form.auditStatus==2" label="审批意见" prop="remark">
|
||||||
<el-input type="textarea" v-model="form.auditDescription" placeholder="请输入"/>
|
<el-input type="textarea" v-model="form.auditDescription" placeholder="请输入" maxlength="200" show-word-limit/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</ai-dialog>
|
</ai-dialog>
|
||||||
@@ -106,7 +106,7 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
...mapState(['user']),
|
...mapState(['user']),
|
||||||
isFinanceAdmin() {
|
isFinanceAdmin() {
|
||||||
return this.user.financeUser?.userRole == 1
|
return !!this.user.financeUser?.id
|
||||||
},
|
},
|
||||||
isAuthing() {
|
isAuthing() {
|
||||||
return this.detail.status == "0"
|
return this.detail.status == "0"
|
||||||
@@ -125,6 +125,7 @@ export default {
|
|||||||
],
|
],
|
||||||
auditLifespan: [{required: true, message: "请选择 使用期限"}],
|
auditLifespan: [{required: true, message: "请选择 使用期限"}],
|
||||||
loanDate: [{required: true, message: "请选择 放款日期"}],
|
loanDate: [{required: true, message: "请选择 放款日期"}],
|
||||||
|
remark: [{required: true, message: "请输入 审批意见"}],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<section class="grabDetail">
|
<section class="grabDetail">
|
||||||
<ai-detail>
|
<ai-detail>
|
||||||
<ai-title slot="title" title="融资详情" isShowBottomBorder isShowBack @onBackClick="back">
|
<ai-title slot="title" title="融资详情" isShowBottomBorder isShowBack @onBackClick="back">
|
||||||
<template v-if="isFinanceUser&&detail.status==0" #rightBtn>
|
<template v-if="isFinanceUser&&detail.status==1" #rightBtn>
|
||||||
<el-button type="danger" @click="handleCancel">回退订单</el-button>
|
<el-button type="danger" @click="handleCancel">回退订单</el-button>
|
||||||
<el-button type="primary" @click="dialog=true">放款</el-button>
|
<el-button type="primary" @click="dialog=true">放款</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -80,8 +80,8 @@ export default {
|
|||||||
},
|
},
|
||||||
handleFilterApplyTime() {
|
handleFilterApplyTime() {
|
||||||
this.page.current = 1
|
this.page.current = 1
|
||||||
this.search.createTimeStart = this.search.applyTime?.[0]
|
this.search.createTimeStart = this.search.applyTime?.[0].substring(0,10)
|
||||||
this.search.createTimeEnd = this.search.applyTime?.[1]
|
this.search.createTimeEnd = this.search.applyTime?.[1].substring(0,10)
|
||||||
this.getTableData()
|
this.getTableData()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user