snow 4 mēneši atpakaļ
vecāks
revīzija
d1dcc39510
99 mainītis faili ar 162 papildinājumiem un 111 dzēšanām
  1. 4 3
      .env.development
  2. 7 9
      .env.v3_pro
  3. 1 1
      dist/assets/Bar.bfe4bc.js
  4. 0 0
      dist/assets/BaseForm.0d14fd.js
  5. 0 0
      dist/assets/BaseForm.3a1038.js
  6. 0 0
      dist/assets/BaseForm.ebf3a1.js
  7. 0 0
      dist/assets/ChildGoodEditModal.682aea.js
  8. 1 1
      dist/assets/ChildGoodEditModal.7967d3.js
  9. 0 0
      dist/assets/ChildGoodEditModal.b8748c.js
  10. 0 0
      dist/assets/ChildGoodEditModal.bd061d.js
  11. 0 0
      dist/assets/Infinite.5f6983.js
  12. 0 1
      dist/assets/InvoiceTitle.250697.js
  13. 1 0
      dist/assets/InvoiceTitle.77bebe.js
  14. 1 1
      dist/assets/InvoiceTitle.7eecae.js
  15. 1 1
      dist/assets/Line.14cf8e.js
  16. 1 1
      dist/assets/Pie.e7e8ff.js
  17. 1 1
      dist/assets/basic-descriptions.c177a719.js
  18. 1 1
      dist/assets/calc.c1cf840a.js
  19. 1 0
      dist/assets/columnRenderHelper.ad4581fc.js
  20. 0 1
      dist/assets/columnRenderHelper.bf2a71cc.js
  21. 1 1
      dist/assets/columns.40f83e.js
  22. 0 0
      dist/assets/columns.9015eb7f.js
  23. 0 0
      dist/assets/detail.0eccad.js
  24. 0 0
      dist/assets/detail.1240ac.js
  25. 0 0
      dist/assets/detail.344814.js
  26. 0 0
      dist/assets/detail.40f304.js
  27. 1 1
      dist/assets/detail.8b0ced.js
  28. 0 0
      dist/assets/detail.b3ed56.js
  29. 1 1
      dist/assets/detail.c73fd2.js
  30. 0 0
      dist/assets/execl-upload.9ed07b55.js
  31. 1 1
      dist/assets/frameView.8026b4.js
  32. 0 0
      dist/assets/index copy.86bc61.js
  33. 0 0
      dist/assets/index.0336f7.js
  34. 0 0
      dist/assets/index.08977e.js
  35. 1 1
      dist/assets/index.0d491c25.js
  36. 0 0
      dist/assets/index.0dbb49.js
  37. 1 1
      dist/assets/index.142fb588.js
  38. 0 0
      dist/assets/index.1ddafc.js
  39. 0 0
      dist/assets/index.303734.js
  40. 1 1
      dist/assets/index.321a7de2.js
  41. 1 0
      dist/assets/index.4420b55f.js
  42. 0 0
      dist/assets/index.4cf9ee.js
  43. 0 0
      dist/assets/index.4f356d.js
  44. 0 0
      dist/assets/index.52bb3f.js
  45. 0 0
      dist/assets/index.563420.js
  46. 0 0
      dist/assets/index.592bd7.js
  47. 0 0
      dist/assets/index.5a0076.js
  48. 0 0
      dist/assets/index.5c8b50.js
  49. 0 0
      dist/assets/index.64a52c.js
  50. 0 0
      dist/assets/index.656b8f.js
  51. 0 0
      dist/assets/index.674a5d.js
  52. 1 1
      dist/assets/index.67c3d0.js
  53. 0 0
      dist/assets/index.6e73f4.js
  54. 0 0
      dist/assets/index.72dcc7.js
  55. 0 1
      dist/assets/index.76bf977d.js
  56. 0 0
      dist/assets/index.76ffe1.js
  57. 0 0
      dist/assets/index.9319d0.js
  58. 0 0
      dist/assets/index.99c1ef.js
  59. 0 0
      dist/assets/index.9e3478d3.css
  60. 0 0
      dist/assets/index.9fb119.js
  61. 0 0
      dist/assets/index.9fb413.js
  62. 0 0
      dist/assets/index.a1c7d817.css
  63. 0 0
      dist/assets/index.a6d6c8.js
  64. 1 1
      dist/assets/index.b1d996af.js
  65. 0 0
      dist/assets/index.bb0cc8.js
  66. 0 0
      dist/assets/index.bb93f8.js
  67. 0 0
      dist/assets/index.bdcf42.js
  68. 1 1
      dist/assets/index.bf71d936.js
  69. 0 0
      dist/assets/index.c0634d.js
  70. 0 0
      dist/assets/index.c2487c.js
  71. 0 0
      dist/assets/index.dd1ef1.js
  72. 0 0
      dist/assets/index.ddc18a.js
  73. 1 1
      dist/assets/index.f7c4f4d4.js
  74. 1 1
      dist/assets/index.js
  75. 1 1
      dist/assets/motion.b0c13321.js
  76. 0 0
      dist/assets/phone.9e1123.js
  77. 1 1
      dist/assets/qrCode.be32d8.js
  78. 0 0
      dist/assets/query-category.7a496a.js
  79. 0 0
      dist/assets/regist.bfca82.js
  80. 1 0
      dist/assets/rule.04677db8.js
  81. 0 1
      dist/assets/rule.eba545e4.js
  82. 1 1
      dist/assets/tootip.fcedb847.js
  83. 0 0
      dist/assets/update.2f876b.js
  84. 1 1
      dist/assets/use-page-search.6e957a2f.js
  85. 1 0
      dist/assets/useDetail.6221ae7f.js
  86. 0 1
      dist/assets/useDetail.f7d83a00.js
  87. 0 0
      dist/assets/verifyCode.11a2f7be.js
  88. 5 1
      src/api/user.ts
  89. 19 25
      src/components/PageContent/src/hooks/use-request.ts
  90. 13 3
      src/hooks/core/useCompany.ts
  91. 2 6
      src/layout/components/company/index.vue
  92. 3 3
      src/layout/components/navbar.vue
  93. 1 0
      src/store/modules/types.ts
  94. 51 17
      src/store/modules/user.ts
  95. 6 2
      src/views/invoiceInOut/inOutManager/detail.vue
  96. 14 5
      src/views/invoiceInOut/productManager/components/BaseForm.vue
  97. 2 2
      src/views/invoiceInOut/productManager/components/shared.ts
  98. 6 4
      src/views/invoiceInOut/productManager/config/content.config.ts
  99. 1 3
      src/views/invoiceInOut/productManager/detail.vue

+ 4 - 3
.env.development

@@ -18,11 +18,12 @@ REDIRECT_BASE_URL = "http://cxinv.api.caixiao365.com"
 # 开发环境后端用户地址
 VITE_PROXY_USER_REAL1 = "http://user.test241.wanyuhengtong.com"
 # 开发环境后端用户地址
-VITE_PROXY_USER_REAL = "http://stockinv.test241.wanyuhengtong.com"
+VITE_PROXY_USER_REAL = "http://cxinv.api.caixiao365.com"
 # 开发环境后端业务地址
-VITE_PROXY_DOMAIN_REAL = "http://stockinv.test241.wanyuhengtong.com"
+VITE_PROXY_DOMAIN_REAL = "http://cxinv.api.caixiao365.com"
+
+VITE_WORKORDER_REAL = "http://work.api.caixiao365.com/"
 
-VITE_WORKORDER_REAL = "http://project.test241.wanyuhengtong.com/"
 VITE_IS_PROD = true
 # 跳转结算地址
 VITE_PURCHASE_URL = 'http://webstock3.test241.wanyuhengtong.com/'

+ 7 - 9
.env.v3_pro

@@ -16,22 +16,20 @@ VITE_APP_ID = "ww6076e6fd4268ee31"
 # 微信开发环境基础重定向url
 REDIRECT_BASE_URL = "http://cxinv.api.caixiao365.com"
 # 开发环境后端用户地址
-VITE_PROXY_USER_REAL1 = "http://user.api.caixiao365.com"
+VITE_PROXY_USER_REAL1 = "http://user.test241.wanyuhengtong.com"
 # 开发环境后端用户地址
 VITE_PROXY_USER_REAL = "http://cxinv.api.caixiao365.com"
 # 开发环境后端业务地址
 VITE_PROXY_DOMAIN_REAL = "http://cxinv.api.caixiao365.com"
 
-VITE_IS_PROD = true
-
-# 跳转采销地址
-VITE_PURCHASE_URL = 'http://pin.caixiao365.com/'
-# 跳转工单地址
-VITE_GD_URL = 'http://bug.caixiao365.com/'
+VITE_WORKORDER_REAL = "http://work.api.caixiao365.com/"
 
+VITE_IS_PROD = true
+# 跳转结算地址
+VITE_PURCHASE_URL = 'http://webstock3.test241.wanyuhengtong.com/'
 # 报表地址
 VITE_DASHBOARD_URL = 'http://web.report.caixiao365.com/'
-
 # token密钥
 VITE_SECRET_KEY = 'key123'
-
+# 跳转工单地址
+VITE_GD_URL = 'http//bugweb.test241.wanyuhengtong.com/'

+ 1 - 1
dist/assets/Bar.bfe4bc.js

