import{h as n,u as r}from"./index-CYriLmQo.js";const i=[{title:"货箱编码",align:"center",dataIndex:"containerCode"},{title:"变更类型",align:"center",dataIndex:"type_dictText"},{title:"变更前json",align:"center",dataIndex:"changeBefore"},{title:"变更后json",align:"center",dataIndex:"changeAfter"}],c=[{label:"货箱编码",field:"containerCode",component:"Input"},{label:"变更类型",field:"type",component:"JDictSelectTag",componentProps:{dictCode:"wms_change_type"}}],a=[{label:"货箱编码",field:"containerCode",component:"Input",dynamicRules:({model:e,schema:t})=>[{required:!0,message:"请输入货箱编码!"}]},{label:"变更类型",field:"type",component:"JDictSelectTag",componentProps:{dictCode:"wms_change_type"},dynamicRules:({model:e,schema:t})=>[{required:!0,message:"请输入变更类型!"}]},{label:"变更前json",field:"changeBefore",component:"Input"},{label:"变更后json",field:"changeAfter",component:"Input"},{label:"",field:"id",component:"Input",show:!1}],m={containerCode:{title:"货箱编码",order:0,view:"text",type:"string"},type:{title:"变更类型",order:1,view:"text",type:"string"},changeBefore:{title:"变更前json",order:2,view:"text",type:"string"},changeAfter:{title:"变更后json",order:3,view:"text",type:"string"}};function d(e){return a}const{createConfirm:s}=r();const g="/wms/wmsContainerLog/exportXls",p="/wms/wmsContainerLog/importExcel",w=e=>n.get({url:"/wms/wmsContainerLog/list",params:e}),u=(e,t)=>n.delete({url:"/wms/wmsContainerLog/delete",params:e},{joinParamsToUrl:!0}).then(()=>{t()}),h=(e,t)=>{s({iconType:"warning",title:"确认删除",content:"是否删除选中数据",okText:"确认",cancelText:"取消",onOk:()=>n.delete({url:"/wms/wmsContainerLog/deleteBatch",data:e},{joinParamsToUrl:!0}).then(()=>{t()})})},f=(e,t)=>{let o=t?"/wms/wmsContainerLog/edit":"/wms/wmsContainerLog/add";return n.post({url:o,params:e})};export{g as a,m as b,i as c,u as d,h as e,f,p as g,a as h,d as i,w as l,c as s};
