新购增加阶段stage
This commit is contained in:
parent
916932f5fa
commit
c398a0de6b
|
|
@ -82,10 +82,10 @@
|
||||||
<el-table-column label="物资厂家" align="center" prop="supplier" :show-overflow-tooltip="true"/>
|
<el-table-column label="物资厂家" align="center" prop="supplier" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="操作人" align="center" prop="createBy" :show-overflow-tooltip="true"/>
|
<el-table-column label="操作人" align="center" prop="createBy" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="操作时间" align="center" prop="createTime" width="150" :show-overflow-tooltip="true"/>
|
<el-table-column label="操作时间" align="center" prop="createTime" width="150" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="状态" align="center" prop="taskStatus" :show-overflow-tooltip="true">
|
<el-table-column label="状态" align="center" prop="taskStatusName" :show-overflow-tooltip="true">
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
<dict-tag :options="dict.type.purchase_task_status" :value="scope.row.taskStatus"/>
|
<!-- <dict-tag :options="dict.type.purchase_task_status" :value="scope.row.taskStatus"/>-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true"/>
|
<el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="操作" align="center" width="250">
|
<el-table-column label="操作" align="center" width="250">
|
||||||
|
|
@ -346,7 +346,7 @@
|
||||||
this.queryParams.startTime=undefined
|
this.queryParams.startTime=undefined
|
||||||
this.queryParams.endTime=undefined
|
this.queryParams.endTime=undefined
|
||||||
}
|
}
|
||||||
// this.queryParams.taskStatus="2"
|
this.queryParams.taskStage= 2
|
||||||
this.queryParams.statusList=[2,12]
|
this.queryParams.statusList=[2,12]
|
||||||
getPurchaseList(this.queryParams).then(response => {
|
getPurchaseList(this.queryParams).then(response => {
|
||||||
this.tableList = response.data.rows;
|
this.tableList = response.data.rows;
|
||||||
|
|
@ -437,7 +437,7 @@
|
||||||
handleExport() {
|
handleExport() {
|
||||||
this.download(
|
this.download(
|
||||||
"/material/purchase_check_info/export",
|
"/material/purchase_check_info/export",
|
||||||
{ ...this.queryParams,statusList:[2,12] },
|
{ ...this.queryParams,statusList:[2,12],taskStage: 2 },
|
||||||
`新购到货验收_${new Date().getTime()}.xlsx`
|
`新购到货验收_${new Date().getTime()}.xlsx`
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -164,15 +164,15 @@
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="状态"
|
label="状态"
|
||||||
align="center"
|
align="center"
|
||||||
prop="taskStatus"
|
prop="taskStatusName"
|
||||||
:show-overflow-tooltip="true"
|
:show-overflow-tooltip="true"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
<dict-tag
|
<!-- <dict-tag-->
|
||||||
:options="dict.type.purchase_task_status"
|
<!-- :options="dict.type.purchase_task_status"-->
|
||||||
:value="scope.row.taskStatus"
|
<!-- :value="scope.row.taskStatus"-->
|
||||||
/>
|
<!-- />-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
<!-- <template slot-scope="scope">
|
<!-- <template slot-scope="scope">
|
||||||
<span v-if="scope.row.taskStatus==0">待提交</span>
|
<span v-if="scope.row.taskStatus==0">待提交</span>
|
||||||
<span v-if="scope.row.taskStatus==1">待通知</span>
|
<span v-if="scope.row.taskStatus==1">待通知</span>
|
||||||
|
|
@ -651,6 +651,7 @@ export default {
|
||||||
pageSize: this.queryParams.pageSize,
|
pageSize: this.queryParams.pageSize,
|
||||||
pageNum: this.queryParams.pageNum,
|
pageNum: this.queryParams.pageNum,
|
||||||
statusList: [1],
|
statusList: [1],
|
||||||
|
taskStage: 1,
|
||||||
};
|
};
|
||||||
getListNewBuy(this.addDateRange(params)).then((response) => {
|
getListNewBuy(this.addDateRange(params)).then((response) => {
|
||||||
this.typeList = response.data.rows;
|
this.typeList = response.data.rows;
|
||||||
|
|
@ -889,7 +890,7 @@ export default {
|
||||||
handleExport() {
|
handleExport() {
|
||||||
this.download(
|
this.download(
|
||||||
"/material/purchase_check_info/export",
|
"/material/purchase_check_info/export",
|
||||||
{ ...this.queryParams,statusList: [1] },
|
{ ...this.queryParams,statusList: [1],taskStage: 1 },
|
||||||
`新购到货_${new Date().getTime()}.xlsx`
|
`新购到货_${new Date().getTime()}.xlsx`
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -128,13 +128,13 @@
|
||||||
prop="createTime" width="150"
|
prop="createTime" width="150"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
/>
|
/>
|
||||||
<el-table-column label="状态" align="center" show-overflow-tooltip>
|
<el-table-column label="状态" align="center" prop="taskStatusName" show-overflow-tooltip>
|
||||||
<template slot-scope="{ row }">
|
<!-- <template slot-scope="{ row }">-->
|
||||||
<dict-tag
|
<!-- <dict-tag-->
|
||||||
:value="row.taskStatus"
|
<!-- :value="row.taskStatus"-->
|
||||||
:options="dict.type.purchase_task_status"
|
<!-- :options="dict.type.purchase_task_status"-->
|
||||||
/>
|
<!-- />-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|
@ -230,6 +230,7 @@ export default {
|
||||||
async getList() {
|
async getList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.queryParams.statusList=[3,13]
|
this.queryParams.statusList=[3,13]
|
||||||
|
this.queryParams.taskStage = 3
|
||||||
const res = await getNewBuyBindListApi(this.queryParams)
|
const res = await getNewBuyBindListApi(this.queryParams)
|
||||||
this.bindList = res.data.rows
|
this.bindList = res.data.rows
|
||||||
this.total = res.data.total
|
this.total = res.data.total
|
||||||
|
|
@ -277,7 +278,7 @@ export default {
|
||||||
console.log('数据导出')
|
console.log('数据导出')
|
||||||
this.download(
|
this.download(
|
||||||
"/material/purchase_check_info/export",
|
"/material/purchase_check_info/export",
|
||||||
{ ...this.queryParams,statusList:[3,13] },
|
{ ...this.queryParams,statusList:[3,13],taskStage:3 },
|
||||||
`新购到货入库_${new Date().getTime()}.xlsx`
|
`新购到货入库_${new Date().getTime()}.xlsx`
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -177,12 +177,12 @@
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="状态"
|
label="状态"
|
||||||
align="center"
|
align="center"
|
||||||
prop="taskStatus"
|
prop="taskStatusName"
|
||||||
:show-overflow-tooltip="true"
|
:show-overflow-tooltip="true"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
<dict-tag :options="dict.type.purchase_task_status" :value="scope.row.taskStatus"/>
|
<!-- <dict-tag :options="dict.type.purchase_task_status" :value="scope.row.taskStatus"/>-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="备注" align="center" prop="remark" />
|
<el-table-column label="备注" align="center" prop="remark" />
|
||||||
<el-table-column label="操作" align="center" width="250">
|
<el-table-column label="操作" align="center" width="250">
|
||||||
|
|
@ -390,6 +390,7 @@ export default {
|
||||||
this.queryParams.endTime = undefined
|
this.queryParams.endTime = undefined
|
||||||
}
|
}
|
||||||
this.queryParams.statusList=[3,13,4,14,19]
|
this.queryParams.statusList=[3,13,4,14,19]
|
||||||
|
this.queryParams.taskStage = 4
|
||||||
// this.queryParams.modelName="新购验收"
|
// this.queryParams.modelName="新购验收"
|
||||||
getPurchaseList(this.queryParams).then((response) => {
|
getPurchaseList(this.queryParams).then((response) => {
|
||||||
this.tableList = response.data.rows
|
this.tableList = response.data.rows
|
||||||
|
|
@ -473,7 +474,7 @@ export default {
|
||||||
handleExport() {
|
handleExport() {
|
||||||
this.download(
|
this.download(
|
||||||
"/material/purchase_check_info/export",
|
"/material/purchase_check_info/export",
|
||||||
{ ...this.queryParams,statusList:[3,13,4,14,19] },
|
{ ...this.queryParams,statusList:[3,13,4,14,19],taskStage: 4 },
|
||||||
`新购到货验收_${new Date().getTime()}.xlsx`
|
`新购到货验收_${new Date().getTime()}.xlsx`
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue