增加领料审核页面状态查询

This commit is contained in:
BianLzhaoMin 2024-06-12 16:53:33 +08:00
parent b5c59ac97a
commit a9a42f4421
6 changed files with 80 additions and 50 deletions

View File

@ -55,6 +55,23 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="审核状态" prop="taskStatus">
<el-select
v-model="queryParams.taskStatus"
filterable
clearable
style="width: 240px"
placeholder="请选择"
>
<el-option
v-for="item in taskStatusList"
:key="item.id"
:label="item.name"
:value="item.id"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item label="申请日期" prop="time">
<el-date-picker
@ -493,6 +510,7 @@ export default {
dictName: undefined,
dictType: undefined,
status: undefined,
taskStatus: '',
},
user: {},
unitList: [],
@ -542,6 +560,15 @@ export default {
// Id
currentDeptId: parseInt(sessionStorage.getItem('deptId')),
taskStatusList: [
{ name: '待分公司审核', id: 30 },
{ name: '待分管部门审核', id: 31 },
{ name: '待内部审核', id: 32 },
{ name: '待出库', id: 33 },
{ name: '出库进行中', id: 34 },
{ name: '已完成', id: 35 },
],
}
},
created() {
@ -567,6 +594,7 @@ export default {
const params = {
unitId: this.queryParams.unitId,
projectId: this.queryParams.proId,
taskStatus: this.queryParams.taskStatus,
keyWord: this.queryParams.keyWord,
startTime: this.queryParams.time && this.queryParams.time[0],
endTime: this.queryParams.time && this.queryParams.time[1],

View File

@ -6,6 +6,7 @@
:pageContent="pageContent"
@goBack="goBack"
/>
<keep-alive include="Home">
<component
:is="isShowComponent"
:isView="isView"
@ -14,6 +15,7 @@
@pickingAuditing="pickingAuditing"
@goBackPage="goBack"
/>
</keep-alive>
</div>
</template>

View File

@ -655,7 +655,7 @@ export default {
}
/* 解决验证码输入框与密码输入框对齐问题 */
.code-container .el-form-item__content {
::v-deep .code-container .el-form-item__content {
display: flex;
}

View File

@ -113,11 +113,7 @@
:config="dialogConfig"
>
<template slot="imgPreview">
<ImagePreview
:src="``"
:width="`30px`"
:height="`30px`"
/>
<ScrapImg />
</template> </TableModel
></template>
@ -151,6 +147,7 @@ import SelDepart from '../../component/selDepart.vue'
import ScrapSource from '../../component/scrapSource.vue'
import AuditingReturn from '../auditingReturn/index.vue' // 退
import AuditingDetails from '../../component/auditingDetails.vue'
import ScrapImg from '../../component/scrapImg.vue'
import {
getPreScrapListApi,
getDialogListApi,
@ -166,6 +163,7 @@ export default {
ScrapSource,
AuditingReturn,
AuditingDetails,
ScrapImg,
},
data() {
return {

View File

@ -207,7 +207,7 @@
type="text"
icon="el-icon-edit"
v-if="
(scope.row.purchasingStatus == '验收合格') &&
scope.row.purchasingStatus == '验收合格' &&
scope.row.manageType != '1'
"
@click="handleCode(scope.row)"
@ -220,7 +220,8 @@
icon="el-icon-edit"
v-if="
scope.row.purchasingStatus == '验收合格' ||
scope.row.purchasingStatus == '综合服务中心审核中' ||
scope.row.purchasingStatus ==
'综合服务中心审核中' ||
scope.row.purchasingStatus == '入库审核中' ||
scope.row.purchasingStatus == '入库审核未通过' ||
scope.row.purchasingStatus == '部分已入库' ||
@ -231,7 +232,7 @@
>
<el-button
size="mini"
type="success"
type="text"
icon="el-icon-edit"
v-if="scope.row.purchasingStatus == '验收合格'"
@click="handleSubmit(scope.row)"
@ -245,7 +246,8 @@
v-if="
scope.row.purchasingStatus == '待通知' ||
scope.row.purchasingStatus == '验收未通过' ||
scope.row.purchasingStatus == '综合服务中心未通过' ||
scope.row.purchasingStatus ==
'综合服务中心未通过' ||
scope.row.purchasingStatus == '入库审核未通过'
"
@click="handleDelete(scope.row)"
@ -518,7 +520,7 @@ export default {
{ label: '入库审核中', taskState: 105 },
{ label: '入库审核未通过', taskState: 107 },
{ label: '部分已入库', taskState: 123 },
{ label: '已全部入库', taskState: 28 }
{ label: '已全部入库', taskState: 28 },
],
//
typeList: [],

View File

@ -43,11 +43,11 @@ module.exports = {
// target: `https://test-cc.zhgkxt.com`,//线上环境-南网
// target: `https://z.csgmall.com.cn`,
// target: `http://10.40.92.50:28080`, //超
target: `http://10.40.92.51:28080`, //超
// target: `http://10.40.92.81:8080`, //韩/
// target: `http://10.40.92.74:8080`,//旭/
// target: `http://10.40.92.148:28080`, //帅
target: `http://10.40.92.253:28080`, //福
// target: `http://10.40.92.253:28080`, //福
//******** 注意事项 ********* */
//1.全局替换qrUrl二维码扫码提供的网址-发布服务器的地址target;