import{h as n,u as l}from"./index-CLZzJyTP.js";const i=[{title:"仓库",align:"center",dataIndex:"wareCode_dictText"},{title:"虚拟库区",align:"center",dataIndex:"areaCode_dictText"},{title:"实际库区",align:"center",dataIndex:"actualArea"},{title:"出入库类型",align:"center",dataIndex:"type_dictText"},{title:"物料编码",align:"center",dataIndex:"sku"},{title:"批次号",align:"center",dataIndex:"batchNo"},{title:"数量",align:"center",dataIndex:"qty"},{title:"楼层",align:"center",dataIndex:"layer"},{title:"库位",align:"center",dataIndex:"locCode"},{title:"单据类型",align:"center",dataIndex:"receiptType_dictText"},{title:"订单号",align:"center",dataIndex:"orderNo"},{title:"完成时间",align:"center",dataIndex:"finishTime"},{title:"流水时间",align:"center",dataIndex:"recordTime"},{title:"任务编码",align:"center",dataIndex:"taskId"},{title:"工站号",align:"center",dataIndex:"stationCode"},{title:"拓展字段1",align:"center",dataIndex:"extendStrOne"},{title:"拓展字段2",align:"center",dataIndex:"extendStrTwo"}],c=[{label:"仓库",field:"wareCode",component:"JDictSelectTag",componentProps:{dictCode:"wate_code"}},{label:"虚拟库区",field:"areaCode",component:"Input"},{label:"实际库区",field:"actualArea",component:"Input"},{label:"出入库类型",field:"type",component:"JDictSelectTag",componentProps:{dictCode:"wms_task_item_type"}},{label:"物料编码",field:"sku",component:"Input"},{label:"批次号",field:"batchNo",component:"Input"},{label:"数量",field:"qty",component:"InputNumber"},{label:"楼层",field:"layer",component:"InputNumber"},{label:"库位",field:"locCode",component:"Input"},{label:"单据类型",field:"receiptType",component:"JDictSelectTag",componentProps:{dictCode:"wms_receipt_type"}},{label:"订单号",field:"orderNo",component:"Input"},{label:"完成时间",field:"finishTime",component:"RangePicker",componentProps:{valueType:"Date",showTime:!0}},{label:"流水时间",field:"recordTime",component:"Input"},{label:"任务编码",field:"taskId",component:"InputNumber"},{label:"工站号",field:"stationCode",component:"Input"}],r=[{label:"仓库",field:"wareCode",component:"JDictSelectTag",componentProps:{dictCode:"ware_code"}},{label:"虚拟库区",field:"areaCode",component:"Input"},{label:"实际库区",field:"actualArea",component:"Input"},{label:"出入库类型",field:"type",component:"JDictSelectTag",componentProps:{dictCode:"wms_task_item_type"}},{label:"物料编码",field:"sku",component:"Input"},{label:"批次号",field:"batchNo",component:"Input"},{label:"数量",field:"qty",component:"InputNumber"},{label:"楼层",field:"layer",component:"InputNumber"},{label:"库位",field:"locCode",component:"Input"},{label:"单据类型",field:"receiptType",component:"JDictSelectTag",componentProps:{dictCode:"wms_receipt_type"}},{label:"订单号",field:"orderNo",component:"Input"},{label:"完成时间",field:"finishTime",component:"DatePicker",componentProps:{showTime:!0,valueFormat:"YYYY-MM-DD HH:mm:ss"}},{label:"流水时间",field:"recordTime",component:"Input"},{label:"任务编码",field:"taskId",component:"InputNumber",dynamicRules:({model:e,schema:t})=>[{required:!0,message:"请输入任务编码!"}]},{label:"工站号",field:"stationCode",component:"Input"},{label:"拓展字段1",field:"extendStrOne",component:"Input"},{label:"拓展字段2",field:"extendStrTwo",component:"Input"},{label:"",field:"id",component:"Input",show:!1}],s={wareCode:{title:"仓库",order:0,view:"text",type:"string"},areaCode:{title:"虚拟库区",order:1,view:"text",type:"string"},actualArea:{title:"实际库区",order:2,view:"text",type:"string"},type:{title:"出入库类型",order:3,view:"text",type:"string"},sku:{title:"物料编码",order:4,view:"text",type:"string"},batchNo:{title:"批次号",order:5,view:"text",type:"string"},qty:{title:"数量",order:6,view:"number",type:"number"},layer:{title:"楼层",order:7,view:"number",type:"number"},locCode:{title:"库位",order:8,view:"text",type:"string"},receiptType:{title:"单据类型",order:9,view:"text",type:"string"},orderNo:{title:"订单号",order:10,view:"text",type:"string"},finishTime:{title:"完成时间",order:11,view:"datetime",type:"string"},recordTime:{title:"流水时间",order:12,view:"text",type:"string"},taskId:{title:"任务编码",order:13,view:"number",type:"number"},stationCode:{title:"工站号",order:14,view:"text",type:"string"},extendStrOne:{title:"拓展字段1",order:15,view:"text",type:"string"},extendStrTwo:{title:"拓展字段2",order:16,view:"text",type:"string"}};function m(e){return r}const{createConfirm:d}=l();const p="/wms/wmsPutAndOutRecord/exportXls",u="/wms/wmsPutAndOutRecord/importExcel",w=e=>n.get({url:"/wms/wmsPutAndOutRecord/list",params:e}),b=(e,t)=>n.delete({url:"/wms/wmsPutAndOutRecord/delete",params:e},{joinParamsToUrl:!0}).then(()=>{t()}),x=(e,t)=>{d({iconType:"warning",title:"确认删除",content:"是否删除选中数据",okText:"确认",cancelText:"取消",onOk:()=>n.delete({url:"/wms/wmsPutAndOutRecord/deleteBatch",data:e},{joinParamsToUrl:!0}).then(()=>{t()})})},I=(e,t)=>{let o=t?"/wms/wmsPutAndOutRecord/edit":"/wms/wmsPutAndOutRecord/add";return n.post({url:o,params:e})};export{p as a,s as b,i as c,b as d,x as e,I as f,u as g,r as h,m as i,w as l,c as s};