@@ -1 +1 @@
-import{_ as s,d as r,w as i,as as o,o as c,c as n}from"./index.js";const l=r({__name:"Bar",setup(p){const e=i(null),{setOptions:t}=o(e);return t({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{bottom:"20%",height:"68%",containLabel:!0},xAxis:[{type:"category",axisTick:{alignWithLabel:!0},axisLabel:{interval:0},data:["open_issues","forks","watchers","star"]}],yAxis:[{type:"value"}],series:[{name:"GitHub\u4FE1\u606F",type:"bar",data:[3,204,1079,1079]}]},{name:"click",callback:a=>{}}),(a,_)=>(c(),n("div",{ref_key:"barChartRef",ref:e,style:{width:"100%",height:"35vh"}},null,512))}});var m=s(l,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/welcome/components/Bar.vue"]]);export{m as default};
+import{_ as s,d as r,w as i,aB as o,o as c,c as n}from"./index.js";const l=r({__name:"Bar",setup(p){const e=i(null),{setOptions:t}=o(e);return t({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{bottom:"20%",height:"68%",containLabel:!0},xAxis:[{type:"category",axisTick:{alignWithLabel:!0},axisLabel:{interval:0},data:["open_issues","forks","watchers","star"]}],yAxis:[{type:"value"}],series:[{name:"GitHub\u4FE1\u606F",type:"bar",data:[3,204,1079,1079]}]},{name:"click",callback:a=>{}}),(a,_)=>(c(),n("div",{ref_key:"barChartRef",ref:e,style:{width:"100%",height:"35vh"}},null,512))}});var m=s(l,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/welcome/components/Bar.vue"]]);export{m as default};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/BaseForm.0d14fd.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/BaseForm.3a1038.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/BaseForm.ebf3a1.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/ChildGoodEditModal.682aea.js


+ 1 - 1
dist/assets/ChildGoodEditModal.7967d3.js

@@ -1 +1 @@
-import{_ as B,d as C,aR as _,w as x,z as V,r as y,o as i,G as d,C as n,l as a,a as b,h as s,j as r,aG as h,M as w,a6 as D,aS as k}from"./index.js";import{a as E}from"./columns.b716f73c.js";import{B as M}from"./basic-descriptions.9b246c96.js";import"./status.d3ab78fb.js";const F={class:"flex justify-between mt-[10px]"},G={class:"flex items-center"},N=C({__name:"ChildGoodEditModal",props:{visible:{type:Boolean,required:!0},index:{type:null,required:!0},data:{type:null,required:!0}},emits:["submit"],setup(m,{emit:p}){const t=m,c=p,o=_(t,"visible"),l=x(0);V(()=>o.value,()=>{!o.value||(l.value=t.data.child_num)});function f(){c("submit",t.index,{...t.data,child_num:l.value}),o.value=!1}return(g,e)=>{const v=y("ElButton");return i(),d(a(k),{modelValue:a(o),"onUpdate:modelValue":e[1]||(e[1]=u=>D(o)?o.value=u:null),title:"\u7F16\u8F91\u5B50\u5546\u54C1",center:""},{default:n(()=>[t.data?(i(),d(a(M),{key:0,style:{overflow:"hidden"},data:t.data,columns:a(E)},null,8,["data","columns"])):b("v-if",!0),s("div",F,[s("div",G,[e[2]||(e[2]=s("p",{style:{width:"110px"}},"\u5B50\u5546\u54C1\u6BD4\u4F8B:",-1)),r(a(h),{modelValue:l.value,"onUpdate:modelValue":e[0]||(e[0]=u=>l.value=u),placeholder:"\u5B50\u5546\u54C1\u6BD4\u4F8B"},null,8,["modelValue"])]),r(v,{type:"primary",onClick:f},{default:n(()=>e[3]||(e[3]=[w("\u4FDD\u5B58")])),_:1})])]),_:1},8,["modelValue"])}}});var R=B(N,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/productManager/components/ChildGoodEditModal.vue"]]);export{R as default};
+import{_ as B,d as _,aZ as C,w as x,z as V,r as y,o as i,G as d,C as n,l as a,a as h,h as s,j as r,aO as b,M as w,ah as D,a_ as k}from"./index.js";import{a as E}from"./columns.9015eb7f.js";import{B as M}from"./basic-descriptions.c177a719.js";import"./status.d3ab78fb.js";const F={class:"flex justify-between mt-[10px]"},N={class:"flex items-center"},G=_({__name:"ChildGoodEditModal",props:{visible:{type:Boolean,required:!0},index:{type:null,required:!0},data:{type:null,required:!0}},emits:["submit"],setup(m,{emit:p}){const t=m,c=p,o=C(t,"visible"),l=x(0);V(()=>o.value,()=>{!o.value||(l.value=t.data.child_num)});function f(){c("submit",t.index,{...t.data,child_num:l.value}),o.value=!1}return(g,e)=>{const v=y("ElButton");return i(),d(a(k),{modelValue:a(o),"onUpdate:modelValue":e[1]||(e[1]=u=>D(o)?o.value=u:null),title:"\u7F16\u8F91\u5B50\u5546\u54C1",center:""},{default:n(()=>[t.data?(i(),d(a(M),{key:0,style:{overflow:"hidden"},data:t.data,columns:a(E)},null,8,["data","columns"])):h("v-if",!0),s("div",F,[s("div",N,[e[2]||(e[2]=s("p",{style:{width:"110px"}},"\u5B50\u5546\u54C1\u6BD4\u4F8B:",-1)),r(a(b),{modelValue:l.value,"onUpdate:modelValue":e[0]||(e[0]=u=>l.value=u),placeholder:"\u5B50\u5546\u54C1\u6BD4\u4F8B"},null,8,["modelValue"])]),r(v,{type:"primary",onClick:f},{default:n(()=>e[3]||(e[3]=[w("\u4FDD\u5B58")])),_:1})])]),_:1},8,["modelValue"])}}});var O=B(G,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/productManager/components/ChildGoodEditModal.vue"]]);export{O as default};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/ChildGoodEditModal.b8748c.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/ChildGoodEditModal.bd061d.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/Infinite.5f6983.js


+ 0 - 1
dist/assets/InvoiceTitle.250697.js

@@ -1 +0,0 @@
-import{_ as s,d as _,o as l,G as d,l as r,a as u}from"./index.js";import{B as v}from"./basic-descriptions.9b246c96.js";const y=o=>{const{company_address:e,mobile:i,registercode:n,bank_name:c,bankNo:t,name:a}=o;return{invoice_addr:e,invoice_mobile:i,invoice_code:n,invoice_bank:c,invoice_bankNo:t,invoice_title:a}},g=o=>{const{invoice_addr:e,invoice_mobile:i,invoice_code:n,invoice_bank:c,invoice_bankNo:t,invoice_title:a}=o;return{invoice_code:n,invoice_title:a,addrAndmobile:e+" "+i,bankAndBankNo:c+" "+t}},B=o=>{const{invoice_addr:e,invoice_mobile:i,company_license:n,invoice_bank:c,invoice_bankNo:t,invoice_title:a}=o;return{invoice_code:n,invoice_title:a,addrAndmobile:e+" "+i,bankAndBankNo:c+" "+t}},b=[{label:"\u62AC\u5934",span:24,field:"invoice_title"},{label:"\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",span:24,field:"invoice_code"}],I=()=>({buyer_code:"",buyer_name:"",seller_code:"",seller_name:"",good_source:"",good_code:"",good_type:"",is_combind:"",inv_good_name:"",subunit_price:"",basic_status:"",unit_price:"",goodName:"",skuCode:"",cat_code:"",inv_type:"",cat_tax:"",spec:"",unit:"",unit_weight:"",spectral:"",childArr:[]}),m=_({__name:"InvoiceTitle",props:{detail:{type:Object,required:!0}},setup(o){return(e,i)=>Object.keys(e.detail).length!==0?(l(),d(r(v),{key:0,"px-8":"","pb-5":"",data:e.detail,columns:r(b),"col-number":1,"label-width":"130"},null,8,["data","columns"])):u("v-if",!0)}});var p=s(m,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/productManager/components/InvoiceTitle.vue"]]),A=Object.freeze(Object.defineProperty({__proto__:null,default:p},Symbol.toStringTag,{value:"Module"}));export{p as I,g as a,B as b,I as c,y as d,A as e};

+ 1 - 0
dist/assets/InvoiceTitle.77bebe.js

@@ -0,0 +1 @@
+import{_ as s,d as _,o as l,G as d,l as r,a as u}from"./index.js";import{B as v}from"./basic-descriptions.c177a719.js";const y=o=>{const{company_address:e,mobile:i,registercode:n,bank_name:c,bankNo:t,name:a}=o;return{invoice_addr:e,invoice_mobile:i,invoice_code:n,invoice_bank:c,invoice_bankNo:t,invoice_title:a}},g=o=>{const{invoice_addr:e,invoice_mobile:i,invoice_code:n,invoice_bank:c,invoice_bankNo:t,invoice_title:a}=o;return{invoice_code:n,invoice_title:a,addrAndmobile:e+" "+i,bankAndBankNo:c+" "+t}},B=o=>{const{invoice_addr:e,invoice_mobile:i,company_license:n,invoice_bank:c,invoice_bankNo:t,invoice_title:a}=o;return{invoice_code:n,invoice_title:a,addrAndmobile:e+" "+i,bankAndBankNo:c+" "+t}},b=[{label:"\u62AC\u5934",span:24,field:"invoice_title"},{label:"\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",span:24,field:"invoice_code"}],I=()=>({buyer_code:"",buyer_name:"",seller_code:"",seller_name:"",good_source:"1",good_code:"",good_type:"",is_combind:"0",inv_good_name:"",subunit_price:"",basic_status:"",unit_price:"",goodName:"",skuCode:"",cat_code:"",inv_type:"",cat_tax:"",spec:"",unit:"",unit_weight:"",spectral:"",childArr:[]}),m=_({__name:"InvoiceTitle",props:{detail:{type:Object,required:!0}},setup(o){return(e,i)=>Object.keys(e.detail).length!==0?(l(),d(r(v),{key:0,"px-8":"","pb-5":"",data:e.detail,columns:r(b),"col-number":1,"label-width":"130"},null,8,["data","columns"])):u("v-if",!0)}});var p=s(m,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/productManager/components/InvoiceTitle.vue"]]),A=Object.freeze(Object.defineProperty({__proto__:null,default:p},Symbol.toStringTag,{value:"Module"}));export{p as I,g as a,B as b,I as c,y as d,A as e};

+ 1 - 1
dist/assets/InvoiceTitle.7eecae.js

@@ -1 +1 @@
-import{_ as o,d as s,o as i,G as n,l as t,a as r}from"./index.js";import{i as a}from"./shared.80186348.js";import{B as c}from"./basic-descriptions.9b246c96.js";const l=s({__name:"InvoiceTitle",props:{detail:{type:Object,required:!0}},setup(p){return(e,m)=>Object.keys(e.detail).length!==0?(i(),n(t(c),{key:0,"px-8":"","pb-5":"",data:e.detail,columns:t(a),"col-number":1,"label-width":"130"},null,8,["data","columns"])):r("v-if",!0)}});var f=o(l,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/inventoryCheck/components/InvoiceTitle.vue"]]);export{f as default};
+import{_ as o,d as s,o as i,G as n,l as t,a as r}from"./index.js";import{i as a}from"./shared.80186348.js";import{B as c}from"./basic-descriptions.c177a719.js";const l=s({__name:"InvoiceTitle",props:{detail:{type:Object,required:!0}},setup(p){return(e,m)=>Object.keys(e.detail).length!==0?(i(),n(t(c),{key:0,"px-8":"","pb-5":"",data:e.detail,columns:t(a),"col-number":1,"label-width":"130"},null,8,["data","columns"])):r("v-if",!0)}});var f=o(l,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/inventoryCheck/components/InvoiceTitle.vue"]]);export{f as default};

+ 1 - 1
dist/assets/Line.14cf8e.js

@@ -1 +1 @@
-import{_ as a,d as r,w as i,as as n,o,c}from"./index.js";const l=r({__name:"Line",setup(p){const e=i(null),{setOptions:t}=n(e);return t({grid:{bottom:"20%",height:"68%",containLabel:!0},tooltip:{trigger:"item"},xAxis:{type:"category",axisLabel:{interval:0},data:["open_issues","forks","watchers","star"]},yAxis:{type:"value"},series:[{data:[3,204,1079,1079],type:"line",areaStyle:{}}]},{name:"click",callback:s=>{}}),(s,_)=>(o(),c("div",{ref_key:"lineChartRef",ref:e,style:{width:"100%",height:"35vh"}},null,512))}});var f=a(l,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/welcome/components/Line.vue"]]);export{f as default};
+import{_ as a,d as r,w as i,aB as n,o,c}from"./index.js";const l=r({__name:"Line",setup(p){const e=i(null),{setOptions:t}=n(e);return t({grid:{bottom:"20%",height:"68%",containLabel:!0},tooltip:{trigger:"item"},xAxis:{type:"category",axisLabel:{interval:0},data:["open_issues","forks","watchers","star"]},yAxis:{type:"value"},series:[{data:[3,204,1079,1079],type:"line",areaStyle:{}}]},{name:"click",callback:s=>{}}),(s,_)=>(o(),c("div",{ref_key:"lineChartRef",ref:e,style:{width:"100%",height:"35vh"}},null,512))}});var f=a(l,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/welcome/components/Line.vue"]]);export{f as default};

+ 1 - 1
dist/assets/Pie.e7e8ff.js

@@ -1 +1 @@
-import{_ as t,d as r,w as i,as as o,o as n,c}from"./index.js";const l=r({__name:"Pie",setup(p){const e=i(null),{setOptions:s}=o(e);return s({tooltip:{trigger:"item"},legend:{orient:"vertical",right:!0},series:[{name:"Github\u4FE1\u606F",type:"pie",radius:"60%",center:["40%","50%"],data:[{value:1079,name:"watchers"},{value:1079,name:"star"},{value:204,name:"forks"},{value:3,name:"open_issues"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},{name:"click",callback:a=>{}},{type:"zrender",name:"click",callback:a=>{}}),(a,m)=>(n(),c("div",{ref_key:"pieChartRef",ref:e,style:{width:"100%",height:"35vh"}},null,512))}});var _=t(l,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/welcome/components/Pie.vue"]]);export{_ as default};
+import{_ as s,d as r,w as i,aB as o,o as n,c}from"./index.js";const l=r({__name:"Pie",setup(p){const e=i(null),{setOptions:t}=o(e);return t({tooltip:{trigger:"item"},legend:{orient:"vertical",right:!0},series:[{name:"Github\u4FE1\u606F",type:"pie",radius:"60%",center:["40%","50%"],data:[{value:1079,name:"watchers"},{value:1079,name:"star"},{value:204,name:"forks"},{value:3,name:"open_issues"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},{name:"click",callback:a=>{}},{type:"zrender",name:"click",callback:a=>{}}),(a,m)=>(n(),c("div",{ref_key:"pieChartRef",ref:e,style:{width:"100%",height:"35vh"}},null,512))}});var _=s(l,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/welcome/components/Pie.vue"]]);export{_ as default};

+ 1 - 1
dist/assets/basic-descriptions.9b246c96.js → dist/assets/basic-descriptions.c177a719.js

@@ -1 +1 @@
-import{d as p,j as t,aL as c,M as n,aM as m,r as b,J as f}from"./index.js";const y={title:{type:String},colNumber:{type:Number,default:24},columns:{type:Array},data:{type:Object},labelWidth:{type:String},show:{type:Boolean,default:!0}};const g=p({name:"BasicDescriptions",props:y,setup(l,{slots:s}){return()=>{const{title:r,colNumber:i,columns:o,data:a,labelWidth:d,show:u}=l;return u?t(m,{title:r,border:!0,column:i,size:"small"},{default:()=>[o.map(e=>t(c,{label:e.label,key:e.field,span:e.span?e.span:6,style:{marginBottom:"-1px"}},{default:()=>[t("div",{class:"col-item"},[t("p",{class:"col-label",style:{width:d+"px"}},[e.label]),t("p",{class:"col-value"},[e.render?e.render(a[e.field],a):a[e.field],n(" "),e.append||""])])]})),s.custom&&s.custom(l.data)]}):t("div",{style:{display:"flex",width:"100%",justifyContent:"center",flexDirection:"column",alignItems:"center"}},[t(b("el-button"),{text:!0,size:"large",icon:f("warning-filled"),disabled:!0},null),t("span",null,[n("\u6682\u65E0\u6570\u636E")])])}}});export{g as B};
+import{d as p,j as t,aT as c,M as n,aU as m,r as b,J as f}from"./index.js";const y={title:{type:String},colNumber:{type:Number,default:24},columns:{type:Array},data:{type:Object},labelWidth:{type:String},show:{type:Boolean,default:!0}};const g=p({name:"BasicDescriptions",props:y,setup(l,{slots:s}){return()=>{const{title:r,colNumber:i,columns:o,data:a,labelWidth:d,show:u}=l;return u?t(m,{title:r,border:!0,column:i,size:"small"},{default:()=>[o.map(e=>t(c,{label:e.label,key:e.field,span:e.span?e.span:6,style:{marginBottom:"-1px"}},{default:()=>[t("div",{class:"col-item"},[t("p",{class:"col-label",style:{width:d+"px"}},[e.label]),t("p",{class:"col-value"},[e.render?e.render(a[e.field],a):a[e.field],n(" "),e.append||""])])]})),s.custom&&s.custom(l.data)]}):t("div",{style:{display:"flex",width:"100%",justifyContent:"center",flexDirection:"column",alignItems:"center"}},[t(b("el-button"),{text:!0,size:"large",icon:f("warning-filled"),disabled:!0},null),t("span",null,[n("\u6682\u65E0\u6570\u636E")])])}}});export{g as B};

+ 1 - 1
dist/assets/calc.352fda8a.js → dist/assets/calc.c1cf840a.js

@@ -1 +1 @@
-import{ax as s}from"./index.js";const a="http://rep.report.caixiao365.com/admin/Everyday/",y=(t={})=>s.request("post",`${a}departEveryDay`,{data:t}),l=(t={})=>s.request("post",`${a}departEveryMonth`,{data:t}),d=(t={})=>s.request("post",`${a}companyEveryMonth`,{data:t}),f=(t={})=>s.request("post",`${a}companyEvery`,{data:t});function p(t,i){let r,e,n;try{r=t.toString().split(".")[1].length}catch{r=0}try{e=i.toString().split(".")[1].length}catch{e=0}return n=Math.pow(10,Math.max(r,e)),(t*n+i*n)/n}function h(t,i){let r=0,e=0,n,o;try{r=t.toString().split(".")[1].length}catch{}try{e=i.toString().split(".")[1].length}catch{}return n=Number(t.toString().replace(".","")),o=Number(i.toString().replace(".","")),u(n/o,Math.pow(10,e-r))}function u(t,i){let r=0,e=t.toString(),n=i.toString();try{r+=e.split(".")[1].length}catch{}try{r+=n.split(".")[1].length}catch{}return Number(e.replace(".",""))*Number(n.replace(".",""))/Math.pow(10,r)}function g(t,i){let r,e,n,o;try{r=t.toString().split(".")[1].length}catch{r=0}try{e=i.toString().split(".")[1].length}catch{e=0}return n=Math.pow(10,Math.max(r,e)),o=r>=e?r:e,((t*n-i*n)/n).toFixed(o)}function b(t){return t==="NaN"||Number(t)===0?"0":t<1e3&&t>0||t<0&&t>-1e3?t:h(t,1e4).toFixed(2)+"W"}function M(t){const i=Object.keys(t[0]);return t.reduce((r,e)=>i.reduce((n,o)=>({...n,[o]:p(r[o]||0,e[o])}),{}),{})}function S(t){return t?Number(t).toFixed(2):0}export{p as a,f as b,M as c,h as d,y as e,l as f,S as g,d as h,u as m,g as s,b as u};
+import{aF as s}from"./index.js";const a="http://rep.report.caixiao365.com/admin/Everyday/",y=(t={})=>s.request("post",`${a}departEveryDay`,{data:t}),l=(t={})=>s.request("post",`${a}departEveryMonth`,{data:t}),d=(t={})=>s.request("post",`${a}companyEveryMonth`,{data:t}),f=(t={})=>s.request("post",`${a}companyEvery`,{data:t});function p(t,i){let r,e,n;try{r=t.toString().split(".")[1].length}catch{r=0}try{e=i.toString().split(".")[1].length}catch{e=0}return n=Math.pow(10,Math.max(r,e)),(t*n+i*n)/n}function h(t,i){let r=0,e=0,n,o;try{r=t.toString().split(".")[1].length}catch{}try{e=i.toString().split(".")[1].length}catch{}return n=Number(t.toString().replace(".","")),o=Number(i.toString().replace(".","")),u(n/o,Math.pow(10,e-r))}function u(t,i){let r=0,e=t.toString(),n=i.toString();try{r+=e.split(".")[1].length}catch{}try{r+=n.split(".")[1].length}catch{}return Number(e.replace(".",""))*Number(n.replace(".",""))/Math.pow(10,r)}function g(t,i){let r,e,n,o;try{r=t.toString().split(".")[1].length}catch{r=0}try{e=i.toString().split(".")[1].length}catch{e=0}return n=Math.pow(10,Math.max(r,e)),o=r>=e?r:e,((t*n-i*n)/n).toFixed(o)}function b(t){return t==="NaN"||Number(t)===0?"0":t<1e3&&t>0||t<0&&t>-1e3?t:h(t,1e4).toFixed(2)+"W"}function M(t){const i=Object.keys(t[0]);return t.reduce((r,e)=>i.reduce((n,o)=>({...n,[o]:p(r[o]||0,e[o])}),{}),{})}function S(t){return t?Number(t).toFixed(2):0}export{p as a,f as b,M as c,h as d,y as e,l as f,S as g,d as h,u as m,g as s,b as u};

+ 1 - 0
dist/assets/columnRenderHelper.ad4581fc.js

@@ -0,0 +1 @@
+import{ac as n,aR as a,J as u,b0 as c}from"./index.js";function o(r,l,i="",t=""){return{cellRenderer({row:e}){return t&&!e[t]?null:[n(c,{content:i+e[r],placement:"left",width:300},{reference:()=>n(a,{link:!0,size:"large",icon:u("information-line")})}),n("text",null,e[l]||"--")]}}}function s(r,l,i="",t=""){return{cellRenderer({row:e}){return t&&!e[t]?null:[n(c,{content:i+r(e),placement:"left",width:300},{reference:()=>n(a,{link:!0,size:"large",icon:u("information-line")})}),n("text",null,l(e)||"--")]}}}export{s as a,o as r};

+ 0 - 1
dist/assets/columnRenderHelper.bf2a71cc.js

@@ -1 +0,0 @@
-import{a1 as n,aJ as i,J as u,aU as c}from"./index.js";function o(r,l,a="",t=""){return{cellRenderer({row:e}){return t&&!e[t]?null:[n(c,{content:a+e[r],placement:"left",width:300},{reference:()=>n(i,{link:!0,size:"large",icon:u("information-line")})}),n("text",null,e[l]||"--")]}}}function s(r,l,a="",t=""){return{cellRenderer({row:e}){return t&&!e[t]?null:[n(c,{content:a+r(e),placement:"left",width:300},{reference:()=>n(i,{link:!0,size:"large",icon:u("information-line")})}),n("text",null,l(e)||"--")]}}}export{s as a,o as r};

+ 1 - 1
dist/assets/columns.40f83e.js

@@ -1 +1 @@
-import{j as e,r as l,aw as n,M as u}from"./index.js";function r(){const c=[{type:"",label:"\u5584\u826F"},{type:"success",label:"\u597D\u5B66"},{type:"info",label:"\u5E7D\u9ED8"},{type:"danger",label:"\u65C5\u6E38"},{type:"warning",label:"\u8FFD\u5267"}];return{columnsA:[{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(n,{icon:"user"},null)]}),u("\u7528\u6237\u540D")]),value:"xiaoxian"},{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(n,{icon:"iphone"},null)]}),u("\u624B\u673A\u53F7")]),value:"123456789"},{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(n,{icon:"location"},null)]}),u("\u5C45\u4F4F\u5730")]),value:"\u4E0A\u6D77"}],columnsB:[{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(n,{icon:"tickets"},null)]}),u("\u6807\u7B7E")]),cellRenderer:()=>c.map(a=>e(l("el-tag"),{class:"mr-10px",type:a.type,size:"small",effect:"dark"},{default:()=>[a.label]}))},{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(n,{icon:"office-building"},null)]}),u("\u8054\u7CFB\u5730\u5740")]),value:"\u4E0A\u6D77\u5E02\u5F90\u6C47\u533A"}],columnsC:[{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(n,{icon:"notebook"},null)]}),u("\u597D\u597D\u5B66\u4E60\uFF0C\u5929\u5929\u5411\u4E0A")]),value:"\u4E0A\u6D77\u5E02\u5F90\u6C47\u533A"}]}}export{r as useColumns};
+import{j as e,r as l,aE as n,M as u}from"./index.js";function r(){const c=[{type:"",label:"\u5584\u826F"},{type:"success",label:"\u597D\u5B66"},{type:"info",label:"\u5E7D\u9ED8"},{type:"danger",label:"\u65C5\u6E38"},{type:"warning",label:"\u8FFD\u5267"}];return{columnsA:[{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(n,{icon:"user"},null)]}),u("\u7528\u6237\u540D")]),value:"xiaoxian"},{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(n,{icon:"iphone"},null)]}),u("\u624B\u673A\u53F7")]),value:"123456789"},{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(n,{icon:"location"},null)]}),u("\u5C45\u4F4F\u5730")]),value:"\u4E0A\u6D77"}],columnsB:[{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(n,{icon:"tickets"},null)]}),u("\u6807\u7B7E")]),cellRenderer:()=>c.map(a=>e(l("el-tag"),{class:"mr-10px",type:a.type,size:"small",effect:"dark"},{default:()=>[a.label]}))},{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(n,{icon:"office-building"},null)]}),u("\u8054\u7CFB\u5730\u5740")]),value:"\u4E0A\u6D77\u5E02\u5F90\u6C47\u533A"}],columnsC:[{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(n,{icon:"notebook"},null)]}),u("\u597D\u597D\u5B66\u4E60\uFF0C\u5929\u5929\u5411\u4E0A")]),value:"\u4E0A\u6D77\u5E02\u5F90\u6C47\u533A"}]}}export{r as useColumns};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/columns.9015eb7f.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/detail.0eccad.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/detail.1240ac.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/detail.344814.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/detail.40f304.js


