diff --git a/src/views/cxtj/index.js b/src/views/cxtj/index.js
new file mode 100644
index 0000000..e0422fe
--- /dev/null
+++ b/src/views/cxtj/index.js
@@ -0,0 +1,12 @@
+import 作业计划完成量统计 from "@/views/cxtj/作业计划完成量统计";
+
+const methods={
+ '/scgl/jh/cxtj1':作业计划完成量统计()
+}
+
+const init=(page)=>{
+ return {...methods[page]}
+}
+
+export default init
+
diff --git a/src/views/cxtj/index.vue b/src/views/cxtj/index.vue
new file mode 100644
index 0000000..135ff10
--- /dev/null
+++ b/src/views/cxtj/index.vue
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/cxtj/作业计划完成量统计.js b/src/views/cxtj/作业计划完成量统计.js
new file mode 100644
index 0000000..59b805f
--- /dev/null
+++ b/src/views/cxtj/作业计划完成量统计.js
@@ -0,0 +1,96 @@
+import XEUtils from 'xe-utils'
+import request from '@/utils/request'
+import {getSumAdd} from "@/utils/rpkj";
+
+const 作业计划完成量统计=()=>{
+
+ const butClick=()=>{
+ 作业计划完成量(data.formData).then(res=>{
+ data.options.data=res.data
+ })
+ }
+
+ const footerMethod=({ columns, data })=>{
+ return [
+ columns.map((column, columnIndex) => {
+ if (['total','bclqzl','bcshzl'].includes(column.property)) {
+ return getSumAdd(data, column.property)
+ }
+ if (columnIndex === 1) {
+ return '合计'
+ }
+ return null
+ })
+ ]
+ }
+
+ const data={
+ formData:{
+ from:XEUtils.toDateString(new Date(),'yyyy/MM/dd'),
+ to:XEUtils.toDateString(new Date(),'yyyy/MM/dd'),
+ },
+ formItems:[
+ { field: 'from', title: '开始日期', span: 4,
+ itemRender: {
+ name: '$input', props: {type:'date', labelFormat:'yyyy/MM/dd',valueFormat:'yyyy/MM/dd',placeholder: '请选择日期' }
+ }
+ },
+ { field: 'to', title: '结束日期', span: 4 ,
+ itemRender: {
+ name: '$input', props: {type:'date', labelFormat:'yyyy/MM/dd',valueFormat:'yyyy/MM/dd',placeholder: '请选择日期' }
+ }
+ },
+ {span: 16 ,align:'right',
+ itemRender: {
+ name: '$button', props: {content:'查询',status:'primary'},events:{click:butClick}
+ }
+ },
+ ],
+ options:{
+ height:760,
+ align:'center',
+ border: true,
+ resizable: true,
+ keepSource:true,
+ size:'mini',
+ showOverflow: true,
+ scrollY:{enable:true},
+ editConfig:{trigger: 'click', mode: 'cell', showStatus: true},
+ highlightCurrentRow:true,
+ showFooter:true,
+ footerMethod:footerMethod,
+ data:[],
+ },
+ columns:[
+ { type: 'seq', width: 60, title: '序号' },
+ { field: 'dc_ch', title: '船号',
+ filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
+ filterRender: { name: 'FilterCombination', },
+ },
+ { field: 'total', title: '加工数量',
+ filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
+ filterRender: { name: 'FilterCombination', },
+ },
+ { field: 'bclqzl', title: '领取重量',
+ filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
+ filterRender: { name: 'FilterCombination', },
+ },
+ { field: 'bcshzl', title: '实耗重量',
+ filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
+ filterRender: { name: 'FilterCombination', },
+ },
+ ]
+ }
+
+ return data
+}
+
+const 作业计划完成量=(data)=>{
+ return request({
+ url: "/kban/zyjhwcl",
+ method: "post",
+ data,
+ });
+}
+
+export default 作业计划完成量统计
diff --git a/src/views/jhzx/ydjhzxCX.vue b/src/views/jhzx/ydjhzxCX.vue
index c122060..8fe3f48 100644
--- a/src/views/jhzx/ydjhzxCX.vue
+++ b/src/views/jhzx/ydjhzxCX.vue
@@ -840,7 +840,6 @@ export default {
res.data?.forEach(item=>{
this.workers[item.userCode]=item.userName;
})
- console.log(this.workers)
})
},
//未完成悬浮提示