order-table.ed91ab41.js 1.5 KB

1
  1. import{u as h}from"./use-response-handle.f995d678.js";import{h as _}from"./index.5188fe49.js";import{q as g,B as u,C as b,r as D,o as t,K as o,H as F,n as B,J as E,v as r,I as W,bl as y,aN as C}from"./index.7a111e62.js";const w=[{label:"\u5BF9\u8D26\u7F16\u53F7",prop:"payNo",minWidth:180,align:"left"},{label:"\u4F9B\u5E94\u5546\u7F16\u53F7",prop:"supplierNo",minWidth:180,align:"left"},{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplierName",minWidth:180,align:"left"},{label:"\u7533\u8BF7\u4EBA\u7F16\u53F7",prop:"apply_name",minWidth:180,align:"left"},{label:"\u603B\u989D\u6B3E",prop:"total_fee",minWidth:180,align:"total_fee"},{label:"\u5DF2\u4ED8\u6B3E\u91D1\u989D",prop:"apay_fee",minWidth:180,align:"left"},{label:"\u5F85\u4ED8\u6B3E\u91D1\u989D",prop:"pay_fee",minWidth:180,align:"left"},{label:"\u5DF2\u56DE\u7968\u91D1\u989D",prop:"ainv_fee",minWidth:180,align:"left"},{label:"\u672A\u56DE\u7968\u91D1\u989D",prop:"winv_fee",minWidth:180,align:"left"}],x=g({__name:"order-table",emits:["change-order-detail"],setup(k,{emit:i}){const s=u(null),l=u([]),p=h();async function d(){const{code:e,data:n,message:a}=await _({});p({code:e,message:a,handler:()=>l.value=n.list})}function f(e){e&&i("change-order-detail",e)}return b(()=>d()),(e,n)=>{const a=D("el-table-column");return t(),o(r(y),{border:"",ref_key:"tableRef",ref:s,"row-key":"id",data:l.value,"highlight-current-row":"",onCurrentChange:f},{default:F(()=>[(t(!0),B(W,null,E(r(w),(m,c)=>(t(),o(a,C({key:c},m,{"show-overflow-tooltip":""}),null,16))),128))]),_:1},8,["data"])}}});export{x as default};