columns.126478d9.js 2.7 KB

1
  1. import{c as n}from"./status.d3ab78fb.js";import{a1 as e,aP as d,aF as s,aE as t}from"./index.js";const f=[{span:12,field:"seller_name",label:"\u9500\u552E\u65B9\u516C\u53F8"},{span:12,field:"buyer_name",label:"\u8D2D\u4E70\u65B9\u516C\u53F8"},{span:12,field:"goodName",label:"\u8BA2\u5355\u5546\u54C1\u540D\u79F0"},{span:12,field:"inv_good_name",label:"\u53D1\u7968\u5546\u54C1\u540D\u79F0"},{span:6,label:"\u5546\u54C1\u7C7B\u578B",render(i,{good_type:a}){return e(d,{size:"small"},{default:()=>{var l;return((l=n.find(u=>u.value==a))==null?void 0:l.label)||"--"}})}},{span:6,field:"good_code",label:"\u5546\u54C1\u4EE3\u7801"},{span:6,field:"spec",label:"\u89C4\u683C"},{span:6,field:"unit",label:"\u5355\u4F4D"},{span:6,field:"unit_price",label:"\u7A0E\u524D\u5355\u4EF7"},{span:6,field:"subunit_price",label:"\u7A0E\u540E\u5355\u4EF7"},{span:6,field:"unit_weight",label:"\u91CD\u91CF"},{span:6,field:"spectral",label:"\u5206\u5149"},{field:"cat_name",label:"\u8FDB\u9879\u7C7B\u76EE",span:24}],C=[{span:12,field:"seller_name",label:"\u9500\u552E\u65B9\u516C\u53F8"},{span:12,field:"buyer_name",label:"\u8D2D\u4E70\u65B9\u516C\u53F8"},{span:12,field:"goodName",label:"\u8BA2\u5355\u5546\u54C1\u540D\u79F0"},{span:12,field:"inv_good_name",label:"\u53D1\u7968\u5546\u54C1\u540D\u79F0"},{span:6,label:"\u5546\u54C1\u7C7B\u578B",render(i,{good_type:a}){return e(d,{size:"small"},{default:()=>{var l;return((l=n.find(u=>u.value==a))==null?void 0:l.label)||"--"}})}},{span:6,field:"good_code",label:"\u5546\u54C1\u4EE3\u7801"},{span:6,field:"spec",label:"\u89C4\u683C"},{span:6,field:"unit",label:"\u5355\u4F4D"},{span:6,field:"unit_price",label:"\u7A0E\u524D\u5355\u4EF7"},{span:6,field:"subunit_price",label:"\u7A0E\u540E\u5355\u4EF7"},{span:6,field:"unit_weight",label:"\u91CD\u91CF"},{span:6,field:"spectral",label:"\u5206\u5149"},{field:"cat_name",label:"\u8FDB\u9879\u7C7B\u76EE",span:24},{label:"\u5B50\u5546\u54C1",span:24,render(i,{ProductsCombind:a=[]}){return e(t,{size:"small",data:a,border:!0},{default:()=>[e(s,{label:"\u6BD4\u4F8B",prop:"child_num",width:100,showOverflowTooltip:!0}),e(s,{label:"\u5546\u54C1\u7F16\u53F7",showOverflowTooltip:!0},{default:l=>{var u;return(u=l.row.products)==null?void 0:u.skuCode}}),e(s,{label:"\u5546\u54C1\u7C7B\u578B",showOverflowTooltip:!0},{default:l=>e(d,{size:"small"},{default:()=>{var u;return((u=n.find(p=>{var o;return p.value==((o=l.row.products)==null?void 0:o.good_type)}))==null?void 0:u.label)||"--"}})}),e(s,{label:"\u5546\u54C1\u540D\u79F0"},{default:l=>{var u;return(u=l.row.products)==null?void 0:u.goodName}})]})}}],E=[{value:"1",label:"\u771F\u5B9E\u6210\u672C\u4FE1\u606F"},{value:"2",label:"\u9884\u4F30\u6210\u672C\u4FE1\u606F"}];export{f as a,E as b,C as g};