|
@@ -38,23 +38,15 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-form-item label="审批人" prop="">
|
|
<el-form-item label="审批人" prop="">
|
|
- <el-input
|
|
|
|
- v-if="this.searchForm.secondExamineBy != null"
|
|
|
|
- disabled
|
|
|
|
- v-model="searchForm.secondExamineBy"
|
|
|
|
- placeholder=""
|
|
|
|
- ></el-input>
|
|
|
|
|
|
+ <el-input v-if="this.searchForm.secondExamineBy != null" disabled v-model="searchForm.secondExamineBy"
|
|
|
|
+ placeholder=""></el-input>
|
|
<el-input v-else disabled v-model="searchForm.examineBy" placeholder=""></el-input>
|
|
<el-input v-else disabled v-model="searchForm.examineBy" placeholder=""></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-form-item label="审批日期" prop="">
|
|
<el-form-item label="审批日期" prop="">
|
|
- <el-input
|
|
|
|
- v-if="this.searchForm.secondExamineTime != null"
|
|
|
|
- disabled
|
|
|
|
- v-model="searchForm.secondExamineTime"
|
|
|
|
- placeholder=""
|
|
|
|
- ></el-input>
|
|
|
|
|
|
+ <el-input v-if="this.searchForm.secondExamineTime != null" disabled v-model="searchForm.secondExamineTime"
|
|
|
|
+ placeholder=""></el-input>
|
|
<el-input v-else disabled v-model="searchForm.examineTime" placeholder=""></el-input>
|
|
<el-input v-else disabled v-model="searchForm.examineTime" placeholder=""></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -64,23 +56,11 @@
|
|
<!-- 列表 -->
|
|
<!-- 列表 -->
|
|
<div class="mymain-container">
|
|
<div class="mymain-container">
|
|
<div class="table">
|
|
<div class="table">
|
|
- <el-table
|
|
|
|
- v-loading="listLoading"
|
|
|
|
- :data="dataList"
|
|
|
|
- element-loading-text="Loading"
|
|
|
|
- border
|
|
|
|
- fit
|
|
|
|
- highlight-current-row
|
|
|
|
- stripe
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table v-loading="listLoading" :data="dataList" element-loading-text="Loading" border fit
|
|
|
|
+ highlight-current-row stripe>
|
|
<el-table-column label="序号" align="left" width="100" type="index" show-overflow-tooltip></el-table-column>
|
|
<el-table-column label="序号" align="left" width="100" type="index" show-overflow-tooltip></el-table-column>
|
|
- <el-table-column
|
|
|
|
- align="left"
|
|
|
|
- label="返利类型"
|
|
|
|
- prop="walletName"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="left" label="返利类型" prop="walletName" min-width="160"
|
|
|
|
+ show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="right" label="总返利金额" prop="amount" min-width="160" show-overflow-tooltip>
|
|
<el-table-column align="right" label="总返利金额" prop="amount" min-width="160" show-overflow-tooltip>
|
|
<!-- <template slot-scope="scope">
|
|
<!-- <template slot-scope="scope">
|
|
|
|
|
|
@@ -88,13 +68,8 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="right" label="返利金额" prop="" min-width="160" show-overflow-tooltip>
|
|
<el-table-column align="right" label="返利金额" prop="" min-width="160" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-input
|
|
|
|
- style="width: 100%"
|
|
|
|
- class="mountclass"
|
|
|
|
- :disabled="show"
|
|
|
|
- type="number"
|
|
|
|
- v-model="scope.row.rebateAmount"
|
|
|
|
- ></el-input>
|
|
|
|
|
|
+ <el-input style="width: 100%" class="mountclass" :disabled="show" type="number"
|
|
|
|
+ v-model="scope.row.rebateAmount"></el-input>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<!-- <el-table-column align="right" label="折让金额" prop="" min-width="160" show-overflow-tooltip>-->
|
|
<!-- <el-table-column align="right" label="折让金额" prop="" min-width="160" show-overflow-tooltip>-->
|
|
@@ -108,27 +83,17 @@
|
|
<!-- ></el-input>-->
|
|
<!-- ></el-input>-->
|
|
<!-- </template>-->
|
|
<!-- </template>-->
|
|
<!-- </el-table-column>-->
|
|
<!-- </el-table-column>-->
|
|
-<!-- <el-table-column-->
|
|
|
|
-<!-- align="left"-->
|
|
|
|
-<!-- label="备注"-->
|
|
|
|
-<!-- prop="policyDocNo"-->
|
|
|
|
-<!-- min-width="160"-->
|
|
|
|
-<!-- show-overflow-tooltip-->
|
|
|
|
-<!-- ></el-table-column>-->
|
|
|
|
- <el-table-column
|
|
|
|
- align="left"
|
|
|
|
- label="备注1"
|
|
|
|
- prop="remark1"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="left"
|
|
|
|
- label="备注2"
|
|
|
|
- prop="remark2"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ <!-- <el-table-column-->
|
|
|
|
+ <!-- align="left"-->
|
|
|
|
+ <!-- label="备注"-->
|
|
|
|
+ <!-- prop="policyDocNo"-->
|
|
|
|
+ <!-- min-width="160"-->
|
|
|
|
+ <!-- show-overflow-tooltip-->
|
|
|
|
+ <!-- ></el-table-column>-->
|
|
|
|
+ <el-table-column align="left" label="备注1" prop="remark1" min-width="160"
|
|
|
|
+ show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column align="left" label="备注2" prop="remark2" min-width="160"
|
|
|
|
+ show-overflow-tooltip></el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -170,12 +135,21 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
|
|
+
|
|
|
|
+ isCustomer() {
|
|
|
|
+ return this.$store.getters.customerId && this.$store.getters.customerNumber
|
|
|
|
+ },
|
|
show() {
|
|
show() {
|
|
if (this.isShow && this.examineStatus == 'OK_ONE') {
|
|
if (this.isShow && this.examineStatus == 'OK_ONE') {
|
|
|
|
+
|
|
this.state = 1
|
|
this.state = 1
|
|
|
|
+ if (this.isCustomer) {
|
|
|
|
+ return true
|
|
|
|
+ }
|
|
return false
|
|
return false
|
|
} else if (!this.isShow) {
|
|
} else if (!this.isShow) {
|
|
this.state = 2
|
|
this.state = 2
|
|
|
|
+ console.log(33);
|
|
return false
|
|
return false
|
|
} else if (this.isShow && (this.examineStatus == 'OK' || this.examineStatus == 'FAIL')) {
|
|
} else if (this.isShow && (this.examineStatus == 'OK' || this.examineStatus == 'FAIL')) {
|
|
return true
|
|
return true
|
|
@@ -274,8 +248,8 @@ export default {
|
|
this.saveDataList = this.deepCopy(res.data.items)
|
|
this.saveDataList = this.deepCopy(res.data.items)
|
|
this.dataList = res.data.items
|
|
this.dataList = res.data.items
|
|
|
|
|
|
- if (this.state !=1){
|
|
|
|
- this.dataList.forEach(k=>{
|
|
|
|
|
|
+ if (this.state != 1) {
|
|
|
|
+ this.dataList.forEach(k => {
|
|
k.rebateAmount = k.amount
|
|
k.rebateAmount = k.amount
|
|
})
|
|
})
|
|
}
|
|
}
|