snow 4 ヶ月 前
コミット
59d82ae9c6
98 ファイル変更83 行追加67 行削除
  1. 0 0
      dist/assets/BaseForm.0d14fd.js
  2. 0 0
      dist/assets/BaseForm.52e1af.js
  3. 0 0
      dist/assets/ChildGoodEditModal.396f34.js
  4. 0 0
      dist/assets/ChildGoodEditModal.4f2a2c.js
  5. 0 0
      dist/assets/ChildGoodEditModal.682aea.js
  6. 1 1
      dist/assets/ChildGoodEditModal.7967d3.js
  7. 0 0
      dist/assets/ChildGoodEditModal.b8748c.js
  8. 1 1
      dist/assets/InvoiceTitle.77bebe.js
  9. 1 1
      dist/assets/InvoiceTitle.7eecae.js
  10. 0 0
      dist/assets/basic-descriptions.fb5b2628.js
  11. 0 0
      dist/assets/calc.3a0c2641.js
  12. 0 0
      dist/assets/columnRenderHelper.e53c11ea.js
  13. 0 0
      dist/assets/columns.f01d8bd1.js
  14. 0 0
      dist/assets/detail.0eccad.js
  15. 0 0
      dist/assets/detail.199d10.js
  16. 0 0
      dist/assets/detail.21c5be.js
  17. 0 0
      dist/assets/detail.344814.js
  18. 0 0
      dist/assets/detail.40f304.js
  19. 0 0
      dist/assets/detail.81cc9d.js
  20. 1 1
      dist/assets/detail.8b0ced.js
  21. 0 0
      dist/assets/detail.909881.js
  22. 0 0
      dist/assets/detail.b3ed56.js
  23. 0 0
      dist/assets/detail.b68e3a.js
  24. 1 1
      dist/assets/detail.c73fd2.js
  25. 0 0
      dist/assets/execl-upload.0e9ffc49.js
  26. 0 0
      dist/assets/index.00d6e041.js
  27. 0 0
      dist/assets/index.01c9e0ad.js
  28. 0 0
      dist/assets/index.08977e.js
  29. 0 0
      dist/assets/index.097ecf.js
  30. 0 0
      dist/assets/index.0dbb49.js
  31. 0 0
      dist/assets/index.1aa4dc.js
  32. 0 0
      dist/assets/index.1ddafc.js
  33. 0 0
      dist/assets/index.2e8788c0.js
  34. 0 0
      dist/assets/index.303734.js
  35. 0 0
      dist/assets/index.342a478c.js
  36. 0 0
      dist/assets/index.3d80709f.js
  37. 0 0
      dist/assets/index.4344e637.js
  38. 0 0
      dist/assets/index.486fdb.js
  39. 0 0
      dist/assets/index.4cc868b6.js
  40. 0 0
      dist/assets/index.4cf9ee.js
  41. 0 0
      dist/assets/index.4f356d.js
  42. 0 0
      dist/assets/index.518df3.js
  43. 0 0
      dist/assets/index.52bb3f.js
  44. 0 0
      dist/assets/index.563420.js
  45. 0 0
      dist/assets/index.5a0076.js
  46. 0 0
      dist/assets/index.603aa9.js
  47. 0 0
      dist/assets/index.639033.js
  48. 0 0
      dist/assets/index.64a52c.js
  49. 0 0
      dist/assets/index.656b8f.js
  50. 0 0
      dist/assets/index.674a5d.js
  51. 0 0
      dist/assets/index.6e73f4.js
  52. 0 0
      dist/assets/index.72dcc7.js
  53. 0 0
      dist/assets/index.76ffe1.js
  54. 0 0
      dist/assets/index.9319d0.js
  55. 0 0
      dist/assets/index.9fb413.js
  56. 0 0
      dist/assets/index.ac4300.js
  57. 0 0
      dist/assets/index.aeacb5.js
  58. 0 0
      dist/assets/index.b0b79d.js
  59. 0 0
      dist/assets/index.b42d64.js
  60. 0 0
      dist/assets/index.bb0cc8.js
  61. 0 0
      dist/assets/index.bb93f8.js
  62. 0 0
      dist/assets/index.bdcf42.js
  63. 0 0
      dist/assets/index.c0634d.js
  64. 0 0
      dist/assets/index.c2487c.js
  65. 0 0
      dist/assets/index.c8afd8.js
  66. 0 0
      dist/assets/index.d1db0c.js
  67. 0 0
      dist/assets/index.d687d3.js
  68. 0 0
      dist/assets/index.da643a.js
  69. 0 0
      dist/assets/index.ec0182.js
  70. 0 0
      dist/assets/index.eeea76.js
  71. 0 0
      dist/assets/index.f515ddec.js
  72. 0 0
      dist/assets/index.js
  73. 0 0
      dist/assets/motion.921bd967.js
  74. 0 0
      dist/assets/phone.9e1123.js
  75. 1 1
      dist/assets/qrCode.be32d8.js
  76. 0 0
      dist/assets/regist.bfca82.js
  77. 0 0
      dist/assets/rule.a795c2ca.js
  78. 0 0
      dist/assets/tootip.b8a37fe7.js
  79. 0 0
      dist/assets/update.2f876b.js
  80. 0 0
      dist/assets/use-page-search.0088a7fd.js
  81. 0 0
      dist/assets/useDetail.6122bd7e.js
  82. 0 0
      dist/assets/verifyCode.6da0c802.js
  83. 2 2
      src/api/user.ts
  84. 2 0
      src/components/PageContent/src/hooks/use-request.ts
  85. 5 3
      src/hooks/core/useCompany.ts
  86. 18 14
      src/layout/components/company/super.vue
  87. 0 5
      src/store/modules/user.ts
  88. 7 2
      src/views/invoiceInOut/clientC/index.vue
  89. 1 1
      src/views/invoiceInOut/inManager/config/search.config.ts
  90. 8 4
      src/views/invoiceInOut/inManager/detail.vue
  91. 5 2
      src/views/invoiceInOut/inManager/index.vue
  92. 3 3
      src/views/invoiceInOut/inventoryCheck/index.vue
  93. 1 1
      src/views/invoiceInOut/outManager/config/search.config.ts
  94. 8 17
      src/views/invoiceInOut/outManager/detail.vue
  95. 5 2
      src/views/invoiceInOut/outManager/index.vue
  96. 1 0
      src/views/invoiceInOut/productManager/config/content.config.ts
  97. 4 1
      src/views/invoiceInOut/provisionOut/detail.vue
  98. 7 4
      src/views/invoiceInOut/summary/index.vue

ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/BaseForm.0d14fd.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/BaseForm.52e1af.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/ChildGoodEditModal.396f34.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/ChildGoodEditModal.4f2a2c.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/ChildGoodEditModal.682aea.js


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

