snow 4 kuukautta sitten
vanhempi
commit
c5c1ea87e0
100 muutettua tiedostoa jossa 657 lisäystä ja 63 poistoa
  1. 0 0
      dist/assets/BaseForm.4fc96e.js
  2. 0 0
      dist/assets/BaseForm.8d2418.js
  3. 0 0
      dist/assets/BaseForm.dc901e.js
  4. 0 0
      dist/assets/ChildGoodEditModal.266623.js
  5. 0 0
      dist/assets/ChildGoodEditModal.6d23b8.js
  6. 1 0
      dist/assets/ChildGoodEditModal.7967d3.js
  7. 0 0
      dist/assets/ChildGoodEditModal.b8748c.js
  8. 0 0
      dist/assets/ChildGoodEditModal.bd061d.js
  9. 0 0
      dist/assets/ChildGoodEditModal.c100b8.js
  10. 1 1
      dist/assets/InvoiceTitle.250697.js
  11. 1 1
      dist/assets/InvoiceTitle.7eecae.js
  12. 0 0
      dist/assets/basic-descriptions.f8ae61bf.js
  13. 0 0
      dist/assets/calc.43880720.js
  14. 1 0
      dist/assets/columnRenderHelper.e61d905c.js
  15. 0 0
      dist/assets/columns.126478d9.js
  16. 0 0
      dist/assets/detail.0eccad.js
  17. 1 0
      dist/assets/detail.17a55b.js
  18. 0 0
      dist/assets/detail.40f304.js
  19. 1 1
      dist/assets/detail.8b0ced.js
  20. 0 0
      dist/assets/detail.abf4cb.js
  21. 0 0
      dist/assets/detail.b3ed56.js
  22. 0 0
      dist/assets/detail.bbe525.js
  23. 1 1
      dist/assets/detail.c73fd2.js
  24. 0 0
      dist/assets/detail.ce357b.js
  25. 0 0
      dist/assets/detail.ed39b8.js
  26. 0 0
      dist/assets/execl-upload.66e9e61c.js
  27. 0 0
      dist/assets/index.0dbb49.js
  28. 0 0
      dist/assets/index.1219f2.js
  29. 0 0
      dist/assets/index.1ddafc.js
  30. 0 0
      dist/assets/index.22cff3.js
  31. 0 0
      dist/assets/index.24703a.js
  32. 0 0
      dist/assets/index.25a9af.js
  33. 1 0
      dist/assets/index.29292458.js
  34. 0 0
      dist/assets/index.300796.js
  35. 0 0
      dist/assets/index.303734.js
  36. 1 0
      dist/assets/index.33044560.js
  37. 0 0
      dist/assets/index.342dbc.js
  38. 0 0
      dist/assets/index.3b1b4b.js
  39. 0 0
      dist/assets/index.4cf9ee.js
  40. 0 0
      dist/assets/index.52bb3f.js
  41. 0 0
      dist/assets/index.563420.js
  42. 0 0
      dist/assets/index.5ef8ea.js
  43. 0 0
      dist/assets/index.637ef5.js
  44. 0 0
      dist/assets/index.656b8f.js
  45. 0 0
      dist/assets/index.76ffe1.js
  46. 0 0
      dist/assets/index.7a0f8c.js
  47. 0 0
      dist/assets/index.7d46a5.js
  48. 0 0
      dist/assets/index.804884.js
  49. 0 0
      dist/assets/index.85aafec4.js
  50. 0 0
      dist/assets/index.86eae1.js
  51. 0 0
      dist/assets/index.91c8b9.js
  52. 0 0
      dist/assets/index.9fb413.js
  53. 0 0
      dist/assets/index.a6d6c8.js
  54. 0 0
      dist/assets/index.a8b833.js
  55. 1 1
      dist/assets/index.b1238b82.js
  56. 0 0
      dist/assets/index.bb93f8.js
  57. 0 0
      dist/assets/index.bbcfdcee.js
  58. 0 0
      dist/assets/index.bea53f.js
  59. 0 0
      dist/assets/index.c2487c.js
  60. 0 0
      dist/assets/index.c2778ed0.css
  61. 1 0
      dist/assets/index.c67ff3ea.js
  62. 0 0
      dist/assets/index.ccc514.js
  63. 0 0
      dist/assets/index.d9d167.js
  64. 0 0
      dist/assets/index.da6cf9.js
  65. 0 0
      dist/assets/index.e2a1d3.js
  66. 0 0
      dist/assets/index.e307b2.js
  67. 0 0
      dist/assets/index.e8dae4.js
  68. 0 0
      dist/assets/index.f9a061.js
  69. 1 0
      dist/assets/index.faf7951b.js
  70. 0 0
      dist/assets/index.js
  71. 0 0
      dist/assets/motion.08aae92c.js
  72. 0 0
      dist/assets/phone.9e1123.js
  73. 1 1
      dist/assets/qrCode.be32d8.js
  74. 0 0
      dist/assets/query-category.7a496a.js
  75. 0 0
      dist/assets/regist.bfca82.js
  76. 0 0
      dist/assets/rule.831d1d5c.js
  77. 1 0
      dist/assets/shared.04e1e851.js
  78. 0 1
      dist/assets/shared.456185fd.js
  79. 1 0
      dist/assets/shared.e62a6d9e.js
  80. 0 0
      dist/assets/status.d3ab78fb.js
  81. 1 0
      dist/assets/tootip.06479404.js
  82. 0 0
      dist/assets/update.2f876b.js
  83. 0 0
      dist/assets/use-page-search.d8b430d6.js
  84. 0 0
      dist/assets/useDetail.68a84ae7.js
  85. 0 0
      dist/assets/verifyCode.496d0f5f.js
  86. 1 1
      dist/index.html
  87. 16 0
      src/api/components/seal.ts
  88. 44 0
      src/api/invoiceInOut/adjustOrder/index.ts
  89. 44 0
      src/api/invoiceInOut/clientC/index.ts
  90. 2 2
      src/api/invoiceInOut/inventoryCheck/index.ts
  91. 44 0
      src/api/invoiceInOut/provisionOut/index.ts
  92. 52 0
      src/api/invoiceInOut/summary/index.ts
  93. 39 0
      src/components/SealMonthPicker/index.vue
  94. 27 25
      src/hooks/core/useTask.ts
  95. 2 7
      src/hooks/core/useUser.ts
  96. 2 1
      src/store/modules/user.ts
  97. 21 0
      src/utils/columnRenderHelper.ts
  98. 69 15
      src/views/invoiceInOut/adjustOrder/config/content.config.ts
  99. 273 0
      src/views/invoiceInOut/clientC/components/BaseForm/index.vue
  100. 5 5
      src/views/invoiceInOut/clientC/components/ChildGoodEditModal.vue

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/BaseForm.4fc96e.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/BaseForm.8d2418.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/BaseForm.dc901e.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/ChildGoodEditModal.266623.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/ChildGoodEditModal.6d23b8.js


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

@@ -0,0 +1 @@
+import{_ as B,d as C,aQ 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,aR as k}from"./index.js";import{a as E}from"./columns.126478d9.js";import{B as M}from"./basic-descriptions.f8ae61bf.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};

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/ChildGoodEditModal.b8748c.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/ChildGoodEditModal.bd061d.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/ChildGoodEditModal.c100b8.js


+ 1 - 1
dist/assets/InvoiceTitle.250697.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.d643872c.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};
+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.f8ae61bf.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 - 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.456185fd.js";import{B as c}from"./basic-descriptions.d643872c.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.04e1e851.js";import{B as c}from"./basic-descriptions.f8ae61bf.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.d643872c.js → dist/assets/basic-descriptions.f8ae61bf.js


+ 0 - 0
dist/assets/calc.fe7959c3.js → dist/assets/calc.43880720.js


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

@@ -0,0 +1 @@
+import{a1 as n,aJ as i,J as u,aT 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};

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/columns.126478d9.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/detail.0eccad.js


+ 1 - 0
dist/assets/detail.17a55b.js

@@ -0,0 +1 @@
+import{_ as u,d as n,o as r,c as d,j as a,C as l,l as e,az as p,aA as m,a6 as _,aB as c,aK as f}from"./index.js";import{u as v}from"./useDetail.68a84ae7.js";import C from"./index.300796.js";import"./basic-descriptions.f8ae61bf.js";const E={class:"padding__container"},b=n({__name:"detail",setup(B){const{id:k,isDetail:x,title:s,collapses:t}=v({baseName:"\u8BA1\u63D0\u660E\u7EC6\u5904\u7406",collapseLen:2});return(D,o)=>(r(),d("div",E,[a(e(f),null,{default:l(()=>[a(e(p),{label:e(s)},{default:l(()=>[a(e(m),{modelValue:e(t),"onUpdate:modelValue":o[0]||(o[0]=i=>_(t)?t.value=i:null)},{default:l(()=>[a(e(c),{title:e(s),name:"1"},{default:l(()=>[a(C)]),_:1},8,["title"])]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})]))}});var I=u(b,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/provisionOut/detail.vue"]]);export{I as default};

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/detail.40f304.js


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

@@ -1 +1 @@
-import{_ as E,d as b,aO as D,r as t,aj as g,H as B,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{g as V,a as x}from"./ChildGoodEditModal.6d23b8.js";import{B as y}from"./basic-descriptions.d643872c.js";import{u as j}from"./useDetail.107d918b.js";import w from"./BaseForm.4fc96e.js";import{a as I}from"./index.0935e0b4.js";import"./status.21dece30.js";import"./shared.456185fd.js";import"./index.bb93f8.js";import"./use-page-search.89126f99.js";const N={class:"padding__container"},H=b({__name:"detail",setup(O){const a=D(),{id:n,title:r,isDetail:m,collapses:l}=j({baseName:"\u76D8\u70B9",collapseLen:2});return n.value&&a.run(I({id:n.value})),(P,c)=>{const u=t("ElCollapseItem"),_=t("ElCollapse"),f=t("ElTabPane"),v=t("ElTabs"),C=g("loading");return B((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(w,{key:0})),e(m)&&e(a).data?(i(),d(e(y),{key:1,columns:e(a).data.is_combind=="1"?e(V):e(x),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(H,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/inventoryCheck/detail.vue"]]);export{M as default};
+import{_ as E,d as b,aO 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.8d2418.js";import{B as j}from"./basic-descriptions.f8ae61bf.js";import{u as w}from"./useDetail.68a84ae7.js";import{a as I}from"./index.85aafec4.js";import"./shared.04e1e851.js";import"./index.bb93f8.js";import"./use-page-search.d8b430d6.js";import"./status.d3ab78fb.js";import"./index.c67ff3ea.js";const N={class:"padding__container"},H=b({__name:"detail",setup(O){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})),(P,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(H,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/inventoryCheck/detail.vue"]]);export{M as default};

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/detail.abf4cb.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/detail.b3ed56.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/detail.bbe525.js


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

@@ -1 +1 @@
-import{_ as E,d as b,aO 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.d643872c.js";import{u as x}from"./useDetail.107d918b.js";import j from"./BaseForm.dc901e.js";import{g as w,a as y}from"./ChildGoodEditModal.266623.js";import{a as I}from"./index.0935e0b4.js";import"./status.21dece30.js";import"./InvoiceTitle.250697.js";import"./index.91c8b9.js";import"./use-page-search.89126f99.js";import"./query-category.7a496a.js";const N={class:"padding__container"},H=b({__name:"detail",setup(O){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})),(P,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 Q=E(H,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/productManager/detail.vue"]]);export{Q as default};
+import{_ as E,d as b,aO 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.f8ae61bf.js";import{u as x}from"./useDetail.68a84ae7.js";import j from"./BaseForm.dc901e.js";import{g as w,a as y}from"./columns.126478d9.js";import{a as I}from"./index.85aafec4.js";import"./status.d3ab78fb.js";import"./InvoiceTitle.250697.js";import"./index.91c8b9.js";import"./use-page-search.d8b430d6.js";import"./ChildGoodEditModal.7967d3.js";import"./query-category.7a496a.js";const N={class:"padding__container"},H=b({__name:"detail",setup(O){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})),(P,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(H,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/productManager/detail.vue"]]);export{S as default};

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/detail.ce357b.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/detail.ed39b8.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/execl-upload.66e9e61c.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.0dbb49.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.1219f2.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.1ddafc.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.22cff3.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.24703a.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.25a9af.js


+ 1 - 0
dist/assets/index.29292458.js

@@ -0,0 +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,E=t=>s.request("post",`${a}/cxinv/FinancialSeal/list`,{data:t}),R=t=>s.request("post",`${a}/cxinv/FinancialSeal/FzList`,{data:t});export{E as a,R as h};

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.300796.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.303734.js


+ 1 - 0
dist/assets/index.33044560.js

@@ -0,0 +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};

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.342dbc.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.3b1b4b.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.4cf9ee.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.52bb3f.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.563420.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.5ef8ea.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.637ef5.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.656b8f.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.76ffe1.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.7a0f8c.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.7d46a5.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.804884.js


+ 0 - 0
dist/assets/index.0935e0b4.js → dist/assets/index.85aafec4.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.86eae1.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.91c8b9.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.9fb413.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.a6d6c8.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.a8b833.js


+ 1 - 1
dist/assets/index.c2b73126.js → dist/assets/index.b1238b82.js

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

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.bb93f8.js


+ 0 - 0
dist/assets/index.049fdbe2.js → dist/assets/index.bbcfdcee.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.bea53f.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.c2487c.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.c2778ed0.css


+ 1 - 0
dist/assets/index.c67ff3ea.js

@@ -0,0 +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};

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.ccc514.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.d9d167.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.da6cf9.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.e2a1d3.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.e307b2.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.e8dae4.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.f9a061.js


+ 1 - 0
dist/assets/index.faf7951b.js

@@ -0,0 +1 @@
+import{ax as d,a0 as i,d as p,w as m,aQ as _,aO as f,z as y,o as v,G as E,l as r,a6 as R,aU as V,_ as Y,aN as k}from"./index.js";const{VITE_PROXY_DOMAIN_REAL:O,VITE_PROXY_USER_REAL:A,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)=>(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 P=Y(h,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/components/SealMonthPicker/index.vue"]]);export{P as S};

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index.js


+ 0 - 0
dist/assets/motion.3a393faf.js → dist/assets/motion.08aae92c.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 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.3a393faf.js";/*!
+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,bo as ve,bp 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.08aae92c.js";/*!
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
  *
  * Copyright (c) 2014-2017, Jon Schlinkert.

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/query-category.7a496a.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/regist.bfca82.js


+ 0 - 0
dist/assets/rule.27eca30e.js → dist/assets/rule.831d1d5c.js


+ 1 - 0
dist/assets/shared.04e1e851.js

@@ -0,0 +1 @@
+const e=[{label:"\u62AC\u5934",span:24,field:"invoice_title"},{label:"\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",span:24,field:"invoice_code"}],u=()=>({product_id:"",check_type:"",check_num:"",fz_date:""}),r={product_id:[{required:!0,message:"\u8BF7\u9009\u62E9\u5546\u54C1",trigger:"change"}],check_type:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u679C\u7C7B\u578B",trigger:"change"}],check_num:[{required:!0,message:"\u8BF7\u8F93\u5165\u76D8\u70B9\u6570\u91CF",trigger:"change"}],fz_date:[{required:!0,message:"\u8BF7\u9009\u62E9\u5165\u8D26\u6708\u4EFD",trigger:"change"}]};export{u as c,e as i,r};

+ 0 - 1
dist/assets/shared.456185fd.js

@@ -1 +0,0 @@
-const u=[{label:"\u62AC\u5934",span:24,field:"invoice_title"},{label:"\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",span:24,field:"invoice_code"}],e=()=>({childArr:[],num:"",ykNum:"",result:"",month:""}),r={childArr:[{required:!0,message:"\u8BF7\u9009\u62E9\u5546\u54C1",trigger:"change"}],num:[{required:!0,message:"\u8BF7\u8F93\u5165\u76D8\u70B9\u6570\u91CF",trigger:"change"}],result:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u679C\u7C7B\u578B",trigger:"change"}],month:[{required:!0,message:"\u8BF7\u9009\u62E9\u5165\u8D26\u6708\u4EFD",trigger:"change"}]};export{e as c,u as i,r};

+ 1 - 0
dist/assets/shared.e62a6d9e.js

@@ -0,0 +1 @@
+const l=[{value:"1",label:"\u5165\u5E93"},{value:"2",label:"\u51FA\u5E93"},{value:"3",label:"\u5165\u5E93\u7EA2\u51B2"},{value:"4",label:"\u51FA\u5E93\u7EA2\u51B2"}],s=l.reduce((a,u)=>({...a,[u.label]:u.value}),{}),e=[{value:"1",label:"\u91C7\u9500\u7ED3\u7B97"},{value:"2",label:"\u7EBF\u4E0B\u8BA2\u5355"}],t=e.reduce((a,u)=>({...a,[u.label]:u.value}),{}),b=[{value:"1",label:"\u5F85\u5904\u7406",type:"warning"},{value:"2",label:"\u5904\u7406\u5B8C\u6210",type:"success"}],o=[{value:"1",label:"\u6B63\u5E38"},{value:"2",label:"\u8BA1\u63D0"},{value:"3",label:"\u5F02\u5E38"}];export{b as a,s as b,t as c,o as m,e as s,l as t};

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/status.d3ab78fb.js


+ 1 - 0
dist/assets/tootip.06479404.js

@@ -0,0 +1 @@
+import{a1 as e,aT 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};

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/update.2f876b.js


+ 0 - 0
dist/assets/use-page-search.89126f99.js → dist/assets/use-page-search.d8b430d6.js


+ 0 - 0
dist/assets/useDetail.107d918b.js → dist/assets/useDetail.68a84ae7.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/verifyCode.496d0f5f.js


+ 1 - 1
dist/index.html

@@ -11,7 +11,7 @@
     window.process = {};
   </script>
   <script type="module" crossorigin src="/assets/index.js"></script>
-  <link rel="stylesheet" href="/assets/index.b45b7a88.css">
+  <link rel="stylesheet" href="/assets/index.c2778ed0.css">
   <link rel="stylesheet" href="/assets/layout-theme-default.css" id="head">
 </head>
 

+ 16 - 0
src/api/components/seal.ts

@@ -0,0 +1,16 @@
+import { http } from "/@/utils/http";
+import { loadEnv } from "@build/index";
+const { VITE_PROXY_DOMAIN_REAL, VITE_PROXY_USER_REAL, VITE_WORKORDER_REAL } = loadEnv();
+const userAPi = VITE_PROXY_DOMAIN_REAL;
+const yewuApi = VITE_PROXY_USER_REAL + "/admin/";
+
+const newApi = VITE_WORKORDER_REAL
+
+interface ResponseType extends Promise<any> {
+    data?: object; code?: number; msg?: string;
+}
+
+// 列表
+export const httpList = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/cxinv/FinancialSeal/getQuery`, { data });
+};

+ 44 - 0
src/api/invoiceInOut/adjustOrder/index.ts

@@ -0,0 +1,44 @@
+import { http } from "/@/utils/http";
+import { loadEnv } from "@build/index";
+const { VITE_PROXY_DOMAIN_REAL, VITE_PROXY_USER_REAL, VITE_WORKORDER_REAL } = loadEnv();
+const userAPi = VITE_PROXY_DOMAIN_REAL;
+const yewuApi = VITE_PROXY_USER_REAL + "/admin/";
+
+const newApi = VITE_WORKORDER_REAL
+
+
+interface ResponseType extends Promise<any> {
+    data?: object; code?: number; msg?: string;
+}
+
+// 添加
+export const httpAdd = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/cxinv/FinancialManager/CheckList`, { data });
+};
+
+// 列表
+export const httpList = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/cxinv/FinancialManager/CheckList`, { data });
+};
+
+export const httpDetail = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/cxinv/FinancialManager/info`, { data });
+};
+
+export const httpStatus = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/cxinv/FinancialManager/CheckSure`, { data });
+};
+
+export const httpCatist = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/user/TaxCategory/list`, { data });
+};
+
+
+export const httpInvList = (data: object): ResponseType => {
+    return http.request("post", `${yewuApi}orderinvlist`, { data });
+};
+
+
+export const httpCompanies = (data: object): any => {
+    return http.request("post", `${yewuApi}companylist`, { data: { noRela: true, ...data } });
+};

+ 44 - 0
src/api/invoiceInOut/clientC/index.ts

@@ -0,0 +1,44 @@
+import { http } from "/@/utils/http";
+import { loadEnv } from "@build/index";
+const { VITE_PROXY_DOMAIN_REAL, VITE_PROXY_USER_REAL, VITE_WORKORDER_REAL } = loadEnv();
+const userAPi = VITE_PROXY_DOMAIN_REAL;
+const yewuApi = VITE_PROXY_USER_REAL + "/admin/";
+
+const newApi = VITE_WORKORDER_REAL
+
+
+interface ResponseType extends Promise<any> {
+    data?: object; code?: number; msg?: string;
+}
+
+// 添加
+export const httpAdd = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/cxinv/FinancialManager/CheckSureByOther`, { data });
+};
+
+// 列表
+export const httpList = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/cxinv/FinancialManager/list`, { data });
+};
+
+export const httpDetail = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/cxinv/FinancialManager/info`, { data });
+};
+
+export const httpStatus = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/cxinv/FinancialManager/CheckSure`, { data });
+};
+
+export const httpCatist = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/user/TaxCategory/list`, { data });
+};
+
+
+export const httpInvList = (data: object): ResponseType => {
+    return http.request("post", `${yewuApi}orderinvlist`, { data });
+};
+
+
+export const httpCompanies = (data: object): any => {
+    return http.request("post", `${yewuApi}companylist`, { data: { noRela: true, ...data } });
+};

+ 2 - 2
src/api/invoiceInOut/inventoryCheck/index.ts

@@ -13,12 +13,12 @@ interface ResponseType extends Promise<any> {
 
 // 添加
 export const httpAdd = (data: object): ResponseType => {
-    return http.request("post", `${newApi}/cxinv/FinancialManager/create`, { data });
+    return http.request("post", `${newApi}/cxinv/FinancialProducts/CheckCreate`, { data });
 };
 
 // 列表
 export const httpList = (data: object): ResponseType => {
-    return http.request("post", `${newApi}/cxinv/FinancialManager/CheckList`, { data });
+    return http.request("post", `${newApi}/cxinv/FinancialProducts/CheckList`, { data });
 };
 
 export const httpDetail = (data: object): ResponseType => {

+ 44 - 0
src/api/invoiceInOut/provisionOut/index.ts

@@ -0,0 +1,44 @@
+import { http } from "/@/utils/http";
+import { loadEnv } from "@build/index";
+const { VITE_PROXY_DOMAIN_REAL, VITE_PROXY_USER_REAL, VITE_WORKORDER_REAL } = loadEnv();
+const userAPi = VITE_PROXY_DOMAIN_REAL;
+const yewuApi = VITE_PROXY_USER_REAL + "/admin/";
+
+const newApi = VITE_WORKORDER_REAL
+
+
+interface ResponseType extends Promise<any> {
+    data?: object; code?: number; msg?: string;
+}
+
+// 添加
+export const httpAdd = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/cxinv/FinancialManager/create`, { data });
+};
+
+// 列表
+export const httpList = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/cxinv/FinancialManager/list`, { data });
+};
+
+export const httpDetail = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/cxinv/FinancialManager/info`, { data });
+};
+
+export const httpStatus = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/cxinv/FinancialManager/CheckSure`, { data });
+};
+
+export const httpCatist = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/user/TaxCategory/list`, { data });
+};
+
+
+export const httpInvList = (data: object): ResponseType => {
+    return http.request("post", `${yewuApi}orderinvlist`, { data });
+};
+
+
+export const httpCompanies = (data: object): any => {
+    return http.request("post", `${yewuApi}companylist`, { data: { noRela: true, ...data } });
+};

+ 52 - 0
src/api/invoiceInOut/summary/index.ts

@@ -0,0 +1,52 @@
+import { http } from "/@/utils/http";
+import { loadEnv } from "@build/index";
+const { VITE_PROXY_DOMAIN_REAL, VITE_PROXY_USER_REAL, VITE_WORKORDER_REAL } = loadEnv();
+const userAPi = VITE_PROXY_DOMAIN_REAL;
+const yewuApi = VITE_PROXY_USER_REAL + "/admin/";
+
+const newApi = VITE_WORKORDER_REAL
+
+
+interface ResponseType extends Promise<any> {
+  data?: object; code?: number; msg?: string;
+}
+
+
+// 添加
+export const httpAdd = (data: object): ResponseType => {
+  return http.request("post", `${newApi}/cxinv/FinancialProducts/create`, { data });
+};
+
+// 列表
+export const httpList = (data: object): ResponseType => {
+  return http.request("post", `${newApi}/cxinv/FinancialSeal/list`, { data });
+};
+
+// 列表
+export const httpFzList = (data: object): ResponseType => {
+  return http.request("post", `${newApi}/cxinv/FinancialSeal/FzList`, { data });
+};
+
+export const httpDetail= (data: object): ResponseType => {
+  return http.request("post", `${newApi}/cxinv/FinancialProducts/info`, { data });
+};
+
+export const httpStatus = (data: object): ResponseType => {
+  return http.request("post", `${newApi}/cxinv/FinancialProducts/status`, { data });
+};
+
+export const httpCatist = (data: object): ResponseType => {
+  return http.request("post", `${newApi}/user/TaxCategory/list`, { data });
+};
+
+
+export const httpInvList = (data: object): ResponseType => {
+  return http.request("post", `${yewuApi}orderinvlist`, { data });
+};
+
+
+export const httpCompanies = (data: object): any => {
+  return http.request("post", `${yewuApi}companylist`, {
+    data: { noRela: true, ...data }
+  });
+};

+ 39 - 0
src/components/SealMonthPicker/index.vue

@@ -0,0 +1,39 @@
+<script setup lang="ts">
+import { httpList } from '/@/api/components/seal';
+import { ElDatePicker } from 'element-plus';
+import { useTask } from '/@/hooks/core';
+import { ref, watch } from 'vue';
+
+import Dayjs from 'dayjs';
+import { useVModel } from '@vueuse/core';
+
+const props = defineProps<{ company_code?: string; modelValue: string }>()
+const months = ref<string[]>([])
+
+const value = useVModel(props, 'modelValue')
+
+const listTask = useTask({ success(data){ months.value = data.map(({ fz_date }) => fz_date) } })
+
+watch(
+    () => props.company_code, 
+    () => {
+      if(!props.company_code) return
+      listTask.run(httpList({ company_code: props.company_code, status: 0 }))
+    }, 
+    { immediate: true}
+)
+
+function disabledDate(v){
+    const nV = Dayjs(v).format('YYYY-MM')
+    return !months.value.includes(nV)
+}
+</script>
+
+<template>
+    <ElDatePicker 
+        type="month" 
+        v-model="value" 
+        value-format="YYYY-MM" 
+        :disabledDate="company_code ? disabledDate : undefined" 
+    />
+</template>

