snow 4 months ago
parent
commit
ac05bafbba
100 changed files with 182 additions and 93 deletions
  1. 0 0
      dist/assets/BaseForm.0d14fd.js
  2. 0 0
      dist/assets/BaseForm.3a1038.js
  3. 0 0
      dist/assets/BaseForm.8d2418.js
  4. 0 0
      dist/assets/BaseForm.dc901e.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. 0 0
      dist/assets/ChildGoodEditModal.bd061d.js
  9. 1 1
      dist/assets/InvoiceTitle.250697.js
  10. 1 1
      dist/assets/InvoiceTitle.7eecae.js
  11. 0 0
      dist/assets/basic-descriptions.746444a7.js
  12. 0 0
      dist/assets/calc.232e8815.js
  13. 1 1
      dist/assets/columnRenderHelper.21c98b02.js
  14. 0 0
      dist/assets/columns.68d3a017.js
  15. 0 0
      dist/assets/detail.0eccad.js
  16. 0 0
      dist/assets/detail.1240ac.js
  17. 0 1
      dist/assets/detail.17a55b.js
  18. 0 0
      dist/assets/detail.344814.js
  19. 0 0
      dist/assets/detail.40f304.js
  20. 1 1
      dist/assets/detail.8b0ced.js
  21. 0 0
      dist/assets/detail.abf4cb.js
  22. 0 0
      dist/assets/detail.b3ed56.js
  23. 1 1
      dist/assets/detail.c73fd2.js
  24. 0 0
      dist/assets/execl-upload.c8d734ef.js
  25. 0 0
      dist/assets/index.0336f7.js
  26. 0 0
      dist/assets/index.08977e.js
  27. 0 0
      dist/assets/index.0dbb49.js
  28. 0 1
      dist/assets/index.17a053df.js
  29. 0 0
      dist/assets/index.1c08c0.js
  30. 0 0
      dist/assets/index.1ddafc.js
  31. 0 0
      dist/assets/index.22cff3.js
  32. 0 0
      dist/assets/index.24703a.js
  33. 0 0
      dist/assets/index.300796.js
  34. 0 0
      dist/assets/index.303734.js
  35. 0 0
      dist/assets/index.342dbc.js
  36. 0 0
      dist/assets/index.4581fc87.js
  37. 0 0
      dist/assets/index.4cf9ee.js
  38. 0 0
      dist/assets/index.4f356d.js
  39. 0 0
      dist/assets/index.52bb3f.js
  40. 0 0
      dist/assets/index.52ee91.js
  41. 0 0
      dist/assets/index.563420.js
  42. 0 0
      dist/assets/index.5a0076.js
  43. 0 0
      dist/assets/index.5c8b50.js
  44. 0 0
      dist/assets/index.64a52c.js
  45. 0 0
      dist/assets/index.656b8f.js
  46. 0 0
      dist/assets/index.674a5d.js
  47. 0 1
      dist/assets/index.6a949acb.js
  48. 0 0
      dist/assets/index.6e73f4.js
  49. 0 0
      dist/assets/index.72dcc7.js
  50. 0 0
      dist/assets/index.76ffe1.js
  51. 0 0
      dist/assets/index.7a0f8c.js
  52. 0 0
      dist/assets/index.7d46a5.js
  53. 0 0
      dist/assets/index.804884.js
  54. 0 0
      dist/assets/index.91c8b9.js
  55. 0 0
      dist/assets/index.9319d0.js
  56. 0 0
      dist/assets/index.99c1ef.js
  57. 1 0
      dist/assets/index.9af4f702.js
  58. 0 0
      dist/assets/index.9fb119.js
  59. 0 0
      dist/assets/index.9fb413.js
  60. 0 0
      dist/assets/index.a73ff031.js
  61. 1 1
      dist/assets/index.afa0493b.js
  62. 0 0
      dist/assets/index.b1d632bf.js
  63. 0 0
      dist/assets/index.bb93f8.js
  64. 0 0
      dist/assets/index.bdcf42.js
  65. 0 0
      dist/assets/index.c0634d.js
  66. 0 0
      dist/assets/index.c2487c.js
  67. 1 0
      dist/assets/index.c5b77508.js
  68. 0 0
      dist/assets/index.ccc514.js
  69. 0 0
      dist/assets/index.d9d167.js
  70. 0 0
      dist/assets/index.dd1ef1.js
  71. 0 0
      dist/assets/index.ddc18a.js
  72. 0 0
      dist/assets/index.e2a1d3.js
  73. 0 0
      dist/assets/index.f3d310f6.js
  74. 0 0
      dist/assets/index.js
  75. 0 0
      dist/assets/motion.bbd2633e.js
  76. 0 0
      dist/assets/phone.9e1123.js
  77. 1 1
      dist/assets/qrCode.be32d8.js
  78. 0 0
      dist/assets/query-category.7a496a.js
  79. 0 0
      dist/assets/regist.bfca82.js
  80. 0 0
      dist/assets/rule.4fcccb86.js
  81. 0 1
      dist/assets/shared.04e1e851.js
  82. 1 0
      dist/assets/shared.80186348.js
  83. 1 0
      dist/assets/shared.b2aeacac.js
  84. 1 1
      dist/assets/tootip.e617f212.js
  85. 0 0
      dist/assets/update.2f876b.js
  86. 1 1
      dist/assets/use-page-search.eca50560.js
  87. 0 0
      dist/assets/useDetail.c4297c9d.js
  88. 0 0
      dist/assets/verifyCode.32b9286a.js
  89. 8 0
      src/api/invoiceInOut/inOutManager/index.ts
  90. 4 0
      src/api/invoiceInOut/inventoryCheck/index.ts
  91. 4 0
      src/api/invoiceInOut/summary/index.ts
  92. 1 1
      src/api/purchase/ticketReturn/index.ts
  93. 48 43
      src/components/BasicForm/src/basic-form.vue
  94. 39 0
      src/components/BasicForm/src/fields/inv-in-query.vue
  95. 29 0
      src/components/BasicForm/src/fields/inv-out-query.vue
  96. 6 1
      src/components/PageContainer/src/page-container.tsx
  97. 9 17
      src/components/PageSearch/src/page-search.vue
  98. 4 0
      src/components/PageSearch/src/types.ts
  99. 10 0
      src/views/invoiceInOut/clientC/config/search.config.ts
  100. 6 17
      src/views/invoiceInOut/inOutManager/components/ChooseGoodModal/index.vue