@@ -1 +1 @@
-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.1630c13c.js";import{B as M}from"./basic-descriptions.092e0951.js";import"./status.4e0ebdbc.js";import"./tootip.07ef3ad4.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 z=B(G,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/productManager/components/ChildGoodEditModal.vue"]]);export{z 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.f01d8bd1.js";import{B as M}from"./basic-descriptions.fb5b2628.js";import"./status.4e0ebdbc.js";import"./tootip.b8a37fe7.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 z=B(G,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/productManager/components/ChildGoodEditModal.vue"]]);export{z as default};

ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/ChildGoodEditModal.b8748c.js


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

@@ -1 +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.092e0951.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};
+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.fb5b2628.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.092e0951.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.fb5b2628.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};

+ 0 - 0
dist/assets/basic-descriptions.092e0951.js → dist/assets/basic-descriptions.fb5b2628.js


+ 0 - 0
dist/assets/calc.b11ef20e.js → dist/assets/calc.3a0c2641.js


+ 0 - 0
dist/assets/columnRenderHelper.e26579a8.js → dist/assets/columnRenderHelper.e53c11ea.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/columns.f01d8bd1.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/detail.0eccad.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/detail.199d10.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/detail.21c5be.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/detail.344814.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/detail.40f304.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/detail.81cc9d.js


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

@@ -1 +1 @@
-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.092e0951.js";import{u as I}from"./useDetail.f22a90d7.js";import{a as N}from"./index.699735f5.js";import"./shared.80186348.js";import"./index.bb93f8.js";import"./use-page-search.f8704e82.js";import"./status.4e0ebdbc.js";import"./index.985a597d.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};
+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.fb5b2628.js";import{u as I}from"./useDetail.6122bd7e.js";import{a as N}from"./index.01c9e0ad.js";import"./shared.80186348.js";import"./index.bb93f8.js";import"./use-page-search.0088a7fd.js";import"./status.4e0ebdbc.js";import"./index.4344e637.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};

ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/detail.909881.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/detail.b3ed56.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/detail.b68e3a.js


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

@@ -1 +1 @@
-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 p,a as d}from"./index.js";import{B as V}from"./basic-descriptions.092e0951.js";import{u as x}from"./useDetail.f22a90d7.js";import w from"./BaseForm.52e1af.js";import{g as y,a as I}from"./columns.1630c13c.js";import{a as N}from"./index.699735f5.js";import"./status.4e0ebdbc.js";import"./InvoiceTitle.77bebe.js";import"./index.08977e.js";import"./use-page-search.f8704e82.js";import"./ChildGoodEditModal.7967d3.js";import"./query-category.fa03a8.js";import"./tootip.07ef3ad4.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)?d("v-if",!0):(i(),p(w,{key:0})),e(r)&&e(a).data?(i(),p(e(V),{key:1,columns:e(a).data.is_combind=="1"?e(y):e(I),data:e(a).data},null,8,["columns","data"])):d("v-if",!0)]),_:1},8,["title"])]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])),[[C,e(a).loading]])}}});var S=E(H,[["__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 p,a as d}from"./index.js";import{B as V}from"./basic-descriptions.fb5b2628.js";import{u as x}from"./useDetail.6122bd7e.js";import w from"./BaseForm.52e1af.js";import{g as y,a as I}from"./columns.f01d8bd1.js";import{a as N}from"./index.01c9e0ad.js";import"./status.4e0ebdbc.js";import"./InvoiceTitle.77bebe.js";import"./index.08977e.js";import"./use-page-search.0088a7fd.js";import"./ChildGoodEditModal.7967d3.js";import"./query-category.fa03a8.js";import"./tootip.b8a37fe7.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)?d("v-if",!0):(i(),p(w,{key:0})),e(r)&&e(a).data?(i(),p(e(V),{key:1,columns:e(a).data.is_combind=="1"?e(y):e(I),data:e(a).data},null,8,["columns","data"])):d("v-if",!0)]),_:1},8,["title"])]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])),[[C,e(a).loading]])}}});var S=E(H,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/productManager/detail.vue"]]);export{S as default};

+ 0 - 0
dist/assets/execl-upload.ba2fe8d4.js → dist/assets/execl-upload.0e9ffc49.js


+ 0 - 0
dist/assets/index.21141f80.js → dist/assets/index.00d6e041.js


+ 0 - 0
dist/assets/index.699735f5.js → dist/assets/index.01c9e0ad.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.08977e.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.097ecf.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.0dbb49.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.1aa4dc.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.1ddafc.js


+ 0 - 0
dist/assets/index.dfa30c8a.js → dist/assets/index.2e8788c0.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.303734.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.342a478c.js


+ 0 - 0
dist/assets/index.1117561a.js → dist/assets/index.3d80709f.js


+ 0 - 0
dist/assets/index.985a597d.js → dist/assets/index.4344e637.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.486fdb.js


+ 0 - 0
dist/assets/index.36894ca9.js → dist/assets/index.4cc868b6.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.4cf9ee.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.4f356d.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.518df3.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.52bb3f.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.563420.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.5a0076.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.603aa9.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.639033.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.64a52c.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.656b8f.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.674a5d.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.6e73f4.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.72dcc7.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.76ffe1.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.9319d0.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.9fb413.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.ac4300.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.aeacb5.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.b0b79d.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.b42d64.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.bb0cc8.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.bb93f8.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.bdcf42.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.c0634d.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.c2487c.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.c8afd8.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.d1db0c.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.d687d3.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.da643a.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.ec0182.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.eeea76.js


+ 0 - 0
dist/assets/index.3c62bb16.js → dist/assets/index.f515ddec.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/index.js