+ 27 - 25
src/hooks/core/useTask.ts

@@ -3,12 +3,11 @@ import { useNav } from "/@/layout/hooks/nav";
 import { ElMessage } from "element-plus";
 import { IDataType } from "/@/api/types";
 
-type Params = { code: number; message: string; handler: () => void; };
-
+type Params = { code: number; message: string; handler: () => void };
 
 export function useResponseHandle() {
   const { logout } = useNav();
-  function responseHandle({handler, ...response}: Params) {
+  function responseHandle({ handler, ...response }: Params) {
     const code = Number(response.code);
     if (code === 0) {
       handler();
@@ -21,46 +20,49 @@ export function useResponseHandle() {
   return responseHandle;
 }
 
-
-interface TaskOptions<D>{
-  root?: boolean
-  initialData?: D
-  success?: (data?:D) => void 
+interface TaskOptions<D> {
+  root?: boolean;
+  initialData?: D;
+  success?: (data?: D) => void;
 }
 
-export function useTask<D = any>({ initialData, root = true, success }: TaskOptions<D> = {  root: true } ) {
+export function useTask<D = any>(
+  { initialData, root = true, success }: TaskOptions<D> = { root: true }
+) {
   const error = ref(false);
   const loading = ref(false);
   const { logout } = useNav();
   const data = ref<D>(initialData);
 
   function run(promise: Promise<IDataType<D>>) {
-    loading.value = true
+    loading.value = true;
     return promise.then(response => {
-      loading.value = false
-      let { code, message } = response
-      code = Number(code)
-      if(code === 0){
-        error.value = false
-        data.value = root ? response.data : (response.data as unknown as any).list
+      loading.value = false;
+      // eslint-disable-next-line prefer-const
+      let { code, message } = response;
+      code = Number(code);
+      if (code === 0) {
+        error.value = false;
+        data.value = root
+          ? response.data
+          : (response.data as unknown as any).list;
         success && success(unref(response.data));
-      }else if(code >= 100 && code <= 140){
-        logout()
-        error.value = true
-      }else{
-        ElMessage.warning(message)
-        error.value = true
+      } else if (code >= 100 && code <= 140) {
+        logout();
+        error.value = true;
+      } else {
+        ElMessage.warning(message);
+        error.value = true;
       }
     });
   }
 
-  return reactive({ run, data, error, loading })
+  return reactive({ run, data, error, loading });
 }
 
-
 export function useTasks(...tasks: ReturnType<typeof useTask>[]){
   return computed(() => ({
     loading: tasks.some(task => task.loading),
     error: tasks.some(task => task.error)
-  }))
+  }));
 }

+ 2 - 7
src/hooks/core/useUser.ts

@@ -11,12 +11,7 @@ export function useUserInfo() {
     const { level } = userStore;
     return level;
   });
-  const setUserLevel = (level: string) => userStore.SET_LEVEL(level);
 
-  return {
-    setUserLevel,
-    isSuperUser,
-    userLevel,
-    userInfo
-  };
+  const setUserLevel = (level: string) => userStore.SET_LEVEL(level);
+  return { setUserLevel, isSuperUser, userLevel, userInfo };
 }

+ 2 - 1
src/store/modules/user.ts

@@ -232,7 +232,8 @@ export const useUserStore = defineStore({
             createMenu('盘点', 'inventoryCheck', 'invoiceInOut/inventoryCheck'),
             createMenu('计提出库明细处理', 'provisionOut', 'invoiceInOut/provisionOut'),
             createMenu('调整单', 'adjustOrder', 'invoiceInOut/adjustOrder'),
-            createMenu('收发存汇总', 'summary', 'invoiceInOut/summary')
+            createMenu('收发存汇总', 'summary', 'invoiceInOut/summary'),
+            createMenu('C端无发票订单出库', 'clinetC', 'invoiceInOut/clientC')
           ],
           message: '获取成功'
         }

+ 21 - 0
src/utils/columnRenderHelper.ts

@@ -33,4 +33,25 @@ export function renderIconLabelLeft(
           ]
     }
   };
