index.8ca3be50.js 5.7 KB

12
  1. import{al as l,a$ as i,bN as t,aT as n,ac as d}from"./index.js";const p=[{value:"0",label:"\u5F85\u4E1A\u52A1\u4E3B\u7BA1\u5BA1\u6838",type:""},{value:"1",label:"\u4E1A\u52A1\u4E3B\u7BA1\u5DF2\u901A\u8FC7",type:"success"},{value:"2",label:"\u4E1A\u52A1\u4E3B\u7BA1\u5DF2\u9A73\u56DE",type:"danger"},{value:"3",label:"\u4E1A\u52A1\u4E3B\u7BA1\u8D8A\u7EBF\u901A\u8FC7",type:"warning"},{value:"4",label:"\u53D6\u6D88\u8BAE\u4EF7",type:"info"}],E=[{value:"0",label:"\u4E00\u5730"},{value:"1",label:"\u591A\u5730"}],b=[{value:"0",label:"\u5426"},{value:"1",label:"\u662F"}],f=[{value:"0",label:"\u5168\u90E8\u65E0\u6CD5\u901A\u8FC7"},{value:"1",label:"\u4E1A\u52A1\u4E3B\u7BA1\u901A\u8FC7"},{value:"2",label:"\u8D22\u52A1\u4E3B\u7BA1\u901A\u8FC7"},{value:"3",label:"boss\u901A\u8FC7"}],D=[{field:"bargainNo",label:"\u8BAE\u4EF7\u5355\u7F16\u53F7",span:6},{field:"bidsNo",label:"\u53CD\u9988\u5546\u54C1\u7F16\u53F7",span:6},{field:"infoNo",label:"\u7ADE\u4EF7\u5355\u7F16\u53F7",span:6},{field:"status",label:"\u72B6\u6001",span:6,render(u){var e;return l(i,{type:((e=p.find(({value:a})=>String(a)===String(u)))==null?void 0:e.type)||"",size:"small"},{default:()=>{var a;return((a=p.find(({value:r})=>String(r)===String(u)))==null?void 0:a.label)||"--"}})}},{field:"creater",label:"\u521B\u5EFA\u4EBA",span:6},{field:"is_addrs",label:"\u662F\u5426\u591A\u5730",span:4,render(u,e){return l(i,{size:"small"},{default:()=>{var a;return((a=E.find(({value:r})=>String(r)===String(e.is_addrs)))==null?void 0:a.label)||"--"}})}},{field:"is_custom",label:"\u662F\u5426\u5B9A\u5236",span:4,render(u){return l(i,{size:"small"},{default:()=>{var e;return((e=b.find(({value:a})=>String(a)===String(u)))==null?void 0:e.label)||"--"}})}},{field:"good_num",label:"\u8D2D\u4E70\u6570\u91CF",_slot_:"good_num",span:4},{field:"rate_status",label:"\u9884\u8BA1\u901A\u8FC7\u8282\u70B9",span:6,render(u){return l(i,{size:"small"},{default:()=>{var e;return((e=f.find(({value:a})=>String(a)===String(u)))==null?void 0:e.label)||"--"}})}},{field:"addtime",label:"\u6DFB\u52A0\u65F6\u95F4",span:6},{field:"origin_addr",label:"\u4EA7\u5730",span:6},{field:"result_info",label:"\u8BAE\u4EF7\u539F\u56E0",span:12},{field:"bargain_remark",label:"\u8BAE\u4EF7\u5907\u6CE8",span:24},{field:"sale_price",label:"\u8BAE\u4EF7\u524D\u552E\u4EF7",append:"\u5143",span:6},{field:"after_price",label:"\u8BAE\u4EF7\u540E\u552E\u4EF7",append:"\u5143",span:6},{field:"cost_before_price",label:"\u8BAE\u4EF7\u524D\u5DE5\u827A\u8D39",append:"\u5143",span:6},{field:"cost_after_price",label:"\u8BAE\u4EF7\u540E\u5DE5\u827A\u8D39",append:"\u5143",span:6}],o=[{value:"0",label:"\u73B0\u7ED3"},{value:"1",label:"\u6708\u6E05"},{value:"2",label:"\u53CC\u6708\u6E05"}],_=[{field:"good_name",label:"\u5546\u54C1\u540D\u79F0",_slot_:"good_name",span:18},{field:"is_combind",label:"\u7EC4\u5408\u7C7B\u578B",span:6,render(u){return u==="1"?"\u7EC4\u5408\u5546\u54C1":"\u975E\u7EC4\u5408\u5546\u54C1"}},{field:"cat_info",label:"\u5206\u7C7B",span:8,render(u){return u?u.map(({name:e})=>e).join("-"):""}},{field:"creater",label:"\u5546\u54C1\u521B\u5EFA\u4EBA",span:4},{field:"brand_name",label:"\u54C1\u724C",span:6},{field:"send_way",label:"\u53D1\u8D27\u65B9\u5F0F",span:6,render(u){return u==="1"?"\u4F9B\u5E94\u5546\u5305\u90AE":"\u516C\u53F8\u81EA\u63D0"}},{field:"unit",label:"\u5355\u4F4D",span:4},{field:"tax",label:"\u7A0E\u70B9",append:"%",span:4},{field:"pay_way",label:"\u652F\u4ED8\u65B9\u5F0F",span:4,render(u){var e;return((e=o.find(({value:a})=>a==u))==null?void 0:e.label)||"--"}},{field:"weight",label:"\u5546\u54C1\u603B\u514B\u91CD",append:"g",span:6},{field:"addtime",label:"\u53CD\u9988\u65F6\u95F4",span:6},{field:"good_img",label:"\u5546\u54C1\u56FE\u7247",span:8,render(u){return l(t,{src:u,previewSrcList:[u],style:{height:"20px",width:"20px"}})}},{field:"supply_area",label:"\u4F9B\u8D27\u533A\u57DF",span:4,render(u){return u==="1"?"\u5168\u56FD":"\u5168\u56FD\u51FA\u504F\u8FDC"}},{field:"noble",label:"\u8D35\u91D1\u5C5E\u4FE1\u606F",span:12,render(u,e){return e.noble_metal?`${e.noble_weight?e.noble_weight:"0"}g-${e.noble_name}-${e.gold_price?e.gold_price:"0"}\u5143/g
  2. -${e.is_gold_price+""=="0"?"\u4E0D":""}\u542F\u7528\u5B9E\u65F6\u91D1\u4EF7-${e.is_diff+""=="1"?"\u6709":"\u65E0"}\u5DE5\u5DEE-${e.config}-${e.other_config}`:null}},{field:"cost_desc",label:"\u5DE5\u827A\u8BF4\u660E",span:24},{field:"remark",label:"\u91C7\u8FD4\u5907\u6CE8",span:24}],B=[{field:"cert_fee",label:"\u6210\u672C\u8BC1\u4E66\u8D39",append:"\u5143",span:6},{field:"pakge_fee",label:"\u6210\u672C\u5305\u88C5\u8D39",append:"\u5143",span:6},{field:"cost_fee",label:"\u6210\u672C\u5DE5\u827A\u8D39",append:"\u5143",span:6},{field:"mark_fee",label:"\u6210\u672C\u52A0\u6807\u8D39",append:"\u5143",span:6},{field:"demo_fee",label:"\u6210\u672C\u6253\u6837\u8D39",append:"\u5143",span:6},{field:"open_fee",label:"\u6210\u672C\u5F00\u6A21\u8D39",append:"\u5143",span:6},{field:"delivery_fee",label:"\u6210\u672C\u7269\u6D41\u8D39",append:"\u5143",span:6},{field:"nake_fee",label:"\u6210\u672C\u88F8\u4EF7",append:"\u5143",span:6},{field:"total_fee",label:"\u91C7\u8D2D\u6210\u672C\u5408\u8BA1",append:"\u5143",span:24}],C=[{field:"before_rate",label:"\u8BAE\u4EF7\u524D\u6BDB\u5229\u7387",append:"%",span:12},{field:"after_rate",label:"\u8BAE\u4EF7\u540E\u6BDB\u5229\u7387",append:"%",span:12}],g={state:[{required:!0,message:"\u8BF7\u9009\u62E9\u5BA1\u6838\u72B6\u6001",trigger:"change"}]},{VITE_PROXY_DOMAIN_REAL:c,VITE_PROXY_USER_REAL:F}=d(),s=F+"/admin/",m=u=>n.request("post",`${s}bargainlist`,{data:u}),v=u=>n.request("post",`${s}bragaininfo`,{data:u}),h=u=>n.request("post",`${s}getgoodzxinfobynotzixun`,{data:u}),y=u=>n.request("post",`${s}bragainstatus`,{data:u}),S=u=>n.request("post",`${s}uploadfile`,{data:u});export{C as a,D as b,B as c,v as d,S as e,y as f,m as g,h,_ as p,g as r,p as s};