invoice-table.303fb061.js 4.7 KB

1234567891011121314151617181920212223
  1. <<<<<<<< HEAD:dist/assets/invoice-table.d352e0ab.js
  2. import{_ as g,d as C,w as v,r as a,o as D,c as F,b as k,l as e,C as n,M as u,L as x,u as i,a as f,F as A}from"./index.c3013f80.js";import{I as E}from"./invoice-form.75ba67c3.js";import{g as N}from"./status.d6b2a53d.js";import"./_details.70698317.js";import"./global.9ad647c8.js";const T={flex:"","w-full":"","justify-end":"","mb-5":""},B=C({__name:"invoice-table",emits:["change"],setup(V,{emit:p}){const l=v([]),s=v(null);function b(t){l.value=[...l.value,...Array.isArray(t)?t:[t]],p("change",i(l))}function d({$index:t}){l.value.splice(t,1),p("change",i(l))}return(t,c)=>{const _=a("el-button"),o=a("el-table-column"),w=a("el-tag"),h=a("el-table");return D(),F(A,null,[k("div",T,[e(_,{type:"primary",link:"",onClick:c[0]||(c[0]=()=>s.value.onDisplay())},{default:n(()=>[u("\u6DFB\u52A0")]),_:1})]),e(h,{size:"small",data:l.value,border:""},{default:n(()=>[e(o,{type:"index",width:"50"}),e(o,{label:"\u53D1\u7968\u4E0A\u4F20\u65B9\u5F0F",prop:"invType","show-overflow-tooltip":""},{default:n(({row:r})=>[e(w,null,{default:n(()=>{var m;return[u(x((m=i(N).find(y=>y.value===r.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":""}),f(' <el-table-column label="\u53D1\u7968\u540D\u79F0" prop="invName" show-overflow-tooltip /> '),f(` <el-table-column label="\u53D1\u7968\u56FE\u7247" prop="inv_img" show-overflow-tooltip>\r
  3. <template #="{ row }">\r
  4. <el-image\r
  5. :src="row.inv_img"\r
  6. :preview-src-list="[row.inv_img]"\r
  7. style="height: 30px"\r
  8. preview-teleported\r
  9. />\r
  10. </template>\r
  11. </el-table-column> `),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:n(r=>[e(_,{link:"",type:"primary",onClick:()=>d(r)},{default:n(()=>[u("\u5220\u9664")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"]),e(E,{ref_key:"invoceFormRef",ref:s,onChange:b},null,512)],64)}}});var M=g(B,[["__file","C:/Users/a/Desktop/projects/accout-vue3-ui/src/views/purchase/ticketReturn/components/invoice-table.vue"]]);export{M as default};
  12. ========
  13. import{_ as g,d as D,w as v,r as a,o as F,c as C,b as k,l as e,C as n,M as r,L as x,u as i,a as f,F as A}from"./index.acba85f9.js";import{I as E}from"./invoice-form.97a2a0c1.js";import{g as N}from"./status.4c939969.js";import"./_details.70698317.js";import"./global.9ad647c8.js";const T={flex:"","w-full":"","justify-end":"","mb-5":""},B=D({__name:"invoice-table",emits:["change"],setup(V,{emit:p}){const l=v([]),s=v(null);function b(t){l.value=[...l.value,...Array.isArray(t)?t:[t]],p("change",i(l))}function d({$index:t}){l.value.splice(t,1),p("change",i(l))}return(t,c)=>{const _=a("el-button"),o=a("el-table-column"),w=a("el-tag"),h=a("el-table");return F(),C(A,null,[k("div",T,[e(_,{type:"primary",link:"",onClick:c[0]||(c[0]=()=>s.value.onDisplay())},{default:n(()=>[r("\u6DFB\u52A0")]),_:1})]),e(h,{size:"small",data:l.value,border:""},{default:n(()=>[e(o,{type:"index",width:"50"}),e(o,{label:"\u53D1\u7968\u4E0A\u4F20\u65B9\u5F0F",prop:"invType","show-overflow-tooltip":""},{default:n(({row:u})=>[e(w,null,{default:n(()=>{var m;return[r(x((m=i(N).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":""}),f(' <el-table-column label="\u53D1\u7968\u540D\u79F0" prop="invName" show-overflow-tooltip /> '),f(` <el-table-column label="\u53D1\u7968\u56FE\u7247" prop="inv_img" show-overflow-tooltip>
  14. <template #="{ row }">
  15. <el-image
  16. :src="row.inv_img"
  17. :preview-src-list="[row.inv_img]"
  18. style="height: 30px"
  19. preview-teleported
  20. />
  21. </template>
  22. </el-table-column> `),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:n(u=>[e(_,{link:"",type:"primary",onClick:()=>d(u)},{default:n(()=>[r("\u5220\u9664")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"]),e(E,{ref_key:"invoceFormRef",ref:s,onChange:b},null,512)],64)}}});var L=g(B,[["__file","/Users/apple/Desktop/OtherProjects/accout-vue3-ui/src/views/purchase/ticketReturn/components/invoice-table.vue"]]);export{L as default};
  23. >>>>>>>> sit:dist/assets/invoice-table.303fb061.js