+}
+
+
+export function renderIconLabelLeftValue(
+  leftValue,
+  rightValue,
+  label = "",
+  okProp = ""
+) {
+  return {
+    cellRenderer({ row }) {
+      if (okProp && !row[okProp]) { return null }
+      return [
+        h(ElPopover,
+          { content: label + leftValue(row), placement: 'left', width: 300, },
+          { reference: () => h(ElButton, { link: true, size: 'large', icon: useRenderIcon("information-line") }) }
+        ),
+        h("text", null, rightValue(row) || '--')
+      ]
+    }
+  };
 }

+ 69 - 15
src/views/invoiceInOut/adjustOrder/config/content.config.ts

@@ -1,25 +1,79 @@
 import { ContentConfig } from "/@/components/PageContent";
-import { httpList } from "/@/api/invoiceInOut/productManager";
+import { httpList } from "/@/api/invoiceInOut/adjustOrder";
 
 const columns = [
-  { label: "调整单编号", prop: "TODO", width: 150 },
-  { label: "来源单号", prop: "TODO", width: 160 },
-  { label: '发票明细ID', width: 160 },
-  { label: "商品编号", prop: "TODO", width: 100 },
-  { label: '商品名称', prop: 'TODO', width: 100 },
-  { label: '规格', prop: 'TODO', width: 100 },
-  { label: '单位', prop: 'TODO', width: 120 },
-  { label: '税前单价', prop: 'TODO', width: 120 },
-  { label: '税后单价', prop: 'TODO', width: 120 },
-  { label: '调整数量', prop: 'TODO', width: 120 },
-  { label: '调整金额', prop: 'TODO', width: 120 },
-  { label: '创建人', prop: 'TODO', width: 120 }
+  {
+    label: "调整单编号",
+    prop: "checkCode",
+    width: 150,
+    fixed: "left"
+  },
+  {
+    label: "来源单号", 
+    prop: "code",
+    width: 160
+  },
+  {
+    label: "发票明细ID",
+    prop: "itemid",
+    width: 100
+  },
+  {
+    label: "商品编号",
+    prop: "goodNo",
+    width: 160
+  },
+  {
+    label: "商品名称",
+    prop: "goodName",
+    width: 140,
+    showOverflowTooltip: true
+  },
+  {
+    label: "规格",
+    prop: "spec",
+    width: 60
+  },
+  {
+    label: "单位",
+    prop: "unit",
+    width: 60
+  },
+  {
+    label: "税前单价",
+    prop: "subprice",
+    width: 120,
+    align: "right"
+  },
+  {
+    label: "税后单价",
+    prop: "price", 
+    width: 120,
+    align: "right"
+  },
+  {
+    label: "调整数量",
+    prop: "num",
+    width: 120,
+    align: "right"
+  },
+  {
+    label: "调整金额",
+    prop: "check_fee",
+    width: 120,
+    align: "right"
+  },
+  {
+    label: "创建人",
+    prop: "check_uname",
+    width: 100
+  }
 ];
 
 const contentConfig: ContentConfig = {
   columns,
-  title: "商品管理",
-  permissions: ['007'],
+  title: "调整单管理",
+  permissions: ["007"],
   apis: { httpList, httpAdd: true }
 };
 

