|
@@ -38,15 +38,23 @@
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
|
<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-form-item>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
|
<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-form-item>
|
|
|
</el-col>
|
|
@@ -56,11 +64,23 @@
|
|
|
<!-- 列表 -->
|
|
|
<div class="mymain-container">
|
|
|
<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 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>
|
|
|
<!-- <template slot-scope="scope">
|
|
|
|
|
@@ -68,8 +88,13 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="right" label="返利金额" prop="" min-width="160" show-overflow-tooltip>
|
|
|
<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>
|
|
|
</el-table-column>
|
|
|
<!-- <el-table-column align="right" label="折让金额" prop="" min-width="160" show-overflow-tooltip>-->
|
|
@@ -90,10 +115,20 @@
|
|
|
<!-- 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="备注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>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -135,13 +170,11 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
-
|
|
|
isCustomer() {
|
|
|
return this.$store.getters.customerId && this.$store.getters.customerNumber
|
|
|
},
|
|
|
show() {
|
|
|
if (this.isShow && this.examineStatus == 'OK_ONE') {
|
|
|
-
|
|
|
this.state = 1
|
|
|
if (this.isCustomer) {
|
|
|
return true
|
|
@@ -149,7 +182,7 @@ export default {
|
|
|
return false
|
|
|
} else if (!this.isShow) {
|
|
|
this.state = 2
|
|
|
- console.log(33);
|
|
|
+ console.log(33)
|
|
|
return false
|
|
|
} else if (this.isShow && (this.examineStatus == 'OK' || this.examineStatus == 'FAIL')) {
|
|
|
return true
|
|
@@ -229,7 +262,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
this.$emit('updateList')
|
|
|
- this.$parent.showPage = 1
|
|
|
+ this.$emit('setShowPage', 1)
|
|
|
},
|
|
|
//获取详情数据
|
|
|
async getDataList() {
|
|
@@ -255,7 +288,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
goBack() {
|
|
|
- this.$parent.showPage = 1
|
|
|
+ this.$emit('setShowPage', 1)
|
|
|
}
|
|
|
}
|
|
|
}
|