File diff suppressed because it is too large
+ 0 - 0
dist/assets/BaseForm.0d14fd.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/BaseForm.3a1038.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/BaseForm.8d2418.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/BaseForm.dc901e.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/ChildGoodEditModal.682aea.js


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

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

File diff suppressed because it is too large
+ 0 - 0
dist/assets/ChildGoodEditModal.b8748c.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/ChildGoodEditModal.bd061d.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.e28bcc56.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.746444a7.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.04e1e851.js";import{B as c}from"./basic-descriptions.e28bcc56.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.746444a7.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.e28bcc56.js → dist/assets/basic-descriptions.746444a7.js


+ 0 - 0
dist/assets/calc.28c2d33c.js → dist/assets/calc.232e8815.js


+ 1 - 1
dist/assets/columnRenderHelper.1a68f3ef.js → dist/assets/columnRenderHelper.21c98b02.js

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

File diff suppressed because it is too large
+ 0 - 0
dist/assets/columns.68d3a017.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/detail.0eccad.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/detail.1240ac.js


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

@@ -1 +0,0 @@
-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.ccfb0513.js";import C from"./index.300796.js";import"./basic-descriptions.e28bcc56.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};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/detail.344814.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/detail.40f304.js


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

@@ -1 +1 @@
-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.e28bcc56.js";import{u as w}from"./useDetail.ccfb0513.js";import{a as I}from"./index.56c71262.js";import"./shared.04e1e851.js";import"./index.bb93f8.js";import"./use-page-search.98f4d8c5.js";import"./status.d3ab78fb.js";import"./index.0dcc14f9.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};
+import{_ as E,d as b,aP as B,r as t,aj as D,H as g,l as e,o as i,c as T,j as o,C as s,a6 as h,G as d,a as p}from"./index.js";import{B as V,g as x,a as y}from"./BaseForm.0d14fd.js";import{B as j}from"./basic-descriptions.746444a7.js";import{u as w}from"./useDetail.c4297c9d.js";import{a as I}from"./index.4581fc87.js";import"./shared.80186348.js";import"./index.bb93f8.js";import"./use-page-search.eca50560.js";import"./status.d3ab78fb.js";import"./index.f3d310f6.js";const N={class:"padding__container"},P=b({__name:"detail",setup(H){const a=B(),{id:n,title:r,isDetail:m,collapses:l}=w({baseName:"\u76D8\u70B9",collapseLen:2});return n.value&&a.run(I({id:n.value})),(U,c)=>{const u=t("ElCollapseItem"),_=t("ElCollapse"),f=t("ElTabPane"),v=t("ElTabs"),C=D("loading");return g((i(),T("div",N,[o(v,null,{default:s(()=>[o(f,{label:e(r)},{default:s(()=>[o(_,{modelValue:e(l),"onUpdate:modelValue":c[0]||(c[0]=k=>h(l)?l.value=k:null)},{default:s(()=>[o(u,{title:e(r),name:"1"},{default:s(()=>[e(m)?p("v-if",!0):(i(),d(V,{key:0})),e(m)&&e(a).data?(i(),d(e(j),{key:1,columns:e(a).data.is_combind=="1"?e(x):e(y),data:e(a).data},null,8,["columns","data"])):p("v-if",!0)]),_:1},8,["title"])]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])),[[C,e(a).loading]])}}});var M=E(P,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/inventoryCheck/detail.vue"]]);export{M as default};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/detail.abf4cb.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/detail.b3ed56.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.e28bcc56.js";import{u as x}from"./useDetail.ccfb0513.js";import j from"./BaseForm.dc901e.js";import{g as w,a as y}from"./columns.a2411b4e.js";import{a as I}from"./index.56c71262.js";import"./status.d3ab78fb.js";import"./InvoiceTitle.250697.js";import"./index.91c8b9.js";import"./use-page-search.98f4d8c5.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};
+import{_ as E,d as b,aP as g,r as t,aj as D,H as B,l as e,o as i,c as T,j as o,C as s,a6 as V,G as d,a as p}from"./index.js";import{B as h}from"./basic-descriptions.746444a7.js";import{u as x}from"./useDetail.c4297c9d.js";import j from"./BaseForm.3a1038.js";import{g as w,a as y}from"./columns.68d3a017.js";import{a as I}from"./index.4581fc87.js";import"./status.d3ab78fb.js";import"./InvoiceTitle.250697.js";import"./index.08977e.js";import"./use-page-search.eca50560.js";import"./ChildGoodEditModal.7967d3.js";import"./query-category.7a496a.js";const N={class:"padding__container"},P=b({__name:"detail",setup(H){const a=g(),{title:n,isDetail:r,collapses:l,id:m}=x({baseName:"\u5546\u54C1",collapseLen:2});return m.value&&a.run(I({id:m.value})),(U,c)=>{const u=t("ElCollapseItem"),_=t("ElCollapse"),f=t("ElTabPane"),v=t("ElTabs"),C=D("loading");return B((i(),T("div",N,[o(v,null,{default:s(()=>[o(f,{label:e(n)},{default:s(()=>[o(_,{modelValue:e(l),"onUpdate:modelValue":c[0]||(c[0]=k=>V(l)?l.value=k:null)},{default:s(()=>[o(u,{title:e(n),name:"1"},{default:s(()=>[e(r)?p("v-if",!0):(i(),d(j,{key:0})),e(r)&&e(a).data?(i(),d(e(h),{key:1,columns:e(a).data.is_combind=="1"?e(w):e(y),data:e(a).data},null,8,["columns","data"])):p("v-if",!0)]),_:1},8,["title"])]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])),[[C,e(a).loading]])}}});var S=E(P,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/productManager/detail.vue"]]);export{S as default};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/execl-upload.c8d734ef.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.0336f7.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.08977e.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.0dbb49.js


+ 0 - 1
dist/assets/index.17a053df.js

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

File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.1c08c0.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.1ddafc.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.22cff3.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.24703a.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.300796.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.303734.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.342dbc.js


+ 0 - 0
dist/assets/index.56c71262.js → dist/assets/index.4581fc87.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.4cf9ee.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.4f356d.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.52bb3f.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.52ee91.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.563420.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.5a0076.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.5c8b50.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.64a52c.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.656b8f.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.674a5d.js


+ 0 - 1
dist/assets/index.6a949acb.js

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

File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.6e73f4.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.72dcc7.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.76ffe1.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.7a0f8c.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.7d46a5.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.804884.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.91c8b9.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.9319d0.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.99c1ef.js


+ 1 - 0
dist/assets/index.9af4f702.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,c=t=>s.request("post",`${a}/cxinv/FinancialSeal/list`,{data:t}),p=t=>s.request("post",`${a}/cxinv/FinancialSeal/status`,{data:t}),E=t=>s.request("post",`${a}/cxinv/FinancialSeal/FzList`,{data:t});export{c as a,p as b,E as h};

File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.9fb119.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.9fb413.js


+ 0 - 0
dist/assets/index.a1a29d62.js → dist/assets/index.a73ff031.js


+ 1 - 1
dist/assets/index.d5f626d0.js → dist/assets/index.afa0493b.js

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

+ 0 - 0
dist/assets/index.88627bd5.js → dist/assets/index.b1d632bf.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.bb93f8.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.bdcf42.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.c0634d.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.c2487c.js


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

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

File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.ccc514.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.d9d167.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.dd1ef1.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.ddc18a.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.e2a1d3.js


+ 0 - 0
dist/assets/index.0dcc14f9.js → dist/assets/index.f3d310f6.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.js


+ 0 - 0
dist/assets/motion.4bd92344.js → dist/assets/motion.bbd2633e.js


File diff suppressed because it is too large
+ 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,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.4bd92344.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,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.bbd2633e.js";/*!
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
  *
  * Copyright (c) 2014-2017, Jon Schlinkert.

File diff suppressed because it is too large
+ 0 - 0
dist/assets/query-category.7a496a.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/regist.bfca82.js


+ 0 - 0
dist/assets/rule.50a1aff0.js → dist/assets/rule.4fcccb86.js


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

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

+ 1 - 0
dist/assets/shared.80186348.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:"0",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};

+ 1 - 0
dist/assets/shared.b2aeacac.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};

+ 1 - 1
dist/assets/tootip.8283dd26.js → dist/assets/tootip.e617f212.js

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

File diff suppressed because it is too large
+ 0 - 0
dist/assets/update.2f876b.js


+ 1 - 1
dist/assets/use-page-search.98f4d8c5.js → dist/assets/use-page-search.eca50560.js

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

+ 0 - 0
dist/assets/useDetail.ccfb0513.js → dist/assets/useDetail.c4297c9d.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/verifyCode.32b9286a.js


+ 8 - 0
src/api/invoiceInOut/inOutManager/index.ts

@@ -16,6 +16,10 @@ export const httpAdd = (data: object): ResponseType => {
     return http.request("post", `${newApi}/cxinv/FinancialManager/create`, { data });
 };
 
+export const httpBatchCheck = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/cxinv/FinancialProducts/CheckBatch`, { data });
+};
+
 // 列表
 export const httpList = (data: object): ResponseType => {
     return http.request("post", `${newApi}/cxinv/FinancialManager/list`, { data });
@@ -29,6 +33,10 @@ export const httpStatus = (data: object): ResponseType => {
     return http.request("post", `${newApi}/cxinv/FinancialManager/CheckSure`, { data });
 };
 
+export const httpCheckAccrue = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/cxinv/FinancialManager/CheckAccrue`, { data });
+};
+
 export const httpCatist = (data: object): ResponseType => {
     return http.request("post", `${newApi}/user/TaxCategory/list`, { data });
 };

+ 4 - 0
src/api/invoiceInOut/inventoryCheck/index.ts

@@ -29,6 +29,10 @@ export const httpStatus = (data: object): ResponseType => {
     return http.request("post", `${newApi}/cxinv/FinancialManager/CheckSure`, { data });
 };
 
+export const httpCheckBatch = (data: object): ResponseType => {
+    return http.request("post", `${newApi}/cxinv/FinancialProducts/CheckBatch`, { data });
+};
+
 export const httpCatist = (data: object): ResponseType => {
     return http.request("post", `${newApi}/user/TaxCategory/list`, { data });
 };

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

@@ -22,6 +22,10 @@ export const httpList = (data: object): ResponseType => {
   return http.request("post", `${newApi}/cxinv/FinancialSeal/list`, { data });
 };
 
+export const httpFZStatus = (data: object): ResponseType => {
+  return http.request("post", `${newApi}/cxinv/FinancialSeal/status`, { data });
+};
+
 // 列表
 export const httpFzList = (data: object): ResponseType => {
   return http.request("post", `${newApi}/cxinv/FinancialSeal/FzList`, { data });

+ 1 - 1
src/api/purchase/ticketReturn/index.ts

@@ -41,4 +41,4 @@ export const httpBatchimport = (data: object): any => {
 //发票回票批量添加
 export const httpBatchAdd = (data: object): any => {
   return http.request("post", `${yewuApi}invAddBatchByImport`, { data });
-};
+};

+ 48 - 43
src/components/BasicForm/src/basic-form.vue

@@ -12,8 +12,12 @@ import BrandQuery from "./fields/brand-query.vue";
 import CustomerQuery from "./fields/customer-query.vue"
 // import PlatformQuery from "./fields/customer-query.vue"
 
+import invInQuery from "./fields/inv-in-query.vue";
+
 
 import { shortcuts } from "./date-picker"
+import InvInQuery from "./fields/inv-in-query.vue";
+import InvOutQuery from "./fields/inv-out-query.vue";
 
 
 const props = defineProps(basicFormProps);
@@ -65,52 +69,46 @@ defineExpose({
     <el-row>
       <template v-for="(item, index) in formItems" :key="index">
         <el-col v-bind="item.span ? { span: item.span } : colLayout" v-if="!item.isHidden">
-          <el-form-item 
-            :label="item.label" 
-            :prop="item.field" 
-            :rules="item.type !== 'contact' ? item.rules : CONTACT_OPTIONS[contact].rule" 
-            :label-width="item.labelWidth" 
-            :style="itemStyle"
-          >
-            <!--插槽  --> 
+          <el-form-item :label="item.label" :prop="item.field"
+            :rules="item.type !== 'contact' ? item.rules : CONTACT_OPTIONS[contact].rule" :label-width="item.labelWidth"
+            :style="itemStyle">
+            <!--插槽  -->
             <template v-if="item.slot">
               <slot :name="item.slot" />
             </template>
 
             <!-- 输入框 -->
             <template v-if="item.type === 'input'">
-              <el-input 
-                v-model="formData[item.field]" 
-                :placeholder="item.placeholder" 
-                v-bind="item.otherOptions"  
-                @change="handleChange(item)"
-                clearable 
-              />
+              <el-input v-model="formData[item.field]" :placeholder="item.placeholder" v-bind="item.otherOptions"
+                @change="handleChange(item)" clearable />
             </template>
 
             <!-- 数字输入 -->
             <template v-if="item.type === 'number'">
-              <el-input-number v-model="formData[item.field]" :placeholder="item.placeholder" clearable  @change="handleChange(item)" />
+              <el-input-number v-model="formData[item.field]" :placeholder="item.placeholder" clearable
+                @change="handleChange(item)" />
             </template>
 
             <!-- 选择框 -->
             <template v-if="item.type === 'select'">
-              <el-select v-model="formData[item.field]" :placeholder="item.placeholder" clearable  @change="handleChange(item)">
+              <el-select v-model="formData[item.field]" :placeholder="item.placeholder" clearable
+                @change="handleChange(item)">
                 <el-option v-for="(opt, index) in item.options" :key="index" :label="opt.label" :value="opt.value"
                   :disabled="item.otherOptions?.disabled ? opt.disabled : false" />
               </el-select>
             </template>
             <template v-if="item.type === 'radio'">
-              <el-radio-group v-model="formData[item.field]"  @change="handleChange(item)">
+              <el-radio-group v-model="formData[item.field]" @change="handleChange(item)">
                 <el-radio v-for="(opt, index) in item.options" :key="index" :label="opt.value">{{ opt.label
                   }}</el-radio>
               </el-radio-group>
             </template>
 
             <template v-if="item.type === 'input_group'">
-              <el-input v-model="formData[item.field]"  @change="handleChange(item)">
+              <el-input v-model="formData[item.field]" @change="handleChange(item)">
                 <template #prepend>
-                  <el-select v-model="formData[item.type_field]" placeholder="Select" style="width: 150px"  @change="handleChange(item)">
+                  <el-select v-model="formData[item.type_field]" placeholder="Select" style="width: 150px"
+                    @change="handleChange(item)">
                     <el-option v-for="option in item.otherOptions?.inputGroupOptions" :value="option.value"
                       :label="option.label" :key="option.value" />
                   </el-select>
@@ -123,28 +121,22 @@ defineExpose({
             </template>
 
             <template v-if="item.type === 'checkbox'">
-              <el-checkbox-group v-model="formData[item.field]"  @change="handleChange(item)">
+              <el-checkbox-group v-model="formData[item.field]" @change="handleChange(item)">
                 <el-checkbox v-for="(opt, index) in item.options" :key="index" :label="opt.value">{{ opt.label }}
                 </el-checkbox>
               </el-checkbox-group>
             </template>
 
             <template v-if="item.type === 'date_picker'">
-              <el-date-picker 
-                v-model="formData[item.field]"  
-                @change="handleChange(item)" 
-                style="width: 100%" 
-                format="YYYY-MM-DD" 
-                v-bind="item.otherOptions" 
-                :shortcuts="shortcuts"  
-              />
+              <el-date-picker v-model="formData[item.field]" @change="handleChange(item)" style="width: 100%"
+                format="YYYY-MM-DD" v-bind="item.otherOptions" :shortcuts="shortcuts" />
             </template>
 
             <!-- 联系方式 -->
             <template v-if="item.type === 'contact'">
               <el-input v-model="formData[item.field]">
                 <template #prepend>
-                  <el-select style="width: 115px" v-model="contact"> 
+                  <el-select style="width: 115px" v-model="contact">
                     <el-option v-for="c in CONTACT_OPTIONS" :key="c.value" :label="c.label" :value="c.value" />
                   </el-select>
                 </template>
@@ -159,38 +151,51 @@ defineExpose({
             </template>
 
             <template v-if="item.type === 'supplier-query'">
-              <SupplierQuery v-model="formData[item.field]" :placeholder="item.placeholder || '卖出方公司'"  @change="handleChange(item, true)" />
+              <SupplierQuery v-model="formData[item.field]" :placeholder="item.placeholder || '卖出方公司'"
+                @change="handleChange(item, true)" />
             </template>
 
             <template v-if="item.type === 'business-query'">
-              <BusinessQuery v-model="formData[item.field]" :placeholder="item.placeholder || '买入方公司'"  @change="handleChange(item, true)" />
+              <BusinessQuery v-model="formData[item.field]" :placeholder="item.placeholder || '买入方公司'"
+                @change="handleChange(item, true)" />
+            </template>
+
+            <template v-if="item.type === 'inv-in-query'">
+              <InvInQuery v-model="formData[item.field]" :placeholder="item.placeholder || '发票购买方公司'"
+                @change="handleChange(item, true)" />
+            </template>
+
+
+            <template v-if="item.type === 'inv-out-query'">
+              <InvOutQuery v-model="formData[item.field]" :placeholder="item.placeholder || '发票销售方公司'"
+                @change="handleChange(item, true)" />
             </template>
 
             <template v-if="item.type === 'brand-query'">
-              <BrandQuery v-model="formData[item.field]" :placeholder="item.placeholder || '品牌'"  @change="handleChange(item, true)" />
+              <BrandQuery v-model="formData[item.field]" :placeholder="item.placeholder || '品牌'"
+                @change="handleChange(item, true)" />
             </template>
 
             <template v-if="item.type === 'platform-query'">
-              <PlatformQuery v-model="formData[item.field]" :placeholder="item.placeholder || '品牌'"  @change="handleChange(item, true)" />
+              <PlatformQuery v-model="formData[item.field]" :placeholder="item.placeholder || '品牌'"
+                @change="handleChange(item, true)" />
             </template>
 
 
             <template v-if="item.type === 'customer-query'">
-              <CustomerQuery 
-                v-model="formData[item.field]" 
-                :placeholder="item.placeholder || '企业客户'"  
-                @change="handleChange(item, true)" 
-                v-bind="item.otherOptions"
-              />
+              <CustomerQuery v-model="formData[item.field]" :placeholder="item.placeholder || '企业客户'"
+                @change="handleChange(item, true)" v-bind="item.otherOptions" />
             </template>
 
             <template v-if="item.type === 'range'">
               <div flex gap-2 w-full>
-                <el-input v-model="formData[item.field][0]" :placeholder="item.otherOptions?.startPlaceholder" @change="handleChange(item, true)" />
+                <el-input v-model="formData[item.field][0]" :placeholder="item.otherOptions?.startPlaceholder"
+                  @change="handleChange(item, true)" />
 
                 <span>至</span>
 
-                <el-input v-model="formData[item.field][1]" :placeholder="item.otherOptions?.endPlaceholder" @change="handleChange(item, true)" />
+                <el-input v-model="formData[item.field][1]" :placeholder="item.otherOptions?.endPlaceholder"
+                  @change="handleChange(item, true)" />
               </div>
             </template>
           </el-form-item>
@@ -202,7 +207,7 @@ defineExpose({
       </el-form-item>
 
       <el-form-item>
-          <slot name="action" />
+        <slot name="action" />
       </el-form-item>
     </el-row>
 

+ 39 - 0
src/components/BasicForm/src/fields/inv-in-query.vue

@@ -0,0 +1,39 @@
+<script setup lang="ts">
+import { ref, onMounted } from "vue";
+import { useVModel } from "@vueuse/core";
+import { httpCompanylist } from "/@/api/netOrderEnter/netOrderEntry";
+import { httpCompanies } from "/@/api/invoiceInOut/adjustOrder";
+
+const props = defineProps<{
+    modelValue?: string;
+    disabled?: boolean;
+}>();
+
+const emit = defineEmits(['change']);
+
+const value = useVModel(props, "modelValue");
+const list = ref<any[]>([]);
+
+    (async function initialData() {
+        const result = await httpCompanies({ size: 10000 })
+        if (result.code == 0) {
+            list.value = [...result.data.list]
+        }
+    })()
+</script>
+
+<template>
+    <ElSelect 
+        style="width: 100%" 
+        v-model="value" :disabled="disabled" 
+        @change="(val) => emit('change', val)" 
+        clearable
+    >
+        <ElOption 
+            v-for="opt in list" 
+            :key="opt.company_license" 
+            :value="opt.company_license" 
+            :label="opt.company_name" 
+        />
+    </ElSelect>
+</template>

+ 29 - 0
src/components/BasicForm/src/fields/inv-out-query.vue

@@ -0,0 +1,29 @@
+<script setup lang="ts">
+import { ref, onMounted } from "vue";
+import { useVModel } from "@vueuse/core";
+import RemoteSelect from "/@/components/RemoteSelect";
+import { httpInvoiceList } from "/@/api/InvoiceSales/invoiceApply"; 
+
+const props = defineProps<{
+  modelValue?: string;
+}>();
+
+const emits = defineEmits(['change']);
+
+const value = useVModel(props, "modelValue");
+const RemoteSelectRef = ref<InstanceType<typeof RemoteSelect> | null>(null);
+
+// onMounted(() => {
+//   value.value && (RemoteSelectRef.value as any).initalData(value.value);
+// });
+
+defineExpose({
+  initialData: data => (RemoteSelectRef.value as any).initalData(data)
+});
+</script>
+
+<template>
+  <RemoteSelect v-model="value" ref="RemoteSelectRef" style="width: 100%" :api="httpInvoiceList" requset-prop="name"
+    response-label-prop="name" response-val-prop="registercode" @item-change="emits('change')"
+    @clear="emits('change')" />
+</template>

+ 6 - 1
src/components/PageContainer/src/page-container.tsx

@@ -22,7 +22,11 @@ const PageContainer = defineComponent({
     hooks: { type: Object as PropType<Hooks>, default: () => ({}) },
     events: { type: Object as PropType<Events>, default: () => ({}) },
     otherSearchParameter : { type: Object as PropType<Events>, default: () => ({}) },
-    isPageStart: { type: Boolean, default: false }
+    isPageStart: { type: Boolean, default: false },
+    onlySelf: {
+      type: Boolean,
+      default: false
+    }
   },
   emits: ["content-select-change"],
   setup(props, { slots, emit, expose }) {
@@ -69,6 +73,7 @@ const PageContainer = defineComponent({
       if (!searchConfig) return null;
       return (
         <PageSearch
+          onlySelf={props.onlySelf}
           formConfig={searchConfig}
           onResetBtnClick={searchEvents.reset ? searchEvents.reset : search.handleResetClick}
           onSearchBtnClick={search.handleSearchClick}

+ 9 - 17
src/components/PageSearch/src/page-search.vue

@@ -13,10 +13,7 @@ const { searchParams = {} as any } = useAppStoreHook();
 
 //初始表格数据
 const defaultFormData = createFormData(props.formConfig.formItems);
-
-const formData = ref({
-  ...(searchParams.basic ? searchParams.basic : defaultFormData)
-});
+const formData = ref({ ...(!props.onlySelf && searchParams.basic ? searchParams.basic : defaultFormData) });
 
 //重置搜索
 function handleResetClick() {
@@ -29,7 +26,7 @@ function handleSearchClick() {
   emit("searchBtnClick", formData.value);
 }
 
-if (searchParams.basic) {
+if (searchParams.basic && !props.onlySelf) {
   const { formConfig } = props;
   const { formItems } = formConfig;
   formItems.forEach(item => {
@@ -68,25 +65,20 @@ if (searchParams.basic) {
 <template>
   <div class="bg-white pl-4 pt-4 page-search">
     <BasicForm v-bind="formConfig" v-model:form-data="formData" size="small" @trigger-blur="handleSearchClick">
-     <slot name="custom" />
+      <slot name="custom" />
+
       <template #action>
-        <div class="flex gap-2" style="width: 100%">
-          <el-button 
-            type="primary"
-            @click="handleSearchClick"
-            :icon="useRenderIcon('refresh-right')" 
-          >
+        <div style="width: 100%" flex gap-2>
+          <slot name="action" />
+
+          <el-button type="primary" :icon="useRenderIcon('refresh-right')" @click="handleSearchClick">
             刷新
           </el-button>
 
-          <el-button 
-            :icon="useRenderIcon('refresh')" 
-            @click="handleResetClick"
-          >
+          <el-button :icon="useRenderIcon('refresh')" @click="handleResetClick">
             重置
           </el-button>
 
-          <slot name="action" />
         </div>
       </template>
     </BasicForm>

+ 4 - 0
src/components/PageSearch/src/types.ts

@@ -36,6 +36,10 @@ export const basicFormProps = {
   formData: {
     type: Object,
     required: true
+  },
+  onlySelf: {
+    type: Boolean,
+    default: false
   }
 } as const;
 

+ 10 - 0
src/views/invoiceInOut/clientC/config/search.config.ts

@@ -15,6 +15,16 @@ const searchFormConfig: FormConfig = {
         endPlaceholder: "结束时间"
       }
     },
+    {
+      field: 'orderCode',
+      placeholder: '销售单编号',
+      type: 'input'
+    },
+    {
+      field: 'goodNo',
+      placeholder: '订单商品编号',
+      type: 'input'
+    }
   ]
 };
 

+ 6 - 17
src/views/invoiceInOut/inOutManager/components/ChooseGoodModal/index.vue

@@ -49,21 +49,10 @@ function handleSubmit(){
 </script>
 
 <template>
-    <ElDialog class="relative" v-model="visible" title="选择商品" center top="10px">
-      <PageContainer
-        v-if="visible"
-        :hooks="hooks"
-        :events="events"
-        :searchConfig="searchConfig"
-        :contentConfig="contentConfig"
-        :isPageStart="true"
-        :other-search-parameter="otherSearchParameter"
-        @content-select-change="values => selection = values.map(item => ({ ...item, child_num: '1', child_id: item.id }))"
-      />
-      <ElButton 
-        class="absolute bottom-[30px] right-[20px]" 
-        type="primary"
-        @click="handleSubmit"
-       >保存 </ElButton>
-    </ElDialog>
+  <ElDialog class="relative" v-model="visible" title="选择商品" center top="10px">
+    <PageContainer :only-self="true" v-if="visible" :hooks="hooks" :events="events" :searchConfig="searchConfig"
+      :contentConfig="contentConfig" :isPageStart="true" :other-search-parameter="otherSearchParameter"
+      @content-select-change="values => selection = values.map(item => ({ ...item, child_num: '1', child_id: item.id }))" />
+    <ElButton class="absolute bottom-[30px] right-[20px]" type="primary" @click="handleSubmit">保存 </ElButton>
+  </ElDialog>
 </template>

Some files were not shown because too many files changed in this diff