+ 273 - 0
src/views/invoiceInOut/clientC/components/BaseForm/index.vue

@@ -0,0 +1,273 @@
+<script setup lang="ts">
+import { useRenderIcon } from '/@/components/ReIcon/src/hooks';
+import ChooseOrderModal from "./../ChooseOrderModal/index.vue"
+import { statusOptions, typeOptions } from '../../config/shared';
+import { ElButton, ElForm, ElTooltip } from 'element-plus';
+import { useTypeOptions } from '/@/utils/status';
+import { reactive, ref } from 'vue';
+
+import ChooseGoodModal from "./../ChooseGoodModal/index.vue"
+import ChildGoodEditModal from "./../ChildGoodEditModal.vue";
+import SealMonthPicker from "/@/components/SealMonthPicker/index.vue"
+import { useTask } from '/@/hooks/core';
+
+import { httpAdd } from "/@/api/invoiceInOut/clientC"
+import { useRouter } from 'vue-router';
+
+const state = reactive({ 
+    orderVisible: false, 
+    goodvisible: false, 
+    editVisible: false, 
+    data: {},
+    index: -1
+})
+
+const formData = ref({
+    orders: [],
+    goods: [],
+    month: ''
+})
+
+
+const router = useRouter()
+const createTask = useTask({ success(){ router.push('/invoiceInOut/clinetC') } })
+
+const formRef = ref<InstanceType<typeof ElForm> | null>(null)
+
+function getSpanNumber(data, prop) {
+    let length = Array.isArray(data) ? data.length : 0;
+    if (length > 0) {
+        let position = 0;
+        let temp = data[0][prop];
+        let result = [1];
+        for (let i = 1; i < length; i++) {
+            if (data[i][prop] == temp) {
+                result[position] += 1;
+                result[i] = 0;
+            } else {
+                position = i;
+                result[i] = 1;
+                temp = data[i][prop];
+            }
+        }
+        return result;
+    } else {
+        return [0];
+    }
+}
+
+
+function spanMethod({ row: _1, column: _2, rowIndex, columnIndex }: any) {
+    if ([0, 1, 2, 7].includes(Number(columnIndex))) {
+        let nameSpan = getSpanNumber(formData.value.goods, "id");
+        return { rowspan: nameSpan[rowIndex], colspan: 1 };
+    }
+}
+
+function handleOrderSubmit(values: any[]){
+    const ids = formData.value.orders.map(({ id }) => id)
+    values.forEach(item => {
+        if(!ids.includes(item.id)){
+            formData.value.orders.push(item)
+        }
+    })
+}
+function handleChildGoodEdit(index: number) {
+    state.index = index
+    state.editVisible = true
+    state.data = { ...formData.value.goods[index] }
+}
+
+
+function handleDelete(index) {
+    const { id } = formData.value.goods[index]
+    formData.value.goods = formData.value.goods.filter((item) => item.id !== id)
+}
+
+function handleGoodComfirm(values: any[]) {
+    const ids = formData.value.goods.map(({ id }) => id)
+    const list = []
+
+    values.forEach(item => {
+        if (!ids.includes(item.id)) { list.push(item) }
+    })
+
+    formData.value.goods = [...list, ...formData.value.goods]
+}
+
+function handleEditGood(index: number, data: any) {
+    const { id } = formData.value.goods[index];
+    formData.value.goods = formData.value.goods.map(item => {
+        if (item.id === id) {
+            const goodNum = data.goodNum;
+            const childActionNum = item.childNum
+                ? Number(item.childNum) * Number(goodNum)
+                : undefined;
+
+            return { ...item, goodNum, childActionNum };
+        }
+        return item;
+    });
+}
+
+async function submitForm(){
+    try{
+        await formRef.value?.validate()
+        const { orders, goods, month} = formData.value
+
+        const parameter = {
+            manager_id: orders.map(item => item.id),
+            relaArr: goods.map(item => ({ id: item.id, num: item.goodNum })),
+            fz_date: month
+        }
+
+        createTask.run(httpAdd(parameter))
+    }catch(err){
+        console.log(err)
+    }
+}
+
+
+const rules = {
+    orders: [{ required: true, message: '请选择toC订单信息', trigger: 'change' }],
+    goods: [{ required: true, message: '请选择操作商品', trigger: 'change' }],
+    month: [{ required: true, message: '请选择入账月份', trigger: 'change' }]
+}
+</script>
+
+<template>
+    <ElForm
+        ref="formRef" 
+        label-width="100px" 
+        :model="formData"
+        :rules="rules" 
+    >
+        <ElFormItem label="toC订单信息" prop="orders">
+            <ElTable border size="small" :data="formData.orders">
+                <ElTableColumn label="确认单编号" prop="orderCode" show-overflow-tooltip />
+                <ElTableColumn label="销售主单号" prop="cxCode" show-overflow-tooltip />
+
+                <ElTableColumn label="业务类型">
+                    <template #="{ row }">
+                        <ElTag size="small">
+                            {{ typeOptions.find(item => item.value == row.type)?.label || '--' }}
+                        </ElTag>
+                    </template>
+                </ElTableColumn>
+
+                <ElTableColumn label="状态">
+                    <template #="{ row }">
+                        <ElTag size="small">
+                            {{ statusOptions.find(item => item.value == row.status)?.label || '--' }}
+                        </ElTag>
+                    </template>
+                </ElTableColumn>
+
+                <ElTableColumn label="平台订单号" prop="poCode" show-overflow-tooltip />
+
+                <ElTableColumn label="平台类型">
+                    <template #="{ row }">
+                        <ElTag size="small">
+                            {{ useTypeOptions.find(item => item.value == row.status)?.label || '--' }}
+                        </ElTag>
+                    </template>
+                </ElTableColumn>
+
+
+                <ElTableColumn label="卖出方公司" prop="seller_name" show-overflow-tooltip />
+                <ElTableColumn label="客户公司" prop="buyer_name" show-overflow-tooltip />
+                <ElTableColumn label="商品名称" prop="goodName" show-overflow-tooltip />
+
+
+                <ElTableColumn label="下单数量" prop="num" show-overflow-tooltip />
+                <ElTableColumn label="销售单价" prop="goodPrice" show-overflow-tooltip />
+                <ElTableColumn label="销售合计" prop="totalPrice" show-overflow-tooltip />
+                <ElTableColumn label="出库时间" porp="fz_date" show-overflow-tooltip />
+                <ElTableColumn label="操作" fixed="right" width="60px">
+                    <template #header>
+                        <div class="flex justify-between">
+                            <span>操作</span>
+                            <ElTooltip content="添加" placement="top">
+                                <ElButton :icon="useRenderIcon('add')" link size="small" type="primary"
+                                    @click="state.orderVisible = true" />
+                            </ElTooltip>
+                        </div>
+                    </template>
+
+                    <template #="{ $index }">
+                        <ElTooltip content="删除" placement="top">
+                            <ElButton @click="formData.orders.splice($index, 1)" :icon="useRenderIcon('delete')"
+                                size="small" type="danger" link />
+                        </ElTooltip>
+                    </template>
+                </ElTableColumn>
+            </ElTable>
+        </ElFormItem>
+
+        <ElFormItem label="操作商品" prop="goods">
+            <ElTable :span-method="spanMethod" border size="small" :data="formData.goods">
+                <ElTableColumn label="商品编号" prop="skuCode" show-overflow-tooltip />
+                <ElTableColumn label="商品名称" prop="goodName" show-overflow-tooltip />
+                <ElTableColumn label="操作数量" prop="goodNum" show-overflow-tooltip />
+                <ElTableColumn label="子商品编号" prop="childCode" show-overflow-tooltip />
+                <ElTableColumn label="销售方公司纳税识别号" width="140px" prop="seller_code" show-overflow-tooltip />
+                <ElTableColumn label="子商品比例" prop="childNum" show-overflow-tooltip />
+                <ElTableColumn label="子商品操作数量" prop="childActionNum" show-overflow-tooltip />
+
+                <ElTableColumn width="70px" label="操作">
+                    <template #header>
+                        <div class="w-full flex justify-between">
+                            <span>操作</span>
+                            <ElTooltip content="添加" placement="top">
+                                <ElButton link size="small" type="primary" :icon="useRenderIcon('add')"
+                                    @click="state.goodvisible = true" />
+                            </ElTooltip>
+                        </div>
+                    </template>
+
+                    <template #="{ $index }">
+                        <ElTooltip content="编辑" placement="top">
+                            <ElButton :icon="useRenderIcon('edits')" type="primary" size="small" link
+                                @click="handleChildGoodEdit($index)" />
+                        </ElTooltip>
+
+
+                        <ElTooltip content="删除" placement="top">
+                            <ElButton :icon="useRenderIcon('delete')" type="danger" size="small" link
+                                @click="handleDelete($index)" />
+                        </ElTooltip>
+                    </template>
+                </ElTableColumn>
+            </ElTable>
+        </ElFormItem>
+
+        <ElFormItem label="入账月份" prop="month">
+            <SealMonthPicker v-model="formData.month" placeholder="入账月份" />
+        </ElFormItem>
+
+
+        <div class="w-full flex justify-end">
+            <ElButton 
+                type="primary"
+                @click="submitForm"
+                >保存</ElButton>
+        </div>
+
+        <ChooseOrderModal 
+            v-model:visible="state.orderVisible" 
+            @submit="handleOrderSubmit" 
+        />
+
+        <ChooseGoodModal 
+            v-model:visible="state.goodvisible" 
+            @submit="handleGoodComfirm" 
+        />
+
+        <ChildGoodEditModal 
+            :data="state.data" 
+            :index="state.index" 
+            v-model:visible="state.editVisible"
+            @submit="handleEditGood" 
+         />
+    </ElForm>
+</template>

