diff --git a/sgzb-ui/src/components/DialogModel/index.vue b/sgzb-ui/src/components/DialogModel/index.vue
index 744762e5..0db62f1f 100644
--- a/sgzb-ui/src/components/DialogModel/index.vue
+++ b/sgzb-ui/src/components/DialogModel/index.vue
@@ -53,5 +53,3 @@
},
}
-
-
diff --git a/sgzb-ui/src/components/TableModel/index.vue b/sgzb-ui/src/components/TableModel/index.vue
index 29c4af47..d1b6688b 100644
--- a/sgzb-ui/src/components/TableModel/index.vue
+++ b/sgzb-ui/src/components/TableModel/index.vue
@@ -167,7 +167,6 @@
methods: {
/* form 查询组件触发的自定义事件 */
async queryList(val, reset) {
- console.log('查询')
if (reset) {
this.pageParams.pageNum = 1
this.pageParams.pageSize = 10
@@ -197,7 +196,6 @@
/* 表格复选框事件 */
handleSelectionChange(row) {
- console.log(row, '列表复选框')
this.$emit('getTableSelectionChange', row)
},
/* 清除表格的选中状态 */
diff --git a/sgzb-ui/src/views/scrapManage/component/selDepart.vue b/sgzb-ui/src/views/scrapManage/component/selDepart.vue
index 2efafe42..046e976a 100644
--- a/sgzb-ui/src/views/scrapManage/component/selDepart.vue
+++ b/sgzb-ui/src/views/scrapManage/component/selDepart.vue
@@ -106,7 +106,6 @@
}
})
- console.log(temp, 'temp')
if (temp) {
this.$message.error('该单位已选择,不可重复选择')
return
@@ -145,13 +144,15 @@
/* 取消按钮 */
handelCancel() {
- this.selDeptList = []
this.$emit('closeDepartSel', false)
+ this.selDeptList = []
+ this.selDeptAmount = 0
},
/* 确定按钮 */
handelSubmit() {
this.$emit('closeDepartSel', false, this.selDeptList)
this.selDeptList = []
+ this.selDeptAmount = 0
},
},
watch: {
diff --git a/sgzb-ui/src/views/scrapManage/forecastWaste/auditingReturn.vue b/sgzb-ui/src/views/scrapManage/forecastWaste/auditingReturn.vue
deleted file mode 100644
index 555230fb..00000000
--- a/sgzb-ui/src/views/scrapManage/forecastWaste/auditingReturn.vue
+++ /dev/null
@@ -1,94 +0,0 @@
-
-
-
-
-
-
- 完成退料
-
-
-
- {{ btn.btn_title }}
-
-
-
-
-
-
-
-
-
-
-
diff --git a/sgzb-ui/src/views/scrapManage/forecastWaste/auditingcss.vue b/sgzb-ui/src/views/scrapManage/forecastWaste/auditingcss.vue
deleted file mode 100644
index 9c3f5d09..00000000
--- a/sgzb-ui/src/views/scrapManage/forecastWaste/auditingcss.vue
+++ /dev/null
@@ -1,357 +0,0 @@
-
-
-
-
-
-
- 退料
- 维修审核
- 盘点
-
-
-
- {{
- data.repairCode
- }}
- {{
- data.scrapNum
- }}
-
-
-
- 待审核
- 审核中
- 已驳回
- 已通过
-
-
- 查看
- 审核
-
-
-
-
-
-
-
-
- 待审核
- 通过
- 驳回
-
-
-
-
-
- 通 过
- 驳 回
-
-
-
-
- 请输入驳回原因
-
-
-
-
-
-
-
-
- 取 消
- 保 存
-
-
-
-
-
-
-
-
-
diff --git a/sgzb-ui/src/views/scrapManage/forecastWaste/index.js b/sgzb-ui/src/views/scrapManage/forecastWaste/index.js
deleted file mode 100644
index b3128b43..00000000
--- a/sgzb-ui/src/views/scrapManage/forecastWaste/index.js
+++ /dev/null
@@ -1,152 +0,0 @@
-
-import {
- getUnitInfoSelectApi,
- listPartTypeApi,
-} from '@/api/repairTest/repair'
-import { getProjectList } from '@/api/claimAndRefund/receive'
-
-let unitList = [] //单位下拉数据
-let proList = [] //工程下拉数据
-let typeList = [] //类型下拉数据
-export const config = {
- /* 预报废审核主页 列表参数 */
- tableProps: [
- { t_width: '55px', t_props: '', t_label: '序号' },
- { t_width: '', t_props: 'scrapNum', t_label: '预报废单号', },
- { t_width: '', t_props: '', t_label: '报废来源', t_slot: 'source', },
- { t_width: '', t_props: 'repairNum', t_label: '单号', t_slot: 'code', },
- { t_width: '', t_props: 'unitName', t_label: '退料单位名称', },
- { t_width: '', t_props: 'projectName', t_label: '退料工程名称', },
- { t_width: '', t_props: 'itemType', t_label: '设备类型', },
- { t_width: '', t_props: 'createBy', t_label: '任务创建人', },
- { t_width: '', t_props: 'createTime', t_label: '任务创建时间', },
- { t_width: '', t_props: 'taskStatus', t_label: '审核状态', t_slot: 'type', },
- { t_width: '', t_props: '', t_label: '不通过原因', },
- ],
- /* 预报废审核主页表单 查询参数 */
- formLabel: [
- { f_label: '关键字', f_model: 'keywords', f_type: 'ipt' },
- { f_label: '单位名称', f_model: 'backUnit', f_type: 'sel', f_selList: [] },
- { f_label: '工程名称', f_model: 'backPro', f_type: 'sel', f_selList: [] },
- { f_label: '工机具类型', f_model: 'type', f_type: 'selCas', f_selList: [], optionProps: { value: 'id', } },
- { f_label: '报废来源', f_model: 'laiyuan', f_type: 'sel', f_selList: [] },
- { f_label: '审批状态', f_model: 'taskStatus', f_type: 'sel', f_selList: [] },
- { f_label: '创建时间', f_model: 'time', f_type: 'date' },
- ],
- /* 预报废审核弹框内 列表参数 */
- previewTableProps: [
- { t_width: '55px', t_props: '', t_label: '序号' },
- { t_width: '', t_props: 'machineTypeName', t_label: '设备类型' },
- { t_width: '', t_props: 'specificationType', t_label: '规格型号' },
- { t_width: '', t_props: 'maCode', t_label: '设备编码' },
- { t_width: '', t_props: 'scrapNum', t_label: '设备数量' },
- { t_width: '', t_props: 'status', t_label: '审批状态', t_slot: 't_type' },
- { t_width: '', t_props: '', t_label: '报废原因' },
- { t_width: '', t_props: '', t_label: '报废图片' },
- { t_width: '', t_props: 'remark', t_label: '备注' },
- ],
- /* 预报废审核弹框表单 查询参数 */
- previewFormLabel: [
- { f_label: '类型名称', f_model: 'keywords', f_type: 'ipt' },
- ],
-
- /* 预报废列表主页 列表参数 */
- listingTableProps: [
- { t_width: '55px', t_props: '', t_label: '序号' },
- { t_width: '', t_props: 'scrapNum', t_label: '报废单号' },
- { t_width: '', t_props: '', t_label: '报废类型' },
- { t_width: '', t_props: 'repairNum', t_label: '预报废单号' },
- { t_width: '', t_props: 'unitName', t_label: '退料单位名称' },
- { t_width: '', t_props: 'projectName', t_label: '退料工程名称' },
- { t_width: '', t_props: 'itemType', t_label: '机具类型' },
- { t_width: '', t_props: 'createBy', t_label: '任务创建人' },
- { t_width: '', t_props: 'createTime', t_label: '任务创建时间' },
- { t_width: '', t_props: 'taskStatus', t_label: '审核状态', t_slot: 'type' },
- ],
- /* 预报废列表主页表单 查询参数 */
- listingFormLabel: [
- { f_label: '关键字', f_model: 'keywords', f_type: 'ipt' },
- { f_label: '单位名称', f_model: 'backUnit', f_type: 'sel', f_selList: [] },
- { f_label: '工程名称', f_model: 'backPro', f_type: 'sel', f_selList: [] },
- { f_label: '工机具类型', f_model: 'type', f_type: 'selCas', f_selList: [], optionProps: { value: 'id', } },
- { f_label: '报废单号', f_model: 'laiyuan', f_type: 'ipt', f_selList: [] },
- { f_label: '审批状态', f_model: 'shentype', f_type: 'sel', f_selList: [] },
- { f_label: '创建时间', f_model: 'time', f_type: 'date' },
- { f_label: '报废类型', f_model: 'shentype', f_type: 'sel', f_selList: [] },
- ],
- /* 预报废列表查看弹框内 列表参数 */
- listingPreviewTableProps: [
- { t_width: '55px', t_props: '', t_label: '序号' },
- { t_width: '', t_props: 'demo', t_label: '设备类型' },
- { t_width: '', t_props: '', t_label: '规格型号' },
- { t_width: '', t_props: '', t_label: '设备编码' },
- { t_width: '', t_props: '', t_label: '设备数量' },
- { t_width: '', t_props: '', t_label: '报废原因' },
- { t_width: '', t_props: '', t_label: '报废图片' },
- { t_width: '', t_props: '', t_label: '备注' },
- ],
- /* 预报废列表页面驳回退料 列表参数 */
- returnTableProps: [
- { t_width: '55px', t_props: '', t_label: '序号' },
- { t_width: '', t_props: 'demo', t_label: '类型名称' },
- { t_width: '', t_props: '', t_label: '规格型号' },
- { t_width: '', t_props: '', t_label: '数量' },
- { t_width: '', t_props: '', t_label: '合格数量' },
- { t_width: '', t_props: '', t_label: '维修数量' },
- { t_width: '', t_props: '', t_label: '预报废数量' },
- { t_width: '', t_props: '', t_label: '状态' },
- ],
- /* 预报废页面驳回退料 查询参数 */
- returnFormLabel: [
- { f_label: '关键字', f_model: 'keywords', f_type: 'ipt' },
- { f_label: '类型名称', f_model: 'backUnit', f_type: 'sel', f_selList: [] },
- { f_label: '规格型号', f_model: 'backPro', f_type: 'sel', f_selList: [] },
- ],
-
- /* 预报废页面驳回退料 查看弹框内列表参数 */
- returnPreviewTableProps: [
- { t_width: '55px', t_props: '', t_label: '序号' },
- { t_width: '', t_props: 'demo', t_label: '设备类型' },
- { t_width: '', t_props: '', t_label: '规格型号' },
- { t_width: '', t_props: '', t_label: '设备编码' },
- { t_width: '', t_props: '', t_label: '退料状态' },
- ],
-}
-
-export const getSelList = () => {
- new Promise(async (resolve) => {
- const { data: unitRes } = await getUnitInfoSelectApi()
- unitList = unitRes.map((e) => {
- e.value = e.unitId
- e.label = e.unitName
- return e
- })
- const { data: proRes } = await getProjectList()
- proList = proRes.map((e) => {
- e.value = e.projectId
- e.label = e.projectName
- return e
- })
- const { data: typeRes } = await listPartTypeApi()
- typeList = typeRes
- resolve()
- }).then(() => {
- config.formLabel.map((item) => {
- if (item.f_model === 'backUnit') {
- item.f_selList = unitList
- return item
- }
- if (item.f_model === 'backPro') {
- item.f_selList = proList
- return item
- }
- if (item.f_model === 'type') {
- item.f_selList = typeList
- return item
- }
- })
- }).catch(() => {
-
- })
-}
-
diff --git a/sgzb-ui/src/views/scrapManage/forecastWaste/listing/index.vue b/sgzb-ui/src/views/scrapManage/forecastWaste/listing/index.vue
index 2ec5bb77..19caffe5 100644
--- a/sgzb-ui/src/views/scrapManage/forecastWaste/listing/index.vue
+++ b/sgzb-ui/src/views/scrapManage/forecastWaste/listing/index.vue
@@ -5,6 +5,7 @@
@@ -137,7 +138,7 @@
import TableModel from '@/components/TableModel'
import DialogModel from '@/components/DialogModel'
import SelDepart from '../../component/selDepart.vue'
- import AuditingReturn from '../auditingReturn.vue' // 退料驳回页面
+ import AuditingReturn from '../auditingReturn/index.vue' // 退料驳回页面
import {
getPreScrapListApi,
getDialogListApi,
@@ -158,12 +159,13 @@
getPreScrapListApi,
getDialogListApi,
tableSelList: [],
- sendParams: {},
+ sendParams: {}, // 列表查看时参数
temp: false,
getSelList,
}
},
created() {
+ /* 获取表单下拉选数据 */
this.getSelList()
},
methods: {
@@ -175,6 +177,7 @@
this.dialogConfig.outerVisible = true
},
handleSubmitScrap(row) {
+ console.log(row, '报废**')
this.dialogConfig.outerTitle = '提交报废'
this.dialogConfig.outerWidth = '50%'
this.dialogConfig.outerVisible = true
@@ -189,9 +192,13 @@
},
/* 关闭选择审批部门弹框 */
- closeDepartSel(val, list) {
+ async closeDepartSel(val, list) {
console.log(list, '选择的部门')
+ if (list.length > 1) {
+ console.log('调审核接口')
+ }
this.dialogConfig.outerVisible = val
+ this.$refs.listingTbRef.getList()
},
/* 批量提交报废按钮 */
handelSubmitScrap() {
diff --git a/sgzb-ui/src/views/scrapManage/forecastWaste/listingcss.vue b/sgzb-ui/src/views/scrapManage/forecastWaste/listingcss.vue
deleted file mode 100644
index 335c2019..00000000
--- a/sgzb-ui/src/views/scrapManage/forecastWaste/listingcss.vue
+++ /dev/null
@@ -1,263 +0,0 @@
-
-
-
-
-
-
-
- 提交报废
-
-
-
-
- 查看
- 提交报废
- 审批详情
- 驳回退料
-
-
-
- 待提交
- 审核中
- 已驳回
- 已通过
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 驳回退料
- 返回
-
-
-
-
-
-
-
-
-
diff --git a/sgzb-ui/src/views/scrapManage/scrap/disposition/index.vue b/sgzb-ui/src/views/scrapManage/scrap/disposition/index.vue
index 72b02d80..f85a386c 100644
--- a/sgzb-ui/src/views/scrapManage/scrap/disposition/index.vue
+++ b/sgzb-ui/src/views/scrapManage/scrap/disposition/index.vue
@@ -49,7 +49,7 @@
>
- 上传
+