import{h as r,u as a}from"./index-CLZzJyTP.js";const d=[{title:"任务号",align:"center",dataIndex:"taskId"},{title:"起始库位",align:"center",dataIndex:"fromLoc"},{title:"结束库位",align:"center",dataIndex:"toLoc"},{title:"托盘号",align:"center",dataIndex:"tray"},{title:"料箱号",align:"center",dataIndex:"box"},{title:"执行状态",align:"center",dataIndex:"status"},{title:"错误信息",align:"center",dataIndex:"errorMsg"}],i=[{label:"任务号",field:"taskId",component:"Input"},{label:"起始库位",field:"fromLoc",component:"Input"},{label:"结束库位",field:"toLoc",component:"Input"},{label:"托盘号",field:"tray",component:"Input"},{label:"料箱号",field:"box",component:"Input"},{label:"执行状态",field:"status",component:"Input"},{label:"错误信息",field:"errorMsg",component:"Input"}],o=[{label:"任务号",field:"taskId",component:"Input",dynamicRules:({model:e,schema:t})=>[{required:!0,message:"请输入任务号!"}],dynamicDisabled:!0},{label:"起始库位",field:"fromLoc",component:"Input",dynamicRules:({model:e,schema:t})=>[{required:!0,message:"请输入起始库位!"}]},{label:"结束库位",field:"toLoc",component:"Input",dynamicRules:({model:e,schema:t})=>[{required:!0,message:"请输入结束库位!"}]},{label:"托盘号",field:"tray",component:"Input",dynamicRules:({model:e,schema:t})=>[{required:!0,message:"请输入托盘号!"}]},{label:"料箱号",field:"box",component:"Input",dynamicRules:({model:e,schema:t})=>[{required:!0,message:"请输入料箱号!"}]},{label:"执行状态",field:"status",component:"Input",dynamicRules:({model:e,schema:t})=>[{required:!0,message:"请输入执行状态!"}]},{label:"错误信息",field:"errorMsg",component:"InputTextArea"},{label:"",field:"id",component:"Input",show:!1}],m={taskId:{title:"任务号",order:0,view:"text",type:"string"},fromLoc:{title:"起始库位",order:1,view:"text",type:"string"},toLoc:{title:"结束库位",order:2,view:"text",type:"string"},tray:{title:"托盘号",order:3,view:"text",type:"string"},box:{title:"料箱号",order:4,view:"text",type:"string"},status:{title:"执行状态",order:5,view:"text",type:"string"},errorMsg:{title:"错误信息",order:6,view:"textarea",type:"string"}};function u(e){return o}const{createConfirm:n}=a();const c="/wms/xhTaskPushError/exportXls",h="/wms/xhTaskPushError/importExcel",p=e=>r.get({url:"/wms/xhTaskPushError/list",params:e}),x=(e,t)=>r.delete({url:"/wms/xhTaskPushError/delete",params:e},{joinParamsToUrl:!0}).then(()=>{t()}),g=(e,t)=>{n({iconType:"warning",title:"确认删除",content:"是否删除选中数据",okText:"确认",cancelText:"取消",onOk:()=>r.delete({url:"/wms/xhTaskPushError/deleteBatch",data:e},{joinParamsToUrl:!0}).then(()=>{t()})})},f=(e,t)=>{let s=t?"/wms/xhTaskPushError/edit":"/wms/xhTaskPushError/add";return r.post({url:s,params:e})};export{c as a,m as b,d as c,x as d,g as e,f,h as g,o as h,u as i,p as l,i as s};
