已删除13个文件
已修改21个文件
已复制6个文件
已添加102个文件
已重命名2个文件
¶Ô±ÈÐÂÎļþ |
| | |
| | | import tracklogDetial from "@/views/widesea_system/system/tracklogDetial.vue" |
| | | |
| | | let extension = { |
| | | components: {//卿æ©å
ç»ä»¶æç»ä»¶è·¯å¾ |
| | | //表åheaderãcontentãfooter对åºä½ç½®æ©å
çç»ä»¶ |
| | | gridHeader: tracklogDetial,//{ template: "<div>æ©å±ç»xxä»¶</div>" }, |
| | | gridBody: '', |
| | | gridFooter: '', |
| | | //å¼¹åºæ¡(ä¿®æ¹ãç¼è¾ãæ¥ç)headerãcontentãfooter对åºä½ç½®æ©å
çç»ä»¶ |
| | | modelHeader: '', |
| | | modelBody: '', |
| | | modelFooter: '' |
| | | }, |
| | | //buttons: [],//æ©å±çæé® |
| | | buttons: { |
| | | view: [], |
| | | box: [], |
| | | detail: [] |
| | | }, |
| | | methods: {//äºä»¶æ©å± |
| | | onInit() { |
| | | this.columns.forEach(x => { |
| | | if (x.field == "interface_type") { |
| | | x.getColor = (row, column) => { |
| | | if (row != null) { |
| | | if (row.interface_type == "æå") { |
| | | return "success"; |
| | | } else if (row.interface_type == "失败") { |
| | | return "error"; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }) |
| | | |
| | | let options = { |
| | | field: 'oper', |
| | | title: 'æ°æ®è¯¦æ
', |
| | | type: 'text', |
| | | width: 60, |
| | | //è¿åä¸ä¸ªæ ç¾ |
| | | formatter: (row) => { |
| | | return '<a href="javascript:void(0)">详æ
</a>' |
| | | }, |
| | | //触åäºä»¶,å¯ä»¥å¨æ¤äºä»¶åæå¼ä¸ä¸ªå¼¹åºæ¡çæä½ |
| | | click: (row, column, event) => { |
| | | this.$refs.gridHeader.openDialog(row) |
| | | } |
| | | }; |
| | | this.columns.push(options) |
| | | } |
| | | } |
| | | }; |
| | | export default extension; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /***************************************************************************************** |
| | | ** Author:jxx 2022 |
| | | ** QQ:283591387 |
| | | **宿´ææ¡£è§ï¼http://v2.volcore.xyz/document/api ã代ç çæé¡µé¢ViewGridã |
| | | **常ç¨ç¤ºä¾è§ï¼http://v2.volcore.xyz/document/vueDev |
| | | **åå°æä½è§ï¼http://v2.volcore.xyz/document/netCoreDev |
| | | *****************************************************************************************/ |
| | | //æ¤jsæä»¶æ¯ç¨æ¥èªå®ä¹æ©å±ä¸å¡ä»£ç ï¼å¯ä»¥æ©å±ä¸äºèªå®ä¹é¡µé¢æè
éæ°é
ç½®çæç代ç |
| | | |
| | | let extension = { |
| | | components: { |
| | | //æ¥è¯¢ç颿©å±ç»ä»¶ |
| | | gridHeader: '', |
| | | gridBody: '', |
| | | gridFooter: '', |
| | | //æ°å»ºãç¼è¾å¼¹åºæ¡æ©å±ç»ä»¶ |
| | | modelHeader: '', |
| | | modelBody: '', |
| | | modelFooter: '' |
| | | }, |
| | | tableAction: '', //æå®æå¼ 表çæé(è¿éå¡«å表å,é»è®¤ä¸ç¨å¡«å) |
| | | buttons: { view: [], box: [], detail: [] }, //æ©å±çæé® |
| | | methods: { |
| | | //ä¸é¢è¿äºæ¹æ³å¯ä»¥ä¿çä¹å¯ä»¥å é¤ |
| | | onInit() { //æ¡æ¶åå§åé
ç½®åï¼ |
| | | //示ä¾ï¼å¨æé®çæå颿·»å ä¸ä¸ªæé® |
| | | // this.buttons.unshift({ //ä¹å¯ä»¥ç¨pushæè
spliceæ¹æ³æ¥ä¿®æ¹buttonsæ°ç» |
| | | // name: 'æé®', //æé®åç§° |
| | | // icon: 'el-icon-document', //æé®å¾æ vue2çæ¬è§iviewææ¡£iconï¼vue3çæ¬è§element uiææ¡£icon(注æä¸æ¯element pulsææ¡£) |
| | | // type: 'primary', //æé®æ ·å¼vue2çæ¬è§iviewææ¡£buttonï¼vue3çæ¬è§element uiææ¡£button |
| | | // onClick: function () { |
| | | // this.$Message.success('ç¹å»äºæé®'); |
| | | // } |
| | | // }); |
| | | |
| | | //示ä¾ï¼è®¾ç½®ä¿®æ¹æ°å»ºãç¼è¾å¼¹åºæ¡å段æ ç¾çé¿åº¦ |
| | | // this.boxOptions.labelWidth = 150; |
| | | }, |
| | | onInited() { |
| | | //æ¡æ¶åå§åé
ç½®å |
| | | //妿è¦é
ç½®æç»è¡¨,卿¤æ¹æ³æä½ |
| | | //this.detailOptions.columns.forEach(column=>{ }); |
| | | }, |
| | | searchBefore(param) { |
| | | //ç颿¥è¯¢å,å¯ä»¥ç»param.wheresæ·»å æ¥è¯¢åæ° |
| | | //è¿åfalseï¼åä¸ä¼æ§è¡æ¥è¯¢ |
| | | return true; |
| | | }, |
| | | searchAfter(result) { |
| | | //æ¥è¯¢åï¼resultè¿åçæ¥è¯¢æ°æ®,å¯ä»¥å¨æ¾ç¤ºå°è¡¨æ ¼åå¤çè¡¨æ ¼çå¼ |
| | | return true; |
| | | }, |
| | | addBefore(formData) { |
| | | //æ°å»ºä¿ååformData为对象ï¼å
æ¬æç»è¡¨ï¼å¯ä»¥ç»ç»è¡¨å设置å¼ï¼èªå·±è¾åºçformDataçå¼ |
| | | return true; |
| | | }, |
| | | updateBefore(formData) { |
| | | //ç¼è¾ä¿ååformData为对象ï¼å
æ¬æç»è¡¨ãå é¤è¡çId |
| | | return true; |
| | | }, |
| | | rowClick({ row, column, event }) { |
| | | //æ¥è¯¢çé¢ç¹å»è¡äºä»¶ |
| | | // this.$refs.table.$refs.table.toggleRowSelection(row); //åå»è¡æ¶éä¸å½åè¡; |
| | | }, |
| | | modelOpenAfter(row) { |
| | | //ç¹å»ç¼è¾ãæ°å»ºæé®å¼¹åºæ¡åï¼å¯ä»¥å¨æ¤å¤åé»è¾ï¼å¦ï¼ä»åå°è·åæ°æ® |
| | | //(1)夿æ¯ç¼è¾è¿æ¯æ°å»ºæä½ï¼ this.currentAction=='Add'; |
| | | //(2)ç»å¼¹åºæ¡è®¾ç½®é»è®¤å¼ |
| | | //(3)this.editFormFields.åæ®µ='xxx'; |
| | | //妿éè¦ç»ä¸ææ¡è®¾ç½®é»è®¤å¼ï¼è¯·éåthis.editFormOptionsæ¾å°å段é
置对åºdata屿§çkeyå¼ |
| | | //ç䏿就æè¾åºçï¼console.log(this.editFormOptions) |
| | | } |
| | | } |
| | | }; |
| | | export default extension; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /***************************************************************************************** |
| | | ** Author:jxx 2022 |
| | | ** QQ:283591387 |
| | | **宿´ææ¡£è§ï¼http://v2.volcore.xyz/document/api ã代ç çæé¡µé¢ViewGridã |
| | | **常ç¨ç¤ºä¾è§ï¼http://v2.volcore.xyz/document/vueDev |
| | | **åå°æä½è§ï¼http://v2.volcore.xyz/document/netCoreDev |
| | | *****************************************************************************************/ |
| | | //æ¤jsæä»¶æ¯ç¨æ¥èªå®ä¹æ©å±ä¸å¡ä»£ç ï¼å¯ä»¥æ©å±ä¸äºèªå®ä¹é¡µé¢æè
éæ°é
ç½®çæç代ç |
| | | |
| | | let extension = { |
| | | components: { |
| | | //æ¥è¯¢ç颿©å±ç»ä»¶ |
| | | gridHeader: '', |
| | | gridBody: '', |
| | | gridFooter: '', |
| | | //æ°å»ºãç¼è¾å¼¹åºæ¡æ©å±ç»ä»¶ |
| | | modelHeader: '', |
| | | modelBody: '', |
| | | modelFooter: '' |
| | | }, |
| | | tableAction: '', //æå®æå¼ 表çæé(è¿éå¡«å表å,é»è®¤ä¸ç¨å¡«å) |
| | | buttons: { view: [], box: [], detail: [] }, //æ©å±çæé® |
| | | methods: { |
| | | //ä¸é¢è¿äºæ¹æ³å¯ä»¥ä¿çä¹å¯ä»¥å é¤ |
| | | onInit() { //æ¡æ¶åå§åé
ç½®åï¼ |
| | | //示ä¾ï¼å¨æé®çæå颿·»å ä¸ä¸ªæé® |
| | | // this.buttons.unshift({ //ä¹å¯ä»¥ç¨pushæè
spliceæ¹æ³æ¥ä¿®æ¹buttonsæ°ç» |
| | | // name: 'æé®', //æé®åç§° |
| | | // icon: 'el-icon-document', //æé®å¾æ vue2çæ¬è§iviewææ¡£iconï¼vue3çæ¬è§element uiææ¡£icon(注æä¸æ¯element pulsææ¡£) |
| | | // type: 'primary', //æé®æ ·å¼vue2çæ¬è§iviewææ¡£buttonï¼vue3çæ¬è§element uiææ¡£button |
| | | // onClick: function () { |
| | | // this.$Message.success('ç¹å»äºæé®'); |
| | | // } |
| | | // }); |
| | | |
| | | //示ä¾ï¼è®¾ç½®ä¿®æ¹æ°å»ºãç¼è¾å¼¹åºæ¡å段æ ç¾çé¿åº¦ |
| | | // this.boxOptions.labelWidth = 150; |
| | | }, |
| | | onInited() { |
| | | //æ¡æ¶åå§åé
ç½®å |
| | | //妿è¦é
ç½®æç»è¡¨,卿¤æ¹æ³æä½ |
| | | //this.detailOptions.columns.forEach(column=>{ }); |
| | | }, |
| | | searchBefore(param) { |
| | | //ç颿¥è¯¢å,å¯ä»¥ç»param.wheresæ·»å æ¥è¯¢åæ° |
| | | //è¿åfalseï¼åä¸ä¼æ§è¡æ¥è¯¢ |
| | | return true; |
| | | }, |
| | | searchAfter(result) { |
| | | //æ¥è¯¢åï¼resultè¿åçæ¥è¯¢æ°æ®,å¯ä»¥å¨æ¾ç¤ºå°è¡¨æ ¼åå¤çè¡¨æ ¼çå¼ |
| | | return true; |
| | | }, |
| | | addBefore(formData) { |
| | | //æ°å»ºä¿ååformData为对象ï¼å
æ¬æç»è¡¨ï¼å¯ä»¥ç»ç»è¡¨å设置å¼ï¼èªå·±è¾åºçformDataçå¼ |
| | | return true; |
| | | }, |
| | | updateBefore(formData) { |
| | | //ç¼è¾ä¿ååformData为对象ï¼å
æ¬æç»è¡¨ãå é¤è¡çId |
| | | return true; |
| | | }, |
| | | rowClick({ row, column, event }) { |
| | | //æ¥è¯¢çé¢ç¹å»è¡äºä»¶ |
| | | // this.$refs.table.$refs.table.toggleRowSelection(row); //åå»è¡æ¶éä¸å½åè¡; |
| | | }, |
| | | modelOpenAfter(row) { |
| | | //ç¹å»ç¼è¾ãæ°å»ºæé®å¼¹åºæ¡åï¼å¯ä»¥å¨æ¤å¤åé»è¾ï¼å¦ï¼ä»åå°è·åæ°æ® |
| | | //(1)夿æ¯ç¼è¾è¿æ¯æ°å»ºæä½ï¼ this.currentAction=='Add'; |
| | | //(2)ç»å¼¹åºæ¡è®¾ç½®é»è®¤å¼ |
| | | //(3)this.editFormFields.åæ®µ='xxx'; |
| | | //妿éè¦ç»ä¸ææ¡è®¾ç½®é»è®¤å¼ï¼è¯·éåthis.editFormOptionsæ¾å°å段é
置对åºdata屿§çkeyå¼ |
| | | //ç䏿就æè¾åºçï¼console.log(this.editFormOptions) |
| | | } |
| | | } |
| | | }; |
| | | export default extension; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /***************************************************************************************** |
| | | ** Author:jxx 2022 |
| | | ** QQ:283591387 |
| | | **宿´ææ¡£è§ï¼http://v2.volcore.xyz/document/api ã代ç çæé¡µé¢ViewGridã |
| | | **常ç¨ç¤ºä¾è§ï¼http://v2.volcore.xyz/document/vueDev |
| | | **åå°æä½è§ï¼http://v2.volcore.xyz/document/netCoreDev |
| | | *****************************************************************************************/ |
| | | //æ¤jsæä»¶æ¯ç¨æ¥èªå®ä¹æ©å±ä¸å¡ä»£ç ï¼å¯ä»¥æ©å±ä¸äºèªå®ä¹é¡µé¢æè
éæ°é
ç½®çæç代ç |
| | | |
| | | let extension = { |
| | | components: { |
| | | //æ¥è¯¢ç颿©å±ç»ä»¶ |
| | | gridHeader: '', |
| | | gridBody: '', |
| | | gridFooter: '', |
| | | //æ°å»ºãç¼è¾å¼¹åºæ¡æ©å±ç»ä»¶ |
| | | modelHeader: '', |
| | | modelBody: '', |
| | | modelFooter: '' |
| | | }, |
| | | tableAction: '', //æå®æå¼ 表çæé(è¿éå¡«å表å,é»è®¤ä¸ç¨å¡«å) |
| | | buttons: { view: [], box: [], detail: [] }, //æ©å±çæé® |
| | | methods: { |
| | | //ä¸é¢è¿äºæ¹æ³å¯ä»¥ä¿çä¹å¯ä»¥å é¤ |
| | | onInit() { //æ¡æ¶åå§åé
ç½®åï¼ |
| | | //示ä¾ï¼å¨æé®çæå颿·»å ä¸ä¸ªæé® |
| | | // this.buttons.unshift({ //ä¹å¯ä»¥ç¨pushæè
spliceæ¹æ³æ¥ä¿®æ¹buttonsæ°ç» |
| | | // name: 'æé®', //æé®åç§° |
| | | // icon: 'el-icon-document', //æé®å¾æ vue2çæ¬è§iviewææ¡£iconï¼vue3çæ¬è§element uiææ¡£icon(注æä¸æ¯element pulsææ¡£) |
| | | // type: 'primary', //æé®æ ·å¼vue2çæ¬è§iviewææ¡£buttonï¼vue3çæ¬è§element uiææ¡£button |
| | | // onClick: function () { |
| | | // this.$Message.success('ç¹å»äºæé®'); |
| | | // } |
| | | // }); |
| | | |
| | | //示ä¾ï¼è®¾ç½®ä¿®æ¹æ°å»ºãç¼è¾å¼¹åºæ¡å段æ ç¾çé¿åº¦ |
| | | // this.boxOptions.labelWidth = 150; |
| | | }, |
| | | onInited() { |
| | | //æ¡æ¶åå§åé
ç½®å |
| | | //妿è¦é
ç½®æç»è¡¨,卿¤æ¹æ³æä½ |
| | | //this.detailOptions.columns.forEach(column=>{ }); |
| | | }, |
| | | searchBefore(param) { |
| | | //ç颿¥è¯¢å,å¯ä»¥ç»param.wheresæ·»å æ¥è¯¢åæ° |
| | | //è¿åfalseï¼åä¸ä¼æ§è¡æ¥è¯¢ |
| | | return true; |
| | | }, |
| | | searchAfter(result) { |
| | | //æ¥è¯¢åï¼resultè¿åçæ¥è¯¢æ°æ®,å¯ä»¥å¨æ¾ç¤ºå°è¡¨æ ¼åå¤çè¡¨æ ¼çå¼ |
| | | return true; |
| | | }, |
| | | addBefore(formData) { |
| | | //æ°å»ºä¿ååformData为对象ï¼å
æ¬æç»è¡¨ï¼å¯ä»¥ç»ç»è¡¨å设置å¼ï¼èªå·±è¾åºçformDataçå¼ |
| | | return true; |
| | | }, |
| | | updateBefore(formData) { |
| | | //ç¼è¾ä¿ååformData为对象ï¼å
æ¬æç»è¡¨ãå é¤è¡çId |
| | | return true; |
| | | }, |
| | | rowClick({ row, column, event }) { |
| | | //æ¥è¯¢çé¢ç¹å»è¡äºä»¶ |
| | | // this.$refs.table.$refs.table.toggleRowSelection(row); //åå»è¡æ¶éä¸å½åè¡; |
| | | }, |
| | | modelOpenAfter(row) { |
| | | //ç¹å»ç¼è¾ãæ°å»ºæé®å¼¹åºæ¡åï¼å¯ä»¥å¨æ¤å¤åé»è¾ï¼å¦ï¼ä»åå°è·åæ°æ® |
| | | //(1)夿æ¯ç¼è¾è¿æ¯æ°å»ºæä½ï¼ this.currentAction=='Add'; |
| | | //(2)ç»å¼¹åºæ¡è®¾ç½®é»è®¤å¼ |
| | | //(3)this.editFormFields.åæ®µ='xxx'; |
| | | //妿éè¦ç»ä¸ææ¡è®¾ç½®é»è®¤å¼ï¼è¯·éåthis.editFormOptionsæ¾å°å段é
置对åºdata屿§çkeyå¼ |
| | | //ç䏿就æè¾åºçï¼console.log(this.editFormOptions) |
| | | } |
| | | } |
| | | }; |
| | | export default extension; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /***************************************************************************************** |
| | | ** Author:jxx 2022 |
| | | ** QQ:283591387 |
| | | **宿´ææ¡£è§ï¼http://v2.volcore.xyz/document/api ã代ç çæé¡µé¢ViewGridã |
| | | **常ç¨ç¤ºä¾è§ï¼http://v2.volcore.xyz/document/vueDev |
| | | **åå°æä½è§ï¼http://v2.volcore.xyz/document/netCoreDev |
| | | *****************************************************************************************/ |
| | | //æ¤jsæä»¶æ¯ç¨æ¥èªå®ä¹æ©å±ä¸å¡ä»£ç ï¼å¯ä»¥æ©å±ä¸äºèªå®ä¹é¡µé¢æè
éæ°é
ç½®çæç代ç |
| | | |
| | | let extension = { |
| | | components: { |
| | | //æ¥è¯¢ç颿©å±ç»ä»¶ |
| | | gridHeader: '', |
| | | gridBody: '', |
| | | gridFooter: '', |
| | | //æ°å»ºãç¼è¾å¼¹åºæ¡æ©å±ç»ä»¶ |
| | | modelHeader: '', |
| | | modelBody: '', |
| | | modelFooter: '' |
| | | }, |
| | | tableAction: '', //æå®æå¼ 表çæé(è¿éå¡«å表å,é»è®¤ä¸ç¨å¡«å) |
| | | buttons: { view: [], box: [], detail: [] }, //æ©å±çæé® |
| | | methods: { |
| | | //ä¸é¢è¿äºæ¹æ³å¯ä»¥ä¿çä¹å¯ä»¥å é¤ |
| | | onInit() { //æ¡æ¶åå§åé
ç½®åï¼ |
| | | //示ä¾ï¼å¨æé®çæå颿·»å ä¸ä¸ªæé® |
| | | // this.buttons.unshift({ //ä¹å¯ä»¥ç¨pushæè
spliceæ¹æ³æ¥ä¿®æ¹buttonsæ°ç» |
| | | // name: 'æé®', //æé®åç§° |
| | | // icon: 'el-icon-document', //æé®å¾æ vue2çæ¬è§iviewææ¡£iconï¼vue3çæ¬è§element uiææ¡£icon(注æä¸æ¯element pulsææ¡£) |
| | | // type: 'primary', //æé®æ ·å¼vue2çæ¬è§iviewææ¡£buttonï¼vue3çæ¬è§element uiææ¡£button |
| | | // onClick: function () { |
| | | // this.$Message.success('ç¹å»äºæé®'); |
| | | // } |
| | | // }); |
| | | |
| | | //示ä¾ï¼è®¾ç½®ä¿®æ¹æ°å»ºãç¼è¾å¼¹åºæ¡å段æ ç¾çé¿åº¦ |
| | | // this.boxOptions.labelWidth = 150; |
| | | }, |
| | | onInited() { |
| | | //æ¡æ¶åå§åé
ç½®å |
| | | //妿è¦é
ç½®æç»è¡¨,卿¤æ¹æ³æä½ |
| | | //this.detailOptions.columns.forEach(column=>{ }); |
| | | }, |
| | | searchBefore(param) { |
| | | //ç颿¥è¯¢å,å¯ä»¥ç»param.wheresæ·»å æ¥è¯¢åæ° |
| | | //è¿åfalseï¼åä¸ä¼æ§è¡æ¥è¯¢ |
| | | return true; |
| | | }, |
| | | searchAfter(result) { |
| | | //æ¥è¯¢åï¼resultè¿åçæ¥è¯¢æ°æ®,å¯ä»¥å¨æ¾ç¤ºå°è¡¨æ ¼åå¤çè¡¨æ ¼çå¼ |
| | | return true; |
| | | }, |
| | | addBefore(formData) { |
| | | //æ°å»ºä¿ååformData为对象ï¼å
æ¬æç»è¡¨ï¼å¯ä»¥ç»ç»è¡¨å设置å¼ï¼èªå·±è¾åºçformDataçå¼ |
| | | return true; |
| | | }, |
| | | updateBefore(formData) { |
| | | //ç¼è¾ä¿ååformData为对象ï¼å
æ¬æç»è¡¨ãå é¤è¡çId |
| | | return true; |
| | | }, |
| | | rowClick({ row, column, event }) { |
| | | //æ¥è¯¢çé¢ç¹å»è¡äºä»¶ |
| | | // this.$refs.table.$refs.table.toggleRowSelection(row); //åå»è¡æ¶éä¸å½åè¡; |
| | | }, |
| | | modelOpenAfter(row) { |
| | | //ç¹å»ç¼è¾ãæ°å»ºæé®å¼¹åºæ¡åï¼å¯ä»¥å¨æ¤å¤åé»è¾ï¼å¦ï¼ä»åå°è·åæ°æ® |
| | | //(1)夿æ¯ç¼è¾è¿æ¯æ°å»ºæä½ï¼ this.currentAction=='Add'; |
| | | //(2)ç»å¼¹åºæ¡è®¾ç½®é»è®¤å¼ |
| | | //(3)this.editFormFields.åæ®µ='xxx'; |
| | | //妿éè¦ç»ä¸ææ¡è®¾ç½®é»è®¤å¼ï¼è¯·éåthis.editFormOptionsæ¾å°å段é
置对åºdata屿§çkeyå¼ |
| | | //ç䏿就æè¾åºçï¼console.log(this.editFormOptions) |
| | | } |
| | | } |
| | | }; |
| | | export default extension; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /***************************************************************************************** |
| | | ** Author:jxx 2022 |
| | | ** QQ:283591387 |
| | | **宿´ææ¡£è§ï¼http://v2.volcore.xyz/document/api ã代ç çæé¡µé¢ViewGridã |
| | | **常ç¨ç¤ºä¾è§ï¼http://v2.volcore.xyz/document/vueDev |
| | | **åå°æä½è§ï¼http://v2.volcore.xyz/document/netCoreDev |
| | | *****************************************************************************************/ |
| | | //æ¤jsæä»¶æ¯ç¨æ¥èªå®ä¹æ©å±ä¸å¡ä»£ç ï¼å¯ä»¥æ©å±ä¸äºèªå®ä¹é¡µé¢æè
éæ°é
ç½®çæç代ç |
| | | |
| | | let extension = { |
| | | components: { |
| | | //æ¥è¯¢ç颿©å±ç»ä»¶ |
| | | gridHeader: '', |
| | | gridBody: '', |
| | | gridFooter: '', |
| | | //æ°å»ºãç¼è¾å¼¹åºæ¡æ©å±ç»ä»¶ |
| | | modelHeader: '', |
| | | modelBody: '', |
| | | modelFooter: '' |
| | | }, |
| | | tableAction: '', //æå®æå¼ 表çæé(è¿éå¡«å表å,é»è®¤ä¸ç¨å¡«å) |
| | | buttons: { view: [], box: [], detail: [] }, //æ©å±çæé® |
| | | methods: { |
| | | //ä¸é¢è¿äºæ¹æ³å¯ä»¥ä¿çä¹å¯ä»¥å é¤ |
| | | onInit() { //æ¡æ¶åå§åé
ç½®åï¼ |
| | | //示ä¾ï¼å¨æé®çæå颿·»å ä¸ä¸ªæé® |
| | | // this.buttons.unshift({ //ä¹å¯ä»¥ç¨pushæè
spliceæ¹æ³æ¥ä¿®æ¹buttonsæ°ç» |
| | | // name: 'æé®', //æé®åç§° |
| | | // icon: 'el-icon-document', //æé®å¾æ vue2çæ¬è§iviewææ¡£iconï¼vue3çæ¬è§element uiææ¡£icon(注æä¸æ¯element pulsææ¡£) |
| | | // type: 'primary', //æé®æ ·å¼vue2çæ¬è§iviewææ¡£buttonï¼vue3çæ¬è§element uiææ¡£button |
| | | // onClick: function () { |
| | | // this.$Message.success('ç¹å»äºæé®'); |
| | | // } |
| | | // }); |
| | | |
| | | //示ä¾ï¼è®¾ç½®ä¿®æ¹æ°å»ºãç¼è¾å¼¹åºæ¡å段æ ç¾çé¿åº¦ |
| | | // this.boxOptions.labelWidth = 150; |
| | | }, |
| | | onInited() { |
| | | //æ¡æ¶åå§åé
ç½®å |
| | | //妿è¦é
ç½®æç»è¡¨,卿¤æ¹æ³æä½ |
| | | //this.detailOptions.columns.forEach(column=>{ }); |
| | | }, |
| | | searchBefore(param) { |
| | | //ç颿¥è¯¢å,å¯ä»¥ç»param.wheresæ·»å æ¥è¯¢åæ° |
| | | //è¿åfalseï¼åä¸ä¼æ§è¡æ¥è¯¢ |
| | | return true; |
| | | }, |
| | | searchAfter(result) { |
| | | //æ¥è¯¢åï¼resultè¿åçæ¥è¯¢æ°æ®,å¯ä»¥å¨æ¾ç¤ºå°è¡¨æ ¼åå¤çè¡¨æ ¼çå¼ |
| | | return true; |
| | | }, |
| | | addBefore(formData) { |
| | | //æ°å»ºä¿ååformData为对象ï¼å
æ¬æç»è¡¨ï¼å¯ä»¥ç»ç»è¡¨å设置å¼ï¼èªå·±è¾åºçformDataçå¼ |
| | | return true; |
| | | }, |
| | | updateBefore(formData) { |
| | | //ç¼è¾ä¿ååformData为对象ï¼å
æ¬æç»è¡¨ãå é¤è¡çId |
| | | return true; |
| | | }, |
| | | rowClick({ row, column, event }) { |
| | | //æ¥è¯¢çé¢ç¹å»è¡äºä»¶ |
| | | // this.$refs.table.$refs.table.toggleRowSelection(row); //åå»è¡æ¶éä¸å½åè¡; |
| | | }, |
| | | modelOpenAfter(row) { |
| | | //ç¹å»ç¼è¾ãæ°å»ºæé®å¼¹åºæ¡åï¼å¯ä»¥å¨æ¤å¤åé»è¾ï¼å¦ï¼ä»åå°è·åæ°æ® |
| | | //(1)夿æ¯ç¼è¾è¿æ¯æ°å»ºæä½ï¼ this.currentAction=='Add'; |
| | | //(2)ç»å¼¹åºæ¡è®¾ç½®é»è®¤å¼ |
| | | //(3)this.editFormFields.åæ®µ='xxx'; |
| | | //妿éè¦ç»ä¸ææ¡è®¾ç½®é»è®¤å¼ï¼è¯·éåthis.editFormOptionsæ¾å°å段é
置对åºdata屿§çkeyå¼ |
| | | //ç䏿就æè¾åºçï¼console.log(this.editFormOptions) |
| | | } |
| | | } |
| | | }; |
| | | export default extension; |
| | |
| | | **åå°æä½è§ï¼http://v2.volcore.xyz/document/netCoreDev |
| | | *****************************************************************************************/ |
| | | //æ¤jsæä»¶æ¯ç¨æ¥èªå®ä¹æ©å±ä¸å¡ä»£ç ï¼å¯ä»¥æ©å±ä¸äºèªå®ä¹é¡µé¢æè
éæ°é
ç½®çæç代ç |
| | | |
| | | import addTask from "@/views/dialog/addTask.vue" |
| | | let extension = { |
| | | components: { |
| | | //æ¥è¯¢ç颿©å±ç»ä»¶ |
| | | gridHeader: '', |
| | | gridHeader: addTask, |
| | | gridBody: '', |
| | | gridFooter: '', |
| | | //æ°å»ºãç¼è¾å¼¹åºæ¡æ©å±ç»ä»¶ |
| | |
| | | // this.$Message.success('ç¹å»äºæé®'); |
| | | // } |
| | | // }); |
| | | // this.buttons.forEach(x => { |
| | | // if(x.value=='Add'){ |
| | | // x.name='ç§»åº' |
| | | // x.icon='el-icon-document' |
| | | // } |
| | | // }); |
| | | |
| | | //示ä¾ï¼è®¾ç½®ä¿®æ¹æ°å»ºãç¼è¾å¼¹åºæ¡å段æ ç¾çé¿åº¦ |
| | | // this.boxOptions.labelWidth = 150; |
| | | this.buttons.splice(1, 0, { |
| | | name: "ç§»åº", |
| | | icon: 'el-icon-document', |
| | | type: 'danger', |
| | | onClick: function () { |
| | | this.$refs.gridHeader.detialBox = true; |
| | | } |
| | | }) |
| | | }, |
| | | onInited() { |
| | | //æ¡æ¶åå§åé
ç½®å |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /***************************************************************************************** |
| | | ** Author:jxx 2022 |
| | | ** QQ:283591387 |
| | | **宿´ææ¡£è§ï¼http://v2.volcore.xyz/document/api ã代ç çæé¡µé¢ViewGridã |
| | | **常ç¨ç¤ºä¾è§ï¼http://v2.volcore.xyz/document/vueDev |
| | | **åå°æä½è§ï¼http://v2.volcore.xyz/document/netCoreDev |
| | | *****************************************************************************************/ |
| | | //æ¤jsæä»¶æ¯ç¨æ¥èªå®ä¹æ©å±ä¸å¡ä»£ç ï¼å¯ä»¥æ©å±ä¸äºèªå®ä¹é¡µé¢æè
éæ°é
ç½®çæç代ç |
| | | |
| | | let extension = { |
| | | components: { |
| | | //æ¥è¯¢ç颿©å±ç»ä»¶ |
| | | gridHeader: '', |
| | | gridBody: '', |
| | | gridFooter: '', |
| | | //æ°å»ºãç¼è¾å¼¹åºæ¡æ©å±ç»ä»¶ |
| | | modelHeader: '', |
| | | modelBody: '', |
| | | modelFooter: '' |
| | | }, |
| | | tableAction: '', //æå®æå¼ 表çæé(è¿éå¡«å表å,é»è®¤ä¸ç¨å¡«å) |
| | | buttons: { view: [], box: [], detail: [] }, //æ©å±çæé® |
| | | methods: { |
| | | //ä¸é¢è¿äºæ¹æ³å¯ä»¥ä¿çä¹å¯ä»¥å é¤ |
| | | onInit() { //æ¡æ¶åå§åé
ç½®åï¼ |
| | | //示ä¾ï¼å¨æé®çæå颿·»å ä¸ä¸ªæé® |
| | | // this.buttons.unshift({ //ä¹å¯ä»¥ç¨pushæè
spliceæ¹æ³æ¥ä¿®æ¹buttonsæ°ç» |
| | | // name: 'æé®', //æé®åç§° |
| | | // icon: 'el-icon-document', //æé®å¾æ vue2çæ¬è§iviewææ¡£iconï¼vue3çæ¬è§element uiææ¡£icon(注æä¸æ¯element pulsææ¡£) |
| | | // type: 'primary', //æé®æ ·å¼vue2çæ¬è§iviewææ¡£buttonï¼vue3çæ¬è§element uiææ¡£button |
| | | // onClick: function () { |
| | | // this.$Message.success('ç¹å»äºæé®'); |
| | | // } |
| | | // }); |
| | | |
| | | //示ä¾ï¼è®¾ç½®ä¿®æ¹æ°å»ºãç¼è¾å¼¹åºæ¡å段æ ç¾çé¿åº¦ |
| | | // this.boxOptions.labelWidth = 150; |
| | | }, |
| | | onInited() { |
| | | //æ¡æ¶åå§åé
ç½®å |
| | | //妿è¦é
ç½®æç»è¡¨,卿¤æ¹æ³æä½ |
| | | //this.detailOptions.columns.forEach(column=>{ }); |
| | | }, |
| | | searchBefore(param) { |
| | | //ç颿¥è¯¢å,å¯ä»¥ç»param.wheresæ·»å æ¥è¯¢åæ° |
| | | //è¿åfalseï¼åä¸ä¼æ§è¡æ¥è¯¢ |
| | | return true; |
| | | }, |
| | | searchAfter(result) { |
| | | //æ¥è¯¢åï¼resultè¿åçæ¥è¯¢æ°æ®,å¯ä»¥å¨æ¾ç¤ºå°è¡¨æ ¼åå¤çè¡¨æ ¼çå¼ |
| | | return true; |
| | | }, |
| | | addBefore(formData) { |
| | | //æ°å»ºä¿ååformData为对象ï¼å
æ¬æç»è¡¨ï¼å¯ä»¥ç»ç»è¡¨å设置å¼ï¼èªå·±è¾åºçformDataçå¼ |
| | | return true; |
| | | }, |
| | | updateBefore(formData) { |
| | | //ç¼è¾ä¿ååformData为对象ï¼å
æ¬æç»è¡¨ãå é¤è¡çId |
| | | return true; |
| | | }, |
| | | rowClick({ row, column, event }) { |
| | | //æ¥è¯¢çé¢ç¹å»è¡äºä»¶ |
| | | // this.$refs.table.$refs.table.toggleRowSelection(row); //åå»è¡æ¶éä¸å½åè¡; |
| | | }, |
| | | modelOpenAfter(row) { |
| | | //ç¹å»ç¼è¾ãæ°å»ºæé®å¼¹åºæ¡åï¼å¯ä»¥å¨æ¤å¤åé»è¾ï¼å¦ï¼ä»åå°è·åæ°æ® |
| | | //(1)夿æ¯ç¼è¾è¿æ¯æ°å»ºæä½ï¼ this.currentAction=='Add'; |
| | | //(2)ç»å¼¹åºæ¡è®¾ç½®é»è®¤å¼ |
| | | //(3)this.editFormFields.åæ®µ='xxx'; |
| | | //妿éè¦ç»ä¸ææ¡è®¾ç½®é»è®¤å¼ï¼è¯·éåthis.editFormOptionsæ¾å°å段é
置对åºdata屿§çkeyå¼ |
| | | //ç䏿就æè¾åºçï¼console.log(this.editFormOptions) |
| | | } |
| | | } |
| | | }; |
| | | export default extension; |
| | |
| | | path: '/dt_stationinfo', |
| | | name: 'dt_stationinfo', |
| | | component: () => import('@/views/widesea_wms/system/dt_stationinfo.vue') |
| | | }] |
| | | } ,{ |
| | | path: '/dt_inventory', |
| | | name: 'dt_inventory', |
| | | component: () => import('@/views/widesea_wms/system/dt_inventory.vue') |
| | | } ,{ |
| | | path: '/dt_boxing', |
| | | name: 'dt_boxing', |
| | | component: () => import('@/views/widesea_wms/boxing/dt_boxing.vue') |
| | | } ,{ |
| | | path: '/dt_boxing_hty', |
| | | name: 'dt_boxing_hty', |
| | | component: () => import('@/views/widesea_wms/boxing/dt_boxing_hty.vue') |
| | | } ,{ |
| | | path: '/dt_materielinfo', |
| | | name: 'dt_materielinfo', |
| | | component: () => import('@/views/widesea_wms/system/dt_materielinfo.vue') |
| | | } ,{ |
| | | path: '/dt_areainfo', |
| | | name: 'dt_areainfo', |
| | | component: () => import('@/views/widesea_wms/system/dt_areainfo.vue') |
| | | } ,{ |
| | | path: '/Dt_Interfacerecord', |
| | | name: 'Dt_Interfacerecord', |
| | | component: () => import('@/views/widesea_system/system/Dt_Interfacerecord.vue') |
| | | }] |
| | | |
| | | export default viewgird |
| | |
| | | </div> |
| | | <div class="vol-container" :style="{ left: menuWidth - 1 + 'px' }"> |
| | | <div class="vol-header"> |
| | | <div class="project-name">WMS_æ åç</div> |
| | | <div class="project-name">WMS_太é轨é</div> |
| | | <div class="header-text"> |
| | | <!-- <div class="h-link"> |
| | | <a |
| | |
| | | url: "/dt_agvtask/", |
| | | sortName: "ID" |
| | | }); |
| | | const editFormFields = ref({"agv_fromaddress":"","agv_toaddress":"","agv_code":""}); |
| | | const editFormOptions = ref([[{"title":"èµ·ç¹å°å","field":"agv_fromaddress","type":"text"}], |
| | | [{"title":"ç»ç¹å°å","field":"agv_toaddress","type":"text"}], |
| | | [{"dataKey":"agv_code","data":[],"title":"AGVç¼å·","required":true,"field":"agv_code","type":"select"}]]); |
| | | const editFormFields = ref({"agv_fromaddress":"","agv_toaddress":"","agv_tasktype":"","agv_grades":"","agv_code":""}); |
| | | const editFormOptions = ref([[{"title":"èµ·ç¹å°å","field":"agv_fromaddress","type":"text","required":true}], |
| | | [{"title":"ç»ç¹å°å","field":"agv_toaddress","type":"text","required":true}], |
| | | [{"dataKey":"task_grade","data":[],"title":"ä»»å¡ç级","required":true,"field":"agv_grade","type":"select"}], |
| | | [{"dataKey":"agv_tasktypes","data":[],"title":"ä»»å¡ç±»å","required":true,"field":"agv_tasktype","type":"select"}] |
| | | // [{"dataKey":"agv_code","data":[],"title":"AGVç¼å·","required":true,"field":"agv_code","type":"select"}] |
| | | ]); |
| | | const searchFormFields = ref({"agv_tasknum":"","agv_fromaddress":"","agv_toaddress":"","agv_code":[],"agv_taskstate":[],"agv_materielid":"","agv_createtime":"","agv_barcode":"","agv_materbarcode":""}); |
| | | const searchFormOptions = ref([[{"title":"ä»»å¡ç¼å·","field":"agv_tasknum","type":"like"},{"title":"èµ·ç¹å°å","field":"agv_fromaddress","type":"like"},{"title":"ç»ç¹å°å","field":"agv_toaddress","type":"like"}],[{"dataKey":"agv_code","data":[],"title":"AGVç¼å·","field":"agv_code","type":"selectList"},{"dataKey":"Taskstates","data":[],"title":"ä»»å¡ç¶æ","field":"agv_taskstate","type":"selectList"},{"title":"ç©æç±»å","field":"agv_materielid","type":"like"}],[{"title":"å建æ¶é´","field":"agv_createtime","type":"datetime"},{"title":"æçç ","field":"agv_barcode","type":"like"},{"title":"ç©æç ","field":"agv_materbarcode","type":"like"}]]); |
| | | const columns = ref([{field:'agv_id',title:'ä»»å¡Id',type:'guid',width:110,hidden:true,readonly:true,require:true,align:'left'}, |
| | |
| | | {field:'agv_taskstate',title:'ä»»å¡ç¶æ',type:'string',bind:{ key:'Taskstates',data:[]},width:110,require:true,align:'left'}, |
| | | {field:'agv_worktype',title:'AGVå·¥ä½ç±»å',type:'int',width:110,align:'left'}, |
| | | {field:'agv_materielid',title:'ç©æç±»å',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'agv_qty',title:'æ°é',type:'decimal',width:110,require:true,align:'left'}, |
| | | {field:'bindSN',title:'车轮SNå·',type:'string',width:110,align:'left'}, |
| | | {field:'agv_qty',title:'æ°é',type:'int',width:110,require:true,align:'left'}, |
| | | {field:'agv_createtime',title:'å建æ¶é´',type:'datetime',sort:true,width:150,require:true,align:'left',sort:true}, |
| | | {field:'agv_realesstime',title:'æ§è¡æ¶é´',type:'datetime',width:150,align:'left',sort:true}, |
| | | {field:'agv_finishedtime',title:'宿æ¶é´',type:'datetime',width:150,align:'left',sort:true}, |
| | | {field:'agv_tasktype',title:'ä»»å¡ç±»å',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'agv_tasktype',title:'ä»»å¡ç±»å',type:'string',bind:{ key:'agv_tasktypes',data:[]},width:110,require:true,align:'left'}, |
| | | {field:'agv_remark',title:'夿³¨',type:'string',width:120,align:'left'}, |
| | | {field:'agv_grade',title:'ä»»å¡ç级',type:'int',sort:true,width:110,align:'left'}, |
| | | {field:'agv_grade',title:'ä»»å¡ç级',type:'int',bind:{ key:'task_grade',data:[]},sort:true,width:110,align:'left'}, |
| | | {field:'agv_userid',title:'å建è
',type:'string',width:110,align:'left'}, |
| | | {field:'agv_barcode',title:'æçç ',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'agv_materbarcode',title:'ç©æç ',type:'string',width:110,align:'left'}, |
| | |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([]); |
| | | const searchFormFields = ref({"agv_tasknum":"","agv_materielid":"","agv_createtime":"","agv_taskstate":"","agv_fromaddress":"","agv_toaddress":"","agv_operatetype":"","agv_barcode":"","agv_materbarcode":""}); |
| | | const searchFormOptions = ref([[{"title":"ä»»å¡ç¼å·","field":"agv_tasknum","type":"like"},{"title":"ç©æç±»å","field":"agv_materielid","type":"like"},{"dataKey":"Taskstates","data":[],"title":"ä»»å¡ç¶æ","field":"agv_taskstate","type":"select"}],[{"title":"èµ·ç¹å°å","field":"agv_fromaddress","type":"like"},{"title":"ç»ç¹å°å","field":"agv_toaddress","type":"like"},{"dataKey":"Taskstates","data":[],"title":"æä½ç±»å","field":"agv_operatetype","type":"select"}],[{"title":"æçç ","field":"agv_barcode","type":"like"},{"title":"ç©æç ","field":"agv_materbarcode","type":"like"},{"title":"å建æ¶é´","field":"agv_createtime","type":"datetime"}]]); |
| | | const searchFormOptions = ref([[{"title":"ä»»å¡ç¼å·","field":"agv_tasknum","type":"like"},{"title":"ç©æç±»å","field":"agv_materielid","type":"like"},{"dataKey":"Taskstates","data":[],"title":"ä»»å¡ç¶æ","field":"agv_taskstate","type":"select"}],[{"title":"èµ·ç¹å°å","field":"agv_fromaddress","type":"like"},{"title":"ç»ç¹å°å","field":"agv_toaddress","type":"like"},{"dataKey":"operatetypes","data":[],"title":"æä½ç±»å","field":"agv_operatetype","type":"select"}],[{"title":"æçç ","field":"agv_barcode","type":"like"},{"title":"ç©æç ","field":"agv_materbarcode","type":"like"},{"title":"å建æ¶é´","field":"agv_createtime","type":"datetime"}]]); |
| | | const columns = ref([{field:'hty_pkid',title:'åå²ä»»å¡ID',type:'guid',width:110,hidden:true,readonly:true,require:true,align:'left'}, |
| | | {field:'agv_id',title:'ä»»å¡ID',type:'guid',width:110,hidden:true,require:true,align:'left'}, |
| | | {field:'agv_tasknum',title:'ä»»å¡ç¼å·',type:'string',sort:true,width:110,require:true,align:'left',sort:true}, |
| | | {field:'agv_materielid',title:'ç©æç±»å',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'agv_qty',title:'æ°é',type:'decimal',width:110,require:true,align:'left'}, |
| | | {field:'bindSN',title:'车轮SNå·',type:'string',width:110,align:'left'}, |
| | | {field:'agv_qty',title:'æ°é',type:'int',width:110,require:true,align:'left'}, |
| | | {field:'agv_createtime',title:'å建æ¶é´',type:'datetime',width:150,require:true,align:'left',sort:true}, |
| | | {field:'agv_realesstime',title:'æ§è¡æ¶é´',type:'datetime',width:150,align:'left',sort:true}, |
| | | {field:'agv_finishedtime',title:'宿æ¶é´',type:'datetime',width:150,align:'left',sort:true}, |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div> |
| | | <vol-box :lazy="true" v-model="detialBox" title="æå¨ç§»åº" :height="350" :width="400" :padding="15"> |
| | | <div> |
| | | <el-form :model="formdata" label-width="120px" :rules="rules" size="mini" ref="ruleFormRef"> |
| | | <!-- <el-form-item label="ç±»å"> |
| | | <el-radio-group v-model="inType" class="ml-4"> |
| | | <el-radio label="handle">æå¨åºæ</el-radio> |
| | | <el-radio label="auto" disabled>èªå¨åºæ</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> --> |
| | | |
| | | <el-form-item v-if="inType == 'handle'" label="èµ·å§å°å" prop="from_address"> |
| | | <el-select v-model="formdata.from_address" clearable filterable placeholder="è¯·éæ©èµ·å§å°å"> |
| | | <el-option v-for="item in formAddressList" :label="item.key" :value="item.key" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="ç®çå°å" prop="to_address"> |
| | | <el-select v-model="formdata.to_address" clearable filterable placeholder="è¯·éæ©ç®çå°å"> |
| | | <el-option v-for="item in toAddressList" :label="item.key" :value="item.key" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label=""> |
| | | <el-button type="primary" @click="onSubmit()" size="mini"> 确认移åº</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | </vol-box> |
| | | </div> |
| | | </template> |
| | | |
| | | |
| | | <script > |
| | | import VolBox1Vue from '@/components/basic/VolBox.vue'; |
| | | export default { |
| | | components: { "vol-box": VolBox1Vue }, |
| | | methods: {}, |
| | | created() { |
| | | this.http.post("/api/Sys_Dictionary/GetVueDictionary", ["route_began", "route_end"]).then(x => { |
| | | x.forEach(item => { |
| | | if (item.dicNo == 'route_end') { |
| | | this.toAddressList = item.data; |
| | | } else if (item.dicNo == 'route_began') { |
| | | this.formAddressList = item.data; |
| | | } |
| | | }) |
| | | }) |
| | | }, |
| | | data() { |
| | | return { |
| | | detialBox: false, |
| | | inType: "handle", |
| | | rules: { |
| | | from_address: [{ required: true, message: 'è¯·éæ©èµ·å§å°å', trigger: 'blur' }], |
| | | to_address: [{ required: true, message: 'è¯·éæ©ç®çå°å', trigger: 'blur' }] |
| | | }, |
| | | formdata: { |
| | | from_address: "", |
| | | to_address: "" |
| | | }, |
| | | formAddressList: [], |
| | | toAddressList: [] |
| | | }; |
| | | }, |
| | | methods: { |
| | | onSubmit() { |
| | | var _this = this; |
| | | this.$refs.ruleFormRef.validate((valid) => { |
| | | if (valid) { |
| | | _this.http.post("/api/ToMes/AddToFloat3", _this.formdata, "æ£å¨ç§»åº....").then(x => { |
| | | if (!x.status) return _this.$Message.error(x.message); |
| | | _this.$Message.success("ç§»åºæå!"); |
| | | _this.refresh(); |
| | | }); |
| | | } |
| | | }) |
| | | } |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | |
| | | <style> |
| | | .formContainer { |
| | | position: absolute; |
| | | width: 100%; |
| | | height: 100%; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | } |
| | | </style> |
| | | |
| | |
| | | // this.$Message.success('ç¹å»äºæé®'); |
| | | // } |
| | | // }); |
| | | // this.buttons.splice(1,0,function(){ |
| | | // name:"æ·»å ä»»å¡" |
| | | |
| | | // }) |
| | | this.buttons.forEach(x => { |
| | | if(x.value == 'Add') |
| | | { |
| | | x.name = 'æ·»å ä»»å¡' |
| | | } |
| | | }); |
| | | //示ä¾ï¼è®¾ç½®ä¿®æ¹æ°å»ºãç¼è¾å¼¹åºæ¡å段æ ç¾çé¿åº¦ |
| | | // this.boxOptions.labelWidth = 150; |
| | | }, |
| | |
| | | const editFormOptions = ref([[{ "title": "å¸å·", "required": true, "field": "UserName", "disabled": true }], |
| | | [{ "title": "å§å", "required": true, "field": "UserTrueName", "type": "text" }], |
| | | [{ "dataKey": "tree_roles", "data": [], "title": "è§è²", "required": true, "field": "Role_Id", "type": "cascader" }], |
| | | [{ "dataKey": "ç»ç»æºæ", "data": [], "title": "ç»ç»ææ¶", "field": "DeptIds", "colSize": 12, "type": "treeSelect" }], |
| | | // [{ "dataKey": "ç»ç»æºæ", "data": [], "title": "ç»ç»ææ¶", "field": "DeptIds", "colSize": 12, "type": "treeSelect" }], |
| | | [{ "dataKey": "enable", "data": [], "title": "æ¯å¦å¯ç¨", "required": true, "field": "Enable", "type": "select" }], |
| | | [{ "dataKey": "gender", "data": [], "title": "æ§å«", "field": "Gender", "type": "select" }], |
| | | [{ "title": "夿³¨", "field": "Remark", "colSize": 12, "type": "textarea" }], |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <!-- |
| | | *Authorï¼jxx |
| | | *Contactï¼283591387@qq.com |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *ä¸å¡è¯·å¨@/extension/system/system/Sys_User.jsæ¤å¤ç¼å |
| | | --> |
| | | <template> |
| | | <view-grid ref="grid" |
| | | :columns="columns" |
| | | :detail="detail" |
| | | :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend"> |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | | |
| | | import extend from "@/extension/widesea_system/system/Dt_Interfacerecord.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'User_Id', |
| | | footer: "Foots", |
| | | cnName: 'æ¥å£æ¥å¿', |
| | | name: 'Dt_Interfacerecord', |
| | | url: "/Dt_Interfacerecord/", |
| | | sortName: "interface_createtime" |
| | | }); |
| | | const editFormFields = ref(); |
| | | const editFormOptions = ref([]); |
| | | const searchFormFields = ref({"interface_remark":"",}); |
| | | const searchFormOptions = ref([[{"title":"è¯·æ±æ°æ®","field":"interface_paradata","type":"like"},{"title":"æè¿°","field":"interface_remark","type":"like"}], |
| | | [{"title":"è¿åæ°æ®","field":"interface_returndata","type":"like"},{"title":"å建æ¶é´","field":"interface_createtime","type":"datetime"}] |
| | | ]); |
| | | const columns = ref([ |
| | | {field:'interface_id',title:'主é®',type:'guid',width:60,hidden:true,readonly:true,require:true,align:'left'}, |
| | | { |
| | | |
| | | field:'interface_call', |
| | | type:'string', |
| | | title:"请æ±è
", |
| | | width:60, |
| | | sort:true, |
| | | align:'left' |
| | | }, |
| | | { |
| | | field:'interface_type', |
| | | title:'ç±»å', |
| | | type:'string', |
| | | width:60, |
| | | require:true, |
| | | align:'left', |
| | | bind:{data:[]}, |
| | | //sortable:true |
| | | }, |
| | | // {field:'interface_call',title:'请æ±è
',type:'string',width:60,require:true,align:'left'}, |
| | | {field:'interface_provide',title:'æ¥åè
',type:'string',width:60,require:true,align:'left'}, |
| | | {field:'interface_paradata',title:'è¯·æ±æ°æ®',type:'string',width:120,align:'left'}, |
| | | {field:'interface_returndata',title:'è¿åæ°æ®',type:'string',width:120,align:'left'}, |
| | | {field:'interface_createtime',title:'å建æ¶é´',type:'datetime',width:120,require:true,align:'left',sortable:true}, |
| | | {field:'interface_remark',title:'æè¿°',type:'string',width:120,align:'left'}, |
| | | {field:'interface_operator',title:'æä½è
',type:'string',width:60,require:true,align:'left'}, |
| | | {field:'interface_name',title:'æä½åç§°',type:'string',width:60,require:true,align:'left'}, |
| | | {field:'interface_message',title:'é误信æ¯',type:'string',width:120,require:true,align:'left'}, |
| | | ]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |
| | | columns: [], |
| | | sortName: "", |
| | | key: "" |
| | | }); |
| | | return { |
| | | table, |
| | | extend, |
| | | editFormFields, |
| | | editFormOptions, |
| | | searchFormFields, |
| | | searchFormOptions, |
| | | columns, |
| | | detail, |
| | | }; |
| | | }, |
| | | }); |
| | | </script> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div> |
| | | <!-- 详æ
å¼¹çª --> |
| | | <vol-box :height="450" v-model="detialBox" :padding="15" title="æ¥å¿è¯¦æ
"> |
| | | <div> |
| | | idï¼{{ rowData.interface_id }} |
| | | <hr /> |
| | | <b>æ¶é´ï¼</b> |
| | | {{ rowData.interface_createtime }} |
| | | <br /> |
| | | <b>æä½åç§°ï¼</b> |
| | | {{ rowData.interface_name }} |
| | | <br /> |
| | | <b>æè¿°ï¼</b> |
| | | {{ rowData.interface_remark }} |
| | | <br /> |
| | | <b>é误信æ¯ï¼</b> |
| | | <br /> |
| | | {{ rowData.interface_message }} |
| | | <br /> |
| | | <br /> |
| | | <b>è¯·æ±æ°æ®ï¼</b> |
| | | <br /> |
| | | <pre> {{ rowData.interface_paradata==""?rowData.interface_paradata:JSON.parse(rowData.interface_paradata) }}</pre> |
| | | <br /> |
| | | <b>è¿åæ°æ®ï¼</b> |
| | | <pre>{{rowData.interface_returndata==""?rowData.interface_returndata:JSON.parse(rowData.interface_returndata)}}</pre> |
| | | </div> |
| | | </vol-box> |
| | | </div> |
| | | </template> |
| | | |
| | | <script defer = "true"> |
| | | import VolBox from "@/components/basic/VolBox.vue"; |
| | | |
| | | export default { |
| | | components: { "vol-box": VolBox }, |
| | | methods: {}, |
| | | data() { |
| | | return { |
| | | detialBox: false, |
| | | rowData: "", |
| | | }; |
| | | }, |
| | | methods: { |
| | | openDialog(row) { |
| | | this.detialBox = true; |
| | | this.rowData = row; |
| | | } |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | |
| | | <style> |
| | | .formContainer { |
| | | position: absolute; |
| | | width: 100%; |
| | | height: 100%; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | } |
| | | </style> |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <!-- |
| | | *Authorï¼jxx |
| | | *Contactï¼283591387@qq.com |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *ä¸å¡è¯·å¨@/extension/widesea_wms/boxing/dt_boxing.jsæ¤å¤ç¼å |
| | | --> |
| | | <template> |
| | | <view-grid ref="grid" |
| | | :columns="columns" |
| | | :detail="detail" |
| | | :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend"> |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | | import extend from "@/extension/widesea_wms/boxing/dt_boxing.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'ID', |
| | | footer: "Foots", |
| | | cnName: 'ç»çä¿¡æ¯', |
| | | name: 'boxing/dt_boxing', |
| | | url: "/dt_boxing/", |
| | | sortName: "ID" |
| | | }); |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([]); |
| | | const searchFormFields = ref({}); |
| | | const searchFormOptions = ref([]); |
| | | const columns = ref([{field:'ID',title:'ID',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'}, |
| | | {field:'boxhead_creator',title:'ç»çè
',type:'string',width:110,require:true,align:'left',sort:true}, |
| | | {field:'boxhead_createtime',title:'ç»çæ¶é´',type:'datetime',width:150,require:true,align:'left',sort:true}, |
| | | {field:'boxdtl_state',title:'ç»çç¶æ',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'boxhead_address',title:'ç»çå°å',type:'string',width:180,require:true,align:'left'}, |
| | | {field:'boxhead_wheelSN',title:'SNå·',type:'string',width:180,require:true,align:'left'}, |
| | | {field:'boxhead_wheeltype',title:'ç±»å',type:'string',width:120,align:'left'}, |
| | | {field:'boxdtl_name',title:'åç§°',type:'guid',width:110,align:'left'}]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |
| | | columns: [], |
| | | sortName: "", |
| | | key: "" |
| | | }); |
| | | return { |
| | | table, |
| | | extend, |
| | | editFormFields, |
| | | editFormOptions, |
| | | searchFormFields, |
| | | searchFormOptions, |
| | | columns, |
| | | detail, |
| | | }; |
| | | }, |
| | | }); |
| | | </script> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <!-- |
| | | *Authorï¼jxx |
| | | *Contactï¼283591387@qq.com |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *ä¸å¡è¯·å¨@/extension/widesea_wms/boxing/dt_boxing_hty.jsæ¤å¤ç¼å |
| | | --> |
| | | <template> |
| | | <view-grid ref="grid" |
| | | :columns="columns" |
| | | :detail="detail" |
| | | :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend"> |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | | import extend from "@/extension/widesea_wms/boxing/dt_boxing_hty.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'ID', |
| | | footer: "Foots", |
| | | cnName: 'ç»çåå²ä¿¡æ¯', |
| | | name: 'boxing/dt_boxing_hty', |
| | | url: "/dt_boxing_hty/", |
| | | sortName: "ID" |
| | | }); |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([]); |
| | | const searchFormFields = ref({}); |
| | | const searchFormOptions = ref([]); |
| | | const columns = ref([{field:'ID',title:'ID',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'}, |
| | | {field:'boxhead_creator',title:'ç»çè
',type:'string',width:110,require:true,align:'left',sort:true}, |
| | | {field:'boxhead_createtime',title:'ç»çæ¶é´',type:'datetime',width:150,require:true,align:'left',sort:true}, |
| | | {field:'boxdtl_state',title:'ç»çç¶æ',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'boxhead_lastdatetime',title:'ç»ç宿æ¶é´',type:'datetime',width:150,align:'left',sort:true}, |
| | | {field:'boxhead_address',title:'ç»çå°å',type:'string',width:180,require:true,align:'left'}, |
| | | {field:'boxhead_wheelSN',title:'SNå·',type:'string',width:180,require:true,align:'left'}, |
| | | {field:'boxhead_wheeltype',title:'ç±»å',type:'string',width:120,align:'left'}, |
| | | {field:'boxdtl_name',title:'åç§°',type:'guid',width:110,align:'left'}]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |
| | | columns: [], |
| | | sortName: "", |
| | | key: "" |
| | | }); |
| | | return { |
| | | table, |
| | | extend, |
| | | editFormFields, |
| | | editFormOptions, |
| | | searchFormFields, |
| | | searchFormOptions, |
| | | columns, |
| | | detail, |
| | | }; |
| | | }, |
| | | }); |
| | | </script> |
| | |
| | | {field:'route_end',title:'ç»ç¹å°å',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'route_area',title:'åºå',type:'string',width:110,align:'left'}, |
| | | {field:'route_creator',title:'å建è
',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'route_createtime',title:'å建æ¶é´',type:'datetime',width:150,require:true,align:'left',sort:true}, |
| | | {field:'route_createtime',title:'å建æ¶é´',type:'datetime',width:150,require:true,align:'left',sort:true,hidden:true}, |
| | | {field:'Remark1',title:'Remark1',type:'string',width:110,hidden:true,align:'left'}, |
| | | {field:'Remark2',title:'Remark2',type:'string',width:110,hidden:true,align:'left'}, |
| | | {field:'Remark3',title:'Remark3',type:'string',width:110,hidden:true,align:'left'}, |
| | | {field:'Remark4',title:'Remark4',type:'string',width:110,hidden:true,align:'left'}, |
| | | {field:'Remark5',title:'Remark5',type:'string',width:110,hidden:true,align:'left'}, |
| | | {field:'ID',title:'ID',type:'int',width:80,require:true,align:'left'}]); |
| | | {field:'ID',title:'ID',type:'int',width:80,require:true,align:'left',hidden:true}]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <!-- |
| | | *Authorï¼jxx |
| | | *Contactï¼283591387@qq.com |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *ä¸å¡è¯·å¨@/extension/widesea_wms/system/dt_areainfo.jsæ¤å¤ç¼å |
| | | --> |
| | | <template> |
| | | <view-grid ref="grid" |
| | | :columns="columns" |
| | | :detail="detail" |
| | | :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend"> |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | | import extend from "@/extension/widesea_wms/system/dt_areainfo.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'area_code', |
| | | footer: "Foots", |
| | | cnName: 'åºåºä¿¡æ¯', |
| | | name: 'system/dt_areainfo', |
| | | url: "/dt_areainfo/", |
| | | sortName: "area_code" |
| | | }); |
| | | const editFormFields = ref({"area_name":"","area_des":""}); |
| | | const editFormOptions = ref([[{"title":"åç§°","required":true,"field":"area_name","type":"text"}], |
| | | [{"title":"æè¿°","field":"area_des","type":"text"}]]); |
| | | const searchFormFields = ref({"area_name":""}); |
| | | const searchFormOptions = ref([[{"title":"åç§°","field":"area_name","type":"like"}]]); |
| | | const columns = ref([{field:'area_code',title:'åºåºID',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'}, |
| | | {field:'area_name',title:'åç§°',type:'string',width:110,require:true,align:'left',sort:true}, |
| | | {field:'area_des',title:'æè¿°',type:'string',width:220,align:'left'}, |
| | | {field:'area_creator',title:'å建è
',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'area_datetime',title:'å建æ¶é´',type:'datetime',width:150,require:true,align:'left',sort:true}, |
| | | {field:'area_bindType',title:'ç»å®ç±»å',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'area_max',title:'æå¤§æ°é',type:'int',width:80,align:'left'}, |
| | | {field:'area_minimum',title:'æå°æ°é',type:'int',width:80,align:'left'}, |
| | | {field:'area_spare1',title:'å¤ç¨åº1',type:'string',width:120,align:'left'}, |
| | | {field:'area_spare2',title:'å¤ç¨åº2',type:'string',width:120,align:'left'}]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |
| | | columns: [], |
| | | sortName: "", |
| | | key: "" |
| | | }); |
| | | return { |
| | | table, |
| | | extend, |
| | | editFormFields, |
| | | editFormOptions, |
| | | searchFormFields, |
| | | searchFormOptions, |
| | | columns, |
| | | detail, |
| | | }; |
| | | }, |
| | | }); |
| | | </script> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <!-- |
| | | *Authorï¼jxx |
| | | *Contactï¼283591387@qq.com |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *ä¸å¡è¯·å¨@/extension/widesea_wms/system/dt_inventory.jsæ¤å¤ç¼å |
| | | --> |
| | | <template> |
| | | <view-grid ref="grid" |
| | | :columns="columns" |
| | | :detail="detail" |
| | | :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend"> |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | | import extend from "@/extension/widesea_wms/system/dt_inventory.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'ID', |
| | | footer: "Foots", |
| | | cnName: 'åºåæ¥è¯¢', |
| | | name: 'system/dt_inventory', |
| | | url: "/dt_inventory/", |
| | | sortName: "ID" |
| | | }); |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([]); |
| | | const searchFormFields = ref({"SN":"","Name":"","HearthNumber":"","HeatNumber":"","BilletNumber":"","remark":""}); |
| | | const searchFormOptions = ref([[{"title":"车轮SNå·","field":"SN","type":"like"},{"title":"产ååç§°","field":"Name","type":"like"},{"title":"æè¿°","field":"remark","type":"like"}],[{"title":"çç¼çå·","field":"HearthNumber","type":"like"},{"title":"ç代å·","field":"HeatNumber","type":"like"},{"title":"é¢å¯å·","field":"BilletNumber","type":"like"}]]); |
| | | const columns = ref([{field:'SN',title:'车轮SNå·',type:'string',width:220,align:'left',sort:true}, |
| | | {field:'Name',title:'产ååç§°',type:'string',width:220,align:'left'}, |
| | | {field:'FigureNumber',title:'产åå¾å·',type:'string',width:220,align:'left'}, |
| | | {field:'HearthNumber',title:'çç¼çå·',type:'string',width:220,align:'left'}, |
| | | {field:'HeatNumber',title:'ç代å·',type:'string',width:110,align:'left'}, |
| | | {field:'BilletNumber',title:'é¢å¯å·',type:'int',width:110,align:'left'}, |
| | | {field:'OnlineTime',title:'å
¥åºæ¶é´',type:'datetime',width:150,align:'left',sort:true}, |
| | | {field:'Operator',title:'æä½äººå',type:'string',width:110,align:'left'}, |
| | | {field:'remark',title:'æè¿°',type:'string',width:110,align:'left'}, |
| | | {field:'ID',title:'ID',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'}, |
| | | {field:'stationCode',title:'è´§ä½ç¼å·',type:'string',width:110,align:'left'}]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |
| | | columns: [], |
| | | sortName: "", |
| | | key: "" |
| | | }); |
| | | return { |
| | | table, |
| | | extend, |
| | | editFormFields, |
| | | editFormOptions, |
| | | searchFormFields, |
| | | searchFormOptions, |
| | | columns, |
| | | detail, |
| | | }; |
| | | }, |
| | | }); |
| | | </script> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <!-- |
| | | *Authorï¼jxx |
| | | *Contactï¼283591387@qq.com |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *ä¸å¡è¯·å¨@/extension/widesea_wms/system/dt_materielinfo.jsæ¤å¤ç¼å |
| | | --> |
| | | <template> |
| | | <view-grid ref="grid" |
| | | :columns="columns" |
| | | :detail="detail" |
| | | :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend"> |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | | import extend from "@/extension/widesea_wms/system/dt_materielinfo.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'ID', |
| | | footer: "Foots", |
| | | cnName: 'ç©æä¿¡æ¯', |
| | | name: 'system/dt_materielinfo', |
| | | url: "/dt_materielinfo/", |
| | | sortName: "ID" |
| | | }); |
| | | const editFormFields = ref({"materiel_id":"","materiel_name":"","materiel_areaid":"","materiel_long":"","materiel_width":"","materiel_height":"","materiel_desc":""}); |
| | | const editFormOptions = ref([[{"title":"ç©æid","required":true,"field":"materiel_id","type":"text"}], |
| | | [{"title":"ç©æåç§°","required":true,"field":"materiel_name","type":"text"}], |
| | | [{"dataKey":"area_name","data":[],"title":"æå±åºåº","required":true,"field":"materiel_areaid","type":"select"}], |
| | | [{"title":"ç©æé¿","field":"materiel_long","type":"decimal"}], |
| | | [{"title":"ç©æå®½","field":"materiel_width","type":"decimal"}], |
| | | [{"title":"ç©æé«","field":"materiel_height","type":"decimal"}], |
| | | [{"title":"ç©æä¿¡æ¯æè¿°","field":"materiel_desc"}]]); |
| | | const searchFormFields = ref({"materiel_id":"","materiel_areaid":"","materiel_name":"","materiel_desc":""}); |
| | | const searchFormOptions = ref([[{"title":"ç©æåç§°","field":"materiel_name","type":"like"},{"dataKey":"area_name","data":[],"title":"æå±åºåº","field":"materiel_areaid","type":"select"}],[{"title":"ç©æid","field":"materiel_id","type":"like"},{"title":"ç©æä¿¡æ¯æè¿°","field":"materiel_desc"}]]); |
| | | const columns = ref([{field:'materiel_pkid',title:'主é®',type:'guid',width:110,hidden:true,require:true,align:'left'}, |
| | | {field:'materiel_id',title:'ç©æid',type:'string',width:120,require:true,align:'left',sort:true}, |
| | | {field:'materiel_areaid',title:'æå±åºåº',type:'int',bind:{ key:'area_name',data:[]},width:110,require:true,align:'left'}, |
| | | {field:'materiel_name',title:'ç©æåç§°',type:'string',width:180,require:true,align:'left'}, |
| | | {field:'materiel_desc',title:'ç©æä¿¡æ¯æè¿°',type:'string',width:180,align:'left'}, |
| | | {field:'materiel_packspes',title:'å
è£
è§æ ¼',type:'string',width:110,align:'left'}, |
| | | {field:'materiel_state',title:'å½åç¶æ',type:'string',width:110,align:'left'}, |
| | | {field:'materiel_type',title:'ç©æç±»å',type:'string',width:110,align:'left'}, |
| | | {field:'materiel_unit',title:'计éåä½',type:'string',width:110,align:'left'}, |
| | | {field:'materiel_minpack_qty',title:'æå°å
è£
',type:'decimal',width:110,align:'left'}, |
| | | {field:'materiel_mfacturer',title:'ç产å',type:'string',width:110,align:'left'}, |
| | | {field:'materiel_supplier',title:'ä¾åºå',type:'string',width:110,align:'left'}, |
| | | {field:'materiel_netweight',title:'åé',type:'decimal',width:110,align:'left'}, |
| | | {field:'materiel_grossweight',title:'æ¯é',type:'decimal',width:110,align:'left'}, |
| | | {field:'materiel_validity',title:'æææ',type:'int',width:110,align:'left'}, |
| | | {field:'materiel_safety',title:'å®å
¨åºå',type:'decimal',width:110,align:'left'}, |
| | | {field:'materiel_creator',title:'å建è
',type:'string',width:110,align:'left'}, |
| | | {field:'materiel_createtime',title:'å建æ¶é´',type:'datetime',width:150,align:'left',sort:true}, |
| | | {field:'materiel_remark',title:'夿³¨',type:'string',width:120,align:'left'}, |
| | | {field:'materiel_purchaseType',title:'éè´ç±»å',type:'string',width:110,align:'left'}, |
| | | {field:'materiel_englishdesc',title:'è±ææè¿°',type:'string',width:180,align:'left'}, |
| | | {field:'materiel_materielGroup',title:'ç©æç»',type:'string',width:110,align:'left'}, |
| | | {field:'materiel_productGroup',title:'产åç»',type:'string',width:110,align:'left'}, |
| | | {field:'materiel_size',title:'大å°/é纲',type:'string',width:110,align:'left'}, |
| | | {field:'materiel_mrpType',title:'MRPç±»å',type:'string',width:110,align:'left'}, |
| | | {field:'materiel_traceabilityCode',title:'追溯æ è¯',type:'string',width:110,align:'left'}, |
| | | {field:'materiel_long',title:'ç©æé¿',type:'decimal',width:110,align:'left'}, |
| | | {field:'materiel_width',title:'ç©æå®½',type:'decimal',width:110,align:'left'}, |
| | | {field:'materiel_height',title:'ç©æé«',type:'decimal',width:110,align:'left'}, |
| | | {field:'materiel_palletlong',title:'æçé¿',type:'decimal',width:110,align:'left'}, |
| | | {field:'materiel_palletwidth',title:'æç宽',type:'decimal',width:110,align:'left'}, |
| | | {field:'materiel_palletheight',title:'æçé«',type:'decimal',width:110,align:'left'}, |
| | | {field:'materiel_location',title:'åºåå°ç¹',type:'string',width:110,align:'left'}, |
| | | {field:'ID',title:'ID',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'}]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |
| | | columns: [], |
| | | sortName: "", |
| | | key: "" |
| | | }); |
| | | return { |
| | | table, |
| | | extend, |
| | | editFormFields, |
| | | editFormOptions, |
| | | searchFormFields, |
| | | searchFormOptions, |
| | | columns, |
| | | detail, |
| | | }; |
| | | }, |
| | | }); |
| | | </script> |
| | |
| | | const table = ref({ |
| | | key: 'zj', |
| | | footer: "Foots", |
| | | cnName: 'ç«ç¹æ¥è¯¢', |
| | | cnName: 'åºä½ä¿¡æ¯', |
| | | name: 'system/dt_stationinfo', |
| | | url: "/dt_stationinfo/", |
| | | sortName: "zj" |
| | | }); |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([]); |
| | | const searchFormFields = ref({}); |
| | | const searchFormOptions = ref([]); |
| | | const searchFormFields = ref({"stationCode":"","stationType":"","area":"","enable":"","location_state":[],"bindSN":""}); |
| | | const searchFormOptions = ref([[{"title":"ç¼åæ¶ç¼å·","field":"stationCode","type":"like"},{"title":"车轮SNå·","field":"bindSN","type":"like"},{"dataKey":"materielinfos","data":[],"title":"ç©æç±»å","field":"stationType","type":"select"}],[{"dataKey":"area_name","data":[],"title":"åºå","field":"area","type":"select"},{"dataKey":"location_states","data":[],"title":"è´§ä½ç¶æ","field":"location_state","type":"selectList"},{"dataKey":"status","data":[],"title":"æ¯å¦å¯ç¨","field":"enable","type":"select"}]]); |
| | | const columns = ref([{field:'id',title:'id',type:'guid',width:110,hidden:true,readonly:true,require:true,align:'left'}, |
| | | {field:'stationCode',title:'ç¼åæ¶ç¼å·',type:'string',width:110,align:'left',sort:true}, |
| | | {field:'stationType',title:'ç©æç±»å',type:'string',width:110,align:'left'}, |
| | | {field:'area',title:'åºå',type:'string',width:110,align:'left'}, |
| | | {field:'enable',title:'æ¯å¦å¯ç¨',type:'bool',width:110,align:'left'}, |
| | | {field:'location_state',title:'è´§ä½ç¶æ',type:'string',width:220,align:'left'}, |
| | | {field:'stationType',title:'ç©æç±»å',type:'string',bind:{ key:'materielinfos',data:[]},width:110,align:'left'}, |
| | | {field:'area',title:'åºå',type:'string',bind:{ key:'area_name',data:[]},width:110,require:true,align:'left'}, |
| | | {field:'enable',title:'æ¯å¦å¯ç¨',type:'bool',bind:{ key:'status',data:[]},width:110,require:true,align:'left'}, |
| | | {field:'location_state',title:'è´§ä½ç¶æ',type:'string',bind:{ key:'location_states',data:[]},width:220,align:'left'}, |
| | | {field:'lastUpdateTime',title:'æåç¶ææ¹åæ¶é´',type:'datetime',width:150,align:'left',sort:true}, |
| | | {field:'quantity',title:'车轮æ°é',type:'int',width:80,align:'left'}, |
| | | {field:'bindSN',title:'车轮SNå·',type:'string',width:220,align:'left'}, |
| | | {field:'tray_status',title:'æçç¶æ',type:'string',bind:{ key:'tray_status',data:[]},width:110,align:'left'}, |
| | | {field:'line',title:'è¡',type:'int',width:80,align:'left'}, |
| | | {field:'column',title:'å',type:'int',width:80,align:'left'}, |
| | | {field:'remark',title:'夿³¨',type:'string',width:120,align:'left'}, |
| | | {field:'getStatus',title:'winfromæ´æ°çç¶æ',type:'int',width:110,align:'left'}, |
| | | {field:'getLastTime',title:'winfromæåæ´æ°çæ¶é´',type:'datetime',width:150,align:'left',sort:true}, |
| | | {field:'sort',title:'æåº',type:'int',width:110,align:'left'}, |
| | | {field:'bindType',title:'ç»å®å¯åæ¾ç©æç±»å',type:'string',width:220,align:'left'}, |
| | | {field:'zj',title:'主é®',type:'int',width:80,require:true,align:'left'}]); |
| | | {field:'zj',title:'主é®',type:'int',width:80,hidden:true,require:true,align:'left'}, |
| | | {field:'Number',title:'å·¥åç¼å·',type:'string',width:220,align:'left'}, |
| | | {field:'heatNumber',title:'çå·',type:'int',width:80,align:'left'}]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <!-- |
| | | *Authorï¼jxx |
| | | *Contactï¼283591387@qq.com |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *ä¸å¡è¯·å¨@/extension/widesea_wms/taskinfo/dt_agvtask_hty.jsæ¤å¤ç¼å |
| | | --> |
| | | <template> |
| | | <view-grid ref="grid" |
| | | :columns="columns" |
| | | :detail="detail" |
| | | :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend"> |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | | import extend from "@/extension/widesea_wms/taskinfo/dt_agvtask_hty.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'agv_qty', |
| | | footer: "Foots", |
| | | cnName: 'AGVåå²ä»»å¡', |
| | | name: 'taskinfo/dt_agvtask_hty', |
| | | url: "/dt_agvtask_hty/", |
| | | sortName: "agv_qty" |
| | | }); |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([]); |
| | | const searchFormFields = ref({"agv_tasknum":"","agv_materielid":"","agv_createtime":"","agv_taskstate":"","agv_fromaddress":"","agv_toaddress":"","agv_operatetype":"","agv_barcode":"","agv_materbarcode":""}); |
| | | const searchFormOptions = ref([[{"title":"ä»»å¡ç¼å·","field":"agv_tasknum","type":"like"},{"title":"ç©æç±»å","field":"agv_materielid","type":"like"},{"dataKey":"Taskstates","data":[],"title":"ä»»å¡ç¶æ","field":"agv_taskstate","type":"select"}],[{"title":"èµ·ç¹å°å","field":"agv_fromaddress","type":"like"},{"title":"ç»ç¹å°å","field":"agv_toaddress","type":"like"},{"dataKey":"Taskstates","data":[],"title":"æä½ç±»å","field":"agv_operatetype","type":"select"}],[{"title":"æçç ","field":"agv_barcode","type":"like"},{"title":"ç©æç ","field":"agv_materbarcode","type":"like"},{"title":"å建æ¶é´","field":"agv_createtime","type":"datetime"}]]); |
| | | const columns = ref([{field:'hty_pkid',title:'åå²ä»»å¡ID',type:'guid',width:110,hidden:true,readonly:true,require:true,align:'left'}, |
| | | {field:'agv_id',title:'ä»»å¡ID',type:'guid',width:110,hidden:true,require:true,align:'left'}, |
| | | {field:'agv_tasknum',title:'ä»»å¡ç¼å·',type:'string',sort:true,width:110,require:true,align:'left',sort:true}, |
| | | {field:'agv_materielid',title:'ç©æç±»å',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'agv_qty',title:'æ°é',type:'int',width:110,require:true,align:'left'}, |
| | | {field:'agv_createtime',title:'å建æ¶é´',type:'datetime',width:150,require:true,align:'left',sort:true}, |
| | | {field:'agv_realesstime',title:'æ§è¡æ¶é´',type:'datetime',width:150,align:'left',sort:true}, |
| | | {field:'agv_finishedtime',title:'宿æ¶é´',type:'datetime',width:150,align:'left',sort:true}, |
| | | {field:'agv_taskstate',title:'ä»»å¡ç¶æ',type:'string',bind:{ key:'Taskstates',data:[]},width:110,require:true,align:'left'}, |
| | | {field:'agv_tasktype',title:'ä»»å¡ç±»å',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'agv_fromaddress',title:'èµ·ç¹å°å',type:'string',width:110,align:'left'}, |
| | | {field:'agv_toaddress',title:'ç»ç¹å°å',type:'string',width:110,align:'left'}, |
| | | {field:'agv_operatetype',title:'æä½ç±»å',type:'string',bind:{ key:'Taskstates',data:[]},width:110,require:true,align:'left'}, |
| | | {field:'agv_compeletor',title:'æä½è
',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'agv_completedate',title:'æä½æ¶é´',type:'datetime',width:150,require:true,align:'left',sort:true}, |
| | | {field:'agv_grade',title:'ä»»å¡ç级',type:'int',width:110,align:'left'}, |
| | | {field:'agv_userid',title:'å建è
',type:'string',width:110,align:'left'}, |
| | | {field:'agv_barcode',title:'æçç ',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'agv_code',title:'AGVç¼å·',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'agv_worktype',title:'AGVå·¥ä½ç±»å',type:'int',width:110,require:true,align:'left'}, |
| | | {field:'agv_materbarcode',title:'ç©æç ',type:'string',width:110,align:'left'}, |
| | | {field:'agv_executingBeginTime',title:'èµ·å§ç¹æ§è¡ä¸',type:'datetime',width:150,align:'left',sort:true}, |
| | | {field:'agv_executingEndTime',title:'èµ·å§ç¹å®æ',type:'datetime',width:150,align:'left',sort:true}, |
| | | {field:'agv_completeBeginTime',title:'ç®çç¹æ§è¡ä¸',type:'datetime',width:150,align:'left',sort:true}, |
| | | {field:'agv_remark',title:'夿³¨',type:'string',width:220,align:'left'}, |
| | | {field:'bindSN',title:'车轮SNå·',type:'string',width:220,align:'left'}]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |
| | | columns: [], |
| | | sortName: "", |
| | | key: "" |
| | | }); |
| | | return { |
| | | table, |
| | | extend, |
| | | editFormFields, |
| | | editFormOptions, |
| | | searchFormFields, |
| | | searchFormOptions, |
| | | columns, |
| | | detail, |
| | | }; |
| | | }, |
| | | }); |
| | | </script> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace WIDESEA_Common |
| | | { |
| | | /// <summary> |
| | | /// 设å¤ç¶æ |
| | | /// </summary> |
| | | public enum EquipmentState |
| | | { |
| | | /// <summary> |
| | | /// å¯ç¨ |
| | | /// </summary> |
| | | Enable, |
| | | /// <summary> |
| | | /// ç¦ç¨ |
| | | /// </summary> |
| | | Disenable |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace WIDESEA_Common.EquipmentEnum |
| | | { |
| | | public enum StationEnum |
| | | { |
| | | /// <summary> |
| | | /// æªè¿æ¥ |
| | | /// </summary> |
| | | Disconnect = -1, |
| | | /// <summary> |
| | | /// æ æ |
| | | /// </summary> |
| | | Empty, |
| | | /// <summary> |
| | | /// ææ |
| | | /// </summary> |
| | | Stroge, |
| | | /// <summary> |
| | | /// å
许 |
| | | /// </summary> |
| | | Allow, |
| | | /// <summary> |
| | | /// ä¸å
许 |
| | | /// </summary> |
| | | NotAllow |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.EFDbContext; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Services.IRepositories; |
| | | using WIDESEA_Services.Repositories; |
| | | |
| | | namespace WIDESEA_Comm.LogInfo |
| | | { |
| | | public class WriteWMSLog |
| | | { |
| | | /// <summary> |
| | | /// æ¥å£æ°æ®è®°å½ |
| | | /// </summary> |
| | | /// <param name="id">ä»»å¡ID</param> |
| | | /// <param name="code">æå/失败</param> |
| | | /// <param name="provide">æ¥åè
</param> |
| | | /// <param name="call">请æ±è
</param> |
| | | /// <param name="paradata">è¯·æ±æ°æ®</param> |
| | | /// <param name="returndata">è¿åæ°æ®</param> |
| | | /// <param name="remark">夿³¨/æè¿°</param> |
| | | /// <param name="name">æä½åç§°(æ¹æ³å)</param> |
| | | /// <param name="message">é误信æ¯</param> |
| | | public static void LogAdd(string id, string code, string provide, string call, string paradata, string returndata, string remark, string name, string message) |
| | | { |
| | | VOLContext context = new VOLContext(); |
| | | IDt_InterfacerecordRepository interfacerecordRepository = new Dt_InterfacerecordRepository(context); |
| | | Dt_Interfacerecord interfacerecord = new Dt_Interfacerecord() |
| | | { |
| | | interface_id = Guid.NewGuid(), |
| | | interface_type = code, |
| | | interface_provide = provide, |
| | | interface_call = call, |
| | | interface_paradata = paradata, |
| | | interface_returndata = returndata, |
| | | interface_createtime = DateTime.Now, |
| | | interface_remark = remark, |
| | | interface_operator = "admin",//UserContext.Current.UserName == null ? "admin" : UserContext.Current.UserName, |
| | | interface_name = name, |
| | | interface_message = message, |
| | | }; |
| | | Dt_Interfacerecord data = null; |
| | | if (interfacerecord.interface_message != "") |
| | | data = interfacerecordRepository.FindFirst(x => x.interface_message == interfacerecord.interface_message && x.interface_remark == interfacerecord.interface_remark && x.interface_createtime.Day == DateTime.Now.Day && x.interface_paradata.Contains(id)); |
| | | if (data == null) |
| | | interfacerecordRepository.Add(interfacerecord, true); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace WIDESEA_Comm |
| | | { |
| | | public enum OperateTypes |
| | | { |
| | | /// <summary> |
| | | /// èªå¨å®æ |
| | | /// </summary> |
| | | Complete, |
| | | /// <summary> |
| | | /// æå¨åæ¶ |
| | | /// </summary> |
| | | ManualCancellation, |
| | | /// <summary> |
| | | /// æå¨å®æ |
| | | /// </summary> |
| | | ManualCompletion, |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace WIDESEA_Comm |
| | | { |
| | | public enum LocationStateEnum |
| | | { |
| | | /// <summary> |
| | | /// æè´§ |
| | | /// </summary> |
| | | Stroge, |
| | | /// <summary> |
| | | /// ç©ºè´§ä½ |
| | | /// </summary> |
| | | Empty |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace WIDESEA_Common |
| | | { |
| | | public enum AGVJobEnum |
| | | { |
| | | /// <summary> |
| | | /// æ°ä»»å¡ |
| | | /// </summary> |
| | | newTaskEnum = 1, |
| | | /// <summary> |
| | | /// åæ¶ä»»å¡ |
| | | /// </summary> |
| | | cancelTaskEnum = 2, |
| | | /// <summary> |
| | | /// åæ´ä»»å¡ |
| | | /// </summary> |
| | | changeTaskEnum = 3, |
| | | /// <summary> |
| | | /// ä¸åä»»å¡å¼å¸¸ |
| | | /// </summary> |
| | | newTaskExp = 11, |
| | | /// <summary> |
| | | /// åæ¶ä»»å¡å¼å¸¸ |
| | | /// </summary> |
| | | cancelTaskExp = 12, |
| | | /// <summary> |
| | | /// åæ´ä»»å¡å¼å¸¸ |
| | | /// </summary> |
| | | changeTaskExp = 13, |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace WIDESEA_Common |
| | | { |
| | | public enum AGVTaskStateEnum |
| | | { |
| | | /// <summary> |
| | | /// å·²ä¸åå¾
åå¤ |
| | | /// </summary> |
| | | Wait, |
| | | /// <summary> |
| | | /// èµ·ç¹æ§è¡ä¸ |
| | | /// </summary> |
| | | Executing = 1, |
| | | /// <summary> |
| | | /// èµ·ç¹å·²å®æ |
| | | /// </summary> |
| | | Complete = 2, |
| | | /// <summary> |
| | | /// ç»ç¹æ§è¡ä¸ |
| | | /// </summary> |
| | | Executing1 = 3, |
| | | /// <summary> |
| | | /// ç»ç¹å·²å®æ |
| | | /// </summary> |
| | | Complete1 = 4, |
| | | /// <summary> |
| | | /// å·²ä¸å |
| | | /// </summary> |
| | | SendOut, |
| | | /// <summary> |
| | | /// å·²åå»ºæªæ§è¡ |
| | | /// </summary> |
| | | Create, |
| | | /// <summary> |
| | | /// å¼å¸¸ |
| | | /// </summary> |
| | | Abnormal, |
| | | /// <summary> |
| | | /// ç¼è¾ä¸ |
| | | /// </summary> |
| | | Editing, |
| | | /// <summary> |
| | | /// æ´æ¹ä»»å¡ç级å¼å¸¸ï¼RCSæ¶å°çç°æä»»å¡æ´æ¹æä»¤æ æ³æ§è¡ï¼ |
| | | /// </summary> |
| | | EditAbnormal, |
| | | /// <summary> |
| | | /// æ§è¡å¼å¸¸ï¼RCSå·²æ¶å°æ°ä¸åçä»»å¡ä½æ æ³æ§è¡ï¼ |
| | | /// </summary> |
| | | ExecutAbnormal, |
| | | /// <summary> |
| | | /// åæ¶ |
| | | /// </summary> |
| | | Cancel, |
| | | /// <summary> |
| | | /// å¾
åæ¶ |
| | | /// </summary> |
| | | WaitCancel, |
| | | /// <summary> |
| | | /// åæ¶å¼å¸¸ï¼RCSæ¶å°çç°æä»»å¡åæ¶æä»¤æ æ³æ§è¡ï¼ |
| | | /// </summary> |
| | | CancelAbnormal, |
| | | /// <summary> |
| | | /// åæ¶å¾
åå¤ |
| | | /// </summary> |
| | | WaitReply, |
| | | /// <summary> |
| | | /// éåä¸ |
| | | /// </summary> |
| | | Queue, |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Text; |
| | | |
| | | namespace WIDESEA_Common |
| | | { |
| | | public enum AGVTaskTypeEnum |
| | | { |
| | | /// <summary> |
| | | /// éæ»¡ææ¶ |
| | | /// </summary> |
| | | SendFull = 1, |
| | | /// <summary> |
| | | /// åç©ºææ¶ |
| | | /// </summary> |
| | | TakeEmpty = 2, |
| | | /// <summary> |
| | | /// ç»çå
¥åº |
| | | /// </summary> |
| | | [Description("ç»çå
¥åº")] |
| | | TaskType_Inbound = 3, |
| | | /// <summary> |
| | | /// æ¬è¿ |
| | | /// </summary> |
| | | [Description("æ¬è¿")] |
| | | TaskType_Outbound = 4, |
| | | /// <summary> |
| | | /// è°æ¨å
¥åº |
| | | /// </summary> |
| | | [Description("è°æ¨å
¥åº")] |
| | | TaskType_AllotInbound = 5, |
| | | /// <summary> |
| | | /// è°æ¨åºåº |
| | | /// </summary> |
| | | [Description("è°æ¨åºåº")] |
| | | TaskType_AllotOutbound = 6, |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using FreeSql; |
| | | using System; |
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.FreeDB; |
| | | |
| | | namespace WIDESEA_Comm.TaskNo |
| | | { |
| | | public class IdenxManager |
| | | { |
| | | static FreeDB freeDB = new FreeDB(); |
| | | private static object lock_obj = new object(); |
| | | |
| | | /// <summary> |
| | | /// è·åä»»å¡ç¼å· |
| | | /// </summary> |
| | | /// <param name="first">æ 记头å°å</param> |
| | | /// <param name="numType">ç¼å·ç±»å</param> |
| | | /// <returns></returns> |
| | | public static string GetTaskNo(string first = "", string numType = "WMS") |
| | | { |
| | | lock (lock_obj) |
| | | { |
| | | var taskno = freeDB.DataBase.Ado.QuerySingle<int>("select taskno from dt_task_num where numtype=@numtype", new { numType }); |
| | | |
| | | //å åæºä»»å¡å·å¤ç |
| | | if (numType == "WMS") |
| | | { |
| | | //éå¶æå°åæå¤§å¼ |
| | | if (taskno < 1000 || taskno >= 100000) |
| | | { |
| | | taskno = 1000; |
| | | } |
| | | else |
| | | { |
| | | taskno++; |
| | | } |
| | | } |
| | | |
| | | freeDB.DataBase.Ado.ExecuteNonQuery("update dt_task_num set taskno=@taskno where numtype=@numtype", new { numType, taskno }); |
| | | return first + taskno; |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | <ItemGroup> |
| | | <ProjectReference Include="..\WIDESEA_Core\WIDESEA_Core.csproj" /> |
| | | <ProjectReference Include="..\WIDESEA_System\WIDESEA_System.csproj" /> |
| | | </ItemGroup> |
| | | |
| | | </Project> |
| | |
| | | switch (dicNo) |
| | | { |
| | | case "roles": |
| | | originalSql = GetRolesSql(originalSql); |
| | | break; |
| | | //2020.05.24å¢å ç»å®table表æ¶ï¼è·åææçè§è²å表 |
| | | //注æï¼å¦ææ¯2020.05.24ä¹åè·åçæ°æ®åºèæ¬ |
| | | //请å¨èåã䏿æ¡ç»å®è®¾ç½®ãæ·»å ä¸ä¸ªåå
¸ç¼å·ãt_rolesã,é¤äºåå
¸ç¼å·ï¼å
¶ä»å
容é便填å |
| | | case "t_roles": |
| | | originalSql = GetRolesSql(); |
| | | break; |
| | | case "tree_roles": |
| | | originalSql = GetRolesSql(originalSql); |
| | | break; |
| | | default: |
| | | break; |
| | | } |
| | | return originalSql; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 2020.05.24å¢å ç»å®table表æ¶ï¼è·åææçè§è²å表 |
| | | /// </summary> |
| | | /// <param name="context"></param> |
| | | /// <param name="originalSql"></param> |
| | | /// <returns></returns> |
| | | public static string GetRolesSql() |
| | | { |
| | | if (DBType.Name == DbCurrentType.PgSql.ToString()) |
| | | { |
| | | return "SELECT \"Role_Id\" as key,\"RoleName\" as value from Sys_Role"; |
| | | } |
| | | return $@"SELECT Role_Id as 'key',RoleName as 'value' FROM Sys_Role |
| | | WHERE Enable=1 "; |
| | | } |
| | | /// <summary> |
| | | /// è·åè§£å³çæ°æ®æºï¼åªè½çå°èªå·±ä¸ä¸çº§ææè§è² |
| | | /// </summary> |
| | |
| | | /// <returns></returns> |
| | | public static string GetRolesSql(string originalSql) |
| | | { |
| | | |
| | | |
| | | if (UserContext.Current.IsSuperAdmin) |
| | | { |
| | | return originalSql; |
| | |
| | | int currnetRoleId = UserContext.Current.RoleId; |
| | | List<int> roleIds = RoleContext.GetAllChildrenIds(currnetRoleId); |
| | | roleIds.Add(currnetRoleId); |
| | | if (DBType.Name == DbCurrentType.PgSql.ToString()) |
| | | { |
| | | originalSql = $"SELECT \"Role_Id\" as key,\"Role_Id\" as id,\"RoleName\" as value,\"ParentId\" AS parentId from Sys_Role" |
| | | +$" where \"Role_Id\" in ({string.Join(',', roleIds)})"; |
| | | } |
| | | else { |
| | | originalSql= $@"SELECT Role_Id as 'key',Role_Id AS id,ParentId AS parentId,RoleName as 'value' FROM Sys_Role |
| | | WHERE Enable=1 and Role_Id in ({string.Join(',', roleIds)})"; |
| | | } |
| | | //if (DBType.Name == DbCurrentType.PgSql.ToString()) |
| | | //{ |
| | | // originalSql = $"SELECT \"Role_Id\" as key,\"Role_Id\" as id,\"RoleName\" as value,\"ParentId\" AS parentId from Sys_Role" |
| | | // +$" where \"Role_Id\" in ({string.Join(',', roleIds)})"; |
| | | //} |
| | | //else { |
| | | // originalSql= $@"SELECT Role_Id as 'key',Role_Id AS id,ParentId AS parentId,RoleName as 'value' FROM Sys_Role |
| | | // WHERE Enable=1 and Role_Id in ({string.Join(',', roleIds)})"; |
| | | //} |
| | | originalSql = $@"SELECT Role_Id as 'key',RoleName as 'value' FROM Sys_Role |
| | | WHERE Enable=1 and Role_Id in ({string.Join(',', roleIds)})"; |
| | | return originalSql; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *å¦ææ°æ®åºå段åçååï¼è¯·å¨ä»£ç çå¨éæ°çææ¤Model |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Entity.SystemModels; |
| | | |
| | | namespace WIDESEA_Entity.DomainModels |
| | | { |
| | | [Entity(TableCnName = "ç»çä¿¡æ¯",TableName = "dt_boxing")] |
| | | public partial class dt_boxing:BaseEntity |
| | | { |
| | | /// <summary> |
| | | ///ID |
| | | /// </summary> |
| | | [Key] |
| | | [Display(Name ="ID")] |
| | | [Column(TypeName="int")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public int ID { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç»çè
|
| | | /// </summary> |
| | | [Display(Name ="ç»çè
")] |
| | | [MaxLength(40)] |
| | | [Column(TypeName="nvarchar(40)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string boxhead_creator { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç»çæ¶é´ |
| | | /// </summary> |
| | | [Display(Name ="ç»çæ¶é´")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public DateTime boxhead_createtime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç»çç¶æ |
| | | /// </summary> |
| | | [Display(Name ="ç»çç¶æ")] |
| | | [MaxLength(40)] |
| | | [Column(TypeName="nvarchar(40)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string boxdtl_state { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç»çå°å |
| | | /// </summary> |
| | | [Display(Name ="ç»çå°å")] |
| | | [MaxLength(80)] |
| | | [Column(TypeName="nvarchar(80)")] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string boxhead_address { get; set; } |
| | | |
| | | /// <summary> |
| | | ///SNå· |
| | | /// </summary> |
| | | [Display(Name ="SNå·")] |
| | | [MaxLength(80)] |
| | | [Column(TypeName="nvarchar(80)")] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string boxhead_wheelSN { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç±»å |
| | | /// </summary> |
| | | [Display(Name ="ç±»å")] |
| | | [MaxLength(40)] |
| | | [Column(TypeName="nvarchar(40)")] |
| | | public string boxhead_wheeltype { get; set; } |
| | | |
| | | /// <summary> |
| | | ///åç§° |
| | | /// </summary> |
| | | [Display(Name ="åç§°")] |
| | | [Column(TypeName="uniqueidentifier")] |
| | | public Guid? boxdtl_name { get; set; } |
| | | |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *å¦ææ°æ®åºå段åçååï¼è¯·å¨ä»£ç çå¨éæ°çææ¤Model |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Entity.SystemModels; |
| | | |
| | | namespace WIDESEA_Entity.DomainModels |
| | | { |
| | | [Entity(TableCnName = "ç»çåå²ä¿¡æ¯",TableName = "dt_boxing_hty")] |
| | | public partial class dt_boxing_hty:BaseEntity |
| | | { |
| | | /// <summary> |
| | | ///ID |
| | | /// </summary> |
| | | [Key] |
| | | [Display(Name ="ID")] |
| | | [Column(TypeName="int")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public int ID { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç»çè
|
| | | /// </summary> |
| | | [Display(Name ="ç»çè
")] |
| | | [MaxLength(40)] |
| | | [Column(TypeName="nvarchar(40)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string boxhead_creator { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç»çæ¶é´ |
| | | /// </summary> |
| | | [Display(Name ="ç»çæ¶é´")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public DateTime boxhead_createtime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç»çç¶æ |
| | | /// </summary> |
| | | [Display(Name ="ç»çç¶æ")] |
| | | [MaxLength(40)] |
| | | [Column(TypeName="nvarchar(40)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string boxdtl_state { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç»ç宿æ¶é´ |
| | | /// </summary> |
| | | [Display(Name ="ç»ç宿æ¶é´")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | public DateTime? boxhead_lastdatetime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç»çå°å |
| | | /// </summary> |
| | | [Display(Name ="ç»çå°å")] |
| | | [MaxLength(80)] |
| | | [Column(TypeName="nvarchar(80)")] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string boxhead_address { get; set; } |
| | | |
| | | /// <summary> |
| | | ///SNå· |
| | | /// </summary> |
| | | [Display(Name ="SNå·")] |
| | | [MaxLength(80)] |
| | | [Column(TypeName="nvarchar(80)")] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string boxhead_wheelSN { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç±»å |
| | | /// </summary> |
| | | [Display(Name ="ç±»å")] |
| | | [MaxLength(40)] |
| | | [Column(TypeName="nvarchar(40)")] |
| | | public string boxhead_wheeltype { get; set; } |
| | | |
| | | /// <summary> |
| | | ///åç§° |
| | | /// </summary> |
| | | [Display(Name ="åç§°")] |
| | | [Column(TypeName="uniqueidentifier")] |
| | | public Guid? boxdtl_name { get; set; } |
| | | |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *å¦ææ°æ®åºå段åçååï¼è¯·å¨ä»£ç çå¨éæ°çææ¤Model |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Entity.SystemModels; |
| | | |
| | | namespace WIDESEA_Entity.DomainModels |
| | | { |
| | | |
| | | public partial class dt_boxing |
| | | { |
| | | //æ¤å¤é
ç½®åæ®µ(åæ®µé
ç½®è§æ¤modelçå¦ä¸ä¸ªpartial),å¦æè¡¨ä¸æ²¡ææ¤å段请å ä¸ [NotMapped]屿§ï¼å¦åä¼å¼å¸¸ |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *å¦ææ°æ®åºå段åçååï¼è¯·å¨ä»£ç çå¨éæ°çææ¤Model |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Entity.SystemModels; |
| | | |
| | | namespace WIDESEA_Entity.DomainModels |
| | | { |
| | | |
| | | public partial class dt_boxing_hty |
| | | { |
| | | //æ¤å¤é
ç½®åæ®µ(åæ®µé
ç½®è§æ¤modelçå¦ä¸ä¸ªpartial),å¦æè¡¨ä¸æ²¡ææ¤å段请å ä¸ [NotMapped]屿§ï¼å¦åä¼å¼å¸¸ |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace WIDESEA_Entity.DomainModels.Mes |
| | | { |
| | | public class PADRequest |
| | | { |
| | | /// <summary> |
| | | /// è¾é线ç¼å· |
| | | /// </summary> |
| | | public string code { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æçç±»å |
| | | /// </summary> |
| | | public string palletCode { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace WIDESEA_Entity.DomainModels.Mes |
| | | { |
| | | public class HCJManage |
| | | { |
| | | /// <summary> |
| | | /// ç¼åæ¶ç¼å· |
| | | /// </summary> |
| | | public string code { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 请æ±ç±»å inå
¥æ,outåºæ |
| | | /// </summary> |
| | | public string requestType { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace WIDESEA_Entity.DomainModels.Mes |
| | | { |
| | | public class MesRequest |
| | | { |
| | | /// <summary> |
| | | /// Mes对åºç设å¤ç¼å· |
| | | /// </summary> |
| | | public string EqMesCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 䏿ãinã䏿ãoutã |
| | | /// </summary> |
| | | public string RequestType { get; set; } |
| | | } |
| | | |
| | | public class MesRequestTemp |
| | | { |
| | | /// <summary> |
| | | /// ç©æç±»å éç®ãéç® |
| | | /// </summary> |
| | | public string Type { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æåæºåºå æ£æãè´æ |
| | | /// </summary> |
| | | public string TiArea { get; set; } |
| | | |
| | | /// <summary> |
| | | /// èµ·å§å°å |
| | | /// </summary> |
| | | public string from_address { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç®çå°å |
| | | /// </summary> |
| | | public string to_address { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *å¦ææ°æ®åºå段åçååï¼è¯·å¨ä»£ç çå¨éæ°çææ¤Model |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Entity; |
| | | using WIDESEA_Entity.SystemModels; |
| | | |
| | | namespace WIDESEA_Entity.DomainModels |
| | | { |
| | | [Entity(TableCnName = "æ¥å£æ°æ®è®°å½è¡¨", TableName = "Dt_Interfacerecord")] |
| | | public class Dt_Interfacerecord : BaseEntity |
| | | { |
| | | /// <summary> |
| | | ///ä¸»é® |
| | | /// </summary> |
| | | [Key] |
| | | [Display(Name = "主é®")] |
| | | [Column(TypeName = "uniqueidentifier")] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public Guid interface_id { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æå:失败 |
| | | /// </summary> |
| | | [Display(Name = "æå:失败")] |
| | | [MaxLength(40)] |
| | | [Column(TypeName = "nvarchar(40)")] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string interface_type { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æ¥åè
|
| | | /// </summary> |
| | | [Display(Name = "æ¥åè
")] |
| | | [MaxLength(40)] |
| | | [Column(TypeName = "nvarchar(40)")] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string interface_provide { get; set; } |
| | | |
| | | /// <summary> |
| | | ///请æ±è
|
| | | /// </summary> |
| | | [Display(Name = "请æ±è
")] |
| | | [MaxLength(40)] |
| | | [Column(TypeName = "nvarchar(40)")] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string interface_call { get; set; } |
| | | |
| | | /// <summary> |
| | | ///è¯·æ±æ°æ® |
| | | /// </summary> |
| | | [Display(Name = "è¯·æ±æ°æ®")] |
| | | [Column(TypeName = "nvarchar(max)")] |
| | | public string interface_paradata { get; set; } |
| | | |
| | | /// <summary> |
| | | ///è¿åæ°æ® |
| | | /// </summary> |
| | | [Display(Name = "è¿åæ°æ®")] |
| | | [Column(TypeName = "nvarchar(max)")] |
| | | public string interface_returndata { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å建æ¶é´ |
| | | /// </summary> |
| | | [Display(Name = "å建æ¶é´")] |
| | | [Column(TypeName = "datetime")] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public DateTime interface_createtime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æè¿° |
| | | /// </summary> |
| | | [Display(Name = "æè¿°")] |
| | | [MaxLength(200)] |
| | | [Column(TypeName = "nvarchar(200)")] |
| | | public string interface_remark { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æä½è
|
| | | /// </summary> |
| | | [Display(Name = "æä½è
")] |
| | | [MaxLength(100)] |
| | | [Column(TypeName = "nvarchar(100)")] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string interface_operator { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æä½åç§° |
| | | /// </summary> |
| | | [Display(Name = "æä½åç§°")] |
| | | [MaxLength(100)] |
| | | [Column(TypeName = "nvarchar(100)")] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string interface_name { get; set; } |
| | | |
| | | /// <summary> |
| | | ///éè¯¯ä¿¡æ¯ |
| | | /// </summary> |
| | | [Display(Name = "é误信æ¯")] |
| | | [Column(TypeName = "nvarchar(max)")] |
| | | public string interface_message { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *å¦ææ°æ®åºå段åçååï¼è¯·å¨ä»£ç çå¨éæ°çææ¤Model |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Entity.SystemModels; |
| | | |
| | | namespace WIDESEA_Entity.DomainModels |
| | | { |
| | | [Entity(TableCnName = "åºåºä¿¡æ¯",TableName = "dt_areainfo")] |
| | | public partial class dt_areainfo:BaseEntity |
| | | { |
| | | /// <summary> |
| | | ///åºåºID |
| | | /// </summary> |
| | | [Key] |
| | | [Display(Name ="åºåºID")] |
| | | [Column(TypeName="int")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public int area_code { get; set; } |
| | | |
| | | /// <summary> |
| | | ///åç§° |
| | | /// </summary> |
| | | [Display(Name ="åç§°")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string area_name { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æè¿° |
| | | /// </summary> |
| | | [Display(Name ="æè¿°")] |
| | | [MaxLength(250)] |
| | | [Column(TypeName="nvarchar(250)")] |
| | | [Editable(true)] |
| | | public string area_des { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å建è
|
| | | /// </summary> |
| | | [Display(Name ="å建è
")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="nvarchar(20)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string area_creator { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å建æ¶é´ |
| | | /// </summary> |
| | | [Display(Name ="å建æ¶é´")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public DateTime area_datetime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç»å®ç±»å |
| | | /// </summary> |
| | | [Display(Name ="ç»å®ç±»å")] |
| | | [MaxLength(100)] |
| | | [Column(TypeName="nvarchar(100)")] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string area_bindType { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æå¤§æ°é |
| | | /// </summary> |
| | | [Display(Name ="æå¤§æ°é")] |
| | | [Column(TypeName="int")] |
| | | public int? area_max { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æå°æ°é |
| | | /// </summary> |
| | | [Display(Name ="æå°æ°é")] |
| | | [Column(TypeName="int")] |
| | | public int? area_minimum { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å¤ç¨åº1 |
| | | /// </summary> |
| | | [Display(Name ="å¤ç¨åº1")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | public string area_spare1 { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å¤ç¨åº2 |
| | | /// </summary> |
| | | [Display(Name ="å¤ç¨åº2")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | public string area_spare2 { get; set; } |
| | | |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *å¦ææ°æ®åºå段åçååï¼è¯·å¨ä»£ç çå¨éæ°çææ¤Model |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Entity.SystemModels; |
| | | |
| | | namespace WIDESEA_Entity.DomainModels |
| | | { |
| | | [Entity(TableCnName = "åºåæ¥è¯¢",TableName = "dt_inventory")] |
| | | public partial class dt_inventory:BaseEntity |
| | | { |
| | | /// <summary> |
| | | ///车轮SNå· |
| | | /// </summary> |
| | | [Display(Name ="车轮SNå·")] |
| | | [MaxLength(255)] |
| | | [Column(TypeName="nvarchar(255)")] |
| | | [Editable(true)] |
| | | public string SN { get; set; } |
| | | |
| | | /// <summary> |
| | | ///产ååç§° |
| | | /// </summary> |
| | | [Display(Name ="产ååç§°")] |
| | | [MaxLength(255)] |
| | | [Column(TypeName="nvarchar(255)")] |
| | | [Editable(true)] |
| | | public string Name { get; set; } |
| | | |
| | | /// <summary> |
| | | ///产åå¾å· |
| | | /// </summary> |
| | | [Display(Name ="产åå¾å·")] |
| | | [MaxLength(255)] |
| | | [Column(TypeName="nvarchar(255)")] |
| | | [Editable(true)] |
| | | public string FigureNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | ///çç¼çå· |
| | | /// </summary> |
| | | [Display(Name ="çç¼çå·")] |
| | | [MaxLength(255)] |
| | | [Column(TypeName="varchar(255)")] |
| | | [Editable(true)] |
| | | public string HearthNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | ///çä»£å· |
| | | /// </summary> |
| | | [Display(Name ="ç代å·")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | [Editable(true)] |
| | | public string HeatNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | ///é¢å¯å· |
| | | /// </summary> |
| | | [Display(Name ="é¢å¯å·")] |
| | | [Column(TypeName="int")] |
| | | [Editable(true)] |
| | | public int? BilletNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å
¥åºæ¶é´ |
| | | /// </summary> |
| | | [Display(Name ="å
¥åºæ¶é´")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | public DateTime? OnlineTime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æä½äººå |
| | | /// </summary> |
| | | [Display(Name ="æä½äººå")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | [Editable(true)] |
| | | public string Operator { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æè¿° |
| | | /// </summary> |
| | | [Display(Name ="æè¿°")] |
| | | [Column(TypeName="nvarchar(max)")] |
| | | [Editable(true)] |
| | | public string remark { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ID |
| | | /// </summary> |
| | | [Key] |
| | | [Display(Name ="ID")] |
| | | [Column(TypeName="int")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public int ID { get; set; } |
| | | |
| | | /// <summary> |
| | | ///è´§ä½ç¼å· |
| | | /// </summary> |
| | | [Display(Name ="è´§ä½ç¼å·")] |
| | | [MaxLength(30)] |
| | | [Column(TypeName="nvarchar(30)")] |
| | | public string stationCode { get; set; } |
| | | |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *å¦ææ°æ®åºå段åçååï¼è¯·å¨ä»£ç çå¨éæ°çææ¤Model |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Entity.SystemModels; |
| | | |
| | | namespace WIDESEA_Entity.DomainModels |
| | | { |
| | | [Entity(TableCnName = "ç©æä¿¡æ¯",TableName = "dt_materielinfo")] |
| | | public partial class dt_materielinfo:BaseEntity |
| | | { |
| | | /// <summary> |
| | | ///ä¸»é® |
| | | /// </summary> |
| | | [Display(Name ="主é®")] |
| | | [Column(TypeName="uniqueidentifier")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public Guid materiel_pkid { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç©æid |
| | | /// </summary> |
| | | [Display(Name ="ç©æid")] |
| | | [MaxLength(100)] |
| | | [Column(TypeName="nvarchar(100)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string materiel_id { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æå±åºåº |
| | | /// </summary> |
| | | [Display(Name ="æå±åºåº")] |
| | | [Column(TypeName="int")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public int materiel_areaid { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç©æåç§° |
| | | /// </summary> |
| | | [Display(Name ="ç©æåç§°")] |
| | | [MaxLength(200)] |
| | | [Column(TypeName="nvarchar(200)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string materiel_name { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç©æä¿¡æ¯æè¿° |
| | | /// </summary> |
| | | [Display(Name ="ç©æä¿¡æ¯æè¿°")] |
| | | [MaxLength(200)] |
| | | [Column(TypeName="nvarchar(200)")] |
| | | [Editable(true)] |
| | | public string materiel_desc { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å
è£
è§æ ¼ |
| | | /// </summary> |
| | | [Display(Name ="å
è£
è§æ ¼")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="nvarchar(20)")] |
| | | [Editable(true)] |
| | | public string materiel_packspes { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å½åç¶æ |
| | | /// </summary> |
| | | [Display(Name ="å½åç¶æ")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="nvarchar(20)")] |
| | | [Editable(true)] |
| | | public string materiel_state { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç©æç±»å |
| | | /// </summary> |
| | | [Display(Name ="ç©æç±»å")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="nvarchar(20)")] |
| | | [Editable(true)] |
| | | public string materiel_type { get; set; } |
| | | |
| | | /// <summary> |
| | | ///计éåä½ |
| | | /// </summary> |
| | | [Display(Name ="计éåä½")] |
| | | [MaxLength(10)] |
| | | [Column(TypeName="nvarchar(10)")] |
| | | [Editable(true)] |
| | | public string materiel_unit { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æå°å
è£
|
| | | /// </summary> |
| | | [Display(Name ="æå°å
è£
")] |
| | | [DisplayFormat(DataFormatString="18,2")] |
| | | [Column(TypeName="decimal")] |
| | | [Editable(true)] |
| | | public decimal? materiel_minpack_qty { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç产å |
| | | /// </summary> |
| | | [Display(Name ="ç产å")] |
| | | [MaxLength(40)] |
| | | [Column(TypeName="nvarchar(40)")] |
| | | [Editable(true)] |
| | | public string materiel_mfacturer { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ä¾åºå |
| | | /// </summary> |
| | | [Display(Name ="ä¾åºå")] |
| | | [MaxLength(40)] |
| | | [Column(TypeName="nvarchar(40)")] |
| | | [Editable(true)] |
| | | public string materiel_supplier { get; set; } |
| | | |
| | | /// <summary> |
| | | ///åé |
| | | /// </summary> |
| | | [Display(Name ="åé")] |
| | | [DisplayFormat(DataFormatString="18,2")] |
| | | [Column(TypeName="decimal")] |
| | | [Editable(true)] |
| | | public decimal? materiel_netweight { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æ¯é |
| | | /// </summary> |
| | | [Display(Name ="æ¯é")] |
| | | [DisplayFormat(DataFormatString="18,2")] |
| | | [Column(TypeName="decimal")] |
| | | [Editable(true)] |
| | | public decimal? materiel_grossweight { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æææ |
| | | /// </summary> |
| | | [Display(Name ="æææ")] |
| | | [Column(TypeName="int")] |
| | | [Editable(true)] |
| | | public int? materiel_validity { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å®å
¨åºå |
| | | /// </summary> |
| | | [Display(Name ="å®å
¨åºå")] |
| | | [DisplayFormat(DataFormatString="18,2")] |
| | | [Column(TypeName="decimal")] |
| | | [Editable(true)] |
| | | public decimal? materiel_safety { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å建è
|
| | | /// </summary> |
| | | [Display(Name ="å建è
")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="nvarchar(20)")] |
| | | [Editable(true)] |
| | | public string materiel_creator { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å建æ¶é´ |
| | | /// </summary> |
| | | [Display(Name ="å建æ¶é´")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | public DateTime? materiel_createtime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///夿³¨ |
| | | /// </summary> |
| | | [Display(Name ="夿³¨")] |
| | | [MaxLength(100)] |
| | | [Column(TypeName="nvarchar(100)")] |
| | | [Editable(true)] |
| | | public string materiel_remark { get; set; } |
| | | |
| | | /// <summary> |
| | | ///éè´ç±»å |
| | | /// </summary> |
| | | [Display(Name ="éè´ç±»å")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="nvarchar(20)")] |
| | | [Editable(true)] |
| | | public string materiel_purchaseType { get; set; } |
| | | |
| | | /// <summary> |
| | | ///è±ææè¿° |
| | | /// </summary> |
| | | [Display(Name ="è±ææè¿°")] |
| | | [MaxLength(200)] |
| | | [Column(TypeName="nvarchar(200)")] |
| | | [Editable(true)] |
| | | public string materiel_englishdesc { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç©æç» |
| | | /// </summary> |
| | | [Display(Name ="ç©æç»")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="varchar(20)")] |
| | | [Editable(true)] |
| | | public string materiel_materielGroup { get; set; } |
| | | |
| | | /// <summary> |
| | | ///产åç» |
| | | /// </summary> |
| | | [Display(Name ="产åç»")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="varchar(20)")] |
| | | [Editable(true)] |
| | | public string materiel_productGroup { get; set; } |
| | | |
| | | /// <summary> |
| | | ///大å°/é纲 |
| | | /// </summary> |
| | | [Display(Name ="大å°/é纲")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="nvarchar(20)")] |
| | | [Editable(true)] |
| | | public string materiel_size { get; set; } |
| | | |
| | | /// <summary> |
| | | ///MRPç±»å |
| | | /// </summary> |
| | | [Display(Name ="MRPç±»å")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="nvarchar(20)")] |
| | | [Editable(true)] |
| | | public string materiel_mrpType { get; set; } |
| | | |
| | | /// <summary> |
| | | ///追溯æ è¯ |
| | | /// </summary> |
| | | [Display(Name ="追溯æ è¯")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="varchar(20)")] |
| | | [Editable(true)] |
| | | public string materiel_traceabilityCode { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç©æé¿ |
| | | /// </summary> |
| | | [Display(Name ="ç©æé¿")] |
| | | [DisplayFormat(DataFormatString="18,2")] |
| | | [Column(TypeName="decimal")] |
| | | [Editable(true)] |
| | | public decimal? materiel_long { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç©æå®½ |
| | | /// </summary> |
| | | [Display(Name ="ç©æå®½")] |
| | | [DisplayFormat(DataFormatString="18,2")] |
| | | [Column(TypeName="decimal")] |
| | | [Editable(true)] |
| | | public decimal? materiel_width { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç©æé« |
| | | /// </summary> |
| | | [Display(Name ="ç©æé«")] |
| | | [DisplayFormat(DataFormatString="18,2")] |
| | | [Column(TypeName="decimal")] |
| | | [Editable(true)] |
| | | public decimal? materiel_height { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æçé¿ |
| | | /// </summary> |
| | | [Display(Name ="æçé¿")] |
| | | [DisplayFormat(DataFormatString="18,2")] |
| | | [Column(TypeName="decimal")] |
| | | [Editable(true)] |
| | | public decimal? materiel_palletlong { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æç宽 |
| | | /// </summary> |
| | | [Display(Name ="æç宽")] |
| | | [DisplayFormat(DataFormatString="18,2")] |
| | | [Column(TypeName="decimal")] |
| | | [Editable(true)] |
| | | public decimal? materiel_palletwidth { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æçé« |
| | | /// </summary> |
| | | [Display(Name ="æçé«")] |
| | | [DisplayFormat(DataFormatString="18,2")] |
| | | [Column(TypeName="decimal")] |
| | | [Editable(true)] |
| | | public decimal? materiel_palletheight { get; set; } |
| | | |
| | | /// <summary> |
| | | ///åºåå°ç¹ |
| | | /// </summary> |
| | | [Display(Name ="åºåå°ç¹")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="nvarchar(20)")] |
| | | [Editable(true)] |
| | | public string materiel_location { get; set; } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | [Key] |
| | | [Display(Name ="ID")] |
| | | [Column(TypeName="int")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public int ID { get; set; } |
| | | |
| | | |
| | | } |
| | | } |
| | |
| | | |
| | | namespace WIDESEA_Entity.DomainModels |
| | | { |
| | | [Entity(TableCnName = "ç«ç¹æ¥è¯¢",TableName = "dt_stationinfo")] |
| | | [Entity(TableCnName = "åºä½ä¿¡æ¯",TableName = "dt_stationinfo")] |
| | | public partial class dt_stationinfo:BaseEntity |
| | | { |
| | | /// <summary> |
| | |
| | | [MaxLength(15)] |
| | | [Column(TypeName="nvarchar(15)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string area { get; set; } |
| | | |
| | | /// <summary> |
| | |
| | | [Display(Name ="æ¯å¦å¯ç¨")] |
| | | [Column(TypeName="bit")] |
| | | [Editable(true)] |
| | | public bool? enable { get; set; } |
| | | [Required(AllowEmptyStrings=false)] |
| | | public bool enable { get; set; } |
| | | |
| | | /// <summary> |
| | | ///è´§ä½ç¶æ |
| | |
| | | public DateTime? lastUpdateTime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///车轮æ°é |
| | | /// </summary> |
| | | [Display(Name ="车轮æ°é")] |
| | | [Column(TypeName="int")] |
| | | public int? quantity { get; set; } |
| | | |
| | | /// <summary> |
| | | ///车轮SNå· |
| | | /// </summary> |
| | | [Display(Name ="车轮SNå·")] |
| | | [MaxLength(500)] |
| | | [Column(TypeName="nvarchar(500)")] |
| | | public string bindSN { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æçç¶æ |
| | | /// </summary> |
| | | [Display(Name ="æçç¶æ")] |
| | | [MaxLength(100)] |
| | | [Column(TypeName="nvarchar(100)")] |
| | | public string tray_status { get; set; } |
| | | |
| | | /// <summary> |
| | | ///è¡ |
| | | /// </summary> |
| | | [Display(Name ="è¡")] |
| | | [Column(TypeName="int")] |
| | | public int? line { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å |
| | | /// </summary> |
| | | [Display(Name ="å")] |
| | | [Column(TypeName="int")] |
| | | public int? column { get; set; } |
| | | |
| | | /// <summary> |
| | | ///夿³¨ |
| | | /// </summary> |
| | | [Display(Name ="夿³¨")] |
| | |
| | | public string remark { get; set; } |
| | | |
| | | /// <summary> |
| | | ///winfromæ´æ°çç¶æ |
| | | /// </summary> |
| | | [Display(Name ="winfromæ´æ°çç¶æ")] |
| | | [Column(TypeName="int")] |
| | | [Editable(true)] |
| | | public int? getStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | ///winfromæåæ´æ°çæ¶é´ |
| | | /// </summary> |
| | | [Display(Name ="winfromæåæ´æ°çæ¶é´")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | public DateTime? getLastTime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æåº |
| | | /// </summary> |
| | | [Display(Name ="æåº")] |
| | | [Column(TypeName="int")] |
| | | [Editable(true)] |
| | | public int? sort { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç»å®å¯åæ¾ç©æç±»å |
| | | /// </summary> |
| | | [Display(Name ="ç»å®å¯åæ¾ç©æç±»å")] |
| | | [MaxLength(500)] |
| | | [Column(TypeName="nvarchar(500)")] |
| | | [Editable(true)] |
| | | public string bindType { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ä¸»é® |
| | | /// </summary> |
| | | [Key] |
| | |
| | | [Required(AllowEmptyStrings=false)] |
| | | public int zj { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å·¥åç¼å· |
| | | /// </summary> |
| | | [Display(Name ="å·¥åç¼å·")] |
| | | [MaxLength(255)] |
| | | [Column(TypeName="nvarchar(255)")] |
| | | public string Number { get; set; } |
| | | |
| | | /// <summary> |
| | | ///çå· |
| | | /// </summary> |
| | | [Display(Name ="çå·")] |
| | | [Column(TypeName="int")] |
| | | public int? heatNumber { get; set; } |
| | | |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *å¦ææ°æ®åºå段åçååï¼è¯·å¨ä»£ç çå¨éæ°çææ¤Model |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Entity.SystemModels; |
| | | |
| | | namespace WIDESEA_Entity.DomainModels |
| | | { |
| | | |
| | | public partial class dt_areainfo |
| | | { |
| | | //æ¤å¤é
ç½®åæ®µ(åæ®µé
ç½®è§æ¤modelçå¦ä¸ä¸ªpartial),å¦æè¡¨ä¸æ²¡ææ¤å段请å ä¸ [NotMapped]屿§ï¼å¦åä¼å¼å¸¸ |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *å¦ææ°æ®åºå段åçååï¼è¯·å¨ä»£ç çå¨éæ°çææ¤Model |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Entity.SystemModels; |
| | | |
| | | namespace WIDESEA_Entity.DomainModels |
| | | { |
| | | |
| | | public partial class dt_inventory |
| | | { |
| | | //æ¤å¤é
ç½®åæ®µ(åæ®µé
ç½®è§æ¤modelçå¦ä¸ä¸ªpartial),å¦æè¡¨ä¸æ²¡ææ¤å段请å ä¸ [NotMapped]屿§ï¼å¦åä¼å¼å¸¸ |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *å¦ææ°æ®åºå段åçååï¼è¯·å¨ä»£ç çå¨éæ°çææ¤Model |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Entity.SystemModels; |
| | | |
| | | namespace WIDESEA_Entity.DomainModels |
| | | { |
| | | |
| | | public partial class dt_materielinfo |
| | | { |
| | | //æ¤å¤é
ç½®åæ®µ(åæ®µé
ç½®è§æ¤modelçå¦ä¸ä¸ªpartial),å¦æè¡¨ä¸æ²¡ææ¤å段请å ä¸ [NotMapped]屿§ï¼å¦åä¼å¼å¸¸ |
| | | } |
| | | } |
| | |
| | | |
| | | namespace WIDESEA_Entity.DomainModels |
| | | { |
| | | [Entity(TableCnName = "AGVä»»å¡",TableName = "dt_agvtask")] |
| | | public partial class dt_agvtask:BaseEntity |
| | | [Entity(TableCnName = "AGVä»»å¡", TableName = "dt_agvtask")] |
| | | public partial class dt_agvtask : BaseEntity |
| | | { |
| | | /// <summary> |
| | | ///ä»»å¡Id |
| | | /// </summary> |
| | | [Display(Name ="ä»»å¡Id")] |
| | | [Column(TypeName="uniqueidentifier")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public Guid agv_id { get; set; } |
| | | ///ä»»å¡Id |
| | | /// </summary> |
| | | [Key] |
| | | [Display(Name = "ä»»å¡Id")] |
| | | [Column(TypeName = "uniqueidentifier")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public Guid agv_id { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ä»»å¡ç¼å· |
| | | /// </summary> |
| | | [Display(Name ="ä»»å¡ç¼å·")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string agv_tasknum { get; set; } |
| | | /// <summary> |
| | | ///ä»»å¡ç¼å· |
| | | /// </summary> |
| | | [Display(Name = "ä»»å¡ç¼å·")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName = "nvarchar(50)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string agv_tasknum { get; set; } |
| | | |
| | | /// <summary> |
| | | ///èµ·ç¹å°å |
| | | /// </summary> |
| | | [Display(Name ="èµ·ç¹å°å")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | [Editable(true)] |
| | | public string agv_fromaddress { get; set; } |
| | | /// <summary> |
| | | ///èµ·ç¹å°å |
| | | /// </summary> |
| | | [Display(Name = "èµ·ç¹å°å")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName = "nvarchar(50)")] |
| | | [Editable(true)] |
| | | public string agv_fromaddress { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç»ç¹å°å |
| | | /// </summary> |
| | | [Display(Name ="ç»ç¹å°å")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | [Editable(true)] |
| | | public string agv_toaddress { get; set; } |
| | | /// <summary> |
| | | ///ç»ç¹å°å |
| | | /// </summary> |
| | | [Display(Name = "ç»ç¹å°å")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName = "nvarchar(50)")] |
| | | [Editable(true)] |
| | | public string agv_toaddress { get; set; } |
| | | |
| | | /// <summary> |
| | | ///AGVç¼å· |
| | | /// </summary> |
| | | [Display(Name ="AGVç¼å·")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string agv_code { get; set; } |
| | | /// <summary> |
| | | ///AGVç¼å· |
| | | /// </summary> |
| | | [Display(Name = "AGVç¼å·")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName = "nvarchar(50)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string agv_code { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ä»»å¡ç¶æ |
| | | /// </summary> |
| | | [Display(Name ="ä»»å¡ç¶æ")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="nvarchar(20)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string agv_taskstate { get; set; } |
| | | /// <summary> |
| | | ///ä»»å¡ç¶æ |
| | | /// </summary> |
| | | [Display(Name = "ä»»å¡ç¶æ")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName = "nvarchar(20)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string agv_taskstate { get; set; } |
| | | |
| | | /// <summary> |
| | | ///AGVå·¥ä½ç±»å |
| | | /// </summary> |
| | | [Display(Name ="AGVå·¥ä½ç±»å")] |
| | | [Column(TypeName="int")] |
| | | [Editable(true)] |
| | | public int? agv_worktype { get; set; } |
| | | /// <summary> |
| | | ///AGVå·¥ä½ç±»å |
| | | /// </summary> |
| | | [Display(Name = "AGVå·¥ä½ç±»å")] |
| | | [Column(TypeName = "int")] |
| | | [Editable(true)] |
| | | public int? agv_worktype { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç©æç±»å |
| | | /// </summary> |
| | | [Display(Name ="ç©æç±»å")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string agv_materielid { get; set; } |
| | | /// <summary> |
| | | ///ç©æç±»å |
| | | /// </summary> |
| | | [Display(Name = "ç©æç±»å")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName = "nvarchar(50)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string agv_materielid { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æ°é |
| | | /// </summary> |
| | | [Display(Name ="æ°é")] |
| | | [DisplayFormat(DataFormatString="18,2")] |
| | | [Column(TypeName="decimal")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public decimal agv_qty { get; set; } |
| | | /// <summary> |
| | | ///æ°é |
| | | /// </summary> |
| | | [Display(Name = "æ°é")] |
| | | [Column(TypeName = "int")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public int? agv_qty { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å建æ¶é´ |
| | | /// </summary> |
| | | [Display(Name ="å建æ¶é´")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public DateTime agv_createtime { get; set; } |
| | | /// <summary> |
| | | ///å建æ¶é´ |
| | | /// </summary> |
| | | [Display(Name = "å建æ¶é´")] |
| | | [Column(TypeName = "datetime")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public DateTime agv_createtime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æ§è¡æ¶é´ |
| | | /// </summary> |
| | | [Display(Name ="æ§è¡æ¶é´")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_realesstime { get; set; } |
| | | /// <summary> |
| | | ///æ§è¡æ¶é´ |
| | | /// </summary> |
| | | [Display(Name = "æ§è¡æ¶é´")] |
| | | [Column(TypeName = "datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_realesstime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///宿æ¶é´ |
| | | /// </summary> |
| | | [Display(Name ="宿æ¶é´")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_finishedtime { get; set; } |
| | | /// <summary> |
| | | ///宿æ¶é´ |
| | | /// </summary> |
| | | [Display(Name = "宿æ¶é´")] |
| | | [Column(TypeName = "datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_finishedtime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ä»»å¡ç±»å |
| | | /// </summary> |
| | | [Display(Name ="ä»»å¡ç±»å")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="nvarchar(20)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string agv_tasktype { get; set; } |
| | | /// <summary> |
| | | ///ä»»å¡ç±»å |
| | | /// </summary> |
| | | [Display(Name = "ä»»å¡ç±»å")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName = "nvarchar(20)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string agv_tasktype { get; set; } |
| | | |
| | | /// <summary> |
| | | ///夿³¨ |
| | | /// </summary> |
| | | [Display(Name ="夿³¨")] |
| | | [MaxLength(100)] |
| | | [Column(TypeName="nvarchar(100)")] |
| | | [Editable(true)] |
| | | public string agv_remark { get; set; } |
| | | /// <summary> |
| | | ///夿³¨ |
| | | /// </summary> |
| | | [Display(Name = "夿³¨")] |
| | | [MaxLength(100)] |
| | | [Column(TypeName = "nvarchar(100)")] |
| | | [Editable(true)] |
| | | public string agv_remark { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ä»»å¡ç级 |
| | | /// </summary> |
| | | [Display(Name ="ä»»å¡ç级")] |
| | | [Column(TypeName="int")] |
| | | [Editable(true)] |
| | | public int? agv_grade { get; set; } |
| | | /// <summary> |
| | | ///ä»»å¡ç级 |
| | | /// </summary> |
| | | [Display(Name = "ä»»å¡ç级")] |
| | | [Column(TypeName = "int")] |
| | | [Editable(true)] |
| | | public int? agv_grade { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å建è
|
| | | /// </summary> |
| | | [Display(Name ="å建è
")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="nvarchar(20)")] |
| | | [Editable(true)] |
| | | public string agv_userid { get; set; } |
| | | /// <summary> |
| | | ///å建è
|
| | | /// </summary> |
| | | [Display(Name = "å建è
")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName = "nvarchar(20)")] |
| | | [Editable(true)] |
| | | public string agv_userid { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æçç |
| | | /// </summary> |
| | | [Display(Name ="æçç ")] |
| | | [MaxLength(30)] |
| | | [Column(TypeName="nvarchar(30)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string agv_barcode { get; set; } |
| | | /// <summary> |
| | | ///æçç |
| | | /// </summary> |
| | | [Display(Name = "æçç ")] |
| | | [MaxLength(30)] |
| | | [Column(TypeName = "nvarchar(30)")] |
| | | [Editable(true)] |
| | | //[Required(AllowEmptyStrings = false)]//ä¸è½ä¸ºç©º |
| | | public string agv_barcode { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç©æç |
| | | /// </summary> |
| | | [Display(Name ="ç©æç ")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | [Editable(true)] |
| | | public string agv_materbarcode { get; set; } |
| | | /// <summary> |
| | | ///ç©æç |
| | | /// </summary> |
| | | [Display(Name = "ç©æç ")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName = "nvarchar(50)")] |
| | | [Editable(true)] |
| | | public string agv_materbarcode { get; set; } |
| | | |
| | | /// <summary> |
| | | ///èµ·å§ç¹æ§è¡ä¸ |
| | | /// </summary> |
| | | [Display(Name ="èµ·å§ç¹æ§è¡ä¸")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_executingBeginTime { get; set; } |
| | | /// <summary> |
| | | ///èµ·å§ç¹æ§è¡ä¸ |
| | | /// </summary> |
| | | [Display(Name = "èµ·å§ç¹æ§è¡ä¸")] |
| | | [Column(TypeName = "datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_executingBeginTime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///èµ·å§ç¹å®æ |
| | | /// </summary> |
| | | [Display(Name ="èµ·å§ç¹å®æ")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_executingEndTime { get; set; } |
| | | /// <summary> |
| | | ///èµ·å§ç¹å®æ |
| | | /// </summary> |
| | | [Display(Name = "èµ·å§ç¹å®æ")] |
| | | [Column(TypeName = "datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_executingEndTime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç®çç¹æ§è¡ä¸ |
| | | /// </summary> |
| | | [Display(Name ="ç®çç¹æ§è¡ä¸")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_completeBeginTime { get; set; } |
| | | /// <summary> |
| | | ///ç®çç¹æ§è¡ä¸ |
| | | /// </summary> |
| | | [Display(Name = "ç®çç¹æ§è¡ä¸")] |
| | | [Column(TypeName = "datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_completeBeginTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | [Display(Name ="unitag")] |
| | | [Column(TypeName="uniqueidentifier")] |
| | | [Editable(true)] |
| | | public Guid? unitag { get; set; } |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | [Display(Name = "unitag")] |
| | | [Column(TypeName = "uniqueidentifier")] |
| | | [Editable(true)] |
| | | public Guid? unitag { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ä¸»é® |
| | | /// </summary> |
| | | [Key] |
| | | [Display(Name ="主é®")] |
| | | [Column(TypeName="int")] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public int ID { get; set; } |
| | | /// <summary> |
| | | ///车轮SNå· |
| | | /// </summary> |
| | | [Display(Name = "车轮SNå·")] |
| | | [MaxLength(500)] |
| | | [Column(TypeName = "nvarchar(500)")] |
| | | public string bindSN { get; set; } |
| | | |
| | | |
| | | } |
| | | } |
| | |
| | | |
| | | namespace WIDESEA_Entity.DomainModels |
| | | { |
| | | [Entity(TableCnName = "AGVåå²ä»»å¡",TableName = "dt_agvtask_hty")] |
| | | public partial class dt_agvtask_hty:BaseEntity |
| | | [Entity(TableCnName = "AGVåå²ä»»å¡", TableName = "dt_agvtask_hty")] |
| | | public partial class dt_agvtask_hty : BaseEntity |
| | | { |
| | | /// <summary> |
| | | ///åå²ä»»å¡ID |
| | | /// </summary> |
| | | [Display(Name ="åå²ä»»å¡ID")] |
| | | [Column(TypeName="uniqueidentifier")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public Guid hty_pkid { get; set; } |
| | | ///åå²ä»»å¡ID |
| | | /// </summary> |
| | | [Key] |
| | | [Display(Name = "åå²ä»»å¡ID")] |
| | | [Column(TypeName = "uniqueidentifier")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public Guid hty_pkid { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ä»»å¡ID |
| | | /// </summary> |
| | | [Display(Name ="ä»»å¡ID")] |
| | | [Column(TypeName="uniqueidentifier")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public Guid agv_id { get; set; } |
| | | /// <summary> |
| | | ///ä»»å¡ID |
| | | /// </summary> |
| | | [Display(Name = "ä»»å¡ID")] |
| | | [Column(TypeName = "uniqueidentifier")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public Guid agv_id { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ä»»å¡ç¼å· |
| | | /// </summary> |
| | | [Display(Name ="ä»»å¡ç¼å·")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string agv_tasknum { get; set; } |
| | | /// <summary> |
| | | ///ä»»å¡ç¼å· |
| | | /// </summary> |
| | | [Display(Name = "ä»»å¡ç¼å·")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName = "nvarchar(50)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string agv_tasknum { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç©æç±»å |
| | | /// </summary> |
| | | [Display(Name ="ç©æç±»å")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string agv_materielid { get; set; } |
| | | /// <summary> |
| | | ///ç©æç±»å |
| | | /// </summary> |
| | | [Display(Name = "ç©æç±»å")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName = "nvarchar(50)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string agv_materielid { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æ°é |
| | | /// </summary> |
| | | [Display(Name ="æ°é")] |
| | | [DisplayFormat(DataFormatString="18,2")] |
| | | [Column(TypeName="decimal")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public decimal agv_qty { get; set; } |
| | | /// <summary> |
| | | ///æ°é |
| | | /// </summary> |
| | | [Display(Name = "æ°é")] |
| | | [Column(TypeName = "int")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public int? agv_qty { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å建æ¶é´ |
| | | /// </summary> |
| | | [Display(Name ="å建æ¶é´")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public DateTime agv_createtime { get; set; } |
| | | /// <summary> |
| | | ///å建æ¶é´ |
| | | /// </summary> |
| | | [Display(Name = "å建æ¶é´")] |
| | | [Column(TypeName = "datetime")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public DateTime agv_createtime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æ§è¡æ¶é´ |
| | | /// </summary> |
| | | [Display(Name ="æ§è¡æ¶é´")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_realesstime { get; set; } |
| | | /// <summary> |
| | | ///æ§è¡æ¶é´ |
| | | /// </summary> |
| | | [Display(Name = "æ§è¡æ¶é´")] |
| | | [Column(TypeName = "datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_realesstime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///宿æ¶é´ |
| | | /// </summary> |
| | | [Display(Name ="宿æ¶é´")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_finishedtime { get; set; } |
| | | /// <summary> |
| | | ///宿æ¶é´ |
| | | /// </summary> |
| | | [Display(Name = "宿æ¶é´")] |
| | | [Column(TypeName = "datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_finishedtime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ä»»å¡ç¶æ |
| | | /// </summary> |
| | | [Display(Name ="ä»»å¡ç¶æ")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="nvarchar(20)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string agv_taskstate { get; set; } |
| | | /// <summary> |
| | | ///ä»»å¡ç¶æ |
| | | /// </summary> |
| | | [Display(Name = "ä»»å¡ç¶æ")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName = "nvarchar(20)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string agv_taskstate { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ä»»å¡ç±»å |
| | | /// </summary> |
| | | [Display(Name ="ä»»å¡ç±»å")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="nvarchar(20)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string agv_tasktype { get; set; } |
| | | /// <summary> |
| | | ///ä»»å¡ç±»å |
| | | /// </summary> |
| | | [Display(Name = "ä»»å¡ç±»å")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName = "nvarchar(20)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string agv_tasktype { get; set; } |
| | | |
| | | /// <summary> |
| | | ///èµ·ç¹å°å |
| | | /// </summary> |
| | | [Display(Name ="èµ·ç¹å°å")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | [Editable(true)] |
| | | public string agv_fromaddress { get; set; } |
| | | /// <summary> |
| | | ///èµ·ç¹å°å |
| | | /// </summary> |
| | | [Display(Name = "èµ·ç¹å°å")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName = "nvarchar(50)")] |
| | | [Editable(true)] |
| | | public string agv_fromaddress { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç»ç¹å°å |
| | | /// </summary> |
| | | [Display(Name ="ç»ç¹å°å")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | [Editable(true)] |
| | | public string agv_toaddress { get; set; } |
| | | /// <summary> |
| | | ///ç»ç¹å°å |
| | | /// </summary> |
| | | [Display(Name = "ç»ç¹å°å")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName = "nvarchar(50)")] |
| | | [Editable(true)] |
| | | public string agv_toaddress { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æä½ç±»å |
| | | /// </summary> |
| | | [Display(Name ="æä½ç±»å")] |
| | | [MaxLength(10)] |
| | | [Column(TypeName="nvarchar(10)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string agv_operatetype { get; set; } |
| | | /// <summary> |
| | | ///æä½ç±»å |
| | | /// </summary> |
| | | [Display(Name = "æä½ç±»å")] |
| | | [MaxLength(10)] |
| | | [Column(TypeName = "nvarchar(10)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string agv_operatetype { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æä½è
|
| | | /// </summary> |
| | | [Display(Name ="æä½è
")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="nvarchar(20)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string agv_compeletor { get; set; } |
| | | /// <summary> |
| | | ///æä½è
|
| | | /// </summary> |
| | | [Display(Name = "æä½è
")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName = "nvarchar(20)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string agv_compeletor { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æä½æ¶é´ |
| | | /// </summary> |
| | | [Display(Name ="æä½æ¶é´")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public DateTime agv_completedate { get; set; } |
| | | /// <summary> |
| | | ///æä½æ¶é´ |
| | | /// </summary> |
| | | [Display(Name = "æä½æ¶é´")] |
| | | [Column(TypeName = "datetime")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public DateTime agv_completedate { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ä»»å¡ç级 |
| | | /// </summary> |
| | | [Display(Name ="ä»»å¡ç级")] |
| | | [Column(TypeName="int")] |
| | | [Editable(true)] |
| | | public int? agv_grade { get; set; } |
| | | /// <summary> |
| | | ///ä»»å¡ç级 |
| | | /// </summary> |
| | | [Display(Name = "ä»»å¡ç级")] |
| | | [Column(TypeName = "int")] |
| | | [Editable(true)] |
| | | public int? agv_grade { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å建è
|
| | | /// </summary> |
| | | [Display(Name ="å建è
")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName="nvarchar(20)")] |
| | | [Editable(true)] |
| | | public string agv_userid { get; set; } |
| | | /// <summary> |
| | | ///å建è
|
| | | /// </summary> |
| | | [Display(Name = "å建è
")] |
| | | [MaxLength(20)] |
| | | [Column(TypeName = "nvarchar(20)")] |
| | | [Editable(true)] |
| | | public string agv_userid { get; set; } |
| | | |
| | | /// <summary> |
| | | ///æçç |
| | | /// </summary> |
| | | [Display(Name ="æçç ")] |
| | | [MaxLength(30)] |
| | | [Column(TypeName="nvarchar(30)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string agv_barcode { get; set; } |
| | | /// <summary> |
| | | ///æçç |
| | | /// </summary> |
| | | [Display(Name = "æçç ")] |
| | | [MaxLength(30)] |
| | | [Column(TypeName = "nvarchar(30)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string agv_barcode { get; set; } |
| | | |
| | | /// <summary> |
| | | ///AGVç¼å· |
| | | /// </summary> |
| | | [Display(Name ="AGVç¼å·")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public string agv_code { get; set; } |
| | | /// <summary> |
| | | ///AGVç¼å· |
| | | /// </summary> |
| | | [Display(Name = "AGVç¼å·")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName = "nvarchar(50)")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public string agv_code { get; set; } |
| | | |
| | | /// <summary> |
| | | ///AGVå·¥ä½ç±»å |
| | | /// </summary> |
| | | [Display(Name ="AGVå·¥ä½ç±»å")] |
| | | [Column(TypeName="int")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public int agv_worktype { get; set; } |
| | | /// <summary> |
| | | ///AGVå·¥ä½ç±»å |
| | | /// </summary> |
| | | [Display(Name = "AGVå·¥ä½ç±»å")] |
| | | [Column(TypeName = "int")] |
| | | [Editable(true)] |
| | | [Required(AllowEmptyStrings = false)] |
| | | public int? agv_worktype { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç©æç |
| | | /// </summary> |
| | | [Display(Name ="ç©æç ")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName="nvarchar(50)")] |
| | | [Editable(true)] |
| | | public string agv_materbarcode { get; set; } |
| | | /// <summary> |
| | | ///ç©æç |
| | | /// </summary> |
| | | [Display(Name = "ç©æç ")] |
| | | [MaxLength(50)] |
| | | [Column(TypeName = "nvarchar(50)")] |
| | | [Editable(true)] |
| | | public string agv_materbarcode { get; set; } |
| | | |
| | | /// <summary> |
| | | ///èµ·å§ç¹æ§è¡ä¸ |
| | | /// </summary> |
| | | [Display(Name ="èµ·å§ç¹æ§è¡ä¸")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_executingBeginTime { get; set; } |
| | | /// <summary> |
| | | ///èµ·å§ç¹æ§è¡ä¸ |
| | | /// </summary> |
| | | [Display(Name = "èµ·å§ç¹æ§è¡ä¸")] |
| | | [Column(TypeName = "datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_executingBeginTime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///èµ·å§ç¹å®æ |
| | | /// </summary> |
| | | [Display(Name ="èµ·å§ç¹å®æ")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_executingEndTime { get; set; } |
| | | /// <summary> |
| | | ///èµ·å§ç¹å®æ |
| | | /// </summary> |
| | | [Display(Name = "èµ·å§ç¹å®æ")] |
| | | [Column(TypeName = "datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_executingEndTime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ç®çç¹æ§è¡ä¸ |
| | | /// </summary> |
| | | [Display(Name ="ç®çç¹æ§è¡ä¸")] |
| | | [Column(TypeName="datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_completeBeginTime { get; set; } |
| | | /// <summary> |
| | | ///ç®çç¹æ§è¡ä¸ |
| | | /// </summary> |
| | | [Display(Name = "ç®çç¹æ§è¡ä¸")] |
| | | [Column(TypeName = "datetime")] |
| | | [Editable(true)] |
| | | public DateTime? agv_completeBeginTime { get; set; } |
| | | |
| | | /// <summary> |
| | | ///夿³¨ |
| | | /// </summary> |
| | | [Display(Name ="夿³¨")] |
| | | [MaxLength(255)] |
| | | [Column(TypeName="varchar(255)")] |
| | | [Editable(true)] |
| | | public string agv_remark { get; set; } |
| | | /// <summary> |
| | | ///夿³¨ |
| | | /// </summary> |
| | | [Display(Name = "夿³¨")] |
| | | [MaxLength(100)] |
| | | [Column(TypeName = "nvarchar(100)")] |
| | | [Editable(true)] |
| | | public string agv_remark { get; set; } |
| | | |
| | | /// <summary> |
| | | ///ä¸»é® |
| | | /// </summary> |
| | | [Key] |
| | | [Display(Name ="主é®")] |
| | | [Column(TypeName="int")] |
| | | [Required(AllowEmptyStrings=false)] |
| | | public int ID { get; set; } |
| | | /// <summary> |
| | | ///车轮SNå· |
| | | /// </summary> |
| | | [Display(Name = "车轮SNå·")] |
| | | [MaxLength(500)] |
| | | [Column(TypeName = "nvarchar(500)")] |
| | | public string bindSN { get; set; } |
| | | |
| | | |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using WIDESEA_Entity.MappingConfiguration; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using Microsoft.EntityFrameworkCore.Metadata.Builders; |
| | | |
| | | namespace WIDESEA_Entity.MappingConfiguration |
| | | { |
| | | public class dt_boxingMapConfig : EntityMappingConfiguration<dt_boxing> |
| | | { |
| | | public override void Map(EntityTypeBuilder<dt_boxing> |
| | | builderTable) |
| | | { |
| | | //b.Property(x => x.StorageName).HasMaxLength(45); |
| | | } |
| | | } |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using WIDESEA_Entity.MappingConfiguration; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using Microsoft.EntityFrameworkCore.Metadata.Builders; |
| | | |
| | | namespace WIDESEA_Entity.MappingConfiguration |
| | | { |
| | | public class dt_boxing_htyMapConfig : EntityMappingConfiguration<dt_boxing_hty> |
| | | { |
| | | public override void Map(EntityTypeBuilder<dt_boxing_hty> |
| | | builderTable) |
| | | { |
| | | //b.Property(x => x.StorageName).HasMaxLength(45); |
| | | } |
| | | } |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using WIDESEA_Entity.MappingConfiguration; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using Microsoft.EntityFrameworkCore.Metadata.Builders; |
| | | |
| | | namespace WIDESEA_Entity.MappingConfiguration |
| | | { |
| | | public class dt_areainfoMapConfig : EntityMappingConfiguration<dt_areainfo> |
| | | { |
| | | public override void Map(EntityTypeBuilder<dt_areainfo> |
| | | builderTable) |
| | | { |
| | | //b.Property(x => x.StorageName).HasMaxLength(45); |
| | | } |
| | | } |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using WIDESEA_Entity.MappingConfiguration; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using Microsoft.EntityFrameworkCore.Metadata.Builders; |
| | | |
| | | namespace WIDESEA_Entity.MappingConfiguration |
| | | { |
| | | public class dt_inventoryMapConfig : EntityMappingConfiguration<dt_inventory> |
| | | { |
| | | public override void Map(EntityTypeBuilder<dt_inventory> |
| | | builderTable) |
| | | { |
| | | //b.Property(x => x.StorageName).HasMaxLength(45); |
| | | } |
| | | } |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using WIDESEA_Entity.MappingConfiguration; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using Microsoft.EntityFrameworkCore.Metadata.Builders; |
| | | |
| | | namespace WIDESEA_Entity.MappingConfiguration |
| | | { |
| | | public class dt_materielinfoMapConfig : EntityMappingConfiguration<dt_materielinfo> |
| | | { |
| | | public override void Map(EntityTypeBuilder<dt_materielinfo> |
| | | builderTable) |
| | | { |
| | | //b.Property(x => x.StorageName).HasMaxLength(45); |
| | | } |
| | | } |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace WIDESEA_Entity.ToAGV |
| | | { |
| | | public class AGVRespone |
| | | { |
| | | /// <summary> |
| | | /// 1æå |
| | | /// </summary> |
| | | public int success { get; set; } = 1; |
| | | /// <summary> |
| | | /// 失败ï¼è¿åå¤±è´¥ä¿¡æ¯ |
| | | /// </summary> |
| | | public string Message { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace WIDESEA_Entity.ToAGV |
| | | { |
| | | public class RequestTask |
| | | { |
| | | /// <summary> |
| | | /// ä½ä¸ä»»å¡å· |
| | | /// </summary> |
| | | public string TASK_NO { get; set; } |
| | | /// <summary> |
| | | /// èµ·ç¹ |
| | | /// </summary> |
| | | public string FROM_POSITION { get; set; } |
| | | /// <summary> |
| | | /// ç»ç¹ |
| | | /// </summary> |
| | | public string TO_POSITION { get; set; } |
| | | /// <summary> |
| | | /// ç©æä¿¡æ¯ |
| | | /// </summary> |
| | | public string Material { get; set; } |
| | | /// <summary> |
| | | /// ä»»å¡ç级 |
| | | /// </summary> |
| | | public int? Priority { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace WIDESEA_Entity.ToAGV |
| | | { |
| | | public class UpdateTasteInfo |
| | | { |
| | | /// <summary> |
| | | /// ä½ä¸ä»»å¡å· |
| | | /// </summary> |
| | | public string TASK_NO { get; set; } |
| | | /// <summary> |
| | | /// ä»»å¡ç¶æ |
| | | /// </summary> |
| | | public int TASK_State { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *Repositoryæä¾æ°æ®åºæä½ï¼å¦æè¦å¢å æ°æ®åºæä½è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹IDt_InterfacerecordRepositoryç¼åæ¥å£ |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | namespace WIDESEA_Services.IRepositories |
| | | { |
| | | public partial interface IDt_InterfacerecordRepository : IDependency,IRepository<Dt_Interfacerecord> |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_Services.IServices |
| | | { |
| | | public partial interface IDt_InterfacerecordService : IService<Dt_Interfacerecord> |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *ææå
³äºDt_Interfacerecordç±»çä¸å¡ä»£ç æ¥å£åºå¨æ¤å¤ç¼å |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Core.Utilities; |
| | | using System.Linq.Expressions; |
| | | namespace WIDESEA_Services.IServices |
| | | { |
| | | public partial interface IDt_InterfacerecordService |
| | | { |
| | | } |
| | | } |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | Task<List<string>> GetBuilderDictionary(); |
| | | object GetVueDictionary(string[] dicNos); |
| | | Task<object> GetVueDictionary(string[] dicNos); |
| | | //object GetVueDictionary(string[] dicNos); |
| | | object GetTableDictionary(Dictionary<string, object[]> keyData); |
| | | object GetSearchDictionary(string dicNo, string value); |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *Repositoryæä¾æ°æ®åºæä½ï¼å¦æè¦å¢å æ°æ®åºæä½è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹Dt_InterfacerecordRepositoryç¼å代ç |
| | | */ |
| | | using WIDESEA_Services.IRepositories; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.EFDbContext; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_Services.Repositories |
| | | { |
| | | public partial class Dt_InterfacerecordRepository : RepositoryBase<Dt_Interfacerecord> , IDt_InterfacerecordRepository |
| | | { |
| | | public Dt_InterfacerecordRepository(VOLContext dbContext) |
| | | : base(dbContext) |
| | | { |
| | | |
| | | } |
| | | public static IDt_InterfacerecordRepository Instance |
| | | { |
| | | get { return AutofacContainerModule.GetService<IDt_InterfacerecordRepository>(); } } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *Authorï¼jxx |
| | | *Contactï¼283591387@qq.com |
| | | *代ç ç±æ¡æ¶çæ,æ¤å¤ä»»ä½æ´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *ææä¸å¡ç¼åå
¨é¨åºå¨Partialæä»¶å¤¹ä¸Dt_InterfacerecordServiceä¸IDt_InterfacerecordServiceä¸ç¼å |
| | | */ |
| | | using WIDESEA_Services.IRepositories; |
| | | using WIDESEA_Services.IServices; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_Services.Services |
| | | { |
| | | public partial class Dt_InterfacerecordService : ServiceBase<Dt_Interfacerecord, IDt_InterfacerecordRepository>, IDt_InterfacerecordService, IDependency |
| | | { |
| | | public Dt_InterfacerecordService(IDt_InterfacerecordRepository repository) |
| | | : base(repository) |
| | | { |
| | | Init(repository); |
| | | } |
| | | public static IDt_InterfacerecordService Instance |
| | | { |
| | | get { return AutofacContainerModule.GetService<IDt_InterfacerecordService>(); } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *ææå
³äºDt_Interfacerecordç±»çä¸å¡ä»£ç åºå¨æ¤å¤ç¼å |
| | | *å¯ä½¿ç¨repository.è°ç¨å¸¸ç¨æ¹æ³ï¼è·åEF/Dapperçä¿¡æ¯ |
| | | *妿éè¦äºå¡è¯·ä½¿ç¨repository.DbContextBeginTransaction |
| | | *ä¹å¯ä½¿ç¨DBServerProvider.æå¨è·åæ°æ®åºç¸å
³ä¿¡æ¯ |
| | | *ç¨æ·ä¿¡æ¯ãæéãè§è²ç使ç¨UserContext.Currentæä½ |
| | | *Dt_InterfacerecordService对å¢ãå ãæ¹æ¥ã导å
¥ã导åºãå®¡æ ¸ä¸å¡ä»£ç æ©å±åç
§ServiceFunFilter |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using System.Linq; |
| | | using WIDESEA_Core.Utilities; |
| | | using System.Linq.Expressions; |
| | | using WIDESEA_Core.Extensions; |
| | | using Microsoft.EntityFrameworkCore; |
| | | |
| | | namespace WIDESEA_Services.Services |
| | | { |
| | | public partial class Dt_InterfacerecordService |
| | | { |
| | | public override PageGridData<Dt_Interfacerecord> GetPageData(PageDataOptions pageData) |
| | | { |
| | | return base.GetPageData(pageData); |
| | | } |
| | | } |
| | | } |
| | |
| | | get { return DictionaryManager.Dictionaries; } |
| | | } |
| | | |
| | | public object GetVueDictionary(string[] dicNos) |
| | | public async Task<object> GetVueDictionary(string[] dicNos) |
| | | { |
| | | if (dicNos == null || dicNos.Count() == 0) return new string[] { }; |
| | | var dicConfig = DictionaryManager.GetDictionaries(dicNos, false).Select(s => new |
| | | { |
| | | dicNo = s.DicNo, |
| | | config = s.Config, |
| | | dbSql = s.DbSql, |
| | | list = s.Sys_DictionaryList.OrderByDescending(o => o.OrderNo) |
| | | .Select(list => new { key = list.DicValue, value = list.DicName }) |
| | | }).ToList(); |
| | | var dicConfig = await Task.FromResult( |
| | | DictionaryManager.GetDictionaries(dicNos, false).Select(s => new |
| | | { |
| | | dicNo = s.DicNo, |
| | | config = s.Config, |
| | | dbSql = s.DbSql, |
| | | list = s.Sys_DictionaryList.OrderByDescending(o => o.OrderNo) |
| | | .Select(list => new { key = list.DicValue, value = list.DicName }) |
| | | }).ToList()); |
| | | |
| | | object GetSourceData(string dicNo, string dbSql, object data) |
| | | { |
| | |
| | | }).ToList(); |
| | | } |
| | | |
| | | //public object GetVueDictionary(string[] dicNos) |
| | | //{ |
| | | // if (dicNos == null || dicNos.Count() == 0) return new string[] { }; |
| | | // var dicConfig = DictionaryManager.GetDictionaries(dicNos, false).Select(s => new |
| | | // { |
| | | // dicNo = s.DicNo, |
| | | // config = s.Config, |
| | | // dbSql = s.DbSql, |
| | | // list = s.Sys_DictionaryList.OrderByDescending(o => o.OrderNo) |
| | | // .Select(list => new { key = list.DicValue, value = list.DicName }) |
| | | // }).ToList(); |
| | | |
| | | // object GetSourceData(string dicNo, string dbSql, object data) |
| | | // { |
| | | // // 2020.05.01å¢å æ ¹æ®ç¨æ·ä¿¡æ¯å è½½åå
¸æ°æ®æºsql |
| | | // dbSql = DictionaryHandler.GetCustomDBSql(dicNo, dbSql); |
| | | // if (string.IsNullOrEmpty(dbSql)) |
| | | // { |
| | | // return data as object; |
| | | // } |
| | | // return repository.DapperContext.QueryList<object>(dbSql, null); |
| | | // } |
| | | // return dicConfig.Select(item => new |
| | | // { |
| | | // item.dicNo, |
| | | // item.config, |
| | | // data = GetSourceData(item.dicNo, item.dbSql, item.list) |
| | | // }).ToList(); |
| | | //} |
| | | |
| | | |
| | | /// <summary> |
| | | /// éè¿è¿ç¨æç´¢ |
| | |
| | | |
| | | <ItemGroup> |
| | | <Folder Include="IRepositories\System\" /> |
| | | <Folder Include="IServices\System\" /> |
| | | </ItemGroup> |
| | | |
| | | <ItemGroup> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Comm; |
| | | using WIDESEA_Common; |
| | | using WIDESEA_Core.EFDbContext; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_WMS.IRepositories; |
| | | using WIDESEA_WMS.Repositories; |
| | | |
| | | namespace WIDESEA_WMS |
| | | { |
| | | public class Task |
| | | { |
| | | /// <summary> |
| | | /// æ·»å åå²ä»»å¡ |
| | | /// </summary> |
| | | /// <param name="task">ä»»å¡</param> |
| | | /// <param name="operatetype">æä½ç±»å</param> |
| | | public static void AddHtyTask(dt_agvtask task, string operatetype = "Complete", string compeletor = "AGV") |
| | | { |
| | | VOLContext context = new VOLContext(); |
| | | Idt_agvtask_htyRepository htyRepository = new dt_agvtask_htyRepository(context); |
| | | Idt_agvtaskRepository repository = new dt_agvtaskRepository(context); |
| | | dt_agvtask_hty agvtask_Hty = new dt_agvtask_hty() |
| | | { |
| | | hty_pkid = Guid.NewGuid(), |
| | | agv_id = Guid.Empty, |
| | | agv_tasknum = task.agv_tasknum, |
| | | agv_materielid = task.agv_materielid, |
| | | agv_qty = task.agv_qty, |
| | | agv_createtime = task.agv_createtime, |
| | | agv_realesstime = task.agv_realesstime, |
| | | agv_executingBeginTime = task.agv_executingBeginTime, |
| | | agv_executingEndTime = task.agv_executingEndTime, |
| | | agv_completeBeginTime = task.agv_completeBeginTime, |
| | | agv_finishedtime = DateTime.Now, |
| | | agv_taskstate = task.agv_taskstate, |
| | | agv_tasktype = task.agv_tasktype, |
| | | agv_fromaddress = task.agv_fromaddress, |
| | | agv_toaddress = task.agv_toaddress, |
| | | agv_operatetype = operatetype, |
| | | agv_compeletor = compeletor, |
| | | agv_completedate = DateTime.Now, |
| | | agv_grade = task.agv_grade, |
| | | agv_userid = task.agv_userid, |
| | | agv_barcode = task.agv_barcode, |
| | | agv_code = task.agv_code, |
| | | agv_worktype = task.agv_worktype, |
| | | agv_remark = task.agv_remark |
| | | }; |
| | | htyRepository.Add(agvtask_Hty, true); |
| | | repository.Delete(task, true); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *Repositoryæä¾æ°æ®åºæä½ï¼å¦æè¦å¢å æ°æ®åºæä½è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹Idt_boxingRepositoryç¼åæ¥å£ |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | namespace WIDESEA_WMS.IRepositories |
| | | { |
| | | public partial interface Idt_boxingRepository : IDependency,IRepository<dt_boxing> |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *Repositoryæä¾æ°æ®åºæä½ï¼å¦æè¦å¢å æ°æ®åºæä½è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹Idt_boxing_htyRepositoryç¼åæ¥å£ |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | namespace WIDESEA_WMS.IRepositories |
| | | { |
| | | public partial interface Idt_boxing_htyRepository : IDependency,IRepository<dt_boxing_hty> |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *Repositoryæä¾æ°æ®åºæä½ï¼å¦æè¦å¢å æ°æ®åºæä½è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹Idt_areainfoRepositoryç¼åæ¥å£ |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | namespace WIDESEA_WMS.IRepositories |
| | | { |
| | | public partial interface Idt_areainfoRepository : IDependency,IRepository<dt_areainfo> |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *Repositoryæä¾æ°æ®åºæä½ï¼å¦æè¦å¢å æ°æ®åºæä½è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹Idt_inventoryRepositoryç¼åæ¥å£ |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | namespace WIDESEA_WMS.IRepositories |
| | | { |
| | | public partial interface Idt_inventoryRepository : IDependency,IRepository<dt_inventory> |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *Repositoryæä¾æ°æ®åºæä½ï¼å¦æè¦å¢å æ°æ®åºæä½è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹Idt_materielinfoRepositoryç¼åæ¥å£ |
| | | */ |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | namespace WIDESEA_WMS.IRepositories |
| | | { |
| | | public partial interface Idt_materielinfoRepository : IDependency,IRepository<dt_materielinfo> |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_WMS.IServices |
| | | { |
| | | public partial interface Idt_boxingService : IService<dt_boxing> |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_WMS.IServices |
| | | { |
| | | public partial interface Idt_boxing_htyService : IService<dt_boxing_hty> |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *ææå
³äºdt_boxingç±»çä¸å¡ä»£ç æ¥å£åºå¨æ¤å¤ç¼å |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Core.Utilities; |
| | | using System.Linq.Expressions; |
| | | namespace WIDESEA_WMS.IServices |
| | | { |
| | | public partial interface Idt_boxingService |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *ææå
³äºdt_boxing_htyç±»çä¸å¡ä»£ç æ¥å£åºå¨æ¤å¤ç¼å |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Core.Utilities; |
| | | using System.Linq.Expressions; |
| | | namespace WIDESEA_WMS.IServices |
| | | { |
| | | public partial interface Idt_boxing_htyService |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_WMS.IServices |
| | | { |
| | | public partial interface Idt_areainfoService : IService<dt_areainfo> |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_WMS.IServices |
| | | { |
| | | public partial interface Idt_inventoryService : IService<dt_inventory> |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_WMS.IServices |
| | | { |
| | | public partial interface Idt_materielinfoService : IService<dt_materielinfo> |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *ææå
³äºdt_areainfoç±»çä¸å¡ä»£ç æ¥å£åºå¨æ¤å¤ç¼å |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Core.Utilities; |
| | | using System.Linq.Expressions; |
| | | namespace WIDESEA_WMS.IServices |
| | | { |
| | | public partial interface Idt_areainfoService |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *ææå
³äºdt_inventoryç±»çä¸å¡ä»£ç æ¥å£åºå¨æ¤å¤ç¼å |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Core.Utilities; |
| | | using System.Linq.Expressions; |
| | | namespace WIDESEA_WMS.IServices |
| | | { |
| | | public partial interface Idt_inventoryService |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *ææå
³äºdt_materielinfoç±»çä¸å¡ä»£ç æ¥å£åºå¨æ¤å¤ç¼å |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Core.Utilities; |
| | | using System.Linq.Expressions; |
| | | namespace WIDESEA_WMS.IServices |
| | | { |
| | | public partial interface Idt_materielinfoService |
| | | { |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *Repositoryæä¾æ°æ®åºæä½ï¼å¦æè¦å¢å æ°æ®åºæä½è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹dt_boxingRepositoryç¼å代ç |
| | | */ |
| | | using WIDESEA_WMS.IRepositories; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.EFDbContext; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_WMS.Repositories |
| | | { |
| | | public partial class dt_boxingRepository : RepositoryBase<dt_boxing> , Idt_boxingRepository |
| | | { |
| | | public dt_boxingRepository(VOLContext dbContext) |
| | | : base(dbContext) |
| | | { |
| | | |
| | | } |
| | | public static Idt_boxingRepository Instance |
| | | { |
| | | get { return AutofacContainerModule.GetService<Idt_boxingRepository>(); } } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *Repositoryæä¾æ°æ®åºæä½ï¼å¦æè¦å¢å æ°æ®åºæä½è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹dt_boxing_htyRepositoryç¼å代ç |
| | | */ |
| | | using WIDESEA_WMS.IRepositories; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.EFDbContext; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_WMS.Repositories |
| | | { |
| | | public partial class dt_boxing_htyRepository : RepositoryBase<dt_boxing_hty> , Idt_boxing_htyRepository |
| | | { |
| | | public dt_boxing_htyRepository(VOLContext dbContext) |
| | | : base(dbContext) |
| | | { |
| | | |
| | | } |
| | | public static Idt_boxing_htyRepository Instance |
| | | { |
| | | get { return AutofacContainerModule.GetService<Idt_boxing_htyRepository>(); } } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *Repositoryæä¾æ°æ®åºæä½ï¼å¦æè¦å¢å æ°æ®åºæä½è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹dt_areainfoRepositoryç¼å代ç |
| | | */ |
| | | using WIDESEA_WMS.IRepositories; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.EFDbContext; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_WMS.Repositories |
| | | { |
| | | public partial class dt_areainfoRepository : RepositoryBase<dt_areainfo> , Idt_areainfoRepository |
| | | { |
| | | public dt_areainfoRepository(VOLContext dbContext) |
| | | : base(dbContext) |
| | | { |
| | | |
| | | } |
| | | public static Idt_areainfoRepository Instance |
| | | { |
| | | get { return AutofacContainerModule.GetService<Idt_areainfoRepository>(); } } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *Repositoryæä¾æ°æ®åºæä½ï¼å¦æè¦å¢å æ°æ®åºæä½è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹dt_inventoryRepositoryç¼å代ç |
| | | */ |
| | | using WIDESEA_WMS.IRepositories; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.EFDbContext; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_WMS.Repositories |
| | | { |
| | | public partial class dt_inventoryRepository : RepositoryBase<dt_inventory> , Idt_inventoryRepository |
| | | { |
| | | public dt_inventoryRepository(VOLContext dbContext) |
| | | : base(dbContext) |
| | | { |
| | | |
| | | } |
| | | public static Idt_inventoryRepository Instance |
| | | { |
| | | get { return AutofacContainerModule.GetService<Idt_inventoryRepository>(); } } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *Repositoryæä¾æ°æ®åºæä½ï¼å¦æè¦å¢å æ°æ®åºæä½è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹dt_materielinfoRepositoryç¼å代ç |
| | | */ |
| | | using WIDESEA_WMS.IRepositories; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.EFDbContext; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_WMS.Repositories |
| | | { |
| | | public partial class dt_materielinfoRepository : RepositoryBase<dt_materielinfo> , Idt_materielinfoRepository |
| | | { |
| | | public dt_materielinfoRepository(VOLContext dbContext) |
| | | : base(dbContext) |
| | | { |
| | | |
| | | } |
| | | public static Idt_materielinfoRepository Instance |
| | | { |
| | | get { return AutofacContainerModule.GetService<Idt_materielinfoRepository>(); } } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *ææå
³äºdt_boxingç±»çä¸å¡ä»£ç åºå¨æ¤å¤ç¼å |
| | | *å¯ä½¿ç¨repository.è°ç¨å¸¸ç¨æ¹æ³ï¼è·åEF/Dapperçä¿¡æ¯ |
| | | *妿éè¦äºå¡è¯·ä½¿ç¨repository.DbContextBeginTransaction |
| | | *ä¹å¯ä½¿ç¨DBServerProvider.æå¨è·åæ°æ®åºç¸å
³ä¿¡æ¯ |
| | | *ç¨æ·ä¿¡æ¯ãæéãè§è²ç使ç¨UserContext.Currentæä½ |
| | | *dt_boxingService对å¢ãå ãæ¹æ¥ã导å
¥ã导åºãå®¡æ ¸ä¸å¡ä»£ç æ©å±åç
§ServiceFunFilter |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using System.Linq; |
| | | using WIDESEA_Core.Utilities; |
| | | using System.Linq.Expressions; |
| | | using WIDESEA_Core.Extensions; |
| | | using Microsoft.EntityFrameworkCore; |
| | | using Microsoft.Extensions.DependencyInjection; |
| | | using Microsoft.AspNetCore.Http; |
| | | using WIDESEA_WMS.IRepositories; |
| | | |
| | | namespace WIDESEA_WMS.Services |
| | | { |
| | | public partial class dt_boxingService |
| | | { |
| | | private readonly IHttpContextAccessor _httpContextAccessor; |
| | | private readonly Idt_boxingRepository _repository;//è®¿é®æ°æ®åº |
| | | |
| | | [ActivatorUtilitiesConstructor] |
| | | public dt_boxingService( |
| | | Idt_boxingRepository dbRepository, |
| | | IHttpContextAccessor httpContextAccessor |
| | | ) |
| | | : base(dbRepository) |
| | | { |
| | | _httpContextAccessor = httpContextAccessor; |
| | | _repository = dbRepository; |
| | | //å¤ç§æ·ä¼ç¨å°è¿init代ç ï¼å
¶ä»æ
åµå¯ä»¥ä¸ç¨ |
| | | //base.Init(dbRepository); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *ææå
³äºdt_boxing_htyç±»çä¸å¡ä»£ç åºå¨æ¤å¤ç¼å |
| | | *å¯ä½¿ç¨repository.è°ç¨å¸¸ç¨æ¹æ³ï¼è·åEF/Dapperçä¿¡æ¯ |
| | | *妿éè¦äºå¡è¯·ä½¿ç¨repository.DbContextBeginTransaction |
| | | *ä¹å¯ä½¿ç¨DBServerProvider.æå¨è·åæ°æ®åºç¸å
³ä¿¡æ¯ |
| | | *ç¨æ·ä¿¡æ¯ãæéãè§è²ç使ç¨UserContext.Currentæä½ |
| | | *dt_boxing_htyService对å¢ãå ãæ¹æ¥ã导å
¥ã导åºãå®¡æ ¸ä¸å¡ä»£ç æ©å±åç
§ServiceFunFilter |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using System.Linq; |
| | | using WIDESEA_Core.Utilities; |
| | | using System.Linq.Expressions; |
| | | using WIDESEA_Core.Extensions; |
| | | using Microsoft.EntityFrameworkCore; |
| | | using Microsoft.Extensions.DependencyInjection; |
| | | using Microsoft.AspNetCore.Http; |
| | | using WIDESEA_WMS.IRepositories; |
| | | |
| | | namespace WIDESEA_WMS.Services |
| | | { |
| | | public partial class dt_boxing_htyService |
| | | { |
| | | private readonly IHttpContextAccessor _httpContextAccessor; |
| | | private readonly Idt_boxing_htyRepository _repository;//è®¿é®æ°æ®åº |
| | | |
| | | [ActivatorUtilitiesConstructor] |
| | | public dt_boxing_htyService( |
| | | Idt_boxing_htyRepository dbRepository, |
| | | IHttpContextAccessor httpContextAccessor |
| | | ) |
| | | : base(dbRepository) |
| | | { |
| | | _httpContextAccessor = httpContextAccessor; |
| | | _repository = dbRepository; |
| | | //å¤ç§æ·ä¼ç¨å°è¿init代ç ï¼å
¶ä»æ
åµå¯ä»¥ä¸ç¨ |
| | | //base.Init(dbRepository); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *Authorï¼jxx |
| | | *Contactï¼283591387@qq.com |
| | | *代ç ç±æ¡æ¶çæ,æ¤å¤ä»»ä½æ´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *ææä¸å¡ç¼åå
¨é¨åºå¨Partialæä»¶å¤¹ä¸dt_boxingServiceä¸Idt_boxingServiceä¸ç¼å |
| | | */ |
| | | using WIDESEA_WMS.IRepositories; |
| | | using WIDESEA_WMS.IServices; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_WMS.Services |
| | | { |
| | | public partial class dt_boxingService : ServiceBase<dt_boxing, Idt_boxingRepository> |
| | | , Idt_boxingService, IDependency |
| | | { |
| | | public dt_boxingService(Idt_boxingRepository repository) |
| | | : base(repository) |
| | | { |
| | | Init(repository); |
| | | } |
| | | public static Idt_boxingService Instance |
| | | { |
| | | get { return AutofacContainerModule.GetService<Idt_boxingService>(); } } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *Authorï¼jxx |
| | | *Contactï¼283591387@qq.com |
| | | *代ç ç±æ¡æ¶çæ,æ¤å¤ä»»ä½æ´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *ææä¸å¡ç¼åå
¨é¨åºå¨Partialæä»¶å¤¹ä¸dt_boxing_htyServiceä¸Idt_boxing_htyServiceä¸ç¼å |
| | | */ |
| | | using WIDESEA_WMS.IRepositories; |
| | | using WIDESEA_WMS.IServices; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_WMS.Services |
| | | { |
| | | public partial class dt_boxing_htyService : ServiceBase<dt_boxing_hty, Idt_boxing_htyRepository> |
| | | , Idt_boxing_htyService, IDependency |
| | | { |
| | | public dt_boxing_htyService(Idt_boxing_htyRepository repository) |
| | | : base(repository) |
| | | { |
| | | Init(repository); |
| | | } |
| | | public static Idt_boxing_htyService Instance |
| | | { |
| | | get { return AutofacContainerModule.GetService<Idt_boxing_htyService>(); } } |
| | | } |
| | | } |
| | |
| | | using Microsoft.Extensions.DependencyInjection; |
| | | using Microsoft.AspNetCore.Http; |
| | | using WIDESEA_WMS.IRepositories; |
| | | using WIDESEA_WMS.Repositories; |
| | | using WIDESEA_Core.EFDbContext; |
| | | using static System.Collections.Specialized.BitVector32; |
| | | using WIDESEA_Comm.TaskNo; |
| | | using WIDESEA_Common; |
| | | using WIDESEA_Core.ManageUser; |
| | | using WIDESEA_Comm.LogInfo; |
| | | |
| | | namespace WIDESEA_WMS.Services |
| | | { |
| | |
| | | //å¤ç§æ·ä¼ç¨å°è¿init代ç ï¼å
¶ä»æ
åµå¯ä»¥ä¸ç¨ |
| | | //base.Init(dbRepository); |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// æ·»å ä»»å¡ |
| | | /// </summary> |
| | | /// <param name="saveDataModel"></param> |
| | | /// <returns></returns> |
| | | public override WebResponseContent Add(SaveModel saveDataModel) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | try |
| | | { |
| | | VOLContext context = new VOLContext(); |
| | | Idt_stationinfoRepository stationinfoRepository = new dt_stationinfoRepository(context); |
| | | var fromaddress = saveDataModel.MainData["agv_fromaddress"].ToString(); |
| | | var toaddress = saveDataModel.MainData["agv_toaddress"].ToString(); |
| | | var tasktype = saveDataModel.MainData["agv_tasktype"].ToString(); |
| | | var grade = saveDataModel.MainData["agv_grade"].ToInt(); |
| | | var station1 = stationinfoRepository.FindFirst(x => x.stationCode == fromaddress); |
| | | var station2 = stationinfoRepository.FindFirst(x => x.stationCode == toaddress); |
| | | if (station1 == null || station2 == null) |
| | | throw new Exception($"èµ·ç¹å°å{fromaddress}æç»ç¹å°å{toaddress}ä¸åå¨ï¼"); |
| | | if (string.IsNullOrEmpty(station1.stationType)) |
| | | throw new Exception($"èµ·ç¹{fromaddress}æªç»å®ç©æç±»åï¼"); |
| | | var task = _repository.Find(t => t.agv_fromaddress == fromaddress |
| | | || t.agv_fromaddress == toaddress |
| | | || t.agv_toaddress == fromaddress |
| | | || t.agv_toaddress == toaddress |
| | | ).Any(); |
| | | if (task) |
| | | throw new Exception("èµ·å§æç®çå°åï¼å·²åå¨ä»»å¡ä¸ï¼"); |
| | | dt_agvtask agvtask = new dt_agvtask(); |
| | | agvtask.agv_id = Guid.NewGuid(); |
| | | agvtask.agv_fromaddress = fromaddress; |
| | | agvtask.agv_toaddress = toaddress; |
| | | agvtask.agv_tasknum = IdenxManager.GetTaskNo("KH-"); |
| | | agvtask.agv_code = "AGV"; |
| | | agvtask.agv_taskstate = AGVTaskStateEnum.Create.ToString(); |
| | | agvtask.agv_tasktype = tasktype; |
| | | agvtask.agv_worktype = 1;//å·¥ä½ç±»å |
| | | agvtask.agv_materielid = station1.stationType;//ç©æç±»å |
| | | agvtask.agv_qty = station1.quantity; |
| | | agvtask.agv_createtime = DateTime.Now; |
| | | agvtask.agv_grade = grade;//ä»»å¡ä¼å
级 |
| | | agvtask.agv_userid = UserContext.Current.UserName; |
| | | _repository.Add(agvtask, true); |
| | | content.OK(); |
| | | WriteDBLog.Success($"æå¨æ·»å ä»»å¡", new { æ°æ® = saveDataModel }, "WMS", UserContext.Current.UserName); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | WriteDBLog.Error($"æå¨æ·»å ä»»å¡", new { æ°æ® = saveDataModel, å¼å¸¸ä¿¡æ¯ = ex.Message }, "WMS", UserContext.Current.UserName); |
| | | content.Error(ex.Message); |
| | | } |
| | | |
| | | return content; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *ææå
³äºdt_areainfoç±»çä¸å¡ä»£ç åºå¨æ¤å¤ç¼å |
| | | *å¯ä½¿ç¨repository.è°ç¨å¸¸ç¨æ¹æ³ï¼è·åEF/Dapperçä¿¡æ¯ |
| | | *妿éè¦äºå¡è¯·ä½¿ç¨repository.DbContextBeginTransaction |
| | | *ä¹å¯ä½¿ç¨DBServerProvider.æå¨è·åæ°æ®åºç¸å
³ä¿¡æ¯ |
| | | *ç¨æ·ä¿¡æ¯ãæéãè§è²ç使ç¨UserContext.Currentæä½ |
| | | *dt_areainfoService对å¢ãå ãæ¹æ¥ã导å
¥ã导åºãå®¡æ ¸ä¸å¡ä»£ç æ©å±åç
§ServiceFunFilter |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using System.Linq; |
| | | using WIDESEA_Core.Utilities; |
| | | using System.Linq.Expressions; |
| | | using WIDESEA_Core.Extensions; |
| | | using Microsoft.EntityFrameworkCore; |
| | | using Microsoft.Extensions.DependencyInjection; |
| | | using Microsoft.AspNetCore.Http; |
| | | using WIDESEA_WMS.IRepositories; |
| | | |
| | | namespace WIDESEA_WMS.Services |
| | | { |
| | | public partial class dt_areainfoService |
| | | { |
| | | private readonly IHttpContextAccessor _httpContextAccessor; |
| | | private readonly Idt_areainfoRepository _repository;//è®¿é®æ°æ®åº |
| | | |
| | | [ActivatorUtilitiesConstructor] |
| | | public dt_areainfoService( |
| | | Idt_areainfoRepository dbRepository, |
| | | IHttpContextAccessor httpContextAccessor |
| | | ) |
| | | : base(dbRepository) |
| | | { |
| | | _httpContextAccessor = httpContextAccessor; |
| | | _repository = dbRepository; |
| | | //å¤ç§æ·ä¼ç¨å°è¿init代ç ï¼å
¶ä»æ
åµå¯ä»¥ä¸ç¨ |
| | | //base.Init(dbRepository); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *ææå
³äºdt_inventoryç±»çä¸å¡ä»£ç åºå¨æ¤å¤ç¼å |
| | | *å¯ä½¿ç¨repository.è°ç¨å¸¸ç¨æ¹æ³ï¼è·åEF/Dapperçä¿¡æ¯ |
| | | *妿éè¦äºå¡è¯·ä½¿ç¨repository.DbContextBeginTransaction |
| | | *ä¹å¯ä½¿ç¨DBServerProvider.æå¨è·åæ°æ®åºç¸å
³ä¿¡æ¯ |
| | | *ç¨æ·ä¿¡æ¯ãæéãè§è²ç使ç¨UserContext.Currentæä½ |
| | | *dt_inventoryService对å¢ãå ãæ¹æ¥ã导å
¥ã导åºãå®¡æ ¸ä¸å¡ä»£ç æ©å±åç
§ServiceFunFilter |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using System.Linq; |
| | | using WIDESEA_Core.Utilities; |
| | | using System.Linq.Expressions; |
| | | using WIDESEA_Core.Extensions; |
| | | using Microsoft.EntityFrameworkCore; |
| | | using Microsoft.Extensions.DependencyInjection; |
| | | using Microsoft.AspNetCore.Http; |
| | | using WIDESEA_WMS.IRepositories; |
| | | |
| | | namespace WIDESEA_WMS.Services |
| | | { |
| | | public partial class dt_inventoryService |
| | | { |
| | | private readonly IHttpContextAccessor _httpContextAccessor; |
| | | private readonly Idt_inventoryRepository _repository;//è®¿é®æ°æ®åº |
| | | |
| | | [ActivatorUtilitiesConstructor] |
| | | public dt_inventoryService( |
| | | Idt_inventoryRepository dbRepository, |
| | | IHttpContextAccessor httpContextAccessor |
| | | ) |
| | | : base(dbRepository) |
| | | { |
| | | _httpContextAccessor = httpContextAccessor; |
| | | _repository = dbRepository; |
| | | //å¤ç§æ·ä¼ç¨å°è¿init代ç ï¼å
¶ä»æ
åµå¯ä»¥ä¸ç¨ |
| | | //base.Init(dbRepository); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *ææå
³äºdt_materielinfoç±»çä¸å¡ä»£ç åºå¨æ¤å¤ç¼å |
| | | *å¯ä½¿ç¨repository.è°ç¨å¸¸ç¨æ¹æ³ï¼è·åEF/Dapperçä¿¡æ¯ |
| | | *妿éè¦äºå¡è¯·ä½¿ç¨repository.DbContextBeginTransaction |
| | | *ä¹å¯ä½¿ç¨DBServerProvider.æå¨è·åæ°æ®åºç¸å
³ä¿¡æ¯ |
| | | *ç¨æ·ä¿¡æ¯ãæéãè§è²ç使ç¨UserContext.Currentæä½ |
| | | *dt_materielinfoService对å¢ãå ãæ¹æ¥ã导å
¥ã导åºãå®¡æ ¸ä¸å¡ä»£ç æ©å±åç
§ServiceFunFilter |
| | | */ |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using System.Linq; |
| | | using WIDESEA_Core.Utilities; |
| | | using System.Linq.Expressions; |
| | | using WIDESEA_Core.Extensions; |
| | | using Microsoft.EntityFrameworkCore; |
| | | using Microsoft.Extensions.DependencyInjection; |
| | | using Microsoft.AspNetCore.Http; |
| | | using WIDESEA_WMS.IRepositories; |
| | | |
| | | namespace WIDESEA_WMS.Services |
| | | { |
| | | public partial class dt_materielinfoService |
| | | { |
| | | private readonly IHttpContextAccessor _httpContextAccessor; |
| | | private readonly Idt_materielinfoRepository _repository;//è®¿é®æ°æ®åº |
| | | |
| | | [ActivatorUtilitiesConstructor] |
| | | public dt_materielinfoService( |
| | | Idt_materielinfoRepository dbRepository, |
| | | IHttpContextAccessor httpContextAccessor |
| | | ) |
| | | : base(dbRepository) |
| | | { |
| | | _httpContextAccessor = httpContextAccessor; |
| | | _repository = dbRepository; |
| | | //å¤ç§æ·ä¼ç¨å°è¿init代ç ï¼å
¶ä»æ
åµå¯ä»¥ä¸ç¨ |
| | | //base.Init(dbRepository); |
| | | } |
| | | } |
| | | } |
| | |
| | | //å¤ç§æ·ä¼ç¨å°è¿init代ç ï¼å
¶ä»æ
åµå¯ä»¥ä¸ç¨ |
| | | //base.Init(dbRepository); |
| | | } |
| | | } |
| | | public override WebResponseContent Add(SaveModel saveDataModel) |
| | | { |
| | | |
| | | return base.Add(saveDataModel); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *Authorï¼jxx |
| | | *Contactï¼283591387@qq.com |
| | | *代ç ç±æ¡æ¶çæ,æ¤å¤ä»»ä½æ´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *ææä¸å¡ç¼åå
¨é¨åºå¨Partialæä»¶å¤¹ä¸dt_areainfoServiceä¸Idt_areainfoServiceä¸ç¼å |
| | | */ |
| | | using WIDESEA_WMS.IRepositories; |
| | | using WIDESEA_WMS.IServices; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_WMS.Services |
| | | { |
| | | public partial class dt_areainfoService : ServiceBase<dt_areainfo, Idt_areainfoRepository> |
| | | , Idt_areainfoService, IDependency |
| | | { |
| | | public dt_areainfoService(Idt_areainfoRepository repository) |
| | | : base(repository) |
| | | { |
| | | Init(repository); |
| | | } |
| | | public static Idt_areainfoService Instance |
| | | { |
| | | get { return AutofacContainerModule.GetService<Idt_areainfoService>(); } } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *Authorï¼jxx |
| | | *Contactï¼283591387@qq.com |
| | | *代ç ç±æ¡æ¶çæ,æ¤å¤ä»»ä½æ´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *ææä¸å¡ç¼åå
¨é¨åºå¨Partialæä»¶å¤¹ä¸dt_inventoryServiceä¸Idt_inventoryServiceä¸ç¼å |
| | | */ |
| | | using WIDESEA_WMS.IRepositories; |
| | | using WIDESEA_WMS.IServices; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_WMS.Services |
| | | { |
| | | public partial class dt_inventoryService : ServiceBase<dt_inventory, Idt_inventoryRepository> |
| | | , Idt_inventoryService, IDependency |
| | | { |
| | | public dt_inventoryService(Idt_inventoryRepository repository) |
| | | : base(repository) |
| | | { |
| | | Init(repository); |
| | | } |
| | | public static Idt_inventoryService Instance |
| | | { |
| | | get { return AutofacContainerModule.GetService<Idt_inventoryService>(); } } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *Authorï¼jxx |
| | | *Contactï¼283591387@qq.com |
| | | *代ç ç±æ¡æ¶çæ,æ¤å¤ä»»ä½æ´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *ææä¸å¡ç¼åå
¨é¨åºå¨Partialæä»¶å¤¹ä¸dt_materielinfoServiceä¸Idt_materielinfoServiceä¸ç¼å |
| | | */ |
| | | using WIDESEA_WMS.IRepositories; |
| | | using WIDESEA_WMS.IServices; |
| | | using WIDESEA_Core.BaseProvider; |
| | | using WIDESEA_Core.Extensions.AutofacManager; |
| | | using WIDESEA_Entity.DomainModels; |
| | | |
| | | namespace WIDESEA_WMS.Services |
| | | { |
| | | public partial class dt_materielinfoService : ServiceBase<dt_materielinfo, Idt_materielinfoRepository> |
| | | , Idt_materielinfoService, IDependency |
| | | { |
| | | public dt_materielinfoService(Idt_materielinfoRepository repository) |
| | | : base(repository) |
| | | { |
| | | Init(repository); |
| | | } |
| | | public static Idt_materielinfoService Instance |
| | | { |
| | | get { return AutofacContainerModule.GetService<Idt_materielinfoService>(); } } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using Newtonsoft.Json; |
| | | using OfficeOpenXml.FormulaParsing.Excel.Functions.Text; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Net; |
| | | using System.Security.Policy; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using System.Xml.Linq; |
| | | using WIDESEA_Comm.LogInfo; |
| | | using WIDESEA_Common; |
| | | using WIDESEA_Core.EFDbContext; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Entity.ToAGV; |
| | | using WIDESEA_WMS.IRepositories; |
| | | using WIDESEA_WMS.Repositories; |
| | | |
| | | namespace WIDESEA_WMS |
| | | { |
| | | public partial class ToAGVServer |
| | | { |
| | | /// <summary> |
| | | /// ä¿®æ¹ä»»å¡ç¶æ |
| | | /// </summary> |
| | | /// <param name="json"></param> |
| | | /// <returns></returns> |
| | | public static AGVRespone UpdateTaskState(string json) |
| | | { |
| | | VOLContext context = new VOLContext(); |
| | | Idt_agvtaskRepository repository = new dt_agvtaskRepository(context); |
| | | AGVRespone respone = new AGVRespone(); |
| | | UpdateTasteInfo tasteInfo = new(); |
| | | try |
| | | { |
| | | if (string.IsNullOrEmpty(json) || json == "null") |
| | | throw new Exception("æªè·åå°è¯·æ±åæ°æ°æ®"); |
| | | tasteInfo = JsonConvert.DeserializeObject<UpdateTasteInfo>(json); |
| | | if (string.IsNullOrEmpty(tasteInfo.TASK_NO)) |
| | | throw new Exception("æªè·åå°ä»»å¡å·!"); |
| | | var task = repository.FindFirst(x => x.agv_tasknum == tasteInfo.TASK_NO); |
| | | if (task == null) |
| | | throw new Exception("æªæ¾å°ä»»å¡,ä»»å¡IDï¼" + tasteInfo.TASK_NO); |
| | | if (tasteInfo.TASK_State < 1 || tasteInfo.TASK_State > 4) |
| | | throw new Exception("æªå®ä¹çä»»å¡ç¶æ:" + tasteInfo.TASK_State); |
| | | var StateName = Enum.GetName(typeof(AGVTaskStateEnum), tasteInfo.TASK_State); |
| | | if (task.agv_taskstate == StateName) |
| | | { |
| | | respone.success = 2; |
| | | respone.Message = tasteInfo.TASK_NO + "ï¼éå¤è°ç¨ï¼ä»»å¡ç¶æä¸ºï¼" + tasteInfo.TASK_State; |
| | | return respone; |
| | | } |
| | | if (tasteInfo.TASK_State == 1) |
| | | task.agv_executingBeginTime = DateTime.Now; |
| | | if (tasteInfo.TASK_State == 2) |
| | | task.agv_executingEndTime = DateTime.Now; |
| | | if (tasteInfo.TASK_State == 3) |
| | | task.agv_completeBeginTime = DateTime.Now; |
| | | task.agv_taskstate = StateName; |
| | | var count = repository.Update(task, true); |
| | | if (count < 1) |
| | | throw new Exception("ä»»å¡ç¶ææ´æ°å¤±è´¥ï¼ä»»å¡IDï¼" + tasteInfo.TASK_NO + "ï¼ä»»å¡ç¶æï¼" + tasteInfo.TASK_State); |
| | | if (tasteInfo.TASK_State == 4) |
| | | Task.AddHtyTask(task); |
| | | |
| | | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | respone.success = 3; |
| | | respone.Message = ex.Message; |
| | | } |
| | | WriteWMSLog.LogAdd(tasteInfo.TASK_NO, respone.success == 1 ? "æå " : "失败", "WMS", "AGV", json, JsonConvert.SerializeObject(respone), "AGVåé¦ä»»å¡ç¶æ", "UpdateTaskState", respone.Message); |
| | | return respone; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¸åAGVä»»å¡ |
| | | /// </summary> |
| | | /// <param name="agvtask"></param> |
| | | public static void SendAGVTask(dt_agvtask agvtask) |
| | | { |
| | | if (agvtask == null) return; |
| | | VOLContext context = new VOLContext(); |
| | | Idt_agvtaskRepository repository = new dt_agvtaskRepository(context); |
| | | AGVRespone respone = new AGVRespone(); |
| | | RequestTask requestTask = new RequestTask(); |
| | | string postJson = string.Empty; |
| | | string report = string.Empty; |
| | | try |
| | | { |
| | | requestTask.TASK_NO = agvtask.agv_tasknum; |
| | | requestTask.FROM_POSITION = agvtask.agv_fromaddress; |
| | | requestTask.TO_POSITION = agvtask.agv_toaddress; |
| | | requestTask.Material = agvtask.agv_materielid; |
| | | requestTask.Priority = agvtask.agv_grade; |
| | | postJson = JsonConvert.SerializeObject(requestTask); |
| | | report = RequestData(postJson); |
| | | respone = JsonConvert.DeserializeObject<AGVRespone>(report); |
| | | if (respone.success != 1) |
| | | throw new Exception(respone.Message); |
| | | agvtask.agv_taskstate = AGVTaskStateEnum.SendOut.ToString(); |
| | | agvtask.agv_realesstime = DateTime.Now; |
| | | repository.Update(agvtask, true); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | respone.Message = ex.Message; |
| | | } |
| | | WriteWMSLog.LogAdd(requestTask.TASK_NO, respone.success == 1 ? "æå " : "失败", "AGV", "WMS", postJson, report, "ä¸åAGVä»»å¡", "SendAGVTask", respone.Message); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// postè¯·æ± |
| | | /// </summary> |
| | | /// <param name="postData">åæ°</param> |
| | | /// <param name="address">è·¯å¾</param> |
| | | /// <returns></returns> |
| | | public static string RequestData(string postData, string address = "") |
| | | { |
| | | string reponse = string.Empty; |
| | | try |
| | | { |
| | | //string tmp = ""; |
| | | //if (null != postData) |
| | | // tmp = JsonConvert.SerializeObject(postData); |
| | | byte[] param = Encoding.UTF8.GetBytes(postData); |
| | | HttpWebRequest request = (HttpWebRequest)WebRequest.Create(address); |
| | | request.Method = "POST"; |
| | | request.ContentType = "application/json"; |
| | | request.GetRequestStream().Write(param, 0, param.Length); |
| | | using (HttpWebResponse response = (HttpWebResponse)request.GetResponse()) |
| | | { |
| | | Stream stream = response.GetResponseStream(); |
| | | StreamReader streamReader = new StreamReader(stream); |
| | | string webResponse = streamReader.ReadToEnd(); |
| | | reponse = webResponse; |
| | | } |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | reponse = ex.Message; |
| | | } |
| | | return reponse; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using WIDESEA_Comm; |
| | | using WIDESEA_Comm.LogInfo; |
| | | using WIDESEA_Common; |
| | | using WIDESEA_Core.ManageUser; |
| | | using WIDESEA_Core.Utilities; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Entity.DomainModels.Mes; |
| | | |
| | | namespace WIDESEA_WMS |
| | | { |
| | | public partial class ToMesServer |
| | | { |
| | | /// <summary> |
| | | /// æå¨ç§»åº |
| | | /// </summary> |
| | | /// <param name="requestTemp"></param> |
| | | /// <returns></returns> |
| | | public WebResponseContent AddToFloat3(MesRequestTemp requestTemp) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | try |
| | | { |
| | | //var route = freeDB.Select<dt_stationinfo>().Where(t => t.stationCode == requestTemp.from_address && t.route_end == requestTemp.to_address).ToOne(); |
| | | var station1 = freeDB.Select<dt_stationinfo>().Where(t => t.stationCode == requestTemp.from_address).First(); |
| | | var station2 = freeDB.Select<dt_stationinfo>().Where(t => t.stationCode == requestTemp.to_address).First(); |
| | | if (station1 == null || station2 == null) |
| | | { |
| | | throw new Exception($"è·¯å¾{requestTemp.from_address}å°{requestTemp.to_address},ä¸åå¨ï¼"); |
| | | } |
| | | if (station1.location_state != LocationStateEnum.Stroge.ToString()) |
| | | throw new Exception($"èµ·ç¹{requestTemp.from_address}æªæ¾å°ç©æï¼"); |
| | | if (station2.location_state != LocationStateEnum.Empty.ToString()) |
| | | throw new Exception($"ç»ç¹{requestTemp.to_address}䏿¯ç©ºè´§ä½ï¼"); |
| | | if (string.IsNullOrEmpty(station1.stationType)) |
| | | throw new Exception($"èµ·ç¹{requestTemp.from_address}æªç»å®ç©æç±»åï¼"); |
| | | if (station1.stationType != station2.stationType) |
| | | throw new Exception($"èµ·ç¹ä¸ç»ç¹ç»å®ç©æç±»åä¸ä¸è´ï¼"); |
| | | |
| | | var haveInTask = freeDB.Select<dt_agvtask>() |
| | | .Where(t => t.agv_fromaddress == requestTemp.from_address |
| | | || t.agv_fromaddress == requestTemp.to_address |
| | | || t.agv_toaddress == requestTemp.from_address |
| | | || t.agv_toaddress == requestTemp.to_address |
| | | ).Any(); |
| | | |
| | | if (!haveInTask) |
| | | { |
| | | station2.quantity = station1.quantity; |
| | | station2.bindSN = station1.bindSN; |
| | | station2.location_state = station1.location_state; |
| | | station2.tray_status = station1.tray_status; |
| | | freeDB.Update(station2); |
| | | |
| | | station1.quantity = 0; |
| | | station1.bindSN = string.Empty; |
| | | station1.location_state = LocationStateEnum.Empty.ToString(); |
| | | station1.tray_status = string.Empty; |
| | | freeDB.Update(station1); |
| | | } |
| | | else |
| | | { |
| | | throw new Exception("èµ·å§æç®çå°åï¼å·²åå¨ä»»å¡ï¼"); |
| | | } |
| | | content.OK(); |
| | | WriteDBLog.Success($"æå¨ç§»åº", new { æ°æ® = requestTemp }, "WMS", UserContext.Current.UserTrueName); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | WriteDBLog.Error($"æå¨ç§»åº", new { æ°æ® = requestTemp, å¼å¸¸ä¿¡æ¯ = ex.Message }, "WMS", UserContext.Current.UserTrueName); |
| | | content.Error(ex.Message); |
| | | } |
| | | return content; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.IO; |
| | | using System.Text; |
| | | using WIDESEA_Core.FreeDB; |
| | | |
| | | namespace WIDESEA_WMS |
| | | { |
| | | public partial class ToMesServer |
| | | { |
| | | FreeDB freeDB = new FreeDB(); |
| | | |
| | | public ToMesServer() |
| | | { |
| | | |
| | | } |
| | | } |
| | | } |
| | |
| | | </PropertyGroup> |
| | | |
| | | <ItemGroup> |
| | | <ProjectReference Include="..\WIDESEA_Comm\WIDESEA_Comm.csproj" /> |
| | | <ProjectReference Include="..\WIDESEA_Core\WIDESEA_Core.csproj" /> |
| | | <ProjectReference Include="..\WIDESEA_Entity\WIDESEA_Entity.csproj" /> |
| | | </ItemGroup> |
| | |
| | | { |
| | | public partial class Sys_DictionaryController |
| | | { |
| | | [HttpPost, Route("GetVueDictionary"), AllowAnonymous] |
| | | [HttpPost, Route("GetVueDictionary")] |
| | | [ApiActionPermission()] |
| | | public IActionResult GetVueDictionary([FromBody] string[] dicNos) |
| | | public async Task<IActionResult> GetVueDictionary([FromBody] string[] dicNos) |
| | | { |
| | | return Content(Service.GetVueDictionary(dicNos).Serialize()); |
| | | return Content((await Service.GetVueDictionary(dicNos)).Serialize()); |
| | | } |
| | | |
| | | //[HttpPost, Route("GetVueDictionary"), AllowAnonymous] |
| | | //[ApiActionPermission()] |
| | | //public IActionResult GetVueDictionary([FromBody] string[] dicNos) |
| | | //{ |
| | | // return Content(Service.GetVueDictionary(dicNos).Serialize()); |
| | | //} |
| | | |
| | | /// <summary> |
| | | /// tableå è½½æ°æ®åå·æ°å½åtableæ°æ®çåå
¸é¡¹(éç¨åå
¸æ°æ®éæ¯è¾å¤§çæ
åµ) |
| | | /// </summary> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.Utilities; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Entity.ToAGV; |
| | | using WIDESEA_WMS; |
| | | |
| | | namespace ToAGV.Controllers |
| | | { |
| | | [Route("api/ToAGV")] |
| | | [ApiController] |
| | | public class ToAGVController : ControllerBase |
| | | { |
| | | /// <summary> |
| | | /// ç©æå
¥åº/åºåºåæ¾è´§ç¹ä½ä¸æ¥ |
| | | /// </summary> |
| | | /// <param name="saveModel">请æ±åæ°</param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("UpdateTaskState"), Authorize, AllowAnonymous] |
| | | public AGVRespone UpdateTaskState([FromBody] object saveModel) |
| | | { |
| | | return ToAGVServer.UpdateTaskState(JsonConvert.SerializeObject(saveModel)); |
| | | } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEA_Core.Utilities; |
| | | using WIDESEA_Entity.DomainModels.Mes; |
| | | using WIDESEA_WMS; |
| | | |
| | | namespace WIDESEA_WCSServer.Controllers.ToMes |
| | | { |
| | | [Route("api/ToMes")] |
| | | [ApiController] |
| | | public class ToWMSController : ControllerBase |
| | | { |
| | | /// <summary> |
| | | /// 3楼设å¤å«æï¼æå¨ï¼ä¸´æ¶ï¼ |
| | | /// </summary> |
| | | /// <param name="request"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("AddToFloat3")] |
| | | public WebResponseContent AddToFloat3([FromBody] MesRequestTemp request) |
| | | { |
| | | return new ToMesServer().AddToFloat3(request); |
| | | } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *妿è¦å¢å æ¹æ³è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹Dt_InterfacerecordControllerç¼å |
| | | */ |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEA_Core.Controllers.Basic; |
| | | using WIDESEA_Entity.AttributeManager; |
| | | using WIDESEA_Services.IServices; |
| | | |
| | | namespace WIDESEA_Services.Controllers |
| | | { |
| | | [Route("api/Dt_Interfacerecord")] |
| | | [PermissionTable(Name = "Dt_Interfacerecord")] |
| | | public partial class Dt_InterfacerecordController : ApiBaseController<IDt_InterfacerecordService> |
| | | { |
| | | public Dt_InterfacerecordController(IDt_InterfacerecordService service) |
| | | : base(service) |
| | | { |
| | | } |
| | | } |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *æ¥å£ç¼åå¤... |
| | | *妿æ¥å£éè¦åActionçæééªè¯ï¼è¯·å¨Actionä¸ä½¿ç¨å±æ§ |
| | | *å¦: [ApiActionPermission("Dt_Interfacerecord",Enums.ActionPermissionOptions.Search)] |
| | | */ |
| | | using Microsoft.Extensions.DependencyInjection; |
| | | using Microsoft.AspNetCore.Http; |
| | | using WIDESEA_Services.IServices; |
| | | |
| | | namespace WIDESEA_Services.Controllers |
| | | { |
| | | public partial class Dt_InterfacerecordController |
| | | { |
| | | private readonly IDt_InterfacerecordService _service;//访é®ä¸å¡ä»£ç |
| | | private readonly IHttpContextAccessor _httpContextAccessor; |
| | | |
| | | [ActivatorUtilitiesConstructor] |
| | | public Dt_InterfacerecordController( |
| | | IDt_InterfacerecordService service, |
| | | IHttpContextAccessor httpContextAccessor |
| | | ) |
| | | : base(service) |
| | | { |
| | | _service = service; |
| | | _httpContextAccessor = httpContextAccessor; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *æ¥å£ç¼åå¤... |
| | | *妿æ¥å£éè¦åActionçæééªè¯ï¼è¯·å¨Actionä¸ä½¿ç¨å±æ§ |
| | | *å¦: [ApiActionPermission("dt_areainfo",Enums.ActionPermissionOptions.Search)] |
| | | */ |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Threading.Tasks; |
| | | using Microsoft.Extensions.DependencyInjection; |
| | | using Microsoft.AspNetCore.Http; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_WMS.IServices; |
| | | |
| | | namespace WIDESEA_WMS.Controllers |
| | | { |
| | | public partial class dt_areainfoController |
| | | { |
| | | private readonly Idt_areainfoService _service;//访é®ä¸å¡ä»£ç |
| | | private readonly IHttpContextAccessor _httpContextAccessor; |
| | | |
| | | [ActivatorUtilitiesConstructor] |
| | | public dt_areainfoController( |
| | | Idt_areainfoService service, |
| | | IHttpContextAccessor httpContextAccessor |
| | | ) |
| | | : base(service) |
| | | { |
| | | _service = service; |
| | | _httpContextAccessor = httpContextAccessor; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *æ¥å£ç¼åå¤... |
| | | *妿æ¥å£éè¦åActionçæééªè¯ï¼è¯·å¨Actionä¸ä½¿ç¨å±æ§ |
| | | *å¦: [ApiActionPermission("dt_boxing",Enums.ActionPermissionOptions.Search)] |
| | | */ |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Threading.Tasks; |
| | | using Microsoft.Extensions.DependencyInjection; |
| | | using Microsoft.AspNetCore.Http; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_WMS.IServices; |
| | | |
| | | namespace WIDESEA_WMS.Controllers |
| | | { |
| | | public partial class dt_boxingController |
| | | { |
| | | private readonly Idt_boxingService _service;//访é®ä¸å¡ä»£ç |
| | | private readonly IHttpContextAccessor _httpContextAccessor; |
| | | |
| | | [ActivatorUtilitiesConstructor] |
| | | public dt_boxingController( |
| | | Idt_boxingService service, |
| | | IHttpContextAccessor httpContextAccessor |
| | | ) |
| | | : base(service) |
| | | { |
| | | _service = service; |
| | | _httpContextAccessor = httpContextAccessor; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *æ¥å£ç¼åå¤... |
| | | *妿æ¥å£éè¦åActionçæééªè¯ï¼è¯·å¨Actionä¸ä½¿ç¨å±æ§ |
| | | *å¦: [ApiActionPermission("dt_boxing_hty",Enums.ActionPermissionOptions.Search)] |
| | | */ |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Threading.Tasks; |
| | | using Microsoft.Extensions.DependencyInjection; |
| | | using Microsoft.AspNetCore.Http; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_WMS.IServices; |
| | | |
| | | namespace WIDESEA_WMS.Controllers |
| | | { |
| | | public partial class dt_boxing_htyController |
| | | { |
| | | private readonly Idt_boxing_htyService _service;//访é®ä¸å¡ä»£ç |
| | | private readonly IHttpContextAccessor _httpContextAccessor; |
| | | |
| | | [ActivatorUtilitiesConstructor] |
| | | public dt_boxing_htyController( |
| | | Idt_boxing_htyService service, |
| | | IHttpContextAccessor httpContextAccessor |
| | | ) |
| | | : base(service) |
| | | { |
| | | _service = service; |
| | | _httpContextAccessor = httpContextAccessor; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *æ¥å£ç¼åå¤... |
| | | *妿æ¥å£éè¦åActionçæééªè¯ï¼è¯·å¨Actionä¸ä½¿ç¨å±æ§ |
| | | *å¦: [ApiActionPermission("dt_inventory",Enums.ActionPermissionOptions.Search)] |
| | | */ |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Threading.Tasks; |
| | | using Microsoft.Extensions.DependencyInjection; |
| | | using Microsoft.AspNetCore.Http; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_WMS.IServices; |
| | | |
| | | namespace WIDESEA_WMS.Controllers |
| | | { |
| | | public partial class dt_inventoryController |
| | | { |
| | | private readonly Idt_inventoryService _service;//访é®ä¸å¡ä»£ç |
| | | private readonly IHttpContextAccessor _httpContextAccessor; |
| | | |
| | | [ActivatorUtilitiesConstructor] |
| | | public dt_inventoryController( |
| | | Idt_inventoryService service, |
| | | IHttpContextAccessor httpContextAccessor |
| | | ) |
| | | : base(service) |
| | | { |
| | | _service = service; |
| | | _httpContextAccessor = httpContextAccessor; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *æ¥å£ç¼åå¤... |
| | | *妿æ¥å£éè¦åActionçæééªè¯ï¼è¯·å¨Actionä¸ä½¿ç¨å±æ§ |
| | | *å¦: [ApiActionPermission("dt_materielinfo",Enums.ActionPermissionOptions.Search)] |
| | | */ |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Threading.Tasks; |
| | | using Microsoft.Extensions.DependencyInjection; |
| | | using Microsoft.AspNetCore.Http; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_WMS.IServices; |
| | | |
| | | namespace WIDESEA_WMS.Controllers |
| | | { |
| | | public partial class dt_materielinfoController |
| | | { |
| | | private readonly Idt_materielinfoService _service;//访é®ä¸å¡ä»£ç |
| | | private readonly IHttpContextAccessor _httpContextAccessor; |
| | | |
| | | [ActivatorUtilitiesConstructor] |
| | | public dt_materielinfoController( |
| | | Idt_materielinfoService service, |
| | | IHttpContextAccessor httpContextAccessor |
| | | ) |
| | | : base(service) |
| | | { |
| | | _service = service; |
| | | _httpContextAccessor = httpContextAccessor; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *妿è¦å¢å æ¹æ³è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹dt_areainfoControllerç¼å |
| | | */ |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEA_Core.Controllers.Basic; |
| | | using WIDESEA_Entity.AttributeManager; |
| | | using WIDESEA_WMS.IServices; |
| | | namespace WIDESEA_WMS.Controllers |
| | | { |
| | | [Route("api/dt_areainfo")] |
| | | [PermissionTable(Name = "dt_areainfo")] |
| | | public partial class dt_areainfoController : ApiBaseController<Idt_areainfoService> |
| | | { |
| | | public dt_areainfoController(Idt_areainfoService service) |
| | | : base(service) |
| | | { |
| | | } |
| | | } |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *妿è¦å¢å æ¹æ³è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹dt_boxingControllerç¼å |
| | | */ |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEA_Core.Controllers.Basic; |
| | | using WIDESEA_Entity.AttributeManager; |
| | | using WIDESEA_WMS.IServices; |
| | | namespace WIDESEA_WMS.Controllers |
| | | { |
| | | [Route("api/dt_boxing")] |
| | | [PermissionTable(Name = "dt_boxing")] |
| | | public partial class dt_boxingController : ApiBaseController<Idt_boxingService> |
| | | { |
| | | public dt_boxingController(Idt_boxingService service) |
| | | : base(service) |
| | | { |
| | | } |
| | | } |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *妿è¦å¢å æ¹æ³è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹dt_boxing_htyControllerç¼å |
| | | */ |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEA_Core.Controllers.Basic; |
| | | using WIDESEA_Entity.AttributeManager; |
| | | using WIDESEA_WMS.IServices; |
| | | namespace WIDESEA_WMS.Controllers |
| | | { |
| | | [Route("api/dt_boxing_hty")] |
| | | [PermissionTable(Name = "dt_boxing_hty")] |
| | | public partial class dt_boxing_htyController : ApiBaseController<Idt_boxing_htyService> |
| | | { |
| | | public dt_boxing_htyController(Idt_boxing_htyService service) |
| | | : base(service) |
| | | { |
| | | } |
| | | } |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *妿è¦å¢å æ¹æ³è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹dt_inventoryControllerç¼å |
| | | */ |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEA_Core.Controllers.Basic; |
| | | using WIDESEA_Entity.AttributeManager; |
| | | using WIDESEA_WMS.IServices; |
| | | namespace WIDESEA_WMS.Controllers |
| | | { |
| | | [Route("api/dt_inventory")] |
| | | [PermissionTable(Name = "dt_inventory")] |
| | | public partial class dt_inventoryController : ApiBaseController<Idt_inventoryService> |
| | | { |
| | | public dt_inventoryController(Idt_inventoryService service) |
| | | : base(service) |
| | | { |
| | | } |
| | | } |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *妿è¦å¢å æ¹æ³è¯·å¨å½åç®å½ä¸Partialæä»¶å¤¹dt_materielinfoControllerç¼å |
| | | */ |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEA_Core.Controllers.Basic; |
| | | using WIDESEA_Entity.AttributeManager; |
| | | using WIDESEA_WMS.IServices; |
| | | namespace WIDESEA_WMS.Controllers |
| | | { |
| | | [Route("api/dt_materielinfo")] |
| | | [PermissionTable(Name = "dt_materielinfo")] |
| | | public partial class dt_materielinfoController : ApiBaseController<Idt_materielinfoService> |
| | | { |
| | | public dt_materielinfoController(Idt_materielinfoService service) |
| | | : base(service) |
| | | { |
| | | } |
| | | } |
| | | } |
| | | |
copy from "\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Download/ExcelExport/20231208/AGV\344\273\273\345\212\24120231208172503.xlsx"
copy to "\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Download/ExcelExport/20231219/AGV\344\273\273\345\212\24120231219150515.xlsx"
Binary files differ
copy from "\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Download/ExcelExport/20231208/AGV\344\273\273\345\212\24120231208172503.xlsx"
copy to "\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Download/ExcelExport/20231219/AGV\344\273\273\345\212\24120231219152111.xlsx"
Binary files differ
copy from "\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Download/ExcelExport/20231208/AGV\344\273\273\345\212\24120231208172503.xlsx"
copy to "\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Download/ExcelExport/20231219/AGV\344\273\273\345\212\24120231219152415.xlsx"
Binary files differ
copy from "\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Download/ExcelExport/20231208/AGV\344\273\273\345\212\24120231208172503.xlsx"
copy to "\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Download/ExcelExport/20231219/AGV\344\273\273\345\212\24120231219152911.xlsx"
Binary files differ
copy from "\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Download/ExcelExport/20231208/AGV\344\273\273\345\212\24120231208172503.xlsx"
copy to "\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Download/ExcelExport/20231219/AGV\344\273\273\345\212\24120231219171630.xlsx"
Binary files differ
copy from "\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Download/ExcelExport/20231208/AGV\344\273\273\345\212\24120231208172503.xlsx"
copy to "\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Download/ExcelExport/20231219/AGV\344\273\273\345\212\24120231219174230.xlsx"
Binary files differ