+
全选
123
123
123
@@ -155,6 +157,7 @@
pageNum: 1,
pageSize: 10,
},
+ columCheckList: [],
}
},
created() {
@@ -182,8 +185,11 @@
this.sendParams,
)
const res = await this.sendApi(this.pageParams)
- this.tableList = res.rows
- this.total = res.total
+
+ if (res.code == 200) {
+ this.tableList = res.rows
+ this.total = res.total
+ }
},
/* 表格复选框 */
@@ -199,4 +205,9 @@
}
-
+
diff --git a/sgzb-ui/src/views/scrapManage/forecastWaste/auditing.vue b/sgzb-ui/src/views/scrapManage/forecastWaste/auditing.vue
index f52cc4a1..2f874786 100644
--- a/sgzb-ui/src/views/scrapManage/forecastWaste/auditing.vue
+++ b/sgzb-ui/src/views/scrapManage/forecastWaste/auditing.vue
@@ -8,6 +8,7 @@
:exportShow="true"
:pageShow="true"
:isSelShow="true"
+ ref="tableRef"
@getTableSelectionChange="getTableSelChangeOuter"
>
@@ -30,12 +31,31 @@
待审核
+
审核中
+
已驳回
+
已通过
查看
- 审核
@@ -129,8 +149,7 @@
+
+
diff --git a/sgzb-ui/src/views/scrapManage/forecastWaste/index.js b/sgzb-ui/src/views/scrapManage/forecastWaste/index.js
index d67d41e4..d019b039 100644
--- a/sgzb-ui/src/views/scrapManage/forecastWaste/index.js
+++ b/sgzb-ui/src/views/scrapManage/forecastWaste/index.js
@@ -8,7 +8,7 @@ import { getProjectList } from '@/api/claimAndRefund/receive'
let unitList = [] //单位下拉数据
let proList = [] //工程下拉数据
let typeList = [] //类型下拉数据
-const config = {
+export const config = {
/* 预报废审核主页 列表参数 */
tableProps: [
{ t_width: '55px', t_props: '', t_label: '序号' },
@@ -86,6 +86,23 @@ const config = {
{ 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: [] },
+ ],
}
export const getSelList = () => {
@@ -128,4 +145,3 @@ export const getSelList = () => {
}
-export default config
\ No newline at end of file
diff --git a/sgzb-ui/src/views/scrapManage/forecastWaste/listing.vue b/sgzb-ui/src/views/scrapManage/forecastWaste/listing.vue
index 869eb8eb..0ece0712 100644
--- a/sgzb-ui/src/views/scrapManage/forecastWaste/listing.vue
+++ b/sgzb-ui/src/views/scrapManage/forecastWaste/listing.vue
@@ -1,7 +1,15 @@
+
{
+ this.temp = !this.temp
+ }
+ "
+ >测试
-
+
提交报废
@@ -75,10 +83,9 @@
-
-
- 123456
-
+
+
+
@@ -87,13 +94,15 @@
import TableModel from '../component/tableModel.vue'
import DialogModel from '../component/dialogModel.vue'
import SelDepart from '../component/selDepart.vue'
- import config from './index'
+ import AuditingReturn from './auditingReturn.vue' // 退料驳回页面
+ import { config } from './index'
export default {
name: 'scrapListing',
components: {
TableModel,
DialogModel,
SelDepart,
+ AuditingReturn,
},
data() {
return {
@@ -115,6 +124,7 @@
{ btn_title: '提交报废', id: 2 },
{ btn_title: '审批详情', id: 3 },
],
+ temp: false,
}
},
methods: {
@@ -155,7 +165,7 @@
this.selDepart = this.dialogVisible = val
},
/* 批量提交报废按钮 */
- submitScrap() {
+ handelSubmitScrap() {
if (this.tableSelList.length < 1) {
this.$message.error('请勾选列表数据!')
} else {