index.e307b2.js 2.6 KB

1
  1. import{ax as C,a0 as f,_ as D,d as E,n as g,w as b,r as a,o as w,G as B,C as u,j as o,l,M as c}from"./index.js";import{u as k}from"./use-page-search.89126f99.js";import O from"./index.22cff3.js";import"./index.049fdbe2.js";import"./execl-upload.771c22af.js";const{VITE_PROXY_DOMAIN_REAL:U,VITE_PROXY_USER_REAL:$,VITE_WORKORDER_REAL:A}=f(),F=A,x=t=>C.request("post",`${F}/cxinv/FinancialManager/CheckList`,{data:t}),P=t=>C.request("post",`${F}/cxinv/FinancialManager/CheckSure`,{data:t}),y=[{label:"\u76D8\u70B9\u7F16\u53F7",prop:"checkCode",width:170},{label:"\u8D2D\u4E70\u65B9\u516C\u53F8\u7EB3\u7A0E\u53F7",prop:"company_code",width:160},{label:"\u8D2D\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"company_name",width:160},{label:"\u5546\u54C1\u7F16\u53F7",prop:"goodNo",width:160},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",width:160},{label:"\u89C4\u683C",prop:"spec",width:80},{label:"\u5355\u4F4D",prop:"unit",width:80},{label:"\u5355\u4EF7",prop:"price",width:80},{label:"\u8D26\u9762\u6570\u91CF",prop:"TODO",width:80},{label:"\u76D8\u70B9\u6570\u91CF",prop:"TODO",width:120},{label:"\u76D8\u4E8F\u6570\u91CF",prop:"TODO",width:120},{label:"\u64CD\u4F5C\u4EBA",prop:"check_uname",width:80},{label:"\u64CD\u4F5C",fixed:"right",width:50,slot:"operation"}],R={columns:y,title:"\u5546\u54C1\u7BA1\u7406",permissions:["003","007"],apis:{httpList:x,httpStatus:P,httpAdd:!0}},d={formItems:[{field:"timer",type:"date_picker",span:7,label:"\u521B\u5EFA\u65F6\u95F4",otherOptions:{type:"daterange",startProp:"start",endProp:"end",startPlaceholder:"\u5F00\u59CB\u65F6\u95F4",endPlaceholder:"\u7ED3\u675F\u65F6\u95F4"}},{field:"skuCode",type:"input",placeholder:"\u5546\u54C1\u7F16\u7801"}]},I="productManager",N=E({__name:"index",setup(t){const r=g(),n=b(!1),h={pageSearchHook:()=>k(void 0,void 0,d)},m={content:{preview:({id:i})=>r.push("/invoiceInOut/inventoryCheckDetail?id="+i),create:()=>r.push("/invoiceInOut/inventoryCheckDetail")}};return(i,e)=>{const s=a("ElButton"),_=a("PageContainer"),v=a("PageAuth");return w(),B(v,{pageName:I},{default:u(()=>[o(_,{hooks:h,events:m,searchConfig:l(d),contentConfig:l(R)},{content_header:u(()=>[o(s,{type:"primary",size:"small",onClick:e[0]||(e[0]=p=>n.value=!0)},{default:u(()=>e[2]||(e[2]=[c("\u6279\u91CF\u521B\u5EFA")])),_:1}),o(s,{size:"small"},{default:u(()=>e[3]||(e[3]=[c("\u6279\u91CF\u5BFC\u51FA\u5F53\u524D\u7ED3\u5B58\u6570")])),_:1})]),_:1},8,["searchConfig","contentConfig"]),o(O,{visible:n.value,"onUpdate:visible":e[1]||(e[1]=p=>n.value=p)},null,8,["visible"])]),_:1})}}});var j=D(N,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/inventoryCheck/index.vue"]]);export{j as default};