设计出库口入库流程
托盘、周转箱分区存放
This commit is contained in:
1 parent
70e6866e20
commit
a6168a75bf
7 files changed
+99
-53
No files matched your search
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using HHWMS.Web.Models;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
@@ -94,11 +95,13 @@ public class ShipOutController : BaseController
|
||||
{
|
||||
try
|
||||
{
|
||||
var ids = Wtm.ConfigInfo.AppSettings.ToList();
|
||||
var task_id = type switch
|
||||
{
|
||||
"In" => "ee66a5dc570cecd0",
|
||||
"Out" => "6970907a6b82e7fb",
|
||||
"Charge" => "a7a93155ff7f23a7",
|
||||
"In" => ids.FirstOrDefault(x => x.Key == "In").Value,
|
||||
"Out" => ids.FirstOrDefault(x => x.Key == "Out").Value,
|
||||
"Charge" => ids.FirstOrDefault(x => x.Key == "Charge").Value,
|
||||
"OutIn" => ids.FirstOrDefault(x => x.Key == "OutIn").Value,
|
||||
_ => throw new Exception("参数错误!")
|
||||
};
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@
|
||||
<template #split>
|
||||
<a-divider direction="vertical" />
|
||||
</template>
|
||||
<a-button @@click='handleAGVTask("In")'
|
||||
<a-button @@click='handleAGVTask("OutIn")'
|
||||
:loading="loading2"
|
||||
type="primary"
|
||||
status="warning"
|
||||
size="large">
|
||||
到入库点
|
||||
入库
|
||||
</a-button>
|
||||
|
||||
<a-button @@click='handleAGVTask("Charge")'
|
||||
@@ -29,12 +29,12 @@
|
||||
充电任务
|
||||
</a-button>
|
||||
|
||||
<a-button @@click='handleAGVTask("Out")'
|
||||
:loading="loading2"
|
||||
type="outline"
|
||||
size="large">
|
||||
到出库点
|
||||
</a-button>
|
||||
@* <a-button @@click='handleAGVTask("Out")' *@
|
||||
@* :loading="loading2" *@
|
||||
@* type="outline" *@
|
||||
@* size="large"> *@
|
||||
@* 到出库点 *@
|
||||
@* </a-button> *@
|
||||
</a-space>
|
||||
</a-space>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user