+ 1 - 1
dist/assets/detail.8b0ced.js

@@ -1 +1 @@
-import{_ as E,d as b,aP as B,r as t,aj as D,H as g,l as e,o as i,c as T,j as o,C as s,a6 as h,G as d,a as p}from"./index.js";import{B as V,g as x,a as y}from"./BaseForm.0d14fd.js";import{B as j}from"./basic-descriptions.9b246c96.js";import{u as w}from"./useDetail.f7d83a00.js";import{a as I}from"./index.35fa5ede.js";import"./shared.80186348.js";import"./index.bb93f8.js";import"./use-page-search.e3b7296c.js";import"./status.d3ab78fb.js";import"./index.0fe17d0c.js";const N={class:"padding__container"},P=b({__name:"detail",setup(H){const a=B(),{id:n,title:r,isDetail:m,collapses:l}=w({baseName:"\u76D8\u70B9",collapseLen:2});return n.value&&a.run(I({id:n.value})),(U,c)=>{const u=t("ElCollapseItem"),_=t("ElCollapse"),f=t("ElTabPane"),v=t("ElTabs"),C=D("loading");return g((i(),T("div",N,[o(v,null,{default:s(()=>[o(f,{label:e(r)},{default:s(()=>[o(_,{modelValue:e(l),"onUpdate:modelValue":c[0]||(c[0]=k=>h(l)?l.value=k:null)},{default:s(()=>[o(u,{title:e(r),name:"1"},{default:s(()=>[e(m)?p("v-if",!0):(i(),d(V,{key:0})),e(m)&&e(a).data?(i(),d(e(j),{key:1,columns:e(a).data.is_combind=="1"?e(x):e(y),data:e(a).data},null,8,["columns","data"])):p("v-if",!0)]),_:1},8,["title"])]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])),[[C,e(a).loading]])}}});var M=E(P,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/inventoryCheck/detail.vue"]]);export{M as default};
+import{_ as E,d as b,aX as B,r as t,at as D,H as g,l as e,o as i,c as h,j as o,C as s,ah as T,G as d,a as p}from"./index.js";import{B as V,g as x,a as y}from"./BaseForm.0d14fd.js";import{B as w}from"./basic-descriptions.c177a719.js";import{u as I}from"./useDetail.6221ae7f.js";import{a as N}from"./index.bf71d936.js";import"./shared.80186348.js";import"./index.bb93f8.js";import"./use-page-search.6e957a2f.js";import"./status.d3ab78fb.js";import"./index.142fb588.js";const j={class:"padding__container"},H=b({__name:"detail",setup(P){const a=B(),{id:n,title:r,isDetail:m,collapses:l}=I({baseName:"\u76D8\u70B9",collapseLen:2});return n.value&&a.run(N({id:n.value})),(U,c)=>{const u=t("ElCollapseItem"),_=t("ElCollapse"),f=t("ElTabPane"),v=t("ElTabs"),C=D("loading");return g((i(),h("div",j,[o(v,null,{default:s(()=>[o(f,{label:e(r)},{default:s(()=>[o(_,{modelValue:e(l),"onUpdate:modelValue":c[0]||(c[0]=k=>T(l)?l.value=k:null)},{default:s(()=>[o(u,{title:e(r),name:"1"},{default:s(()=>[e(m)?p("v-if",!0):(i(),d(V,{key:0})),e(m)&&e(a).data?(i(),d(e(w),{key:1,columns:e(a).data.is_combind=="1"?e(x):e(y),data:e(a).data},null,8,["columns","data"])):p("v-if",!0)]),_:1},8,["title"])]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])),[[C,e(a).loading]])}}});var K=E(H,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/inventoryCheck/detail.vue"]]);export{K as default};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/detail.b3ed56.js


+ 1 - 1
dist/assets/detail.c73fd2.js

@@ -1 +1 @@
-import{_ as E,d as b,aP as g,r as t,aj as D,H as B,l as e,o as i,c as T,j as o,C as s,a6 as V,G as d,a as p}from"./index.js";import{B as h}from"./basic-descriptions.9b246c96.js";import{u as x}from"./useDetail.f7d83a00.js";import j from"./BaseForm.3a1038.js";import{g as w,a as y}from"./columns.b716f73c.js";import{a as I}from"./index.35fa5ede.js";import"./status.d3ab78fb.js";import"./InvoiceTitle.250697.js";import"./index.08977e.js";import"./use-page-search.e3b7296c.js";import"./ChildGoodEditModal.7967d3.js";import"./query-category.7a496a.js";const N={class:"padding__container"},P=b({__name:"detail",setup(H){const a=g(),{title:n,isDetail:r,collapses:l,id:m}=x({baseName:"\u5546\u54C1",collapseLen:2});return m.value&&a.run(I({id:m.value})),(U,c)=>{const u=t("ElCollapseItem"),_=t("ElCollapse"),f=t("ElTabPane"),v=t("ElTabs"),C=D("loading");return B((i(),T("div",N,[o(v,null,{default:s(()=>[o(f,{label:e(n)},{default:s(()=>[o(_,{modelValue:e(l),"onUpdate:modelValue":c[0]||(c[0]=k=>V(l)?l.value=k:null)},{default:s(()=>[o(u,{title:e(n),name:"1"},{default:s(()=>[e(r)?p("v-if",!0):(i(),d(j,{key:0})),e(r)&&e(a).data?(i(),d(e(h),{key:1,columns:e(a).data.is_combind=="1"?e(w):e(y),data:e(a).data},null,8,["columns","data"])):p("v-if",!0)]),_:1},8,["title"])]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])),[[C,e(a).loading]])}}});var S=E(P,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/productManager/detail.vue"]]);export{S as default};
+import{_ as E,d as b,aX as g,r as t,at as D,H as B,l as e,o as i,c as T,j as o,C as s,ah as h,G as d,a as p}from"./index.js";import{B as V}from"./basic-descriptions.c177a719.js";import{u as x}from"./useDetail.6221ae7f.js";import w from"./BaseForm.ebf3a1.js";import{g as y,a as I}from"./columns.9015eb7f.js";import{a as N}from"./index.bf71d936.js";import"./status.d3ab78fb.js";import"./InvoiceTitle.77bebe.js";import"./index.08977e.js";import"./use-page-search.6e957a2f.js";import"./ChildGoodEditModal.7967d3.js";import"./query-category.7a496a.js";const j={class:"padding__container"},H=b({__name:"detail",setup(P){const a=g(),{title:n,isDetail:r,collapses:l,id:m}=x({baseName:"\u5546\u54C1",collapseLen:2});return m.value&&a.run(N({id:m.value})),(U,c)=>{const u=t("ElCollapseItem"),_=t("ElCollapse"),f=t("ElTabPane"),v=t("ElTabs"),C=D("loading");return B((i(),T("div",j,[o(v,null,{default:s(()=>[o(f,{label:e(n)},{default:s(()=>[o(_,{modelValue:e(l),"onUpdate:modelValue":c[0]||(c[0]=k=>h(l)?l.value=k:null)},{default:s(()=>[o(u,{title:e(n),name:"1"},{default:s(()=>[e(r)?p("v-if",!0):(i(),d(w,{key:0})),e(r)&&e(a).data?(i(),d(e(V),{key:1,columns:e(a).data.is_combind=="1"?e(y):e(I),data:e(a).data},null,8,["columns","data"])):p("v-if",!0)]),_:1},8,["title"])]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])),[[C,e(a).loading]])}}});var Q=E(H,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/productManager/detail.vue"]]);export{Q as default};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/execl-upload.9ed07b55.js


+ 1 - 1
dist/assets/frameView.8026b4.js

@@ -1 +1 @@
-import{_ as m,d,w as s,m as v,l as r,x as p,aj as h,H as x,o as g,c as k,h as w,y}from"./index.js";const D={class:"frame","element-loading-text":"\u52A0\u8F7D\u4E2D..."},V=["src"],E={name:"FrameView"},R=d({...E,setup(B){var f,_;const a=s(!1),o=v(),n=s(""),c=s(null);(f=r(o.meta))!=null&&f.frameSrc&&(n.value=(_=r(o.meta))==null?void 0:_.frameSrc);function i(){a.value=!1}function l(){y(()=>{const e=r(c);if(!e)return;const t=e;t.attachEvent?t.attachEvent("onload",()=>{i()}):e.onload=()=>{i()}})}return p(()=>{a.value=!0,l()}),(e,t)=>{const u=h("loading");return x((g(),k("div",D,[w("iframe",{src:n.value,class:"frame-iframe",ref_key:"frameRef",ref:c},null,8,V)])),[[u,a.value]])}}});var j=m(R,[["__scopeId","data-v-09fc7334"],["__file","C:/Users/89793/Desktop/projects/ticket-system/src/layout/frameView.vue"]]);export{j as default};
+import{_ as m,d,w as s,m as v,l as r,x as p,at as h,H as x,o as g,c as k,h as w,y}from"./index.js";const D={class:"frame","element-loading-text":"\u52A0\u8F7D\u4E2D..."},V=["src"],E={name:"FrameView"},R=d({...E,setup(B){var f,_;const a=s(!1),o=v(),n=s(""),c=s(null);(f=r(o.meta))!=null&&f.frameSrc&&(n.value=(_=r(o.meta))==null?void 0:_.frameSrc);function i(){a.value=!1}function l(){y(()=>{const e=r(c);if(!e)return;const t=e;t.attachEvent?t.attachEvent("onload",()=>{i()}):e.onload=()=>{i()}})}return p(()=>{a.value=!0,l()}),(e,t)=>{const u=h("loading");return x((g(),k("div",D,[w("iframe",{src:n.value,class:"frame-iframe",ref_key:"frameRef",ref:c},null,8,V)])),[[u,a.value]])}}});var C=m(R,[["__scopeId","data-v-09fc7334"],["__file","C:/Users/89793/Desktop/projects/ticket-system/src/layout/frameView.vue"]]);export{C as default};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index copy.86bc61.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.0336f7.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.08977e.js


+ 1 - 1
dist/assets/index.0519acd1.js → dist/assets/index.0d491c25.js

@@ -1 +1 @@
-import{ax as a,a0 as s}from"./index.js";const{VITE_PROXY_DOMAIN_REAL:i,VITE_PROXY_USER_REAL:o,VITE_WORKORDER_REAL:e}=s(),n=e,c=t=>a.request("post",`${n}/cxinv/FinancialManager/CheckSureByOther`,{data:t}),E=t=>a.request("post",`${n}/cxinv/FinancialManager/list`,{data:t});export{E as a,c as h};
+import{aF as a,ab as s}from"./index.js";const{VITE_PROXY_DOMAIN_REAL:i,VITE_PROXY_USER_REAL:o,VITE_WORKORDER_REAL:e}=s(),n=e,c=t=>a.request("post",`${n}/cxinv/FinancialManager/CheckSureByOther`,{data:t}),E=t=>a.request("post",`${n}/cxinv/FinancialManager/list`,{data:t});export{E as a,c as h};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.0dbb49.js


+ 1 - 1
dist/assets/index.0fe17d0c.js → dist/assets/index.142fb588.js

@@ -1 +1 @@
-import{ax as s,a0 as a}from"./index.js";const{VITE_PROXY_DOMAIN_REAL:c,VITE_PROXY_USER_REAL:o,VITE_WORKORDER_REAL:e}=a(),n=e,i=t=>s.request("post",`${n}/cxinv/FinancialProducts/CheckCreate`,{data:t}),p=t=>s.request("post",`${n}/cxinv/FinancialProducts/CheckList`,{data:t}),u=t=>s.request("post",`${n}/cxinv/FinancialManager/CheckSure`,{data:t});export{p as a,u as b,i as h};
+import{aF as s,ab as a}from"./index.js";const{VITE_PROXY_DOMAIN_REAL:c,VITE_PROXY_USER_REAL:o,VITE_WORKORDER_REAL:e}=a(),n=e,i=t=>s.request("post",`${n}/cxinv/FinancialProducts/CheckCreate`,{data:t}),p=t=>s.request("post",`${n}/cxinv/FinancialProducts/CheckList`,{data:t}),u=t=>s.request("post",`${n}/cxinv/FinancialManager/CheckSure`,{data:t});export{p as a,u as b,i as h};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.1ddafc.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.303734.js


+ 1 - 1
dist/assets/index.55efd0bc.js → dist/assets/index.321a7de2.js

@@ -1 +1 @@
-import{ax as n,a0 as e}from"./index.js";const{VITE_PROXY_DOMAIN_REAL:r,VITE_PROXY_USER_REAL:i,VITE_WORKORDER_REAL:c}=e(),a=c,o=t=>n.request("post",`${a}/cxinv/FinancialManager/create`,{data:t}),u=t=>n.request("post",`${a}/cxinv/FinancialProducts/CheckBatch`,{data:t}),p=t=>n.request("post",`${a}/cxinv/FinancialManager/list`,{data:t}),h=t=>n.request("post",`${a}/cxinv/FinancialManager/info`,{data:t}),l=t=>n.request("post",`${a}/cxinv/FinancialManager/CheckSure`,{data:t}),E=t=>n.request("post",`${a}/cxinv/FinancialManager/CheckAccrue`,{data:t});export{o as a,l as b,p as c,u as d,E as e,h};
+import{aF as n,ab as e}from"./index.js";const{VITE_PROXY_DOMAIN_REAL:r,VITE_PROXY_USER_REAL:i,VITE_WORKORDER_REAL:c}=e(),a=c,o=t=>n.request("post",`${a}/cxinv/FinancialManager/create`,{data:t}),u=t=>n.request("post",`${a}/cxinv/FinancialProducts/CheckBatch`,{data:t}),p=t=>n.request("post",`${a}/cxinv/FinancialManager/list`,{data:t}),h=t=>n.request("post",`${a}/cxinv/FinancialManager/info`,{data:t}),l=t=>n.request("post",`${a}/cxinv/FinancialManager/CheckSure`,{data:t}),E=t=>n.request("post",`${a}/cxinv/FinancialManager/CheckAccrue`,{data:t});export{o as a,l as b,p as c,u as d,E as e,h};

+ 1 - 0
dist/assets/index.4420b55f.js

@@ -0,0 +1 @@
+import{aF as d,ab as i,d as p,w as m,aZ as _,aX as f,z as y,o as v,G as E,l as r,ah as R,b1 as V,_ as Y,aW as k}from"./index.js";const{VITE_PROXY_DOMAIN_REAL:x,VITE_PROXY_USER_REAL:A,VITE_WORKORDER_REAL:M}=i(),h=M,D=t=>d.request("post",`${h}/cxinv/FinancialSeal/getQuery`,{data:t}),S=p({__name:"index",props:{company_code:{type:String,required:!1},modelValue:{type:String,required:!0}},setup(t){const s=t,n=m([]),o=_(s,"modelValue"),c=f({success(a){n.value=a.map(({fz_date:e})=>e)}});y(()=>s.company_code,()=>{!s.company_code||c.run(D({company_code:s.company_code,status:0}))},{immediate:!0});function l(a){const e=k(a).format("YYYY-MM");return!n.value.includes(e)}return(a,e)=>(v(),E(r(V),{type:"month",modelValue:r(o),"onUpdate:modelValue":e[0]||(e[0]=u=>R(o)?o.value=u:null),"value-format":"YYYY-MM",disabledDate:a.company_code?l:void 0},null,8,["modelValue","disabledDate"]))}});var O=Y(S,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/components/SealMonthPicker/index.vue"]]);export{O as S};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.4cf9ee.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.4f356d.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.52bb3f.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.563420.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.592bd7.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.5a0076.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.5c8b50.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.64a52c.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.656b8f.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.674a5d.js


+ 1 - 1
dist/assets/index.67c3d0.js

@@ -1 +1 @@
-import{_ as i,d as _,ak as u,m as d,n as l,x as p,Z as e,aj as v,H as m,o as f,c as k,a0 as x}from"./index.js";const E={class:"w-[100vw] h-[100vh]","element-loading-text":"\u767B\u5F55\u4E2D"},g=_({__name:"index",setup(h){const{loginByToken:c}=u(),{query:a}=d(),{push:o}=l(),{VITE_SECRET_KEY:r}=x();return p(async()=>{try{const t=e.enc.Base64.parse(a.t).toString(e.enc.Utf8),n=e.AES.decrypt(t,r).toString(e.enc.Utf8),{token:s}=JSON.parse(n);await c(s),o("/welcome")}catch{o("/login")}}),(t,n)=>{const s=v("loading");return m((f(),k("div",E,null,512)),[[s,!0]])}}});var S=i(g,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/accept/index.vue"]]);export{S as default};
+import{_ as i,d as u,au as _,m as d,n as l,x as p,a9 as e,at as v,H as m,o as f,c as x,ab as E}from"./index.js";const g={class:"w-[100vw] h-[100vh]","element-loading-text":"\u767B\u5F55\u4E2D"},h=u({__name:"index",setup(k){const{loginByToken:a}=_(),{query:c}=d(),{push:o}=l(),{VITE_SECRET_KEY:r}=E();return p(async()=>{try{const t=e.enc.Base64.parse(c.t).toString(e.enc.Utf8),n=e.AES.decrypt(t,r).toString(e.enc.Utf8),{token:s}=JSON.parse(n);await a(s),o("/welcome")}catch{o("/login")}}),(t,n)=>{const s=v("loading");return m((f(),x("div",g,null,512)),[[s,!0]])}}});var S=i(h,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/accept/index.vue"]]);export{S as default};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.6e73f4.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.72dcc7.js


+ 0 - 1
dist/assets/index.76bf977d.js

@@ -1 +0,0 @@
-import{ax as d,a0 as i,d as p,w as m,aR as _,aP as f,z as y,o as R,G as V,l as r,a6 as v,aV as E,_ as Y,aO as k}from"./index.js";const{VITE_PROXY_DOMAIN_REAL:O,VITE_PROXY_USER_REAL:P,VITE_WORKORDER_REAL:M}=i(),D=M,S=t=>d.request("post",`${D}/cxinv/FinancialSeal/getQuery`,{data:t}),h=p({__name:"index",props:{company_code:{type:String,required:!1},modelValue:{type:String,required:!0}},setup(t){const s=t,n=m([]),o=_(s,"modelValue"),c=f({success(a){n.value=a.map(({fz_date:e})=>e)}});y(()=>s.company_code,()=>{!s.company_code||c.run(S({company_code:s.company_code,status:0}))},{immediate:!0});function l(a){const e=k(a).format("YYYY-MM");return!n.value.includes(e)}return(a,e)=>(R(),V(r(E),{type:"month",modelValue:r(o),"onUpdate:modelValue":e[0]||(e[0]=u=>v(o)?o.value=u:null),"value-format":"YYYY-MM",disabledDate:a.company_code?l:void 0},null,8,["modelValue","disabledDate"]))}});var A=Y(h,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/components/SealMonthPicker/index.vue"]]);export{A as S};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.76ffe1.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.9319d0.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.99c1ef.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.9e3478d3.css


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.9fb119.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.9fb413.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.a1c7d817.css


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.a6d6c8.js


+ 1 - 1
dist/assets/index.4e2aa743.js → dist/assets/index.b1d996af.js

@@ -1 +1 @@
-import{ax as s,a0 as n}from"./index.js";const{VITE_PROXY_DOMAIN_REAL:o,VITE_PROXY_USER_REAL:r,VITE_WORKORDER_REAL:i}=n(),a=i,c=t=>s.request("post",`${a}/cxinv/FinancialSeal/list`,{data:t}),p=t=>s.request("post",`${a}/cxinv/FinancialSeal/status`,{data:t}),E=t=>s.request("post",`${a}/cxinv/FinancialSeal/FzList`,{data:t});export{c as a,p as b,E as h};
+import{aF as s,ab as n}from"./index.js";const{VITE_PROXY_DOMAIN_REAL:o,VITE_PROXY_USER_REAL:r,VITE_WORKORDER_REAL:i}=n(),a=i,c=t=>s.request("post",`${a}/cxinv/FinancialSeal/list`,{data:t}),p=t=>s.request("post",`${a}/cxinv/FinancialSeal/status`,{data:t}),E=t=>s.request("post",`${a}/cxinv/FinancialSeal/FzList`,{data:t});export{c as a,p as b,E as h};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.bb0cc8.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.bb93f8.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.bdcf42.js


+ 1 - 1
dist/assets/index.35fa5ede.js → dist/assets/index.bf71d936.js

@@ -1 +1 @@
-import{ax as s,a0 as a}from"./index.js";const{VITE_PROXY_DOMAIN_REAL:i,VITE_PROXY_USER_REAL:o,VITE_WORKORDER_REAL:e}=a(),r=o+"/admin/",n=e,u=t=>s.request("post",`${n}/cxinv/FinancialProducts/create`,{data:t}),p=t=>s.request("post",`${n}/cxinv/FinancialProducts/list`,{data:t}),d=t=>s.request("post",`${n}/cxinv/FinancialProducts/info`,{data:t}),R=t=>s.request("post",`${n}/cxinv/FinancialProducts/status`,{data:t}),l=t=>s.request("post",`${r}companylist`,{data:{noRela:!0,...t}});export{d as a,l as b,u as c,R as d,p as h};
+import{aF as s,ab as a}from"./index.js";const{VITE_PROXY_DOMAIN_REAL:i,VITE_PROXY_USER_REAL:o,VITE_WORKORDER_REAL:e}=a(),r=o+"/admin/",n=e,u=t=>s.request("post",`${n}/cxinv/FinancialProducts/create`,{data:t}),p=t=>s.request("post",`${n}/cxinv/FinancialProducts/list`,{data:t}),d=t=>s.request("post",`${n}/cxinv/FinancialProducts/info`,{data:t}),R=t=>s.request("post",`${n}/cxinv/FinancialProducts/status`,{data:t}),l=t=>s.request("post",`${r}companylist`,{data:{noRela:!0,...t}});export{d as a,l as b,u as c,R as d,p as h};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.c0634d.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.c2487c.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.dd1ef1.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/index.ddc18a.js


+ 1 - 1
dist/assets/index.5932f4b3.js → dist/assets/index.f7c4f4d4.js

@@ -1 +1 @@
-import{ax as a,a0 as o}from"./index.js";const{VITE_PROXY_DOMAIN_REAL:r,VITE_PROXY_USER_REAL:s}=o(),n=s+"/admin/",d=t=>a.request("post",`${n}invAddBatchByImport`,{data:t});export{d as h};
+import{aF as a,ab as o}from"./index.js";const{VITE_PROXY_DOMAIN_REAL:r,VITE_PROXY_USER_REAL:s}=o(),n=s+"/admin/",d=t=>a.request("post",`${n}invAddBatchByImport`,{data:t});export{d as h};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1 - 1
dist/assets/index.js


+ 1 - 1
dist/assets/motion.8f87e3f1.js → dist/assets/motion.b0c13321.js

@@ -1 +1 @@
-import{d as i,aj as o,H as a,a1 as n}from"./index.js";var s=i({name:"Motion",props:{delay:{type:Number,default:50}},render(){const{delay:t}=this,e=o("motion");return a(n("div",{},{default:()=>[this.$slots.default()]}),[[e,{initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:t}}}]])}});export{s as M};
+import{d as i,at as o,H as a,ac as n}from"./index.js";var s=i({name:"Motion",props:{delay:{type:Number,default:50}},render(){const{delay:t}=this,e=o("motion");return a(n("div",{},{default:()=>[this.$slots.default()]}),[[e,{initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:t}}}]])}});export{s as M};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/phone.9e1123.js


+ 1 - 1
dist/assets/qrCode.be32d8.js

@@ -1,4 +1,4 @@
-import{d as Ht,w as Ot,U as Lt,z as me,j as P,H as pe,aj as we,l as R,aw as be,F as Jt,y as Ce,bp as ve,bq as Dt,am as Ee,_ as Te,r as jt,o as Be,c as Ae,C as W,h as Se,ak as Ne,M as Pe}from"./index.js";import{M as ht}from"./motion.8f87e3f1.js";/*!
+import{d as Ht,w as Ot,a7 as Lt,z as me,j as P,H as pe,at as we,l as R,aE as be,F as Jt,y as Ce,bu as ve,bv as Dt,aw as Ee,_ as Te,r as jt,o as Be,c as Ae,C as W,h as Se,au as Ne,M as Pe}from"./index.js";import{M as ht}from"./motion.b0c13321.js";/*!
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
  *
  * Copyright (c) 2014-2017, Jon Schlinkert.

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/query-category.7a496a.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/regist.bfca82.js


+ 1 - 0
dist/assets/rule.04677db8.js

@@ -0,0 +1 @@
+import{W as F,ax as i,au as t,aA as o}from"./index.js";const B=/^\d{6}$/,s=/^[0-9A-Za-z]{6,18}$/;F({username:[{validator(e,r,u){r?i(r)?u():u(new Error("\u624B\u673A\u53F7\u683C\u5F0F\u4E0D\u6B63\u786E")):u(new Error("\u8BF7\u8F93\u5165\u624B\u673A\u53F7"))},trigger:"blur"}],password:[{validator:(e,r,u)=>{r===""?u(new Error("\u8BF7\u8F93\u5165\u5BC6\u7801")):s.test(r)?u():u(new Error("\u5BC6\u7801\u683C\u5F0F\u5E94\u4E3A6-18\u4F4D\u6570\u5B57\u3001\u5B57\u6BCD\u7684\u7EC4\u5408"))},trigger:"blur"}],verifyCode:[{validator:(e,r,u)=>{r===""?u(new Error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):t().verifyCode!==r?u(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801")):u()},trigger:"blur"}]});const C=F({phone:[{validator:(e,r,u)=>{r===""?u(new Error("\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801")):o(r)?u():u(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u7801\u683C\u5F0F"))},trigger:"blur"}],verifyCode:[{validator:(e,r,u)=>{r===""?u(new Error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):B.test(r)?u():u(new Error("\u8BF7\u8F93\u51656\u4F4D\u6570\u5B57\u9A8C\u8BC1\u7801"))},trigger:"blur"}]}),n=F({phone:[{validator:(e,r,u)=>{r===""?u(new Error("\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801")):o(r)?u():u(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u7801\u683C\u5F0F"))},trigger:"blur"}],verifyCode:[{validator:(e,r,u)=>{r===""?u(new Error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):B.test(r)?u():u(new Error("\u8BF7\u8F93\u51656\u4F4D\u6570\u5B57\u9A8C\u8BC1\u7801"))},trigger:"blur"}],password:[{validator:(e,r,u)=>{r===""?u(new Error("\u8BF7\u8F93\u5165\u5BC6\u7801")):s.test(r)?u():u(new Error("\u5BC6\u7801\u683C\u5F0F\u5E94\u4E3A8-18\u4F4D\u6570\u5B57\u3001\u5B57\u6BCD\u3001\u7B26\u53F7\u7684\u4EFB\u610F\u4E24\u79CD\u7EC4\u5408"))},trigger:"blur"}]});export{s as R,C as p,n as u};

+ 0 - 1
dist/assets/rule.eba545e4.js

@@ -1 +0,0 @@
-import{ab as F,an as i,ak as t,ar as o}from"./index.js";const B=/^\d{6}$/,s=/^[0-9A-Za-z]{6,18}$/;F({username:[{validator(e,r,u){r?i(r)?u():u(new Error("\u624B\u673A\u53F7\u683C\u5F0F\u4E0D\u6B63\u786E")):u(new Error("\u8BF7\u8F93\u5165\u624B\u673A\u53F7"))},trigger:"blur"}],password:[{validator:(e,r,u)=>{r===""?u(new Error("\u8BF7\u8F93\u5165\u5BC6\u7801")):s.test(r)?u():u(new Error("\u5BC6\u7801\u683C\u5F0F\u5E94\u4E3A6-18\u4F4D\u6570\u5B57\u3001\u5B57\u6BCD\u7684\u7EC4\u5408"))},trigger:"blur"}],verifyCode:[{validator:(e,r,u)=>{r===""?u(new Error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):t().verifyCode!==r?u(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801")):u()},trigger:"blur"}]});const C=F({phone:[{validator:(e,r,u)=>{r===""?u(new Error("\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801")):o(r)?u():u(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u7801\u683C\u5F0F"))},trigger:"blur"}],verifyCode:[{validator:(e,r,u)=>{r===""?u(new Error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):B.test(r)?u():u(new Error("\u8BF7\u8F93\u51656\u4F4D\u6570\u5B57\u9A8C\u8BC1\u7801"))},trigger:"blur"}]}),n=F({phone:[{validator:(e,r,u)=>{r===""?u(new Error("\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801")):o(r)?u():u(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u7801\u683C\u5F0F"))},trigger:"blur"}],verifyCode:[{validator:(e,r,u)=>{r===""?u(new Error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):B.test(r)?u():u(new Error("\u8BF7\u8F93\u51656\u4F4D\u6570\u5B57\u9A8C\u8BC1\u7801"))},trigger:"blur"}],password:[{validator:(e,r,u)=>{r===""?u(new Error("\u8BF7\u8F93\u5165\u5BC6\u7801")):s.test(r)?u():u(new Error("\u5BC6\u7801\u683C\u5F0F\u5E94\u4E3A8-18\u4F4D\u6570\u5B57\u3001\u5B57\u6BCD\u3001\u7B26\u53F7\u7684\u4EFB\u610F\u4E24\u79CD\u7EC4\u5408"))},trigger:"blur"}]});export{s as R,C as p,n as u};

+ 1 - 1
dist/assets/tootip.26b2c4eb.js → dist/assets/tootip.fcedb847.js

@@ -1 +1 @@
-import{a1 as e,aU as a,aJ as l,J as r}from"./index.js";function s(n,t,o=200){return e("div",{style:{display:"flex",justifyContent:"space-between"}},{default:()=>[e("span",null,n),e(a,{placement:"top",content:t,width:o},{reference:()=>e(l,{link:!0,icon:r("information-line")})})]})}export{s as c};
+import{ac as e,b0 as a,aR as l,J as r}from"./index.js";function s(n,t,o=200){return e("div",{style:{display:"flex",justifyContent:"space-between"}},{default:()=>[e("span",null,n),e(a,{placement:"top",content:t,width:o},{reference:()=>e(l,{link:!0,icon:r("information-line")})})]})}export{s as c};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/update.2f876b.js


+ 1 - 1
dist/assets/use-page-search.e3b7296c.js → dist/assets/use-page-search.6e957a2f.js

@@ -1 +1 @@
-import{w as _,aO as v}from"./index.js";const g=o=>o?v(o).format("YYYY-MM-DD"):"";function M(o,i,u,m){const s=_(null);function D(n){var c;const{result:a,deleteProps:r}=o?o(n):{result:{},deleteProps:[]},e={...n,...a};if(u){const{formItems:d}=u;d.forEach(h=>{const{field:t,type_field:f,otherOptions:y={},type:l}=h,{startProp:p,endProp:P}=y;(p||P)&&e[t]&&(e[p]=l==="date_picker"?g(e[t][0]):e[t][0],e[P]=l==="date_picker"?g(e[t][1]):e[t][1],delete e[t]),f&&(e[e[f]]=e[t],delete e[t],delete e[f])})}r.forEach(d=>delete e[d]),(c=s.value)==null||c.getPageData(e)}function Y(n){var r;const{result:a}=o?o(n):{result:{}};(r=s.value)==null||r.getPageData(m?{}:a),i&&i()}return{pageContentRef:s,handleSearchClick:D,handleResetClick:Y}}export{M as u};
+import{w as _,aW as v}from"./index.js";const g=o=>o?v(o).format("YYYY-MM-DD"):"";function M(o,i,u,m){const s=_(null);function D(n){var c;const{result:a,deleteProps:r}=o?o(n):{result:{},deleteProps:[]},e={...n,...a};if(u){const{formItems:d}=u;d.forEach(h=>{const{field:t,type_field:f,otherOptions:y={},type:l}=h,{startProp:p,endProp:P}=y;(p||P)&&e[t]&&(e[p]=l==="date_picker"?g(e[t][0]):e[t][0],e[P]=l==="date_picker"?g(e[t][1]):e[t][1],delete e[t]),f&&(e[e[f]]=e[t],delete e[t],delete e[f])})}r.forEach(d=>delete e[d]),(c=s.value)==null||c.getPageData(e)}function Y(n){var r;const{result:a}=o?o(n):{result:{}};(r=s.value)==null||r.getPageData(m?{}:a),i&&i()}return{pageContentRef:s,handleSearchClick:D,handleResetClick:Y}}export{M as u};

+ 1 - 0
dist/assets/useDetail.6221ae7f.js

@@ -0,0 +1 @@
+import{m,w as f,a7 as e}from"./index.js";function y(l={}){const{query:c}=m(),{collapseLen:s,baseName:t}=l,a=f([]),o=e(()=>c.id),n=e(()=>u.value?`${t}\u8BE6\u60C5`:`\u521B\u5EFA${t}`),u=e(()=>!!o.value),i=r=>Array(r).fill(0).map((d,p)=>String(p+1));return s&&(a.value=i(s)),{id:o,title:n,isDetail:u,collapses:a}}export{y as u};

+ 0 - 1
dist/assets/useDetail.f7d83a00.js

@@ -1 +0,0 @@
-import{m,w as f,U as e}from"./index.js";function y(l={}){const{query:c}=m(),{collapseLen:s,baseName:t}=l,a=f([]),o=e(()=>c.id),n=e(()=>u.value?`${t}\u8BE6\u60C5`:`\u521B\u5EFA${t}`),u=e(()=>!!o.value),i=r=>Array(r).fill(0).map((d,p)=>String(p+1));return s&&(a.value=i(s)),{id:o,title:n,isDetail:u,collapses:a}}export{y as u};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/assets/verifyCode.11a2f7be.js


+ 5 - 1
src/api/user.ts

@@ -48,7 +48,11 @@ export const httpCompany = (data: object): any => {
 };
 
 export const httpMyCompany = (data: object): any => {
-  return http.request("post", `${yewuApi}myCompanyList`, { data });
+  return http.request("post", `${yewuApi}getcompany`, { data });
+};
+
+export const httpCompanies = (data: object): any => {
+  return http.request("post", `${yewuApi}companylist`, { data });
 };
 
 export const httpUserInfo = (data: object): any => {

+ 19 - 25
src/components/PageContent/src/hooks/use-request.ts

@@ -16,12 +16,13 @@ export function useRequeset(props: PageContentProps) {
   const { contentConfig , otherSearchParameter } = props;
   const { mockData, notNeedCompanyFilter } = contentConfig;
 
+  
   const { logout } = useNav();
   const loading = ref(false);
   const dataList = ref(mockData ? mockData : []);
   const initRequest = ref(!props.contentConfig.notReuqiredInit);
 
-  const { currentCompany } = useCompany();
+  const { currentCompany, licenseSet } = useCompany();
   const { isSuperUser } = useUserInfo();
 
   const { getBasicParams, changeBasicParams } = useParams();
@@ -33,9 +34,9 @@ export function useRequeset(props: PageContentProps) {
 
   async function onSearch() {
     const { contentConfig } = props;
-    const { apis, isTree, mockData, listNoRelation, transformCompany, transformField, transformFieldCompany, notDeleteCompanyrProp } = contentConfig;
+    const { apis, isTree, mockData, listNoRelation } = contentConfig;
     const hasCompanyFilter = !notNeedCompanyFilter;
-    const vm = getCurrentInstance();
+    // const vm = getCurrentInstance();
 
     const companyProp = contentConfig.companyProp
       ? contentConfig.companyProp
@@ -45,39 +46,32 @@ export function useRequeset(props: PageContentProps) {
 
     loading.value = true;
 
-
-    let transCompany = ""
-    if (transformCompany || transformField) {
-      const { data } = await httpSupplierList({ name: currentCompany.value?.companyName })
-      const item = currentCompany.value?.companyName ? data.list.find(item => item.name === currentCompany.value?.companyName) || {} : {};
-      transCompany = item.code;
-    }
+    // 业务公司编号转换为纳税号
+    const license = licenseSet.value.find(({ companyNo }) => companyNo === currentCompany.value?.companyCode)
 
     const params = mergeParams({
       pagination: getPagination ? getPagination() : {},
       basicParams: getBasicParams(),
       company: hasCompanyFilter
-        ? { [companyProp]: transformCompany ? transCompany : currentCompany.value.companyNo }
+        ? { [companyProp]: license?.company_license }
         : {}
     });
 
 
-    if (transformFieldCompany && params['companyNo']) {
-      const { data } = await httpCompanyList({ size: 1000 })
-      const name = (data.list.find(({ companyNo }) => companyNo === params['companyNo']) || {}).company_name
-      const { data: rdata } = await httpSupplierList({ name })
-      const item = name ? rdata.list.find(item => item.name === name) || {} : {};
-      params['supplierNo'] = item.code;
-      delete params['companyNo']
-    }
-
-    if (transformField) {
-      params[transformField] = transCompany;
-      !notDeleteCompanyrProp && delete params[companyProp];
-    }
+    // if (transformFieldCompany && params['companyNo']) {
+    //   const { data } = await httpCompanyList({ size: 1000 })
+    //   const name = (data.list.find(({ companyNo }) => companyNo === params['companyNo']) || {}).company_name
+    //   const { data: rdata } = await httpSupplierList({ name })
+    //   const item = name ? rdata.list.find(item => item.name === name) || {} : {};
+    //   params['supplierNo'] = item.code;
+    //   delete params['companyNo']
+    // }
 
+    // if (transformField) {
+    //   params[transformField] = transCompany;
+    //   !notDeleteCompanyrProp && delete params[companyProp];
+    // }
 
-    console.log(otherSearchParameter, '🚀')
     const { code, data, message } = await apis.httpList({ ...params, ...(otherSearchParameter || {}) ,...(listNoRelation ? { noRela: true } : {}) });
 
 

+ 13 - 3
src/hooks/core/useCompany.ts

@@ -1,14 +1,15 @@
 /* eslint-disable prettier/prettier */
-import { computed, nextTick } from "vue";
+import { computed, watch } from "vue";
 import { useUserInfo } from "./useUser";
 import { useUserStoreHook } from "/@/store/modules/user";
 
 
-
 export function useCompany() {
   const userInfo = useUserInfo();
   const userStore = useUserStoreHook();
 
+  const licenseSet = computed(() => userStore.licenseSet)
+
   /** 当前用户的公司列表 */  
   const companyList = computed(() => useUserStoreHook().companyList);
   /** 当前用户选择的公司 */ 
@@ -20,7 +21,6 @@ export function useCompany() {
     const filter: any = ({ companyCode }) => companyCode === value;
     const company = (list || companyList.value).find(filter);
     if (company && company.companyCode) { company.companyNo = company.companyCode }
-
     /** 超管用户可以查看所有 */ 
     if(userInfo.isSuperUser.value) {
       company.companyName = value?.name || '所有公司'
@@ -31,7 +31,17 @@ export function useCompany() {
     return company
   }
 
+  watch(() => companyList.value, () => {
+    setCompanies(companyList.value.map(item => {
+      const lice = licenseSet.value.find(({ companyNo }) => companyNo === item.companyCode)
+      return { ...item, company_license: lice?.company_license }
+    }))
+  }, {
+    deep: true
+  })
+
   return {
+    licenseSet,
     companyList,
     setCompanies,
     currentCompany,

+ 2 - 6
src/layout/components/company/index.vue

@@ -12,7 +12,7 @@ const props = defineProps<{
   noSet?: boolean;
 }>();
 
-const { setCurrentCompany, currentCompany, setCompanies, companyList } =
+const { setCurrentCompany, currentCompany, setCompanies, companyList, licenseSet } =
   useCompany();
 
 const route = useRoute();
@@ -39,11 +39,7 @@ async function requesetSupplierAll(name: string) {
   state.page = 1;
   state.noMore = false;
 
-  const { data, message, code } = await httpMyCompany({
-    companyName: state.name,
-    page: state.page,
-    noRela: true
-  });
+  const { data, message, code } = await httpMyCompany({ companyName: state.name, page: state.page, noRela: true  });
 
   responseHandle({
     code,

+ 3 - 3
src/layout/components/navbar.vue

@@ -38,7 +38,7 @@ const menuData = computed(() => usePermissionStore().wholeMenus);
 
 const store = usePermissionStoreHook();
 
-const { setCurrentCompany } = useCompany();
+const { setCurrentCompany, currentCompany } = useCompany();
 
 const switchAccountModeText = computed(() =>
   userLevel.value === "3" ? "切换至业务公司" : "切换至供应商"
@@ -166,8 +166,8 @@ async function onSwitchAccountMode() {
     <mixNav v-if="pureApp.layout === 'mix'" />
     <div v-if="pureApp.layout === 'vertical'" class="vertical-header-right">
       <!-- 公司名称筛选 -->
-      <!-- <Super v-if="isSuperUser" ref="SuperCompanyRef" />
-      <Company v-else /> -->
+      <Super v-if="isSuperUser" ref="SuperCompanyRef" />
+      <Company v-else />
       
       <!--  超管切换至供应商和业务公司    -->
       <!-- <el-tooltip placement="bottom" :content="switchAccountModeText">

+ 1 - 0
src/store/modules/types.ts

@@ -41,6 +41,7 @@ export type setType = {
 };
 
 export type userType = {
+  licenseSet: any[],
   token: string;
   name?: string;
   verifyCode?: string;

+ 51 - 17
src/store/modules/user.ts

@@ -19,7 +19,8 @@ import {
   refreshToken,
   httpMyCompany,
   httpUserInfo,
-  httpSystemList
+  httpSystemList,
+  httpCompanies
 } from "/@/api/user";
 
 import {
@@ -31,6 +32,8 @@ import {
   removeAction
 } from "/@/utils/auth";
 
+import { nextTick } from "vue"
+
 
 function createMenu(menu_name: string, menu_route: string, menu_url: string, hasDetail = true){
   return {
@@ -70,6 +73,7 @@ export const useUserStore = defineStore({
   id: "pure-user",
   state: (): userType => ({
     defaultCompanyNo: '',
+    licenseSet: [],
     token: getToken(),
     level: "0",
     name: "admin",
@@ -181,25 +185,55 @@ export const useUserStore = defineStore({
         this.isSuperUser = level === "1";
 
 
-        const defaultCompany = company_relaton.find(({ is_main }) => is_main === '1')
-        this.defaultCompanyNo = defaultCompany.companyNo
-        setRelaComNo(defaultCompany.companyNo);
+        // const defaultCompany = company_relaton.find(({ is_main }) => is_main === '1')
+        // this.defaultCompanyNo = defaultCompany.companyNo
+        // setRelaComNo(defaultCompany.companyNo);
+
+        
         /* 非超管用户获取公司 */
-        // if (!this.isSuperUser && this.companyList.length === 0) {
-        //   const result = await httpMyCompany({ size: 10000, type: '1' });
-        //   console.log(result)
-          // this.companyList = result.data.list.map(({ companyCode, companyName, is_main }) => ({ companyCode: companyCode, companyName: companyName, is_main }))
-          // if (!this.companyList || this.companyList.length === 0) { return; }
-        // }
+        if (!this.isSuperUser && this.companyList.length === 0) {
+          const result = await httpMyCompany({ size: 10000, type: '1' });
+
+
+          
+          this.companyList = result.data.list.map(
+            ({ companyCode, companyName, is_main }) => ({ companyCode, companyName, company_license: '' ,is_main })
+          )
+
+          if (!this.companyList || this.companyList.length === 0) { return; }
+        }
+
+        const { code, data: companies } = await httpCompanies({ size: 10000 })
+        this.licenseSet = companies.list
+
+        if(code === 0){
+          this.companyList.forEach(item => { 
+            const current = companies.list.find(({ companyNo }) => companyNo == item.companyCode)
+            item.company_license = current?.company_license
+          })
+        }
+
+        const companyCode = getRelaComNo();
+        const index = this.companyList.findIndex((item) => item.companyCode === companyCode);
 
         // /* 获取本地缓存的公司编码,和账号有的公司列表对比(默认选中该公司) */
-        // console.log(this.companyList)
-        // const _index = this.companyList.findIndex(({ is_main }) => String(is_main) === "1");
-        // const currentCompany = !this.isSuperUser ? this.companyList[_index === -1 ? 0 : _index] : "";
-        // if (currentCompany && currentCompany.companyCode) {currentCompany.companyNo = currentCompany.companyCode; }
-        // this.currentCompany = currentCompany;
-        // setRelaComName(currentCompany.companyName);
-        // setRelaComNo(currentCompany.companyNo);
+        let _index = index >= 0 ? index : -1;
+        if (_index === -1) { _index = this.companyList.findIndex(({ is_main }) => String(is_main) === "1" ); }
+        const currentCompany = !this.isSuperUser ? this.companyList[_index === -1 ? 0 : _index] : "";
+
+
+        if (currentCompany && currentCompany.companyCode) {
+          // currentCompany.companyCode = currentCompany.companyCode;
+          currentCompany.companyNo = currentCompany.companyCode;
+        }
+
+
+        nextTick(() => {
+          this.setCurrentCompany(currentCompany)
+        })
+
+        setRelaComName(currentCompany.companyName);
+        setRelaComNo(currentCompany.companyNo);
       } else {
         throw new Error(JSON.stringify({ code, message }));
       }

+ 6 - 2
src/views/invoiceInOut/inOutManager/detail.vue

@@ -208,7 +208,11 @@ id.value && detailTask.run(httpDetail({ id: id.value }))
 
     <ChooseGoodModal v-model:visible="visible" :otherSearchParameter="searchParameter" @submit="handleGoodComfirm" />
 
-    <ChildGoodEditModal :data="state.data" :index="state.index" v-model:visible="state.editVisible"
-      @submit="handleEditGood" />
+    <ChildGoodEditModal 
+      :data="state.data" 
+      :index="state.index" 
+      v-model:visible="state.editVisible"
+      @submit="handleEditGood" 
+    />
   </div>
 </template>

+ 14 - 5
src/views/invoiceInOut/productManager/components/BaseForm.vue

@@ -1,5 +1,5 @@
 <script setup lang="ts">
-import { reactive, ref } from "vue";
+import { onMounted, reactive, ref } from "vue";
 import { cg_order_type_options, xs_inv_type_list, tax_list } from "/@/utils/status"
 import { ElButton, ElCol, ElForm, ElFormItem, ElMessage, ElOption, ElSelect, ElTooltip } from "element-plus"
 import { httpCompanies } from "/@/api/invoiceInOut/productManager"
@@ -11,7 +11,7 @@ import { UnitInput } from "/@/components/Input"
 
 import { convertInvoiceTitle, convertInvoiceTitleData, convertPurchaseInvoiceTitleData, createInitalData } from "./shared"
 
-import { useTask } from "/@/hooks/core"
+import { useCurrentCompany, useTask } from "/@/hooks/core"
 import { useRouter } from "vue-router"
 
 import ChooseGoodModal from "./ChooseGoodModal/index.vue"
@@ -24,6 +24,8 @@ import { useRenderIcon } from "/@/components/ReIcon/src/hooks";
 import QueryCategory from "./query-category.vue";
 
 
+const { current } = useCurrentCompany()
+
 const router = useRouter()
 const formRef = ref<InstanceType<typeof ElForm> | null>(null)
 
@@ -117,9 +119,11 @@ function handleChildGoodEdit(index: number){
   const result = await httpCompanies({ size: 10000 })
   if(result.code == 0){
     state.companies = [...result.data.list]
-    console.log(state.companies)
+    const item = state.companies.find(item => item.companyNo === current.value.companyNo)
+    formData.value.buyer_code = item.company_license
   }
 })()
+
 </script>
 
 <template>
@@ -138,8 +142,13 @@ function handleChildGoodEdit(index: number){
 
       <ElCol :span="12">
         <ElFormItem label="购买方公司" prop="buyer_code">
-          <ElSelect style="width: 100%" placeholder="购买方公司" v-model="formData.buyer_code"
-            @change="setPurchaserInvoiceTitle">
+          <ElSelect 
+            style="width: 100%" 
+            placeholder="购买方公司" 
+            v-model="formData.buyer_code"
+            @change="setPurchaserInvoiceTitle"
+            disabled
+          >
             <ElOption v-for="item in state.companies" :label="item.company_name" :value="item.company_license" />
           </ElSelect>
         </ElFormItem>

+ 2 - 2
src/views/invoiceInOut/productManager/components/shared.ts

@@ -76,10 +76,10 @@ export const createInitalData = () => ({
     buyer_name: "",
     seller_code: "",
     seller_name: "",
-    good_source: "",
+    good_source: "1",
     good_code: '',
     good_type: '',
-    is_combind: "",
+    is_combind: "0",
     inv_good_name: "",
     subunit_price: '',
     basic_status: '',

+ 6 - 4
src/views/invoiceInOut/productManager/config/content.config.ts

@@ -5,6 +5,7 @@ import { cg_order_type_options, statusList } from "/@/utils/status";
 import { ElTag } from "element-plus";
 import { h } from "vue";
 import { basicStatusOptions } from "./columns";
+import { renderIconLabelLeft } from "/@/utils/columnRenderHelper";
 
 const columns = [
   {
@@ -19,13 +20,13 @@ const columns = [
   },
   {
     label: "销售方公司",
-    prop: "seller_name",
-    width: 160
+    width: 160,
+    ...renderIconLabelLeft('seller_code', 'seller_name',"销售方公司纳税号:")
   },
   {
     label: "购买方公司",
-    prop: "buyer_name",
-    width: 160
+    width: 160,
+    ...renderIconLabelLeft('buyer_code', 'buyer_name', "购买方公司纳税号:")
   },
   {
     label: '商品类型',
@@ -112,6 +113,7 @@ const contentConfig: ContentConfig = {
   columns,
   title: "商品管理",
   permissions: ['003', '004', '007'],
+  companyProp: 'buyer_code',
   apis: { 
     httpList,
     httpStatus,

+ 1 - 3
src/views/invoiceInOut/productManager/detail.vue

@@ -1,17 +1,15 @@
 <script setup lang="ts">
 import BasicDescriptions from "/@/components/BasicDescriptions";
-import { useDetail } from "/@/hooks/core/useDetail";
+import { useDetail } from "/@/hooks/core/useDetail"
 import BaseForm from "./components/BaseForm.vue"
 import { goodColumns, goodHasChildColumns } from "./config/columns"
 
 import { httpDetail } from "/@/api/invoiceInOut/productManager";
 import { useTask } from "/@/hooks/core"
 
-
 const detailTask = useTask()
 const { title, isDetail, collapses, id } = useDetail({ baseName: '商品', collapseLen: 2 });
 
-
 id.value && detailTask.run(httpDetail({ id: id.value }))
 </script>
 

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels