fix: 退料接收管理-退料状态下拉项
This commit is contained in:
parent
4520e6d1bf
commit
09f732bae0
|
|
@ -654,13 +654,25 @@
|
||||||
proList: [],
|
proList: [],
|
||||||
taskStatusList: [
|
taskStatusList: [
|
||||||
{
|
{
|
||||||
name: '待审核',
|
name: '待退料审核',
|
||||||
id: '37',
|
id: '37',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '已审核',
|
name: '退料审核通过',
|
||||||
id: '38',
|
id: '38',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: '退料核查中',
|
||||||
|
id: '39',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '退料完成',
|
||||||
|
id: '40',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '退料审核驳回',
|
||||||
|
id: '101',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
rowObj: {},
|
rowObj: {},
|
||||||
loadingType: '',
|
loadingType: '',
|
||||||
|
|
@ -677,6 +689,7 @@
|
||||||
methods: {
|
methods: {
|
||||||
getTree() {
|
getTree() {
|
||||||
listPartTypeApi().then((response) => {
|
listPartTypeApi().then((response) => {
|
||||||
|
console.log('🚀 ~ listPartTypeApi ~ response:', response);
|
||||||
this.deptList = response.data
|
this.deptList = response.data
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -657,13 +657,25 @@
|
||||||
proList: [],
|
proList: [],
|
||||||
taskStatusList: [
|
taskStatusList: [
|
||||||
{
|
{
|
||||||
name: '待审核',
|
name: '待退料审核',
|
||||||
id: '37',
|
id: '37',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '已审核',
|
name: '退料审核通过',
|
||||||
id: '38',
|
id: '38',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: '退料核查中',
|
||||||
|
id: '39',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '退料完成',
|
||||||
|
id: '40',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '退料审核驳回',
|
||||||
|
id: '101',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
rowObj: {},
|
rowObj: {},
|
||||||
loadingType: '',
|
loadingType: '',
|
||||||
|
|
|
||||||
|
|
@ -142,30 +142,33 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="退料状态" align="center" :show-overflow-tooltip="true">
|
<el-table-column label="退料状态" align="center" :show-overflow-tooltip="true">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- 状态
|
<el-button type="text" v-if="scope.row.taskStatus == '37'">
|
||||||
37-待审核
|
待审核
|
||||||
38-已审核-->
|
</el-button>
|
||||||
<el-button type="text" v-if="scope.row.applyStatus == '0'">待审核</el-button>
|
|
||||||
<el-button
|
<el-button
|
||||||
type="text"
|
type="text"
|
||||||
style="color: #67c23a"
|
style="color: #67c23a"
|
||||||
v-if="
|
v-if="scope.row.taskStatus == '38'"
|
||||||
scope.row.applyStatus == '1' ||
|
>
|
||||||
scope.row.applyStatus == '3'
|
已审核
|
||||||
"
|
</el-button>
|
||||||
>退料通过</el-button>
|
<el-button type="text" v-if="scope.row.taskStatus == '39'">
|
||||||
<!-- <el-button type="text" v-if="scope.row.taskStatus == '39'">
|
|
||||||
退料核查
|
退料核查
|
||||||
</el-button>-->
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
type="text"
|
type="text"
|
||||||
style="color: red"
|
style="color: #67c23a"
|
||||||
v-if="
|
v-if="scope.row.taskStatus == '40'"
|
||||||
scope.row.applyStatus == '2' ||
|
>
|
||||||
scope.row.applyStatus == '4'
|
退料完成
|
||||||
"
|
</el-button>
|
||||||
>退料驳回</el-button>
|
<el-button
|
||||||
<el-button type="text" style="color: #67c23a" v-if="scope.row.taskStatus == '40'">退料完成</el-button>
|
type="text"
|
||||||
|
style="color: #67c23a"
|
||||||
|
v-if="scope.row.taskStatus == '101'"
|
||||||
|
>
|
||||||
|
退料驳回
|
||||||
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="不通过原因" align="center" prop="dictName" :show-overflow-tooltip="true" />
|
<el-table-column label="不通过原因" align="center" prop="dictName" :show-overflow-tooltip="true" />
|
||||||
|
|
@ -513,13 +516,25 @@ export default {
|
||||||
proList: [],
|
proList: [],
|
||||||
taskStatusList: [
|
taskStatusList: [
|
||||||
{
|
{
|
||||||
name: '待审核',
|
name: '待退料审核',
|
||||||
id: '37',
|
id: '37',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '已审核',
|
name: '退料审核通过',
|
||||||
id: '38',
|
id: '38',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: '退料核查中',
|
||||||
|
id: '39',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '退料完成',
|
||||||
|
id: '40',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '退料审核驳回',
|
||||||
|
id: '101',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
loadingList: [],
|
loadingList: [],
|
||||||
loadingTotal: 0,
|
loadingTotal: 0,
|
||||||
|
|
@ -548,6 +563,7 @@ export default {
|
||||||
console.log('paramsparamsparams', params)
|
console.log('paramsparamsparams', params)
|
||||||
const res = await getBackAuditList(params)
|
const res = await getBackAuditList(params)
|
||||||
this.typeList = res.data.rows
|
this.typeList = res.data.rows
|
||||||
|
console.log('🚀 ~ getList ~ this.typeList:', this.typeList);
|
||||||
this.total = res.data.total
|
this.total = res.data.total
|
||||||
this.loading = false
|
this.loading = false
|
||||||
} catch (error) {}
|
} catch (error) {}
|
||||||
|
|
@ -576,6 +592,7 @@ export default {
|
||||||
/** 重置按钮操作 */
|
/** 重置按钮操作 */
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.dateRange = []
|
this.dateRange = []
|
||||||
|
this.timeRange = []
|
||||||
// this.resetForm("queryForm");
|
// this.resetForm("queryForm");
|
||||||
this.$refs.queryForm.resetFields()
|
this.$refs.queryForm.resetFields()
|
||||||
this.initSelectData()
|
this.initSelectData()
|
||||||
|
|
|
||||||
|
|
@ -253,13 +253,25 @@
|
||||||
proList: [],
|
proList: [],
|
||||||
taskStatusList: [
|
taskStatusList: [
|
||||||
{
|
{
|
||||||
name: '待审核',
|
name: '待退料审核',
|
||||||
id: '37'
|
id: '37',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '已审核',
|
name: '退料审核通过',
|
||||||
id: '38'
|
id: '38',
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
name: '退料核查中',
|
||||||
|
id: '39',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '退料完成',
|
||||||
|
id: '40',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '退料审核驳回',
|
||||||
|
id: '101',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
rowObj: {},
|
rowObj: {},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue