import{h as l,u as r}from"./index-CYriLmQo.js";const s=[{title:"盘点单Id",align:"center",dataIndex:"orderId"},{title:"箱号",align:"center",dataIndex:"containerCode"},{title:"物料编码",align:"center",dataIndex:"sku"},{title:"批次号",align:"center",dataIndex:"batchNo"},{title:"库位编码",align:"center",dataIndex:"locCode"},{title:"WMS账存数",align:"center",dataIndex:"wmsAccountQty"},{title:"wms库存数量",align:"center",dataIndex:"wmsNowQty"},{title:"是否有差异",align:"center",dataIndex:"isDiffer"},{title:"拓展1",align:"center",dataIndex:"extendStrOne"},{title:"拓展2",align:"center",dataIndex:"extendStrTwo"}],m=[{label:"箱号",field:"containerCode",component:"Input"},{label:"物料编码",field:"sku",component:"Input"},{label:"批次号",field:"batchNo",component:"Input"},{label:"库位编码",field:"locCode",component:"Input"},{label:"WMS账存数",field:"wmsAccountQty",component:"InputNumber"},{label:"wms库存数量",field:"wmsNowQty",component:"InputNumber"},{label:"是否有差异",field:"isDiffer",component:"InputNumber"}],i=[{label:"盘点单Id",field:"orderId",component:"InputNumber"},{label:"箱号",field:"containerCode",component:"Input"},{label:"物料编码",field:"sku",component:"Input",dynamicRules:({model:e,schema:t})=>[{required:!0,message:"请输入物料编码!"}]},{label:"批次号",field:"batchNo",component:"Input",dynamicRules:({model:e,schema:t})=>[{required:!0,message:"请输入批次号!"}]},{label:"库位编码",field:"locCode",component:"Input"},{label:"WMS账存数",field:"wmsAccountQty",component:"InputNumber",dynamicRules:({model:e,schema:t})=>[{required:!0,message:"请输入WMS账存数!"}]},{label:"wms库存数量",field:"wmsNowQty",component:"InputNumber"},{label:"是否有差异",field:"isDiffer",component:"InputNumber"},{label:"拓展1",field:"extendStrOne",component:"Input"},{label:"拓展2",field:"extendStrTwo",component:"Input"},{label:"",field:"id",component:"Input",show:!1}],d={orderId:{title:"盘点单Id",order:0,view:"number",type:"number"},containerCode:{title:"箱号",order:1,view:"text",type:"string"},sku:{title:"物料编码",order:2,view:"text",type:"string"},batchNo:{title:"批次号",order:3,view:"text",type:"string"},locCode:{title:"库位编码",order:4,view:"text",type:"string"},wmsAccountQty:{title:"WMS账存数",order:5,view:"number",type:"number"},wmsNowQty:{title:"wms库存数量",order:6,view:"number",type:"number"},isDiffer:{title:"是否有差异",order:7,view:"number",type:"number"},extendStrOne:{title:"拓展1",order:8,view:"text",type:"string"},extendStrTwo:{title:"拓展2",order:9,view:"text",type:"string"}};function c(e){return i}const{createConfirm:o}=r();const u="/wms/wmsCheckBillDetail/exportXls",w="/wms/wmsCheckBillDetail/importExcel",p=e=>l.get({url:"/wms/wmsCheckBillDetail/list",params:e}),b=(e,t)=>l.delete({url:"/wms/wmsCheckBillDetail/delete",params:e},{joinParamsToUrl:!0}).then(()=>{t()}),h=(e,t)=>{o({iconType:"warning",title:"确认删除",content:"是否删除选中数据",okText:"确认",cancelText:"取消",onOk:()=>l.delete({url:"/wms/wmsCheckBillDetail/deleteBatch",data:e},{joinParamsToUrl:!0}).then(()=>{t()})})},I=(e,t)=>{let n=t?"/wms/wmsCheckBillDetail/edit":"/wms/wmsCheckBillDetail/add";return l.post({url:n,params:e})};export{u as a,d as b,s as c,b as d,h as e,I as f,w as g,i as h,c as i,p as l,m as s};
