diff --git a/package.json b/package.json index c6f4819..5313e36 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "dev": "vue-cli-service serve", "local": "vue-cli-service serve --mode local", - "server": "vue-cli-service serve --mode server", + "serve": "vue-cli-service serve --mode server", "test": "vue-cli-service serve --mode test", "lint": "eslint --ext .js,.vue src", "build:test": "vue-cli-service build --mode test", diff --git a/src/assets/KHCFDC_PDF.png b/src/assets/KHCFDC_PDF.png new file mode 100644 index 0000000..cd1996b Binary files /dev/null and b/src/assets/KHCFDC_PDF.png differ diff --git a/src/components/ProjectSelect/index.vue b/src/components/ProjectSelect/index.vue index 5e68f7f..6bbd1c0 100644 --- a/src/components/ProjectSelect/index.vue +++ b/src/components/ProjectSelect/index.vue @@ -36,8 +36,8 @@ export default { props:{ _style:{ type:Object, - default:{ - width:'150px' + default:()=>{ + return {width:'150px'} } } }, diff --git a/src/views/jhzx/ydjhzxCX.vue b/src/views/jhzx/ydjhzxCX.vue index 9846b14..974bafa 100644 --- a/src/views/jhzx/ydjhzxCX.vue +++ b/src/views/jhzx/ydjhzxCX.vue @@ -177,7 +177,7 @@ export default { filterRender: { name: 'FilterCombination', }, editRender:{ name: '$input', props: { type: 'date',labelFormat:"yyyy/MM/dd",valueFormat:"yyyy/MM/dd" }} }, - { field: 'bs', title: '板数',width: 80, + { field: 'bs', title: '套料图数',width: 80, filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], filterRender: { name: 'FilterCombination', }}, { field: 'ylbs', title: '余料板数',width: 80, diff --git a/src/views/jhzxgl/dwGL.vue b/src/views/jhzxgl/dwGL.vue index 9bf8564..49fd4b7 100644 --- a/src/views/jhzxgl/dwGL.vue +++ b/src/views/jhzxgl/dwGL.vue @@ -5,7 +5,7 @@ - + - - - - - - - - - + 查询 新增 保存 @@ -78,7 +65,6 @@ export default { height: "500px", list:[], qyList:[], - dwList:[], projectData:[], request:{ qy:'', @@ -97,21 +83,6 @@ export default { filterRender: { name: 'FilterCombination', }, editRender:{ name: '$input', props: { placeholder: '请输入垛位号' }} }, - { field: 'dcCh', title: '船号', width: 120,align: "center", - filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], - filterRender: { name: 'FilterCombination', }, - editRender:{ name: '$input', props: { placeholder: '请输入船号' }} - }, - { field: 'dcPl', title: '批量', width: 120,align: "center", - filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], - filterRender: { name: 'FilterCombination', }, - editRender:{ name: '$input', props: { placeholder: '请输入批量' }} - }, - { field: 'dcFd', title: '分段', width: 120,align: "center", - filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], - filterRender: { name: 'FilterCombination', }, - editRender:{ name: '$input', props: { placeholder: '请输入分段' }} - }, ], } }, @@ -139,13 +110,15 @@ export default { getBfwz(this.request).then(res=>{ this.list=res.data const _qyList=[] - const _dwhList=[] + const tmp=[] this.list.forEach(item=>{ + if (tmp.includes(item.qy)){ + return + } + tmp.push(item.qy) _qyList.push({label:item.qy,value:item.qy}) - _dwhList.push({label:item.dwh,value:item.dwh}) }) this.qyList=_qyList; - this.dwList=_dwhList }) }, cellClickEvent({row}){ diff --git a/src/views/jhzxgl/yppyz.vue b/src/views/jhzxgl/yppyz.vue index cbe6411..d975ff7 100644 --- a/src/views/jhzxgl/yppyz.vue +++ b/src/views/jhzxgl/yppyz.vue @@ -1,47 +1,15 @@ @@ -17,10 +18,11 @@ import BFangTable from "@/views/zyjhzx/bfang/comps/BFangTable.vue"; import workers from "@/views/zyjhzx/bfang/comps/person"; import {getBzryByBz} from "@/api/zyjh"; import ZyjhSelectComp from "@/views/zyjhzx/components/SelectComp.vue"; +import BFangShow from "@/views/zyjhzx/bfang/comps/BFangShow.vue"; export default { name: 'BFang', - components: {ZyjhSelectComp, BFangTable, SliaoSearch, BFangSearch}, + components: {BFangShow, ZyjhSelectComp, BFangTable, SliaoSearch, BFangSearch}, data(){ return{ workers:[], diff --git a/src/views/zyjhzx/components/SelectComp.vue b/src/views/zyjhzx/components/SelectComp.vue index 06ade2e..d60e0a5 100644 --- a/src/views/zyjhzx/components/SelectComp.vue +++ b/src/views/zyjhzx/components/SelectComp.vue @@ -48,7 +48,6 @@ export default { this.deviceId=this.$route.query.deviceId||'' this.data.zyType=this.$route.query.zyType||'0' const path=this.$route.path.replace('/','') - console.log(path) this.nextPath=this.nextPathName[path]?.path if (path==='sliao'||path==='llfk'||path==='bfang'){ this.qtbs=false diff --git a/src/views/zyjhzx/hxianfkui/index.vue b/src/views/zyjhzx/hxianfkui/index.vue index e3e0c60..35ad2fc 100644 --- a/src/views/zyjhzx/hxianfkui/index.vue +++ b/src/views/zyjhzx/hxianfkui/index.vue @@ -163,10 +163,10 @@ export default { const {bgGroup,group}=container() this.workerGroup=group this.layer.add(bgGroup) - } + const enablePosition=['班长','数控','龙门','划线'] getBzryByBz({zyq:this.$route.query.zyq,zt:bzType}).then(res=>{ - res.data=res.data.filter(item=>item.position==='数控'||item.position==='龙门'||item.position==='班长') + res.data=res.data.filter(item=>enablePosition.includes(item.position)) this.workers=res.data this.setWorkers(res.data) const that=this