12345 |
- <<<<<<<< HEAD:dist/assets/invoice-table.9b77a4ad.js
- import{_ as g,d as D,F as v,y as a,o as F,c as C,a as k,z as e,L as l,Z as r,U as x,u as i,M as A}from"./index.5c49ab07.js";import{i as E}from"./_opitons.689eae18.js";import{I as N}from"./invoice-form.688380db.js";import"./_details.deeabcdc.js";import"./status.153644b3.js";import"./global.9ad647c8.js";const B={flex:"","w-full":"","justify-end":"","mb-5":""},T=r("\u6DFB\u52A0"),I=r("\u5220\u9664"),R=D({__name:"invoice-table",emits:["change"],setup(V,{emit:s}){const t=v([]),p=v(null);function f(n){t.value=[...t.value,...Array.isArray(n)?n:[n]],s("change",i(t))}function d({$index:n}){t.value.splice(n,1),s("change",i(t))}return(n,c)=>{const _=a("el-button"),o=a("el-table-column"),b=a("el-tag"),h=a("el-image"),w=a("el-table");return F(),C(A,null,[k("div",B,[e(_,{type:"primary",link:"",onClick:c[0]||(c[0]=()=>p.value.onDisplay())},{default:l(()=>[T]),_:1})]),e(w,{size:"small",data:t.value,border:""},{default:l(()=>[e(o,{type:"index",width:"50"}),e(o,{label:"\u53D1\u7968\u4E0A\u4F20\u65B9\u5F0F",prop:"invType","show-overflow-tooltip":""},{default:l(({row:u})=>[e(b,null,{default:l(()=>{var m;return[r(x((m=i(E).find(y=>y.value===u.invType))==null?void 0:m.label),1)]}),_:2},1024)]),_:1}),e(o,{label:"\u53D1\u7968\u53F7\u7801",prop:"invNumber","show-overflow-tooltip":""}),e(o,{label:"\u53D1\u7968\u4EE3\u7801",prop:"invCode","show-overflow-tooltip":""}),e(o,{label:"\u6821\u9A8C\u7801",prop:"checkNumber","show-overflow-tooltip":""}),e(o,{label:"\u53D1\u7968\u540D\u79F0",prop:"invName","show-overflow-tooltip":""}),e(o,{label:"\u53D1\u7968\u56FE\u7247",prop:"inv_img","show-overflow-tooltip":""},{default:l(({row:u})=>[e(h,{src:u.inv_img,"preview-src-list":[u.inv_img],style:{height:"30px"},"preview-teleported":""},null,8,["src","preview-src-list"])]),_:1}),e(o,{label:"\u7A0E\u524D\u91D1\u989D",prop:"subtotal_amount"}),e(o,{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time","show-overflow-tooltip":""}),e(o,{label:"\u64CD\u4F5C",width:"60px"},{default:l(u=>[e(_,{link:"",type:"primary",onClick:()=>d(u)},{default:l(()=>[I]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"]),e(N,{ref_key:"invoceFormRef",ref:p,onChange:f},null,512)],64)}}});var U=g(R,[["__file","D:/work/accout-vue3-ui/src/views/purchase/ticketReturn/components/invoice-table.vue"]]);export{U as default};
- ========
- import{_ as g,d as D,F as v,y as a,o as F,c as C,a as k,z as e,L as l,Z as r,U as x,u as i,M as A}from"./index.b37f5fb0.js";import{i as E}from"./_opitons.689eae18.js";import{I as N}from"./invoice-form.c6c1244e.js";import"./_details.2b0f0c58.js";import"./status.153644b3.js";import"./global.9ad647c8.js";const B={flex:"","w-full":"","justify-end":"","mb-5":""},T=r("\u6DFB\u52A0"),I=r("\u5220\u9664"),R=D({__name:"invoice-table",emits:["change"],setup(V,{emit:s}){const t=v([]),p=v(null);function f(n){t.value=[...t.value,...Array.isArray(n)?n:[n]],s("change",i(t))}function d({$index:n}){t.value.splice(n,1),s("change",i(t))}return(n,c)=>{const _=a("el-button"),o=a("el-table-column"),b=a("el-tag"),h=a("el-image"),w=a("el-table");return F(),C(A,null,[k("div",B,[e(_,{type:"primary",link:"",onClick:c[0]||(c[0]=()=>p.value.onDisplay())},{default:l(()=>[T]),_:1})]),e(w,{size:"small",data:t.value,border:""},{default:l(()=>[e(o,{type:"index",width:"50"}),e(o,{label:"\u53D1\u7968\u4E0A\u4F20\u65B9\u5F0F",prop:"invType","show-overflow-tooltip":""},{default:l(({row:u})=>[e(b,null,{default:l(()=>{var m;return[r(x((m=i(E).find(y=>y.value===u.invType))==null?void 0:m.label),1)]}),_:2},1024)]),_:1}),e(o,{label:"\u53D1\u7968\u53F7\u7801",prop:"invNumber","show-overflow-tooltip":""}),e(o,{label:"\u53D1\u7968\u4EE3\u7801",prop:"invCode","show-overflow-tooltip":""}),e(o,{label:"\u6821\u9A8C\u7801",prop:"checkNumber","show-overflow-tooltip":""}),e(o,{label:"\u53D1\u7968\u540D\u79F0",prop:"invName","show-overflow-tooltip":""}),e(o,{label:"\u53D1\u7968\u56FE\u7247",prop:"inv_img","show-overflow-tooltip":""},{default:l(({row:u})=>[e(h,{src:u.inv_img,"preview-src-list":[u.inv_img],style:{height:"30px"},"preview-teleported":""},null,8,["src","preview-src-list"])]),_:1}),e(o,{label:"\u7A0E\u524D\u91D1\u989D",prop:"subtotal_amount"}),e(o,{label:"\u5F00\u7968\u65E5\u671F",prop:"open_time","show-overflow-tooltip":""}),e(o,{label:"\u64CD\u4F5C",width:"60px"},{default:l(u=>[e(_,{link:"",type:"primary",onClick:()=>d(u)},{default:l(()=>[I]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"]),e(N,{ref_key:"invoceFormRef",ref:p,onChange:f},null,512)],64)}}});var U=g(R,[["__file","D:/work/accout-vue3-ui/src/views/purchase/ticketReturn/components/invoice-table.vue"]]);export{U as default};
- >>>>>>>> sit:dist/assets/invoice-table.ec9d3b60.js
|