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