+ 0 - 0
dist/assets/motion.aa91079b.js → dist/assets/motion.921bd967.js


ファイルの差分が大きいため隠しています
+ 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,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.aa91079b.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.921bd967.js";/*!
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
  *
  * Copyright (c) 2014-2017, Jon Schlinkert.

ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/regist.bfca82.js


+ 0 - 0
dist/assets/rule.3a31da08.js → dist/assets/rule.a795c2ca.js


+ 0 - 0
dist/assets/tootip.07ef3ad4.js → dist/assets/tootip.b8a37fe7.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/assets/update.2f876b.js


+ 0 - 0
dist/assets/use-page-search.f8704e82.js → dist/assets/use-page-search.0088a7fd.js


+ 0 - 0
dist/assets/useDetail.f22a90d7.js → dist/assets/useDetail.6122bd7e.js


+ 0 - 0
dist/assets/verifyCode.3dfc71e0.js → dist/assets/verifyCode.6da0c802.js


+ 2 - 2
src/api/user.ts

@@ -44,7 +44,7 @@ export const refreshToken = (data: object) => {
 };
 
 export const httpCompany = (data: object): any => {
-  return http.request("post", `${yewuApi}comprehensiveList`, { data });
+  return http.request("post", `${yewuApi}companylist`, { data });
 };
 
 export const httpMyCompany = (data: object): any => {
@@ -73,7 +73,7 @@ export const httpSupplierList = (data: object): any => {
   return http.request("post", `${yewuApi}comprehensiveList`, { data: {... data, type: '3' } });
 };
 export const httpBusinessList = (data: object): any => {
-  return http.request("post", `${yewuApi}comprehensiveList`, { data: {... data, type: '1' } });
+  return http.request("post", `${yewuApi}companylist`, { data: {... data, type: '1' } });
 };
 
 export const httpGetAllCompany = (data: object) => {

+ 2 - 0
src/components/PageContent/src/hooks/use-request.ts

@@ -49,6 +49,8 @@ export function useRequeset(props: PageContentProps) {
     // 业务公司编号转换为纳税号
     const license = licenseSet.value.find(({ companyNo }) => companyNo === currentCompany.value?.companyCode)
 
+    console.log(licenseSet.value, currentCompany.value?.companyCode)
+
     const params = mergeParams({
       pagination: getPagination ? getPagination() : {},
       basicParams: getBasicParams(),

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

@@ -19,12 +19,14 @@ export function useCompany() {
 
   function setCurrentCompany(value, list?: any) {
     const filter: any = ({ companyCode }) => companyCode === value;
-    const company = (list || companyList.value).find(filter);
+    const company = (list || companyList.value).find(filter) || {}
+
+
     if (company && company.companyCode) { company.companyNo = company.companyCode }
     /** 超管用户可以查看所有 */ 
     if(userInfo.isSuperUser.value) {
-      company.companyName = value?.name || '所有公司'
-      company.companyNo = value?.code || ''
+      company.companyName = value?.companyName || '所有公司'
+      company.companyCode = value?.companyNo || ''
     }
 
     userStore.setCurrentCompany(company);

+ 18 - 14
src/layout/components/company/super.vue

@@ -17,7 +17,7 @@ const props = withDefaults(
     placeholder?: string;
   }>(),
   {
-    code: ""
+    code: "all"
   }
 );
 
@@ -72,7 +72,7 @@ async function requestSupplierAll(name: string, companyNo: string) {
 }
 
 function handleChange(value) {
-  const item = list.value.find(({ code }) => code === value);
+  const item = list.value.find(({ companyNo }) => companyNo === value);
   if (!props.noSet) {
     setCurrentCompany(item);
   }
@@ -88,7 +88,7 @@ async function handleScroll() {
     state.page++;
     state.loading = true;
 
-    const api = userLevel.value === "3" || props.isSupplier ? httpSupplierList : httpBusinessList;
+    const api = httpBusinessList
     const { data, message, code } = await api({
       name: state.name,
       page: state.page,
@@ -133,7 +133,7 @@ onUnmounted(() => {
   state.noMore = false;
   state.name = "";
   state.page = 1;
-  scrollWrapper.removeEventListener("scroll", debounceScroll);
+  scrollWrapper?.removeEventListener("scroll", debounceScroll);
 });
 
 watch(
@@ -151,14 +151,21 @@ watch(
 );
 
 const getLabel = company => {
-  const { code, name } = company;
-  return code + " / " + name;
+  const { companyNo, company_name } = company;
+  return companyNo + " / " + company_name;
 };
 
 requestSupplierAll(undefined, props.code);
 
+
+watch(() => props.code, () => {
+  console.log(props.code.length)
+}, {
+  immediate: true
+})
+
 defineExpose({
-  selectAll: () => (code.value = "")
+  selectAll: () => (code.value = "all")
 });
 </script>
 
@@ -173,16 +180,13 @@ defineExpose({
     :placeholder="placeholder"
     ref="selectRef"
   >
-    <ElOption
-      v-if="!noAll"
-      :label="userLevel === '3' ? '所有供应商公司' : '所有业务公司'"
-      :value="''"
-    />
+    <ElOption label="所有业务公司" value="all" />
+
     <ElOption
       class="super-item"
       v-for="c in list"
-      :key="c.code"
-      :value="c.code"
+      :key="c.companyNo"
+      :value="c.companyNo"
       :label="getLabel(c)"
     />
 

+ 0 - 5
src/store/modules/user.ts

@@ -185,10 +185,6 @@ 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);
-
         
         /* 非超管用户获取公司 */
         if (!this.isSuperUser && this.companyList.length === 0) {
@@ -223,7 +219,6 @@ export const useUserStore = defineStore({
 
 
         if (currentCompany && currentCompany.companyCode) {
-          // currentCompany.companyCode = currentCompany.companyCode;
           currentCompany.companyNo = currentCompany.companyCode;
         }
 

+ 7 - 2
src/views/invoiceInOut/clientC/index.vue

@@ -9,6 +9,7 @@ import contentConfig from "./config/content.config";
 import searchConfig from "./config/search.config";
 import { utils, writeFile } from "xlsx";
 import { ElButton } from "element-plus";
+import { useUserInfo } from "/@/hooks/core/useUser";
 
 
 const PageName = "inOutManager";
@@ -19,6 +20,8 @@ const hooks: PageHooks = { pageSearchHook: () => usePageSearch(undefined, undefi
 
 const pageContentRef = ref(null)
 
+const { isSuperUser } = useUserInfo()
+
 const events: PageEvents = {
   content: {
     create: () => router.push('/invoiceInOut/clinetCDetail'),
@@ -39,7 +42,8 @@ function handleDownloadTemplate(){
     <PageContainer :hooks="hooks" :events="events" :searchConfig="searchConfig" :contentConfig="contentConfig"
       :get-content-ref="ref => pageContentRef = ref">
       <template #content_header>
-        <ElButton 
+        <ElButton
+          v-if="!isSuperUser"
           size="small" 
           type="primary" 
           style="margin-right: 10px;margin-top:1px"
@@ -56,7 +60,8 @@ function handleDownloadTemplate(){
         >C端无发票订单出库模板
         </ElButton>
  
-        <ElButton 
+        <ElButton
+         v-if="!isSuperUser"
           size="small" 
           type="primary"
           @click="router.push('/invoiceInOut/clinetCDetail')"

+ 1 - 1
src/views/invoiceInOut/inManager/config/search.config.ts

@@ -5,7 +5,7 @@ const searchFormConfig: FormConfig = {
     {
       field: 'inv_seller_code',
       type: 'inv-out-query',
-      placeholder: '发票销售方'
+      placeholder: '发票销售方公司'
     },
     {
       field: 'inv_buyer_code',

+ 8 - 4
src/views/invoiceInOut/inManager/detail.vue

@@ -10,11 +10,12 @@ import ChildGoodEditModal from "./components/ChildGoodEditModal.vue";
 
 import { httpDetail, httpStatus } from "/@/api/invoiceInOut/inOutManager";
 import { httpDetail as httpProductDetail } from "/@/api/invoiceInOut/productManager";
-import { ElCollapse, ElCollapseItem, ElForm, ElMessage, ElTable, ElTableColumn } from "element-plus";
+import { ElButton, ElCollapse, ElCollapseItem, ElForm, ElMessage, ElTable, ElTableColumn, ElTooltip } from "element-plus";
 import ProductDetail from "/@/components/ProductDetail/index.vue"
 import { useTask } from "/@/hooks/core";
 
 import SealMonthPicker from "/@/components/SealMonthPicker/index.vue"
+import { useUserInfo } from "/@/hooks/core/useUser";
 
 
 const { title, collapses, id } = useDetail({ baseName: '入库', collapseLen: 5 });
@@ -22,6 +23,9 @@ const { title, collapses, id } = useDetail({ baseName: '入库', collapseLen: 5
 const visible = ref(false)
 
 
+const { isSuperUser } = useUserInfo()
+
+
 const productDetailTask = useTask()
 
 const detailTask = useTask({ success(data) {
@@ -178,7 +182,7 @@ id.value && detailTask.run(httpDetail({ id: id.value }))
             <ProductDetail :data="productDetailTask.data" :num="goodNum" />
           </ElCollapseItem>
 
-          <ElCollapseItem title="出入库信息确认" name="5" v-if="detailTask.data && detailTask.data.status == '1'">
+          <ElCollapseItem title="出入库信息确认" name="5" v-if="!isSuperUser && detailTask.data && detailTask.data.status == '1'">
             <ElForm ref="formRef" :rules="rules" :model="formData">
               <ElFormItem label="操作商品" prop="goods">
                 <ElTable :span-method="spanMethod" border size="small" :data="formData.goods">
@@ -209,8 +213,8 @@ id.value && detailTask.run(httpDetail({ id: id.value }))
 
 
                       <ElTooltip content="删除" placement="top">
-                        <ElButton :icon="useRenderIcon('delete')" type="danger" size="small" link
-                          @click="handleDelete($index)" />
+                        <ElButton :icon="useRenderIcon('delete')" @click="handleDelete($index)" type="danger"
+                          size="small" link />
                       </ElTooltip>
                     </template>
                   </ElTableColumn>

+ 5 - 2
src/views/invoiceInOut/inManager/index.vue

@@ -10,6 +10,7 @@ import { useRenderIcon } from "/@/components/ReIcon/src/hooks"
 import contentConfig from "./config/content.config";
 import searchConfig from "./config/search.config";
 import { utils, writeFile } from "xlsx";
+import { useUserInfo } from "/@/hooks/core/useUser";
 
 
 const PageName = "inOutManager";
@@ -20,6 +21,8 @@ const hooks: PageHooks = { pageSearchHook: () => usePageSearch(undefined, undefi
 
 const pageContentRef = ref(null)
 
+const { isSuperUser } = useUserInfo()
+
 const events: PageEvents = {
   content: {
     create: () => router.push('/invoiceInOut/inManagerDetail'),
@@ -47,8 +50,8 @@ function onDownload(type = 'notOrder'){
       :get-content-ref="ref => pageContentRef = ref"
     >
       <template #content_header>
-        <ElDropdown>
-          <ElButton 
+        <ElDropdown  v-if="!isSuperUser">
+          <ElButton
             size="small" 
             type="primary"
             style="margin-right: 10px;margin-top:1px"

+ 3 - 3
src/views/invoiceInOut/inventoryCheck/index.vue

@@ -7,12 +7,12 @@ import BatchCreateModal from "./components/BatchCreateModal/index.vue"
 import { ref } from "vue";
 import { orderTemplate } from "./components/BatchCreateModal/columns-config";
 import { utils, writeFile } from 'xlsx';
-
-
+import { useUserInfo } from "/@/hooks/core/useUser";
 
 const PageName = "productManager";
 const router = useRouter();
 
+const { isSuperUser } = useUserInfo()
 
 const visible = ref(false)
 
@@ -49,7 +49,7 @@ async function onDownload(){
       :get-content-ref="ref => contentRef = ref"
     >
       <template #content_header>
-        <ElButton type="primary" size="small"  @click="visible = true" >
+        <ElButton type="primary" size="small"  @click="visible = true"  v-if="!isSuperUser">
           批量创建
         </ElButton>
 

+ 1 - 1
src/views/invoiceInOut/outManager/config/search.config.ts

@@ -5,7 +5,7 @@ const searchFormConfig: FormConfig = {
     {
       field: 'inv_seller_code',
       type: 'inv-out-query',
-      placeholder: '发票销售方'
+      placeholder: '发票销售方公司'
     },
     {
       field: 'inv_buyer_code',

+ 8 - 17
src/views/invoiceInOut/outManager/detail.vue

@@ -15,6 +15,7 @@ import ProductDetail from "/@/components/ProductDetail/index.vue"
 import { useTask } from "/@/hooks/core";
 
 import SealMonthPicker from "/@/components/SealMonthPicker/index.vue"
+import { useUserInfo } from "/@/hooks/core/useUser";
 
 
 const { title, collapses, id } = useDetail({ baseName: '出库', collapseLen: 5 });
@@ -26,15 +27,10 @@ const productIndex = ref(0)
 
 
 const productDetailTask = useTask()
-
 const detailTask = useTask()
 
-
-const state = reactive({
-  editVisible: false,
-  index: -1,
-  data: {}
-})
+const { isSuperUser } = useUserInfo()
+const state = reactive({ editVisible: false, index: -1, data: {} })
 
 const loading = ref(false)
 const formRef = ref<InstanceType<typeof ElForm> | null>(null)
@@ -142,9 +138,6 @@ function handleEditGood(index, data) {
 
 function handleShowDetail(id, index){
   productVisible.value = true
-
-  console.log(index, '~~🚀~~')
-
   productIndex.value = index
   productDetailTask.run(httpProductDetail({ id }))
 }
@@ -192,7 +185,7 @@ id.value && detailTask.run(httpDetail({ id: id.value }))
             </ElTable>
           </ElCollapseItem>
 
-          <ElCollapseItem title="出入库信息确认" name="5" v-if="detailTask.data && detailTask.data.status == '1'">
+          <ElCollapseItem title="出入库信息确认" name="5" v-if="!isSuperUser && detailTask.data && detailTask.data.status == '1'">
             <ElForm ref="formRef" :rules="rules" :model="formData">
               <ElFormItem label="操作商品" prop="goods">
                 <ElTable :span-method="spanMethod" border size="small" :data="formData.goods">
@@ -233,7 +226,8 @@ id.value && detailTask.run(httpDetail({ id: id.value }))
 
               <ElFormItem label="入账月份" prop="month">
                 <!-- :company_code="detailTask.data.buyer_code" -->
-                <SealMonthPicker v-model="formData.month" placeholder="入账月份"  :company_code="detailTask.data.buyer_code" />
+                <SealMonthPicker v-model="formData.month" placeholder="入账月份"
+                  :company_code="detailTask.data.buyer_code" />
               </ElFormItem>
             </ElForm>
 
@@ -252,11 +246,8 @@ id.value && detailTask.run(httpDetail({ id: id.value }))
 
     <ElDialog center title="商品详情" v-model="productVisible" style="overflow: hidden">
       <div v-loading="productDetailTask.loading">
-        <ProductDetail
-          v-if="productDetailTask.data"
-          :data="productDetailTask.data"
-          :num="detailTask.data.ProductRela[productIndex].num"
-        />
+        <ProductDetail v-if="productDetailTask.data" :data="productDetailTask.data"
+          :num="detailTask.data.ProductRela[productIndex].num" />
       </div>
     </ElDialog>
   </div>

+ 5 - 2
src/views/invoiceInOut/outManager/index.vue

@@ -10,6 +10,7 @@ import { useRenderIcon } from "/@/components/ReIcon/src/hooks"
 import contentConfig from "./config/content.config";
 import searchConfig from "./config/search.config";
 import { utils, writeFile } from "xlsx";
+import { useUserInfo } from "/@/hooks/core/useUser";
 
 
 const PageName = "inOutManager";
@@ -20,6 +21,8 @@ const hooks: PageHooks = { pageSearchHook: () => usePageSearch(undefined, undefi
 
 const pageContentRef = ref(null)
 
+const { isSuperUser } = useUserInfo()
+
 const events: PageEvents = {
   content: {
     create: () => router.push('/invoiceInOut/outManagerDetail'),
@@ -47,8 +50,8 @@ function onDownload(type = 'notOrder'){
       :get-content-ref="ref => pageContentRef = ref"
     >
       <template #content_header>
-        <ElDropdown>
-          <ElButton 
+        <ElDropdown  v-if="!isSuperUser">
+          <ElButton
             size="small" 
             type="primary"
             style="margin-right: 10px;margin-top:1px"

+ 1 - 0
src/views/invoiceInOut/productManager/config/content.config.ts

@@ -114,6 +114,7 @@ const contentConfig: ContentConfig = {
   title: "商品管理",
   permissions: ['003', '004', '007'],
   companyProp: 'buyer_code',
+  superUserNoAction: true,
   apis: { 
     httpList,
     httpStatus,

+ 4 - 1
src/views/invoiceInOut/provisionOut/detail.vue

@@ -14,12 +14,15 @@ import { useTask } from "/@/hooks/core";
 
 import SealMonthPicker from "/@/components/SealMonthPicker/index.vue"
 import { UnitInput } from "/@/components/Input";
+import { useUserInfo } from "/@/hooks/core/useUser";
 
 
 const { title, collapses, id } = useDetail({ baseName: '计提出库明细处理', collapseLen: 2 });
 
 const visible = ref(false)
 
+
+const { isSuperUser } = useUserInfo()
 const detailTask = useTask()
 
 const state = reactive({
@@ -174,7 +177,7 @@ id.value && detailTask.run(httpDetail({ id: id.value }))
           </ElCollapseItem>
 
           <!-- && detailTask.data.type == '1' -->
-          <ElCollapseItem title="出入库信息确认" name="2" v-if="detailTask.data && detailTask.data.status == '1'">
+          <ElCollapseItem title="出入库信息确认" name="2" v-if="detailTask.data && detailTask.data.status == '1' && !isSuperUser">
             <ElForm ref="formRef" :rules="rules" :model="formData" label-width="140px">
               <ElFormItem label="关联凭证" prop="goods">
                 <ElTable :span-method="spanMethod" border size="small" :data="formData.goods">

+ 7 - 4
src/views/invoiceInOut/summary/index.vue

@@ -7,12 +7,15 @@ import searchConfig from "./config/search.config";
 import { useRouter } from "vue-router";
 import { httpFZStatus } from "/@/api/invoiceInOut/summary";
 import { ref } from "vue";
+import { useUserInfo } from "/@/hooks/core/useUser";
 
 const PageName = "productManager";
 const router = useRouter();
 
 const contentRef = ref(null)
 
+const { isSuperUser } = useUserInfo()
+
 // 使用页面搜索钩子
 const hooks: PageHooks = {
   pageSearchHook: () => usePageSearch(
@@ -65,7 +68,7 @@ async function handleStatusChange(id, status) {
       :get-content-ref="ref => contentRef = ref"
     >
       <template #content_action="row">
-        <ElTooltip content="审批通过" placement="top"  v-if="row.status == '1'">
+        <ElTooltip content="审批通过" placement="top"  v-if="row.status == '1' && !isSuperUser">
           <ElButton
             link
             size="small"
@@ -75,7 +78,7 @@ async function handleStatusChange(id, status) {
           />
         </ElTooltip>
         
-        <ElTooltip content="改为未封账" placement="top" v-if="row.status == '1'">
+        <ElTooltip content="改为未封账" placement="top" v-if="row.status == '1' && !isSuperUser">
           <ElButton
             link
             size="small"
@@ -85,7 +88,7 @@ async function handleStatusChange(id, status) {
           />
         </ElTooltip>
 
-        <ElTooltip content="解除封账" placement="top"  v-if="row.status == '2'">
+        <ElTooltip content="解除封账" placement="top"  v-if="row.status == '2' && !isSuperUser">
           <ElButton
             link
             size="small"
@@ -94,7 +97,7 @@ async function handleStatusChange(id, status) {
             :icon="useRenderIcon('link')"
           />
         </ElTooltip>
-        <ElTooltip content="改为待审批" placement="top" v-if="row.status == '0'">
+        <ElTooltip content="改为待审批" placement="top" v-if="row.status == '0' && !isSuperUser">
           <ElButton
             link
             size="small"

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません