新增切换库位与切换货物状态功能
新增切换库位与切换货物状态功能
| | |
| | | </div> |
| | | </div> |
| | | <div id="kuang"> |
| | | <div id="qiehuan"> |
| | | <div class="qiean" @click="qiehuan(4)"></div> |
| | | <div class="qiean" @click="qiehuan(3)"></div> |
| | | <div class="qiean" @click="qiehuan(2)"></div> |
| | | <div class="qiean" @click="qiehuan(1)"></div> |
| | | <div class="qiean" @click="baohu()" style="background-color: green;">X</div> |
| | | </div> |
| | | <div id="ti"> |
| | | <div class="ge" id="a" style="width: 6%;height:60%;margin-top: 1%;margin-left: 1%;"></div> |
| | | <div class="wen">空é²</div> |
| | |
| | | const weis = ref(""); |
| | | const swei = ref(""); |
| | | const lie = ref(""); |
| | | const bao = ref(0); |
| | | |
| | | const qu = ref(0); |
| | | const ji = ref(0); |
| | |
| | | const store = useStore(); |
| | | const data = ref({}); |
| | | |
| | | //ä¿®æ¹åºä½ä¿æ¤æé® |
| | | const baohu = k => { |
| | | bao.value = 0; |
| | | let t = document.getElementsByClassName("qiean"); |
| | | t[4].style.background = "green"; |
| | | alert("åæ¶æå"); |
| | | }; |
| | | |
| | | //忢åºä½ |
| | | const qiehuan = k => { |
| | | let t = document.getElementsByClassName("qiean"); |
| | | if (bao.value == 0) { |
| | | bao.value = 1; |
| | | alert("å·²æ¿æ´»ä¿®æ¹åºä½"); |
| | | t[4].style.background = "red"; |
| | | } else { |
| | | axios.post("api/LocationInfo/setlocations/?k=" + k, {}).then(x => { |
| | | if (x.data.message == 1) { |
| | | alert("ä¿®æ¹æå"); |
| | | } else if (x.data.message == 2) { |
| | | alert("åºåéæè´§ï¼æ æ³ä¿®æ¹"); |
| | | } else if (x.data.message == 4) { |
| | | alert("ä¿®æ¹å¤±è´¥"); |
| | | } |
| | | bao.value = 0; |
| | | t[4].style.background = "green"; |
| | | }); |
| | | } |
| | | }; |
| | | |
| | | //åºåº |
| | | const kc = () => { |
| | | let t = document.getElementById("zxj"); |
| | |
| | | if (wei.value != "") { |
| | | //æ®éè´§åèªå¨åºåº |
| | | if (ji.value == 1) { |
| | | //夿å |
| | | if (lie.value < 37) { |
| | | //data.value.R_ZXJ_isWork == true && |
| | | if (R_ZXJ_TCMode.value == true && R_HC_isReadyWork.value == true) { |
| | | axios |
| | | .post( |
| | | "api/Task/banzidong/?wei=" + wei.value + "&weis=" + weis.value, |
| | | {} |
| | | ) |
| | | .then(x => { |
| | | qu.value = 0; |
| | | t.style.background = "#f60"; |
| | | if (x.data.message == 1) { |
| | | alert("åºåºå¤±è´¥ï¼å¯è½æ¯ âæ¯å¦åºåºâ çé®é¢ï¼"); |
| | | } else if (x.data.message == 3) { |
| | | alert("åºåºå¤±è´¥ï¼æ¾ä¸å°åºåï¼"); |
| | | } else { |
| | | alert("åºåºæå"); |
| | | } |
| | | console.log(x); |
| | | }); |
| | | } else { |
| | | alert("ä¿¡å·ä¸æ£ç¡®"); |
| | | } |
| | | //data.value.R_ZXJ_isWork == true && |
| | | if (R_ZXJ_TCMode.value == true && R_HC_isReadyWork.value == true) { |
| | | axios |
| | | .post( |
| | | "api/Task/banzidong/?wei=" + wei.value + "&weis=" + weis.value, |
| | | {} |
| | | ) |
| | | .then(x => { |
| | | qu.value = 0; |
| | | t.style.background = "#f60"; |
| | | if (x.data.message == 1) { |
| | | alert("åºåºå¤±è´¥ï¼å¯è½æ¯ âæ¯å¦åºåºâ çé®é¢ï¼"); |
| | | } else if (x.data.message == 3) { |
| | | alert("åºåºå¤±è´¥ï¼æ¾ä¸å°åºåï¼"); |
| | | } else if (x.data.message == 5) { |
| | | alert("æ®éåºåºæ æ³éä¸åé¤åºä½"); |
| | | } else { |
| | | alert("åºåºæå"); |
| | | } |
| | | }); |
| | | } else { |
| | | alert("æ®éåºåºä¸è½éä¸38åçåº"); |
| | | alert("ä¿¡å·ä¸æ£ç¡®"); |
| | | } |
| | | |
| | | //åé¤è´§åèªå¨åºåº |
| | | } else if (ji1.value == 1) { |
| | | //夿å |
| | | if (lie.value >= 37) { |
| | | //å¤æä¿¡å·//////////////////////////////////////////////////////////////////////////////// |
| | | if (R_TC_isready.value == true) { |
| | | axios.post("api/Task/tichuchuku/?wei=" + wei.value, {}).then(x => { |
| | | qu1.value = 0; |
| | | s.style.background = "#f60"; |
| | | if (x.data.message == 1) { |
| | | alert("åºåºå¤±è´¥ï¼å¯è½æ¯ âæ¯å¦åºåºâ çé®é¢ï¼"); |
| | | } else if (x.data.message == 2) { |
| | | alert("åºåºæå"); |
| | | } else if (x.data.message == 3) { |
| | | alert("åºåºå¤±è´¥"); |
| | | } else if (x.data.message == 4) { |
| | | alert("åºåé颿 è´§"); |
| | | } |
| | | }); |
| | | }else{ |
| | | alert("ä¿¡å·ä¸æ£ç¡®"); |
| | | //å¤æä¿¡å·//////////////////////////////////////////////////////////////////////////////// |
| | | if (R_TC_isready.value == true) { |
| | | axios.post("api/Task/tichuchuku/?wei=" + wei.value, {}).then(x => { |
| | | qu1.value = 0; |
| | | s.style.background = "#f60"; |
| | | if (x.data.message == 1) { |
| | | alert("åºåºå¤±è´¥ï¼å¯è½æ¯ âæ¯å¦åºåºâ çé®é¢ï¼"); |
| | | } else if (x.data.message == 2) { |
| | | alert("åºåºæå"); |
| | | } else if (x.data.message == 3) { |
| | | alert("åºåºå¤±è´¥"); |
| | | } else if (x.data.message == 4) { |
| | | alert("åºåé颿 è´§"); |
| | | } else if (x.data.message == 5) { |
| | | alert("åé¤åºåºæ æ³é䏿®éåºä½"); |
| | | } |
| | | }); |
| | | } else { |
| | | alert("æ®éåºåºåªè½éä¸38åçåº"); |
| | | alert("ä¿¡å·ä¸æ£ç¡®"); |
| | | } |
| | | } |
| | | //åé¤ç´æ¥åºåº |
| | |
| | | } |
| | | }; |
| | | |
| | | //å
¥åº |
| | | //åé¤å
¥åº |
| | | const kr = () => { |
| | | let t = document.getElementById("zxj"); |
| | | if (ji.value == 1 && wei.value != "") { |
| | | if (lie.value >= 37) { |
| | | //å¤æä¿¡å·//////////////////////////////////////////////////////////////////////////////// |
| | | if (R_ZXJ_TC_isready.value == true && R_TCMode_TC.value == true) { |
| | | axios.post("api/Task/tichuruku/?wei=" + wei.value, {}).then(x => { |
| | | qu.value = 0; |
| | | t.style.background = "#f60"; |
| | | if (x.data.message == 1) { |
| | | alert("å
¥åºå¤±è´¥ï¼å¯è½æ¯ âæ¯å¦åºåºâ çé®é¢ï¼"); |
| | | } else if (x.data.message == 2) { |
| | | alert("å
¥åºæå"); |
| | | } else if (x.data.message == 3) { |
| | | alert("å
¥åºå¤±è´¥"); |
| | | } else if (x.data.message == 4) { |
| | | alert("åºåéé¢å·²æè´§"); |
| | | } |
| | | }); |
| | | } |
| | | //å¤æä¿¡å·//////////////////////////////////////////////////////////////////////////////// |
| | | if (R_ZXJ_TC_isready.value == true && R_TCMode_TC.value == true) { |
| | | axios.post("api/Task/tichuruku/?wei=" + wei.value, {}).then(x => { |
| | | qu.value = 0; |
| | | t.style.background = "#f60"; |
| | | if (x.data.message == 1) { |
| | | alert("å
¥åºå¤±è´¥ï¼å¯è½æ¯ âæ¯å¦åºåºâ çé®é¢ï¼"); |
| | | } else if (x.data.message == 2) { |
| | | alert("å
¥åºæå"); |
| | | } else if (x.data.message == 3) { |
| | | alert("å
¥åºå¤±è´¥"); |
| | | } else if (x.data.message == 4) { |
| | | alert("åºåéé¢å·²æè´§"); |
| | | } else if (x.data.message == 5) { |
| | | alert("åé¤å
¥åºå¿
须鿩åé¤åºä½"); |
| | | } |
| | | }); |
| | | } else { |
| | | alert("åé¤å
¥åºåªè½éä¸38åçåº"); |
| | | alert("ä¿¡å·ä¸æ£ç¡®"); |
| | | } |
| | | } else { |
| | | alert("请å
éä¸åºä½åæ´å½¢æº"); |
| | |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .qiean { |
| | | width: 15%; |
| | | height: 70%; |
| | | border: 1px solid green; |
| | | float: left; |
| | | margin-left: 5%; |
| | | text-align: center; |
| | | line-height: 3vh; |
| | | font-size: 2vh; |
| | | } |
| | | .qiean:hover { |
| | | border: 2px solid yellow; |
| | | } |
| | | #qiehuan { |
| | | width: 13%; |
| | | height: 5%; |
| | | position: absolute; |
| | | left: 85.7%; |
| | | top: 71%; |
| | | cursor: pointer; |
| | | } |
| | | #kr { |
| | | width: 4%; |
| | | height: 4%; |
| | |
| | | width: 10%; |
| | | height: 15%; |
| | | position: absolute; |
| | | top: 75%; |
| | | top: 80%; |
| | | left: 87%; |
| | | text-align: center; |
| | | line-height: 700%; |
| | |
| | | width: 10%; |
| | | height: 15%; |
| | | position: absolute; |
| | | top: 75%; |
| | | top: 80%; |
| | | left: 2%; |
| | | text-align: center; |
| | | line-height: 700%; |
| | |
| | | url: "/StockInfo/", |
| | | sortName: "id" |
| | | }); |
| | | const editFormFields = ref({ |
| | | deviceCode: "", |
| | | deviceName: "", |
| | | deviceType: "", |
| | | deviceStatus: "", |
| | | deviceIp: "", |
| | | devicePort: "", |
| | | devicePlcType: "", |
| | | deviceRemark: "" |
| | | }); |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { field: "palletCode", title: "æçç¼å·", type: "string" }, |
| | | { field: "locationCode", title: "è´§ä½ç¼å·", type: "string" } |
| | | { |
| | | title: "ç©æä¿¡æ¯", |
| | | field: "remark", |
| | | type: "select", |
| | | dataKey: "mateType", |
| | | }, |
| | | { |
| | | title: "åºåç¶æ", |
| | | field: "stockStatus", |
| | | type: "select", |
| | | dataKey: "stock", |
| | | } |
| | | ] |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | palletCode: "", |
| | | locationCode: "" |
| | | remark: "", |
| | | stockStatus: "" |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | |
| | | "RelativeMoniker": "D:0:0:{83F18A31-5983-4587-A0B2-414BF70E50B5}|WIDESEAWCS_TaskInfoService\\WIDESEAWCS_TaskInfoService.csproj|solutionrelative:wideseawcs_taskinfoservice\\taskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|f:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\yangjipingku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_server\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}", |
| | | "RelativeMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|solutionrelative:wideseawcs_server\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|f:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\yangjipingku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\zxj\\zxjjob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\zxj\\zxjjob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|f:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\yangjipingku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\gzj\\gzjjob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\gzj\\gzjjob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | |
| | | "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\oht\\ohtjob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|f:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\yangjipingku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_common\\taskenum\\taskstatusenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|solutionrelative:wideseawcs_common\\taskenum\\taskstatusenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|f:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\yangjipingku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\zxj\\zxjjob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\zxj\\zxjjob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{B17BAF3C-2BAD-4162-B6DC-46ED7A1E3D8D}|WIDESEAWCS_WMSPart\\WIDESEAWCS_WMSPart.csproj|f:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\yangjipingku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_wmspart\\locationinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{B17BAF3C-2BAD-4162-B6DC-46ED7A1E3D8D}|WIDESEAWCS_WMSPart\\WIDESEAWCS_WMSPart.csproj|solutionrelative:wideseawcs_wmspart\\locationinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|f:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\yangjipingku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_common\\locationenum\\locationenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|solutionrelative:wideseawcs_common\\locationenum\\locationenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | } |
| | | ], |
| | | "DocumentGroupContainers": [ |
| | |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 1, |
| | | "Title": "appsettings.json", |
| | | "DocumentMoniker": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\appsettings.json", |
| | | "RelativeDocumentMoniker": "WIDESEAWCS_Server\\appsettings.json", |
| | | "ToolTip": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\appsettings.json", |
| | | "RelativeToolTip": "WIDESEAWCS_Server\\appsettings.json", |
| | | "ViewState": "AgIAAAAAAAAAAAAAAADwvwAAAAAAAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|", |
| | | "WhenOpened": "2025-07-17T08:36:45.301Z", |
| | | "DocumentIndex": 5, |
| | | "Title": "LocationEnum.cs", |
| | | "DocumentMoniker": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\LocationEnum\\LocationEnum.cs", |
| | | "RelativeDocumentMoniker": "WIDESEAWCS_Common\\LocationEnum\\LocationEnum.cs", |
| | | "ToolTip": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\LocationEnum\\LocationEnum.cs", |
| | | "RelativeToolTip": "WIDESEAWCS_Common\\LocationEnum\\LocationEnum.cs", |
| | | "ViewState": "AgIAAAAAAAAAAAAAAAAswAwAAAAQAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-07-29T06:28:32.954Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 5, |
| | | "Title": "TaskStatusEnum.cs", |
| | | "DocumentMoniker": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\TaskStatusEnum.cs", |
| | | "RelativeDocumentMoniker": "WIDESEAWCS_Common\\TaskEnum\\TaskStatusEnum.cs", |
| | | "ToolTip": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\TaskStatusEnum.cs", |
| | | "RelativeToolTip": "WIDESEAWCS_Common\\TaskEnum\\TaskStatusEnum.cs", |
| | | "ViewState": "AgIAAI4AAAAAAAAAAAAqwJAAAAAcAAAAAAAAAA==", |
| | | "DocumentIndex": 4, |
| | | "Title": "LocationInfoService.cs", |
| | | "DocumentMoniker": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_WMSPart\\LocationInfoService.cs", |
| | | "RelativeDocumentMoniker": "WIDESEAWCS_WMSPart\\LocationInfoService.cs", |
| | | "ToolTip": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_WMSPart\\LocationInfoService.cs", |
| | | "RelativeToolTip": "WIDESEAWCS_WMSPart\\LocationInfoService.cs", |
| | | "ViewState": "AgIAAPkBAAAAAAAAAAAowPwBAAARAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-07-01T13:03:23.848Z" |
| | | "WhenOpened": "2025-07-29T06:20:23.748Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | |
| | | "RelativeDocumentMoniker": "WIDESEAWCS_TaskInfoService\\TaskService.cs", |
| | | "ToolTip": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_TaskInfoService\\TaskService.cs", |
| | | "RelativeToolTip": "WIDESEAWCS_TaskInfoService\\TaskService.cs", |
| | | "ViewState": "AgIAAI8AAAAAAAAAAAAswAEGAAAjAAAAAAAAAA==", |
| | | "ViewState": "AgIAAOsDAAAAAAAAAAAvwP0DAAAMAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-19T02:06:47.617Z", |
| | | "WhenOpened": "2025-07-24T08:17:28.019Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 3, |
| | | "DocumentIndex": 1, |
| | | "Title": "GZJJob.cs", |
| | | "DocumentMoniker": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\GZJ\\GZJJob.cs", |
| | | "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\GZJ\\GZJJob.cs", |
| | | "ToolTip": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\GZJ\\GZJJob.cs", |
| | | "RelativeToolTip": "WIDESEAWCS_Tasks\\GZJ\\GZJJob.cs", |
| | | "ViewState": "AgIAAL0AAAAAAAAAAAAswPoAAAAhAAAAAAAAAA==", |
| | | "ViewState": "AgIAALQAAAAAAAAAAAD4v78AAAAYAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-16T07:03:59.279Z" |
| | | "WhenOpened": "2025-05-16T07:03:59.279Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 4, |
| | | "DocumentIndex": 2, |
| | | "Title": "OHTJob.cs", |
| | | "DocumentMoniker": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\OHT\\OHTJob.cs", |
| | | "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\OHT\\OHTJob.cs", |
| | | "ToolTip": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\OHT\\OHTJob.cs", |
| | | "RelativeToolTip": "WIDESEAWCS_Tasks\\OHT\\OHTJob.cs", |
| | | "ViewState": "AgIAAA8AAAAAAAAAAAAAAOcAAAAoAAAAAAAAAA==", |
| | | "ViewState": "AgIAAD8AAAAAAAAAAAAYwOcAAAAoAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-16T07:49:36.171Z" |
| | | "WhenOpened": "2025-05-16T07:49:36.171Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 2, |
| | | "DocumentIndex": 3, |
| | | "Title": "ZXJJob.cs", |
| | | "DocumentMoniker": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\ZXJ\\ZXJJob.cs", |
| | | "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\ZXJ\\ZXJJob.cs", |
| | | "ToolTip": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\ZXJ\\ZXJJob.cs", |
| | | "RelativeToolTip": "WIDESEAWCS_Tasks\\ZXJ\\ZXJJob.cs", |
| | | "ViewState": "AgIAAAAAAAAAAAAAAAAAAC8AAAAaAAAAAAAAAA==", |
| | | "ViewState": "AgIAALkAAAAAAAAAAAAhwOEAAAAuAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-04-03T02:04:31.648Z" |
| | | "WhenOpened": "2025-04-03T02:04:31.648Z", |
| | | "EditorCaption": "" |
| | | } |
| | | ] |
| | | } |
| | |
| | | "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\gzj\\gzjjob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|f:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\yangjipingku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_common\\locationenum\\locationenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|solutionrelative:wideseawcs_common\\locationenum\\locationenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|f:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\yangjipingku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_server\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}", |
| | | "RelativeMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|solutionrelative:wideseawcs_server\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}" |
| | | "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|f:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\yangjipingku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\oht\\ohtjob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\oht\\ohtjob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|f:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\yangjipingku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\zxj\\zxjjob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\zxj\\zxjjob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|f:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\yangjipingku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\oht\\ohtjob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\oht\\ohtjob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | "AbsoluteMoniker": "D:0:0:{B17BAF3C-2BAD-4162-B6DC-46ED7A1E3D8D}|WIDESEAWCS_WMSPart\\WIDESEAWCS_WMSPart.csproj|f:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\yangjipingku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_wmspart\\locationinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{B17BAF3C-2BAD-4162-B6DC-46ED7A1E3D8D}|WIDESEAWCS_WMSPart\\WIDESEAWCS_WMSPart.csproj|solutionrelative:wideseawcs_wmspart\\locationinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|f:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\yangjipingku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_common\\taskenum\\taskstatusenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|solutionrelative:wideseawcs_common\\taskenum\\taskstatusenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | "AbsoluteMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|f:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\yangjipingku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_common\\locationenum\\locationenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|solutionrelative:wideseawcs_common\\locationenum\\locationenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | } |
| | | ], |
| | | "DocumentGroupContainers": [ |
| | |
| | | "DocumentGroups": [ |
| | | { |
| | | "DockedWidth": 200, |
| | | "SelectedChildIndex": 4, |
| | | "SelectedChildIndex": 3, |
| | | "Children": [ |
| | | { |
| | | "$type": "Bookmark", |
| | |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 2, |
| | | "DocumentIndex": 5, |
| | | "Title": "LocationEnum.cs", |
| | | "DocumentMoniker": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\LocationEnum\\LocationEnum.cs", |
| | | "RelativeDocumentMoniker": "WIDESEAWCS_Common\\LocationEnum\\LocationEnum.cs", |
| | | "ToolTip": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\LocationEnum\\LocationEnum.cs", |
| | | "RelativeToolTip": "WIDESEAWCS_Common\\LocationEnum\\LocationEnum.cs", |
| | | "ViewState": "AgIAACMAAAAAAAAAAAAIwAAAAAAAAAAAAAAAAA==", |
| | | "ViewState": "AgIAAAAAAAAAAAAAAAAswAwAAAAQAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-07-23T05:22:53.555Z", |
| | | "WhenOpened": "2025-07-29T06:28:32.954Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 3, |
| | | "Title": "appsettings.json", |
| | | "DocumentMoniker": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\appsettings.json", |
| | | "RelativeDocumentMoniker": "WIDESEAWCS_Server\\appsettings.json", |
| | | "ToolTip": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\appsettings.json", |
| | | "RelativeToolTip": "WIDESEAWCS_Server\\appsettings.json", |
| | | "ViewState": "AgIAAAAAAAAAAAAAAADwvwAAAAAAAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|", |
| | | "WhenOpened": "2025-07-17T08:36:45.301Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 6, |
| | | "Title": "TaskStatusEnum.cs", |
| | | "DocumentMoniker": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\TaskStatusEnum.cs", |
| | | "RelativeDocumentMoniker": "WIDESEAWCS_Common\\TaskEnum\\TaskStatusEnum.cs", |
| | | "ToolTip": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\TaskStatusEnum.cs", |
| | | "RelativeToolTip": "WIDESEAWCS_Common\\TaskEnum\\TaskStatusEnum.cs", |
| | | "ViewState": "AgIAAI4AAAAAAAAAAAAqwJAAAAAcAAAAAAAAAA==", |
| | | "DocumentIndex": 4, |
| | | "Title": "LocationInfoService.cs", |
| | | "DocumentMoniker": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_WMSPart\\LocationInfoService.cs", |
| | | "RelativeDocumentMoniker": "WIDESEAWCS_WMSPart\\LocationInfoService.cs", |
| | | "ToolTip": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_WMSPart\\LocationInfoService.cs", |
| | | "RelativeToolTip": "WIDESEAWCS_WMSPart\\LocationInfoService.cs", |
| | | "ViewState": "AgIAAPkBAAAAAAAAAAAowPwBAAARAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-07-01T13:03:23.848Z" |
| | | "WhenOpened": "2025-07-29T06:20:23.748Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | |
| | | "RelativeDocumentMoniker": "WIDESEAWCS_TaskInfoService\\TaskService.cs", |
| | | "ToolTip": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_TaskInfoService\\TaskService.cs", |
| | | "RelativeToolTip": "WIDESEAWCS_TaskInfoService\\TaskService.cs", |
| | | "ViewState": "AgIAALoFAAAAAAAAAAAMwP0DAAAMAAAAAAAAAA==", |
| | | "ViewState": "AgIAAOsDAAAAAAAAAAAvwP0DAAAMAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-19T02:06:47.617Z", |
| | | "WhenOpened": "2025-07-24T08:17:28.019Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | |
| | | "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\GZJ\\GZJJob.cs", |
| | | "ToolTip": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\GZJ\\GZJJob.cs", |
| | | "RelativeToolTip": "WIDESEAWCS_Tasks\\GZJ\\GZJJob.cs", |
| | | "ViewState": "AgIAAFsBAAAAAAAAAAAjwAgBAAAYAAAAAAAAAA==", |
| | | "ViewState": "AgIAALQAAAAAAAAAAAD4v78AAAAYAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-16T07:03:59.279Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 5, |
| | | "DocumentIndex": 2, |
| | | "Title": "OHTJob.cs", |
| | | "DocumentMoniker": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\OHT\\OHTJob.cs", |
| | | "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\OHT\\OHTJob.cs", |
| | | "ToolTip": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\OHT\\OHTJob.cs", |
| | | "RelativeToolTip": "WIDESEAWCS_Tasks\\OHT\\OHTJob.cs", |
| | | "ViewState": "AgIAAA8AAAAAAAAAAAAAAOcAAAAoAAAAAAAAAA==", |
| | | "ViewState": "AgIAAD8AAAAAAAAAAAAYwOcAAAAoAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-05-16T07:49:36.171Z" |
| | | "WhenOpened": "2025-05-16T07:49:36.171Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 4, |
| | | "DocumentIndex": 3, |
| | | "Title": "ZXJJob.cs", |
| | | "DocumentMoniker": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\ZXJ\\ZXJJob.cs", |
| | | "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\ZXJ\\ZXJJob.cs", |
| | | "ToolTip": "F:\\\u4E34\u65F6\u5B58\u653E\\\u9879\u76EE\\YangJiPingKu\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\ZXJ\\ZXJJob.cs", |
| | | "RelativeToolTip": "WIDESEAWCS_Tasks\\ZXJ\\ZXJJob.cs", |
| | | "ViewState": "AgIAAAAAAAAAAAAAAAAAAC8AAAAaAAAAAAAAAA==", |
| | | "ViewState": "AgIAALkAAAAAAAAAAAAhwOEAAAAuAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-04-03T02:04:31.648Z" |
| | | "WhenOpened": "2025-04-03T02:04:31.648Z", |
| | | "EditorCaption": "" |
| | | } |
| | | ] |
| | | } |
| | |
| | | /// <param name="InMode"></param> |
| | | /// <returns></returns> |
| | | Dt_LocationInfo GetInLocation(int InMode); |
| | | |
| | | WebResponseContent setlocations(int k); |
| | | } |
| | | } |
| | |
| | | /// <summary> |
| | | /// æ¹æ¬¡å· |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "æ¹æ¬¡å·")] |
| | | [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "æ¹æ¬¡å·")] |
| | | public string BatchNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éé |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "éé")] |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "éé")] |
| | | public decimal Weight { get; set; } |
| | | |
| | | /// <summary> |
| | |
| | | { |
| | | return Service.getlocation(); |
| | | } |
| | | |
| | | [HttpPost, Route("setlocations"), AllowAnonymous] |
| | | public WebResponseContent setlocations(int k) |
| | | { |
| | | return Service.setlocations(k); |
| | | } |
| | | } |
| | | } |
| | |
| | | //{ |
| | | // throw new Exception($"æ´å½¢æºå¤©è½¦æ¾æ¿ä¿¡å·ä¸ºfalse"); |
| | | //} |
| | | var location = _locationRepository.QueryFirst(v => v.LocationCode == wei); |
| | | if (location.LocationType != (int)LocationTypeEnum.Flat) |
| | | { |
| | | return content.OK("5"); |
| | | } |
| | | //æ¥è¯¢å½å任塿± 䏿¯å¦åå¨åºåºä»»å¡ï¼åºåºä»»å¡åªè½åå¨ä¸æ¡ |
| | | var oldtask = _dt_taskRepositiry.QueryFirst(v => v.TaskType == (int)TaskOutboundTypeEnum.Outbound); |
| | | if (oldtask != null) |
| | |
| | | //{ |
| | | // throw new Exception($"è§æ´æºå餿¶å坿¾æ¿æåé¤ä¸ææ¨¡å¼ä¿¡å·ä¸ºfalse"); |
| | | //} |
| | | //æ¥è¯¢å½å任塿± 䏿¯å¦åå¨åºåºä»»å¡ï¼åºåºä»»å¡åªè½åå¨ä¸æ¡ |
| | | var oldtask = _dt_taskRepositiry.QueryFirst(v => v.TaskType == (int)TaskOutboundTypeEnum.Outbound); |
| | | var isout = _outStockRepository.QueryFirst(v => v.Id == 1); |
| | | if (isout.isout == 0) |
| | | { |
| | | var oldtask = _dt_taskRepositiry.QueryFirst(v => v.TaskType == (int)TaskOutboundTypeEnum.Outbound); |
| | | var location = _locationRepository.QueryFirst(v => v.LocationCode == wei); |
| | | if(location.LocationType != (int)LocationTypeEnum.Cube) |
| | | { |
| | | return content.OK("5"); |
| | | } |
| | | if (oldtask != null) |
| | | { |
| | | throw new Exception($"å½å任塿± ä¸å·²åå¨ä¸æ¡åºåºä»»å¡"); |
| | |
| | | var isout = _outStockRepository.QueryFirst(v => v.Id == 1); |
| | | if (isout.isout == 0) |
| | | { |
| | | var location = _locationRepository.QueryFirst(v => v.LocationCode == wei); |
| | | if (location.LocationType != (int)LocationTypeEnum.Cube) |
| | | { |
| | | return content.OK("5"); |
| | | } |
| | | //夿åºåæ¯å¦æè´§ |
| | | //æ¥è¯¢è´§ä½ |
| | | Dt_LocationInfo huo = _LocationInfoRepository.QueryFirst(v => v.LocationCode == wei); |
| | |
| | | } |
| | | } |
| | | |
| | | public WebResponseContent setlocations(int k) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | if (k == 1) |
| | | { |
| | | List<Dt_LocationInfo> ben = BaseDal.QueryData(v => v.Id<=2537&&v.Id>=2526); |
| | | //夿æ¯å¦æè´§ |
| | | if (ben[0].LocationStatus == (int)LocationStatusEnum.InStock || ben[1].LocationStatus == (int)LocationStatusEnum.InStock || ben[2].LocationStatus == (int)LocationStatusEnum.InStock || ben[3].LocationStatus == (int)LocationStatusEnum.InStock || ben[4].LocationStatus == (int)LocationStatusEnum.InStock || ben[5].LocationStatus == (int)LocationStatusEnum.InStock || ben[6].LocationStatus == (int)LocationStatusEnum.InStock || ben[7].LocationStatus == (int)LocationStatusEnum.InStock || ben[8].LocationStatus == (int)LocationStatusEnum.InStock || ben[9].LocationStatus == (int)LocationStatusEnum.InStock || ben[10].LocationStatus == (int)LocationStatusEnum.InStock || ben[11].LocationStatus == (int)LocationStatusEnum.InStock) |
| | | { |
| | | return content.OK("2"); |
| | | } |
| | | //å餿¹ææ£å¸¸ |
| | | if (ben[0].LocationType == (int)LocationTypeEnum.Cube) |
| | | { |
| | | ben[0].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[1].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[1].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[2].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[3].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[3].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[4].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[5].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[5].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[6].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[7].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[7].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[8].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[9].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[9].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[10].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[11].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[11].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | BaseDal.UpdateData(ben); |
| | | return content.OK("1"); |
| | | } |
| | | //æ£å¸¸æ¹æåé¤ |
| | | else |
| | | { |
| | | ben[0].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[1].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[1].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[2].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[3].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[3].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[4].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[5].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[5].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[6].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[7].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[7].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[8].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[9].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[9].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[10].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[11].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[11].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | BaseDal.UpdateData(ben); |
| | | return content.OK("1"); |
| | | } |
| | | } |
| | | else if (k == 2) |
| | | { |
| | | List<Dt_LocationInfo> ben = BaseDal.QueryData(v => v.Id <= 2515 && v.Id >= 2504); |
| | | //夿æ¯å¦æè´§ |
| | | if (ben[0].LocationStatus == (int)LocationStatusEnum.InStock || ben[1].LocationStatus == (int)LocationStatusEnum.InStock || ben[2].LocationStatus == (int)LocationStatusEnum.InStock || ben[3].LocationStatus == (int)LocationStatusEnum.InStock || ben[4].LocationStatus == (int)LocationStatusEnum.InStock || ben[5].LocationStatus == (int)LocationStatusEnum.InStock || ben[6].LocationStatus == (int)LocationStatusEnum.InStock || ben[7].LocationStatus == (int)LocationStatusEnum.InStock || ben[8].LocationStatus == (int)LocationStatusEnum.InStock || ben[9].LocationStatus == (int)LocationStatusEnum.InStock || ben[10].LocationStatus == (int)LocationStatusEnum.InStock || ben[11].LocationStatus == (int)LocationStatusEnum.InStock) |
| | | { |
| | | return content.OK("2"); |
| | | } |
| | | //å餿¹ææ£å¸¸ |
| | | if (ben[0].LocationType == (int)LocationTypeEnum.Cube) |
| | | { |
| | | ben[0].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[1].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[1].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[2].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[3].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[3].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[4].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[5].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[5].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[6].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[7].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[7].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[8].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[9].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[9].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[10].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[11].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[11].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | BaseDal.UpdateData(ben); |
| | | return content.OK("1"); |
| | | } |
| | | //æ£å¸¸æ¹æåé¤ |
| | | else |
| | | { |
| | | ben[0].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[1].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[1].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[2].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[3].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[3].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[4].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[5].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[5].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[6].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[7].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[7].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[8].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[9].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[9].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[10].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[11].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[11].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | BaseDal.UpdateData(ben); |
| | | return content.OK("1"); |
| | | } |
| | | } |
| | | else if (k == 3) |
| | | { |
| | | List<Dt_LocationInfo> ben = BaseDal.QueryData(v => v.Id <= 2493 && v.Id >= 2482); |
| | | //夿æ¯å¦æè´§ |
| | | if (ben[0].LocationStatus == (int)LocationStatusEnum.InStock || ben[1].LocationStatus == (int)LocationStatusEnum.InStock || ben[2].LocationStatus == (int)LocationStatusEnum.InStock || ben[3].LocationStatus == (int)LocationStatusEnum.InStock || ben[4].LocationStatus == (int)LocationStatusEnum.InStock || ben[5].LocationStatus == (int)LocationStatusEnum.InStock || ben[6].LocationStatus == (int)LocationStatusEnum.InStock || ben[7].LocationStatus == (int)LocationStatusEnum.InStock || ben[8].LocationStatus == (int)LocationStatusEnum.InStock || ben[9].LocationStatus == (int)LocationStatusEnum.InStock || ben[10].LocationStatus == (int)LocationStatusEnum.InStock || ben[11].LocationStatus == (int)LocationStatusEnum.InStock) |
| | | { |
| | | return content.OK("2"); |
| | | } |
| | | //å餿¹ææ£å¸¸ |
| | | if (ben[0].LocationType == (int)LocationTypeEnum.Cube) |
| | | { |
| | | ben[0].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[1].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[1].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[2].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[3].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[3].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[4].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[5].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[5].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[6].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[7].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[7].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[8].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[9].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[9].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[10].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[11].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[11].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | BaseDal.UpdateData(ben); |
| | | return content.OK("1"); |
| | | } |
| | | //æ£å¸¸æ¹æåé¤ |
| | | else |
| | | { |
| | | ben[0].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[1].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[1].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[2].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[3].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[3].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[4].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[5].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[5].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[6].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[7].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[7].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[8].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[9].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[9].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[10].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[11].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[11].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | BaseDal.UpdateData(ben); |
| | | return content.OK("1"); |
| | | } |
| | | } |
| | | else if (k == 4) |
| | | { |
| | | List<Dt_LocationInfo> ben = BaseDal.QueryData(v => v.Id <= 2471 && v.Id >= 2460); |
| | | //夿æ¯å¦æè´§ |
| | | if (ben[0].LocationStatus == (int)LocationStatusEnum.InStock || ben[1].LocationStatus == (int)LocationStatusEnum.InStock || ben[2].LocationStatus == (int)LocationStatusEnum.InStock || ben[3].LocationStatus == (int)LocationStatusEnum.InStock || ben[4].LocationStatus == (int)LocationStatusEnum.InStock || ben[5].LocationStatus == (int)LocationStatusEnum.InStock || ben[6].LocationStatus == (int)LocationStatusEnum.InStock || ben[7].LocationStatus == (int)LocationStatusEnum.InStock || ben[8].LocationStatus == (int)LocationStatusEnum.InStock || ben[9].LocationStatus == (int)LocationStatusEnum.InStock || ben[10].LocationStatus == (int)LocationStatusEnum.InStock || ben[11].LocationStatus == (int)LocationStatusEnum.InStock) |
| | | { |
| | | return content.OK("2"); |
| | | } |
| | | //å餿¹ææ£å¸¸ |
| | | if (ben[0].LocationType == (int)LocationTypeEnum.Cube) |
| | | { |
| | | ben[0].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[1].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[1].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[2].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[3].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[3].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[4].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[5].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[5].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[6].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[7].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[7].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[8].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[9].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[9].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | |
| | | ben[10].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[11].LocationType = (int)LocationTypeEnum.Flat; |
| | | ben[11].EnableStatus = (int)EnableStatusEnum.Normal; |
| | | BaseDal.UpdateData(ben); |
| | | return content.OK("1"); |
| | | } |
| | | //æ£å¸¸æ¹æåé¤ |
| | | else |
| | | { |
| | | ben[0].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[1].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[1].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[2].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[3].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[3].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[4].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[5].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[5].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[6].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[7].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[7].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[8].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[9].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[9].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | |
| | | ben[10].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[11].LocationType = (int)LocationTypeEnum.Cube; |
| | | ben[11].EnableStatus = (int)EnableStatusEnum.Disable; |
| | | BaseDal.UpdateData(ben); |
| | | return content.OK("1"); |
| | | } |
| | | } |
| | | return content.OK("4"); |
| | | } |
| | | } |
| | | |
| | | public class LocationConfig |
| | |
| | | using AutoMapper; |
| | | using WIDESEAWCS_Core.Helper; |
| | | using WIDESEAWCS_Core; |
| | | using WIDESEAWCS_Core.BaseRepository; |
| | | using WIDESEAWCS_Core.BaseServices; |
| | | using WIDESEAWCS_IWMSPart; |
| | |
| | | { |
| | | _mapper = mapper; |
| | | } |
| | | |
| | | public override WebResponseContent UpdateData(SaveModel saveModel) |
| | | { |
| | | int id = saveModel.MainData["id"].ObjToInt(); |
| | | int StockStatus = saveModel.MainData["stockStatus"].ObjToInt(); |
| | | int Remark = saveModel.MainData["remark"].ObjToInt(); |
| | | Dt_StockInfo locationInfo = BaseDal.QueryFirst(x => x.Id == id); |
| | | locationInfo.StockStatus = StockStatus; |
| | | locationInfo.Remark = Remark; |
| | | return UpdateData(locationInfo); |
| | | //return base.UpdateData(saveModel); |
| | | } |
| | | } |
| | | } |