1 |
- import{a1 as r,aQ as n,_ as h,d as C,n as _,r as s,o as m,G as g,C as f,j as F,l as p}from"./index.js";import{u as b}from"./use-page-search.89126f99.js";import{h as w,d as B}from"./index.0935e0b4.js";import{c as v,a as i,g as y}from"./status.21dece30.js";const E=[{label:"\u5546\u54C1\u7F16\u7801",prop:"skuCode",width:150},{label:"\u9500\u552E\u65B9\u516C\u53F8",prop:"seller_name",width:160},{label:"\u8D2D\u4E70\u65B9\u516C\u53F8",prop:"buyer_name",width:160},{label:"\u5546\u54C1\u7C7B\u578B",width:100,cellRenderer({row:u}){return r(n,{size:"small"},{default:()=>{var e;return((e=v.find(t=>t.value==u.good_type))==null?void 0:e.label)||"--"}})}},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",width:150},{label:"\u89C4\u683C",prop:"spec",width:80},{label:"\u5355\u4F4D",prop:"unit",width:80},{label:"\u72B6\u6001",prop:"status",width:80,cellRenderer({row:u}){var e;return r(n,{size:"small",type:((e=i.find(t=>t.value==u.status))==null?void 0:e.type)||"warning"},{default:()=>{var t;return((t=i.find(a=>a.value==u.status))==null?void 0:t.label)||"--"}})}},{label:"\u7A0E\u524D\u5355\u4EF7",prop:"subunit_price",width:100},{label:"\u7A0E\u540E\u5355\u4EF7",prop:"unit_price",width:100},{label:"\u91CD\u91CF",prop:"unit_weight",width:80},{label:"\u5206\u5149",prop:"spectral",width:80},{label:"\u521B\u5EFA\u4EBA",prop:"apply_name",width:80},{label:"\u521B\u5EFA\u65F6\u95F4",prop:"create_time",width:140},{label:"\u64CD\u4F5C",fixed:"right",width:70,slot:"operation"}],D={columns:E,title:"\u5546\u54C1\u7BA1\u7406",permissions:["003","004","007"],apis:{httpList:w,httpStatus:B,httpAdd:!0}},l={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"},{field:"good_type",type:"select",options:y,placeholder:"\u5546\u54C1\u7C7B\u578B"}]},A="productManager",P=C({__name:"index",setup(u){const e=_(),t={pageSearchHook:()=>b(void 0,void 0,l)},a={content:{preview:({id:o})=>e.push("/invoiceInOut/productManagerDetail?id="+o),create:()=>e.push("/invoiceInOut/productManagerDetail")}};return(o,k)=>{const d=s("PageContainer"),c=s("PageAuth");return m(),g(c,{pageName:A},{default:f(()=>[F(d,{hooks:t,events:a,searchConfig:p(l),contentConfig:p(D)},null,8,["searchConfig","contentConfig"])]),_:1})}}});var N=h(P,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/productManager/index.vue"]]);export{N as default};
|