import{h as s,u as i}from"./index-CLZzJyTP.js";const m=[{title:"单据号",align:"center",dataIndex:"orderNo"},{title:"商品编码/库位编码",align:"center",dataIndex:"itemCode"}],c=[],r=[{label:"单据号",field:"orderNo",component:"Input",dynamicDisabled:!0},{label:"商品编码/库位编码",field:"itemCode",component:"Input",dynamicDisabled:!0},{label:"",field:"id",component:"Input",show:!1}],n={orderNo:{title:"单据号",order:0,view:"text",type:"string"},itemCode:{title:"商品编码/库位编码",order:1,view:"text",type:"string"}};function d(e){return r}const{createConfirm:o}=i();const w="/wms/wmsCheckBillList/exportXls",h="/wms/wmsCheckBillList/importExcel",u=e=>s.get({url:"/wms/wmsCheckBillList/list",params:e}),p=(e,t)=>s.delete({url:"/wms/wmsCheckBillList/delete",params:e},{joinParamsToUrl:!0}).then(()=>{t()}),B=(e,t)=>{o({iconType:"warning",title:"确认删除",content:"是否删除选中数据",okText:"确认",cancelText:"取消",onOk:()=>s.delete({url:"/wms/wmsCheckBillList/deleteBatch",data:e},{joinParamsToUrl:!0}).then(()=>{t()})})},C=(e,t)=>{let l=t?"/wms/wmsCheckBillList/edit":"/wms/wmsCheckBillList/add";return s.post({url:l,params:e})};export{w as a,n as b,m as c,p as d,B as e,C as f,h as g,r as h,d as i,u as l,c as s};