+ 5 - 5
src/views/invoiceInOut/inventoryCheck/components/ChildGoodEditModal.vue → src/views/invoiceInOut/clientC/components/ChildGoodEditModal.vue

@@ -21,11 +21,11 @@ const child_num = ref(0)
 
 watch(() => visible.value, () => {
     if(!visible.value){  return }
-    child_num.value = props.data.child_num
+    child_num.value = props.data.goodNum
 })
 
 function handleSubmit(){
-    emit('submit', props.index, { ...props.data, child_num: child_num.value })    
+    emit('submit', props.index, { ...props.data, goodNum: child_num.value })    
     visible.value = false
 }
 </script>
@@ -33,15 +33,15 @@ function handleSubmit(){
 <template>
     <ElDialog
        v-model="visible"
-       title="编辑商品" 
+       title="编辑商品" 
        center
     >
         <BasicDescriptions style="overflow: hidden;" v-if="props.data" :data="props.data" :columns="goodColumns" />
 
         <div class="flex justify-between mt-[10px]">
             <div class="flex items-center">
-                <p style="width: 110px">子商品比例:</p>
-                <NumberInput v-model="child_num" placeholder="子商品比例" />
+                <p style="width: 110px">操作数量:</p>
+                <NumberInput v-model="child_num" placeholder="操作数量" />
             </div>
 
             <ElButton type="primary" @click="handleSubmit">保存</ElButton>

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä