snow 3 maanden geleden
bovenliggende
commit
cabfe05e2b
87 gewijzigde bestanden met toevoegingen van 43 en 396 verwijderingen
  1. 0 0
      dist/assets/BaseForm.4b5981.js
  2. 0 0
      dist/assets/BaseForm.c5b102.js
  3. 0 0
      dist/assets/ChildGoodEditModal.396f34.js
  4. 0 0
      dist/assets/ChildGoodEditModal.6c6e20.js
  5. 1 1
      dist/assets/ChildGoodEditModal.7967d3.js
  6. 0 0
      dist/assets/ChildGoodEditModal.b0de1a.js
  7. 1 1
      dist/assets/ChildGoodEditModal.d0c9e8.js
  8. 1 1
      dist/assets/InvoiceTitle.77bebe.js
  9. 1 1
      dist/assets/InvoiceTitle.7eecae.js
  10. 0 0
      dist/assets/basic-descriptions.65a76ad2.js
  11. 0 0
      dist/assets/columnRenderHelper.c38ed50d.js
  12. 0 0
      dist/assets/columns.6ae6573b.js
  13. 0 0
      dist/assets/columns.d86b21e1.js
  14. 0 0
      dist/assets/detail.40f304.js
  15. 1 1
      dist/assets/detail.48dab8.js
  16. 0 0
      dist/assets/detail.81a26f.js
  17. 0 0
      dist/assets/detail.86fc1b.js
  18. 0 0
      dist/assets/detail.980cdd.js
  19. 0 0
      dist/assets/detail.9a1565.js
  20. 0 0
      dist/assets/detail.a9d661.js
  21. 0 0
      dist/assets/detail.db355d.js
  22. 0 0
      dist/assets/detail.df5648.js
  23. 0 0
      dist/assets/execl-upload.6b79e9c3.js
  24. 0 0
      dist/assets/index.0458dc42.js
  25. 0 0
      dist/assets/index.04a7a9.js
  26. 0 0
      dist/assets/index.0975b0.js
  27. 0 0
      dist/assets/index.0bffb9a0.js
  28. 0 0
      dist/assets/index.0dbb49.js
  29. 0 0
      dist/assets/index.1c6699.js
  30. 0 0
      dist/assets/index.1ddafc.js
  31. 0 0
      dist/assets/index.2d5352.js
  32. 0 0
      dist/assets/index.303734.js
  33. 0 0
      dist/assets/index.31cbbd.js
  34. 0 0
      dist/assets/index.351d2d.js
  35. 0 0
      dist/assets/index.40f0e438.js
  36. 0 0
      dist/assets/index.4cf9ee.js
  37. 0 0
      dist/assets/index.4da7e22a.js
  38. 0 0
      dist/assets/index.52bb3f.js
  39. 0 0
      dist/assets/index.64c3fd.js
  40. 0 0
      dist/assets/index.674a5d.js
  41. 0 0
      dist/assets/index.6be42f.js
  42. 0 0
      dist/assets/index.6d3d49.js
  43. 0 0
      dist/assets/index.77e8d1.js
  44. 0 0
      dist/assets/index.8334ca6a.js
  45. 0 0
      dist/assets/index.8b31f1.js
  46. 0 0
      dist/assets/index.924c05.js
  47. 0 0
      dist/assets/index.99ad1dcb.js
  48. 0 0
      dist/assets/index.9de4df99.js
  49. 0 0
      dist/assets/index.9fb413.js
  50. 0 0
      dist/assets/index.9fd33b.js
  51. 0 0
      dist/assets/index.a9eb7f.js
  52. 0 0
      dist/assets/index.b1d127.js
  53. 0 0
      dist/assets/index.b597f8.js
  54. 0 0
      dist/assets/index.bd488e97.js
  55. 0 0
      dist/assets/index.bdcf42.js
  56. 0 0
      dist/assets/index.c1687a.js
  57. 0 0
      dist/assets/index.c2487c.js
  58. 0 0
      dist/assets/index.cca329.js
  59. 0 0
      dist/assets/index.d2fead55.js
  60. 0 0
      dist/assets/index.d83ede.js
  61. 0 0
      dist/assets/index.d92aef.js
  62. 0 0
      dist/assets/index.ddd736.js
  63. 1 1
      dist/assets/index.df2b578c.js
  64. 0 0
      dist/assets/index.e2551c7f.js
  65. 0 0
      dist/assets/index.eb4ff807.css
  66. 0 0
      dist/assets/index.ec530cdb.js
  67. 0 0
      dist/assets/index.f05cfa47.js
  68. 0 0
      dist/assets/index.f63c5f.js
  69. 0 0
      dist/assets/index.f9cde5.js
  70. 0 0
      dist/assets/index.fc8072.js
  71. 0 0
      dist/assets/index.ff51ce.js
  72. 0 0
      dist/assets/index.js
  73. 0 0
      dist/assets/motion.48e85625.js
  74. 0 0
      dist/assets/phone.9e1123.js
  75. 1 1
      dist/assets/qrCode.be32d8.js
  76. 0 0
      dist/assets/regist.bfca82.js
  77. 0 0
      dist/assets/rule.14c086a2.js
  78. 0 0
      dist/assets/tootip.236f17fc.js
  79. 0 0
      dist/assets/update.2f876b.js
  80. 0 0
      dist/assets/use-page-search.15129a46.js
  81. 0 0
      dist/assets/useDetail.9b72801b.js
  82. 0 0
      dist/assets/verifyCode.d1babc48.js
  83. 1 1
      dist/index.html
  84. 6 375
      src/layout/components/help-modal.vue
  85. 3 7
      src/views/invoiceInOut/productManager/components/BaseForm.vue
  86. 17 3
      src/views/invoiceInOut/provisionOut/detail.vue
  87. 9 3
      src/views/invoiceInOut/summary/index.vue

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


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


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


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


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

@@ -1 +1 @@
-import{_ as B,d as _,aZ as C,w as x,z as V,r as y,o as i,G as d,C as n,l as a,a as b,h as s,j as r,aM as h,M as w,af as D,a_ as M}from"./index.js";import{a as k}from"./columns.e8bcb0ff.js";import{B as E}from"./basic-descriptions.eb49e037.js";import"./status.b7512d56.js";import"./tootip.f4799246.js";const F={class:"flex justify-between mt-[10px]"},N={class:"flex items-center"},G=_({__name:"ChildGoodEditModal",props:{visible:{type:Boolean,required:!0},index:{type:null,required:!0},data:{type:null,required:!0}},emits:["submit"],setup(m,{emit:p}){const t=m,c=p,o=C(t,"visible"),l=x(0);V(()=>o.value,()=>{!o.value||(l.value=t.data.child_num)});function f(){c("submit",t.index,{...t.data,child_num:l.value}),o.value=!1}return(g,e)=>{const v=y("ElButton");return i(),d(a(M),{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(E),{key:0,style:{overflow:"hidden"},data:t.data,columns:a(k)},null,8,["data","columns"])):b("v-if",!0),s("div",F,[s("div",N,[e[2]||(e[2]=s("p",{style:{width:"110px"}},"\u5B50\u5546\u54C1\u6BD4\u4F8B:",-1)),r(a(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 O=B(G,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/productManager/components/ChildGoodEditModal.vue"]]);export{O as default};
+import{_ as B,d as _,aZ as C,w as x,z as V,r as y,o as i,G as d,C as n,l as a,a as b,h as s,j as r,aM as h,M as w,af as D,a_ as M}from"./index.js";import{a as k}from"./columns.6ae6573b.js";import{B as E}from"./basic-descriptions.65a76ad2.js";import"./status.b7512d56.js";import"./tootip.236f17fc.js";const F={class:"flex justify-between mt-[10px]"},N={class:"flex items-center"},G=_({__name:"ChildGoodEditModal",props:{visible:{type:Boolean,required:!0},index:{type:null,required:!0},data:{type:null,required:!0}},emits:["submit"],setup(m,{emit:p}){const t=m,c=p,o=C(t,"visible"),l=x(0);V(()=>o.value,()=>{!o.value||(l.value=t.data.child_num)});function f(){c("submit",t.index,{...t.data,child_num:l.value}),o.value=!1}return(g,e)=>{const v=y("ElButton");return i(),d(a(M),{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(E),{key:0,style:{overflow:"hidden"},data:t.data,columns:a(k)},null,8,["data","columns"])):b("v-if",!0),s("div",F,[s("div",N,[e[2]||(e[2]=s("p",{style:{width:"110px"}},"\u5B50\u5546\u54C1\u6BD4\u4F8B:",-1)),r(a(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 O=B(G,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/productManager/components/ChildGoodEditModal.vue"]]);export{O as default};

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


+ 1 - 1
dist/assets/ChildGoodEditModal.d0c9e8.js

@@ -1 +1 @@
-import{_ as C,d as _,aZ as x,w as V,z as y,r as B,o as i,G as d,C as n,l as a,a as b,h as u,j as r,aM as w,M as D,af as F,a_ as N}from"./index.js";import{g as h}from"./columns.17cfa5fa.js";import{B as k}from"./basic-descriptions.eb49e037.js";import"./status.b7512d56.js";import"./shared.a743a5f7.js";import"./tootip.f4799246.js";const E={class:"flex justify-between mt-[10px]"},M={class:"flex items-center"},g=_({__name:"ChildGoodEditModal",props:{visible:{type:Boolean,required:!0},index:{type:null,required:!0},data:{type:null,required:!0}},emits:["submit"],setup(m,{emit:p}){const t=m,c=p,o=x(t,"visible"),l=V(0);y(()=>o.value,()=>{!o.value||(l.value=t.data.goodNum)});function f(){c("submit",t.index,{...t.data,goodNum:l.value}),o.value=!1}return(G,e)=>{const v=B("ElButton");return i(),d(a(N),{modelValue:a(o),"onUpdate:modelValue":e[1]||(e[1]=s=>F(o)?o.value=s:null),title:"\u7F16\u8F91\u5546\u54C1",center:""},{default:n(()=>[t.data?(i(),d(a(k),{key:0,style:{overflow:"hidden"},data:t.data,columns:a(h)},null,8,["data","columns"])):b("v-if",!0),u("div",E,[u("div",M,[e[2]||(e[2]=u("p",{style:{width:"110px"}},"\u64CD\u4F5C\u6570\u91CF:",-1)),r(a(w),{modelValue:l.value,"onUpdate:modelValue":e[0]||(e[0]=s=>l.value=s),placeholder:"\u64CD\u4F5C\u6570\u91CF"},null,8,["modelValue"])]),r(v,{type:"primary",onClick:f},{default:n(()=>e[3]||(e[3]=[D("\u4FDD\u5B58")])),_:1})])]),_:1},8,["modelValue"])}}});var R=C(g,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/clientC/components/ChildGoodEditModal.vue"]]);export{R as default};
+import{_ as C,d as _,aZ as x,w as V,z as y,r as B,o as i,G as d,C as n,l as a,a as b,h as u,j as r,aM as w,M as D,af as F,a_ as N}from"./index.js";import{g as h}from"./columns.d86b21e1.js";import{B as k}from"./basic-descriptions.65a76ad2.js";import"./status.b7512d56.js";import"./shared.a743a5f7.js";import"./tootip.236f17fc.js";const E={class:"flex justify-between mt-[10px]"},M={class:"flex items-center"},g=_({__name:"ChildGoodEditModal",props:{visible:{type:Boolean,required:!0},index:{type:null,required:!0},data:{type:null,required:!0}},emits:["submit"],setup(m,{emit:p}){const t=m,c=p,o=x(t,"visible"),l=V(0);y(()=>o.value,()=>{!o.value||(l.value=t.data.goodNum)});function f(){c("submit",t.index,{...t.data,goodNum:l.value}),o.value=!1}return(G,e)=>{const v=B("ElButton");return i(),d(a(N),{modelValue:a(o),"onUpdate:modelValue":e[1]||(e[1]=s=>F(o)?o.value=s:null),title:"\u7F16\u8F91\u5546\u54C1",center:""},{default:n(()=>[t.data?(i(),d(a(k),{key:0,style:{overflow:"hidden"},data:t.data,columns:a(h)},null,8,["data","columns"])):b("v-if",!0),u("div",E,[u("div",M,[e[2]||(e[2]=u("p",{style:{width:"110px"}},"\u64CD\u4F5C\u6570\u91CF:",-1)),r(a(w),{modelValue:l.value,"onUpdate:modelValue":e[0]||(e[0]=s=>l.value=s),placeholder:"\u64CD\u4F5C\u6570\u91CF"},null,8,["modelValue"])]),r(v,{type:"primary",onClick:f},{default:n(()=>e[3]||(e[3]=[D("\u4FDD\u5B58")])),_:1})])]),_:1},8,["modelValue"])}}});var R=C(g,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/clientC/components/ChildGoodEditModal.vue"]]);export{R as default};

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

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

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

@@ -1 +1 @@
-import{_ as o,d as s,o as i,G as n,l as t,a as r}from"./index.js";import{i as a}from"./shared.4f9e44f6.js";import{B as c}from"./basic-descriptions.eb49e037.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.4f9e44f6.js";import{B as c}from"./basic-descriptions.65a76ad2.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.eb49e037.js → dist/assets/basic-descriptions.65a76ad2.js


+ 0 - 0
dist/assets/columnRenderHelper.33ee9c3b.js → dist/assets/columnRenderHelper.c38ed50d.js


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


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


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


+ 1 - 1
dist/assets/detail.48dab8.js

@@ -1 +1 @@
-import{_ as n,d as p,aW as m,ar as d,H as _,l as e,o as a,c as u,h as f,L as v,G as o,a as i}from"./index.js";import{u as k}from"./useDetail.a34c074e.js";import D from"./BaseForm.74360a.js";import{P as g}from"./index.0e064bee.js";import{a as h}from"./index.e3e2dd56.js";import"./status.b7512d56.js";import"./InvoiceTitle.77bebe.js";import"./basic-descriptions.eb49e037.js";import"./use-page-search.8455cbbf.js";import"./columns.e8bcb0ff.js";import"./tootip.f4799246.js";import"./ChildGoodEditModal.7967d3.js";import"./query-category.fa03a8.js";const y={class:"padding__container"},x={class:"my-[5px]",style:{"font-size":"14px"}},B=p({__name:"detail",setup(C){const t=m(),{title:r,isDetail:c,collapses:N,id:s}=k({baseName:"\u5546\u54C1",collapseLen:2});return s.value&&t.run(h({id:s.value})),(w,L)=>{const l=d("loading");return _((a(),u("div",y,[f("p",x,v(e(r)),1),e(c)?i("v-if",!0):(a(),o(D,{key:0})),e(t).data?(a(),o(g,{key:1,data:e(t).data},null,8,["data"])):i("v-if",!0)])),[[l,e(t).loading]])}}});var S=n(B,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/productManager/detail.vue"]]);export{S as default};
+import{_ as n,d as p,aW as m,ar as d,H as _,l as e,o as a,c as u,h as f,L as v,G as o,a as i}from"./index.js";import{u as k}from"./useDetail.9b72801b.js";import D from"./BaseForm.c5b102.js";import{P as g}from"./index.bd488e97.js";import{a as h}from"./index.d2fead55.js";import"./status.b7512d56.js";import"./InvoiceTitle.77bebe.js";import"./basic-descriptions.65a76ad2.js";import"./use-page-search.15129a46.js";import"./columns.6ae6573b.js";import"./tootip.236f17fc.js";import"./ChildGoodEditModal.7967d3.js";import"./query-category.fa03a8.js";const y={class:"padding__container"},x={class:"my-[5px]",style:{"font-size":"14px"}},B=p({__name:"detail",setup(C){const t=m(),{title:r,isDetail:c,collapses:N,id:s}=k({baseName:"\u5546\u54C1",collapseLen:2});return s.value&&t.run(h({id:s.value})),(w,L)=>{const l=d("loading");return _((a(),u("div",y,[f("p",x,v(e(r)),1),e(c)?i("v-if",!0):(a(),o(D,{key:0})),e(t).data?(a(),o(g,{key:1,data:e(t).data},null,8,["data"])):i("v-if",!0)])),[[l,e(t).loading]])}}});var S=n(B,[["__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/detail.81a26f.js


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


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


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


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


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


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


+ 0 - 0
dist/assets/execl-upload.38126871.js → dist/assets/execl-upload.6b79e9c3.js


+ 0 - 0
dist/assets/index.e2b1dec7.js → dist/assets/index.0458dc42.js


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


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


+ 0 - 0
dist/assets/index.fed0c40f.js → dist/assets/index.0bffb9a0.js


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


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.1c6699.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.2d5352.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.31cbbd.js


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


+ 0 - 0
dist/assets/index.ea20cff2.js → dist/assets/index.40f0e438.js


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


+ 0 - 0
dist/assets/index.06c42699.js → dist/assets/index.4da7e22a.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.64c3fd.js


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


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


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


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


+ 0 - 0
dist/assets/index.42067d4c.js → dist/assets/index.8334ca6a.js


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


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


+ 0 - 0
dist/assets/index.d34f2850.js → dist/assets/index.99ad1dcb.js


+ 0 - 0
dist/assets/index.5f4f9565.js → dist/assets/index.9de4df99.js


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


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


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


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


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


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index.bd488e97.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.c1687a.js


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


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


+ 0 - 0
dist/assets/index.e3e2dd56.js → dist/assets/index.d2fead55.js


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


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


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


+ 1 - 1
dist/assets/index.968b2251.js → dist/assets/index.df2b578c.js

@@ -1 +1 @@
-import{d as E,w as c,aW as D,r as l,ar as b,o as d,c as m,j as e,C as s,l as i,J as B,H as k,G as y,a as F,_ as P}from"./index.js";import{h as x}from"./index.fed0c40f.js";import{P as T}from"./index.18c0f89b.js";const g={class:"w-full"},R=E({__name:"index",props:{ProductRela:{type:Array,required:!0}},setup(V){const p=c(!1),a=c(0),u=D();function _(t,n){p.value=!0,a.value=n,u.run(x({id:t}))}return(t,n)=>{const o=l("ElTableColumn"),v=l("ElButton"),f=l("ElTooltip"),w=l("ElTable"),C=l("ElDialog"),h=b("loading");return d(),m("div",g,[e(w,{size:"small",border:"",data:t.ProductRela},{default:s(()=>[e(o,{label:"\u5546\u54C1ID",prop:"product_id",width:"60px","show-overflow-tooltip":""}),e(o,{label:"\u5546\u54C1\u7F16\u53F7",prop:"skuCode","show-overflow-tooltip":""}),e(o,{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName","show-overflow-tooltip":""}),e(o,{label:"\u64CD\u4F5C\u6570\u91CF",prop:"num",width:"80px","show-overflow-tooltip":""}),e(o,{label:"\u64CD\u4F5C\u4EBA",prop:"apply_name",width:"80px","show-overflow-tooltip":""}),e(o,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"create_time","show-overflow-tooltip":""}),e(o,{label:"\u64CD\u4F5C",width:"100px"},{default:s(r=>[e(f,{content:"\u67E5\u770B\u8BE6\u60C5"},{default:s(()=>[e(v,{type:"primary",link:"",icon:i(B)("eye-view"),onClick:A=>_(r.row.product_id,r.$index)},null,8,["icon","onClick"])]),_:2},1024)]),_:1})]),_:1},8,["data"]),e(C,{center:"",title:"\u5546\u54C1\u8BE6\u60C5",modelValue:p.value,"onUpdate:modelValue":n[0]||(n[0]=r=>p.value=r),style:{overflow:"hidden"}},{default:s(()=>[k((d(),m("div",null,[i(u).data?(d(),y(T,{key:0,data:i(u).data,num:t.ProductRela[a.value].num,time:t.ProductRela[a.value].create_time,name:t.ProductRela[a.value].apply_name},null,8,["data","num","time","name"])):F("v-if",!0)])),[[h,i(u).loading]])]),_:1},8,["modelValue"])])}}});var U=P(R,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/components/BasicProducts/index.vue"]]);export{U as B};
+import{d as E,w as c,aW as D,r as l,ar as b,o as d,c as m,j as e,C as s,l as i,J as B,H as k,G as y,a as F,_ as P}from"./index.js";import{h as x}from"./index.0bffb9a0.js";import{P as T}from"./index.e2551c7f.js";const g={class:"w-full"},R=E({__name:"index",props:{ProductRela:{type:Array,required:!0}},setup(V){const p=c(!1),a=c(0),u=D();function _(t,n){p.value=!0,a.value=n,u.run(x({id:t}))}return(t,n)=>{const o=l("ElTableColumn"),v=l("ElButton"),f=l("ElTooltip"),w=l("ElTable"),C=l("ElDialog"),h=b("loading");return d(),m("div",g,[e(w,{size:"small",border:"",data:t.ProductRela},{default:s(()=>[e(o,{label:"\u5546\u54C1ID",prop:"product_id",width:"60px","show-overflow-tooltip":""}),e(o,{label:"\u5546\u54C1\u7F16\u53F7",prop:"skuCode","show-overflow-tooltip":""}),e(o,{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName","show-overflow-tooltip":""}),e(o,{label:"\u64CD\u4F5C\u6570\u91CF",prop:"num",width:"80px","show-overflow-tooltip":""}),e(o,{label:"\u64CD\u4F5C\u4EBA",prop:"apply_name",width:"80px","show-overflow-tooltip":""}),e(o,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"create_time","show-overflow-tooltip":""}),e(o,{label:"\u64CD\u4F5C",width:"100px"},{default:s(r=>[e(f,{content:"\u67E5\u770B\u8BE6\u60C5"},{default:s(()=>[e(v,{type:"primary",link:"",icon:i(B)("eye-view"),onClick:A=>_(r.row.product_id,r.$index)},null,8,["icon","onClick"])]),_:2},1024)]),_:1})]),_:1},8,["data"]),e(C,{center:"",title:"\u5546\u54C1\u8BE6\u60C5",modelValue:p.value,"onUpdate:modelValue":n[0]||(n[0]=r=>p.value=r),style:{overflow:"hidden"}},{default:s(()=>[k((d(),m("div",null,[i(u).data?(d(),y(T,{key:0,data:i(u).data,num:t.ProductRela[a.value].num,time:t.ProductRela[a.value].create_time,name:t.ProductRela[a.value].apply_name},null,8,["data","num","time","name"])):F("v-if",!0)])),[[h,i(u).loading]])]),_:1},8,["modelValue"])])}}});var U=P(R,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/components/BasicProducts/index.vue"]]);export{U as B};

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


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


+ 0 - 0
dist/assets/index.4bda0bd7.js → dist/assets/index.ec530cdb.js


+ 0 - 0
dist/assets/index.45895c29.js → dist/assets/index.f05cfa47.js


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


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


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


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


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


+ 0 - 0
dist/assets/motion.095e6614.js → dist/assets/motion.48e85625.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,a5 as Lt,z as me,j as P,H as pe,ar as we,l as R,aC as be,F as Jt,y as Ce,bu as ve,bv as Dt,au as Ee,_ as Te,r as jt,o as Be,c as Ae,C as W,h as Se,as as Ne,M as Pe}from"./index.js";import{M as ht}from"./motion.095e6614.js";/*!
+import{d as Ht,w as Ot,a5 as Lt,z as me,j as P,H as pe,ar as we,l as R,aC as be,F as Jt,y as Ce,bu as ve,bv as Dt,au as Ee,_ as Te,r as jt,o as Be,c as Ae,C as W,h as Se,as as Ne,M as Pe}from"./index.js";import{M as ht}from"./motion.48e85625.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/regist.bfca82.js


+ 0 - 0
dist/assets/rule.a82ae0a9.js → dist/assets/rule.14c086a2.js


+ 0 - 0
dist/assets/tootip.f4799246.js → dist/assets/tootip.236f17fc.js


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


+ 0 - 0
dist/assets/use-page-search.8455cbbf.js → dist/assets/use-page-search.15129a46.js


+ 0 - 0
dist/assets/useDetail.a34c074e.js → dist/assets/useDetail.9b72801b.js


+ 0 - 0
dist/assets/verifyCode.f92f11d5.js → dist/assets/verifyCode.d1babc48.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.8377ff36.css">
+  <link rel="stylesheet" href="/assets/index.eb4ff807.css">
   <link rel="stylesheet" href="/assets/layout-theme-default.css" id="head">
 </head>
 

+ 6 - 375
src/layout/components/help-modal.vue

@@ -2,218 +2,6 @@
 import { ref } from "vue";
 const visible = ref(false);
 
-const config_1 = {
-  columns: [
-    {
-      prop: "open_time",
-      label: "开票日期"
-    },
-    {
-      prop: "inv_number",
-      label: "发票号码"
-    },
-    {
-      prop: "inv_code",
-      label: "发票代码"
-    },
-    {
-      prop: "amount",
-      label: "发票税前金额"
-    },
-    {
-      prop: "checkNumber",
-      label: "校验码"
-    },
-    {
-      prop: "amountAfterTax",
-      label: "发票税后金额"
-    }
-  ],
-  data: [
-    {
-      inv_type: "纸质普通发票",
-      amountAfterTax: false,
-      checkNumber: true,
-      inv_number: true,
-      open_time: true,
-      inv_code: true,
-      amount: true,
-    },
-    {
-      inv_type: "纸质专用发票",
-      amountAfterTax: false,
-      checkNumber: false,
-      inv_number: true,
-      open_time: true,
-      inv_code: true,
-      amount: true
-    },
-    {
-      inv_type: "电子普通发票",
-      open_time: true,
-      inv_number: true,
-      inv_code: true,
-      amount: true,
-      checkNumber: true,
-      amountAfterTax: false
-    },
-    {
-      inv_type: "电子专用发票",
-      open_time: true,
-      inv_number: true,
-      inv_code: true,
-      amount: true,
-      checkNumber: false,
-      amountAfterTax: false
-    },
-    {
-      inv_type: "电子发票(增值税专用发票)",
-      open_time: true,
-      inv_number: true,
-      inv_code: "--",
-      amount: false,
-      checkNumber: "--",
-      amountAfterTax: true
-    },
-    {
-      inv_type: "电子发票(增值税普通发票)",
-      open_time: true,
-      inv_number: true,
-      inv_code: "--",
-      amount: false,
-      checkNumber: "--",
-      amountAfterTax: true
-    }
-  ]
-};
-
-const config_2 = {
-  columns: [
-    // {
-    //   prop: "on_out_month",
-    //   label: "未跨月"
-    // },
-    {
-      prop: "out_month",
-      label: "是否有信息表"
-    }
-  ],
-  data: [
-    {
-      inv_type: "纸质普通发票",
-      on_out_month: "--",
-      out_month: false
-    },
-    {
-      inv_type: "纸质专用发票",
-      on_out_month: "--",
-      out_month: true
-    },
-    {
-      inv_type: "电子普通发票",
-      on_out_month: false,
-      out_month: false
-    },
-    {
-      inv_type: "电子专用发票",
-      on_out_month: true,
-      out_month: true
-    }
-  ]
-};
-
-const config_3 = {
-  columns: [
-    // {
-    //   prop: "on_out_month",
-    //   label: "未跨月"
-    // },
-    {
-      prop: "out_month",
-      label: "作废or红冲"
-    }
-  ],
-  data: [
-    {
-      inv_type: "纸质普通发票",
-      on_out_month: false,
-      out_month: true
-    },
-    {
-      inv_type: "纸质专用发票",
-      on_out_month: false,
-      out_month: true
-    },
-    {
-      inv_type: "电子普通发票",
-      on_out_month: true,
-      out_month: true
-    },
-    {
-      inv_type: "电子专用发票",
-      on_out_month: true,
-      out_month: true
-    }
-  ]
-};
-
-const config_4 = {
-  columns: [
-    {
-      prop: "tax",
-      label: "税率"
-    },
-    {
-      prop: "discount",
-      label: "优惠政策"
-    },
-    {
-      label: "增值税管理",
-      level2: {
-        label: "是否必填",
-        prop: "addTaxRequired"
-      }
-    },
-    {
-      prop: "addTax",
-      label: "增值税管理"
-    },
-    {
-      prop: "invTag",
-      label: "税率标识"
-    }
-  ],
-  data: [
-    {
-      tax: "零税率",
-      discount: "有优惠政策",
-      addTaxRequired: true,
-      addTax: "免税、不征税",
-      invTag: "免税、不征税"
-    },
-    {
-      tax: "非零税率",
-      discount: "有优惠政策",
-      addTaxRequired: false,
-      addTax: "不填",
-      invTag: "不填"
-    },
-    {
-      tax: "零税率",
-      discount: "没有优惠政策",
-      addTaxRequired: false,
-      addTax: "不填",
-      invTag: "零税率"
-    },
-    {
-      tax: "非零税率",
-      discount: "没有优惠政策",
-      addTaxRequired: false,
-      addTax: "不填",
-      invTag: "不填"
-    }
-  ]
-};
 
 defineExpose({
   onDisplay: () => (visible.value = true)
@@ -221,168 +9,11 @@ defineExpose({
 </script>
 
 <template>
-  <ElDialog
-    v-model="visible"
-    title="使用说明"
-    center
-    width="1040px"
-    top="8vh"
-    append-to-body
-  >
-    <ElRow>
-      <h1>测试是否正常更新</h1>
-      <ElCol :span="24">
-        <h2>
-          1.发票查验必填字段说明(适用于销售开票、销售退票、对账发票上传业务)。
-        </h2>
-        <div class="py-[10px] px-[20px]">
-          <ElTable
-            size="small"
-            :data="config_1.data"
-            border
-            :header-cell-style="{
-              background: '#f5f7fa',
-              'text-align': 'center'
-            }"
-          >
-            <ElTableColumn prop="inv_type" label="发票类型" width="180px" />
-            <ElTableColumn
-              v-for="col in config_1.columns"
-              :key="col.prop"
-              :prop="col.prop"
-              :label="col.label"
-            >
-              <template #="{ row }">
-                <span v-if="typeof row[col.prop] === 'string'">--</span>
-                <IconifyIconOffline
-                  v-else
-                  :style="{ color: row[col.prop] ? '#67C23A' : '#F56C6C' }"
-                  :icon="row[col.prop] ? 'success' : 'close-bold'"
-                />
-              </template>
-            </ElTableColumn>
-          </ElTable>
-        </div>
-      </ElCol>
-    </ElRow>
-
-    <ElRow>
-      <ElCol :span="12">
-        <h2>2.金税系统退票说明(仅开启金税设置后使用)</h2>
-        <div class="py-[10px] px-[20px]">
-          <ElTable
-            size="small"
-            :data="config_3.data"
-            border
-            :header-cell-style="{
-              background: '#f5f7fa',
-              'text-align': 'center'
-            }"
-          >
-            <ElTableColumn prop="inv_type" label="发票类型" />
-            <ElTableColumn
-              v-for="col in config_2.columns"
-              :key="col.prop"
-              :prop="col.prop"
-              :label="col.label"
-            >
-              <template #="{ row }">
-                <ElTag :type="row[col.prop] ? 'error' : 'info'" size="small">
-                  {{ row[col.prop] ? "红冲" : "作废" }}
-                </ElTag>
-              </template>
-            </ElTableColumn>
-          </ElTable>
-        </div>
-      </ElCol>
-
-      <ElCol :span="12">
-        <h2>3.红字专用信息表说明(仅开启金税设置后使用)</h2>
-        <div class="py-[10px] px-[20px]">
-          <ElTable
-            size="small"
-            :data="config_2.data"
-            border
-            :header-cell-style="{
-              background: '#f5f7fa',
-              'text-align': 'center'
-            }"
-          >
-            <ElTableColumn prop="inv_type" label="发票类型" />
-            <ElTableColumn
-              v-for="col in config_2.columns"
-              :key="col.prop"
-              :prop="col.prop"
-              label="作废or红冲"
-            >
-              <template #="{ row }">
-                <span v-if="typeof row[col.prop] === 'string'">--</span>
-                <IconifyIconOffline
-                  v-else
-                  :style="{ color: row[col.prop] ? '#67C23A' : '#F56C6C' }"
-                  :icon="row[col.prop] ? 'success' : 'close-bold'"
-                />
-              </template>
-            </ElTableColumn>
-          </ElTable>
-        </div>
-      </ElCol>
-
-      <ElCol :span="24">
-        <h2>4.金税系统类目设置说明(不管金税设置是否开启)</h2>
-        <div class="py-[10px] px-[20px]">
-          <ElTable
-            size="small"
-            :data="config_4.data"
-            border
-            :header-cell-style="{
-              background: '#f5f7fa',
-              'text-align': 'center'
-            }"
-          >
-            <template v-for="col in config_4.columns" :key="col.prop">
-              <ElTableColumn
-                :prop="col.prop"
-                :label="col.label"
-                v-if="!col.level2"
-              >
-                <template #="{ row }">
-                  <span v-if="typeof row[col.prop] === 'string'">{{
-                    row[col.prop]
-                  }}</span>
-
-                  <IconifyIconOffline
-                    v-else
-                    :style="{ color: row[col.prop] ? '#67C23A' : '#F56C6C' }"
-                    :icon="row[col.prop] ? 'success' : 'close-bold'"
-                  />
-                </template>
-              </ElTableColumn>
-
-              <ElTableColumn :label="col.label" v-else>
-                <ElTableColumn
-                  :label="col.level2.label"
-                  :prop="col.level2.prop"
-                >
-                  <template #="{ row }">
-                    <span v-if="typeof row[col.level2.prop] === 'string'">{{
-                      row[col.level2.prop]
-                    }}</span>
-
-                    <IconifyIconOffline
-                      v-else
-                      :style="{
-                        color: row[col.level2.prop] ? '#67C23A' : '#F56C6C'
-                      }"
-                      :icon="row[col.level2.prop] ? 'success' : 'close-bold'"
-                    />
-                  </template>
-                </ElTableColumn>
-              </ElTableColumn>
-            </template>
-          </ElTable>
-        </div>
-      </ElCol>
-    </ElRow>
+  <ElDialog v-model="visible" title="使用说明" center width="1040px" top="8vh" append-to-body>
+    <h3 class="mb-[5px]" style="font-size:16px">一、非订单商品模板导入说明</h3>
+    <p>1.订单商品实际开票为子商品细项开票;</p>
+    <p>2.发票明细无数量的;</p>
+    <p>3.订单商品数量与发票商品数量不一致的如:贵金属发票数量可能为克重;服务费订单数量为若干件但发票无数量或只有1件;</p>
+    <p>4.其他出入库不使用订单商品的情况。</p>
   </ElDialog>
 </template>

+ 3 - 7
src/views/invoiceInOut/productManager/components/BaseForm.vue

@@ -230,12 +230,8 @@ function handleGoodSourceChange(value){
 
       <ElCol :span="6">
         <ElFormItem label="订单商品类型" prop="good_type">
-          <ElSelect 
-            v-model="formData.good_type" 
-            placeholder="订单商品类型" 
-            style="width: 100%"
-            @change="formData.childArr = []"
-            >
+          <ElSelect v-model="formData.good_type" placeholder="订单商品类型" style="width: 100%"
+            @change="formData.childArr = []">
             <ElOption v-for="opt in cg_order_type_options" :value="opt.value" :label="opt.label" />
           </ElSelect>
         </ElFormItem>
@@ -385,7 +381,7 @@ function handleGoodSourceChange(value){
       <ElButton type="primary" @click="submit">保存</ElButton>
     </div>
 
-    <ChooseGoodModal v-model:visible="state.visible" @submit="handleSubmit"
+    <ChooseGoodModal @submit="handleSubmit" v-model:visible="state.visible"
       :otherSearchParameter="otherSearchParameter" />
 
     <ChildGoodEditModal v-model:visible="state.editVisible" :index="state.index" :data="state.data"

+ 17 - 3
src/views/invoiceInOut/provisionOut/detail.vue

@@ -8,7 +8,7 @@ import ChooseGoodModal from "./components/ChooseGoodModal/index.vue"
 import ChildGoodEditModal from "./components/ChildGoodEditModal.vue";
 import { httpJTDetail, httpJTStatus ,httpCheckAccrue, httpDetail } from "/@/api/invoiceInOut/inOutManager";
 import { ElForm, ElFormItem, ElMessage, ElOption, ElSelect } from "element-plus";
-import { useTask } from "/@/hooks/core";
+import { useCompany, useTask } from "/@/hooks/core";
 // import SealMonthPicker from "/@/components/SealMonthPicker/index.vue"
 import { UnitInput } from "/@/components/Input";
 import { useUserInfo } from "/@/hooks/core/useUser";
@@ -16,8 +16,12 @@ import { httpProductDetail } from "/@/api/invoiceInOut/inventoryCheck";
 import ProductDetail from "/@/components/ProductDetail/index.vue"
 import { addition, multiplication } from "/@/utils/calc";
 
+import SealMonthPicker from "/@/components/SealMonthPicker/index.vue"
+
 const { title, collapses, id } = useDetail({ baseName: '计提出库明细处理', collapseLen: 5 });
 
+const { getCurrentLicense } = useCompany()
+
 const visible = ref(false)
 
 
@@ -40,6 +44,8 @@ const state = reactive({
   data: {}
 })
 
+
+
 const loading = ref(false)
 const formRef = ref<InstanceType<typeof ElForm> | null>(null)
 
@@ -59,6 +65,7 @@ const searchParameter = computed(() => {
 })
 
 const formData = ref({ 
+  month: '',
   goods: [], 
   checkFee: '', 
   is_CheckOrder: '' 
@@ -66,6 +73,7 @@ const formData = ref({
 
 const rules = {
   goods: [{ required: true, message: '请选择操作商品' }],
+  month: [{ required: true, message: '请选择入账月份' }],
   checkFee: [{ required: true, message: '请输入调整金额' }],
   is_CheckOrder: [{ required: true, message: '请选择是否加入调整单' }]
 }
@@ -157,7 +165,8 @@ async function onSubmit(){
       id: id.value, 
       idArr: relaArr,
       checkFee: formData.value.checkFee, 
-      isAddCheck: formData.value.is_CheckOrder 
+      isAddCheck: formData.value.is_CheckOrder,
+      fz_date: formData.value.month
     })
     
     loading.value = false
@@ -313,6 +322,10 @@ id.value && detailTask.run(httpJTDetail({ id: id.value }))
                   <ElOption label="否" value="0" :disabled="disabled" />
                 </ElSelect>
               </ElFormItem>
+
+              <ElFormItem label="入账月份" prop="month">
+                <SealMonthPicker v-model="formData.month" placeholder="入账月份" :company_code="getCurrentLicense()" />
+              </ElFormItem>
             </ElForm>
 
             <div class="flex w-full justify-end">
@@ -331,7 +344,8 @@ id.value && detailTask.run(httpJTDetail({ id: id.value }))
     <ElDialog center title="商品详情" v-model="productVisible" style="overflow: hidden">
       <div v-loading="productDetailTask.loading">
         <ProductDetail v-if="productDetailTask.data" :data="productDetailTask.data"
-          :num="detailTask.data.Manager.ProductRela[productIndex].num" :time="detailTask.data.Manager.ProductRela[productIndex].create_time"
+          :num="detailTask.data.Manager.ProductRela[productIndex].num"
+          :time="detailTask.data.Manager.ProductRela[productIndex].create_time"
           :name="detailTask.data.Manager.ProductRela[productIndex].apply_name" />
       </div>
     </ElDialog>

+ 9 - 3
src/views/invoiceInOut/summary/index.vue

@@ -89,6 +89,12 @@ async function handleStatusChangeNo() {
 }
 </script>
 
+
+  <!-- { value: '0', label: '未封帐', type: 'info' },
+  { value: '1', label: '待审批', type: 'warning' },
+  { value: '2', label: '封账完成', type: 'success' },
+  { value: '3', label: '封账驳回', type: 'warning' },
+  { value: '4', label: '封账失败' , type: 'danger'}, -->
 <template>
   <PageAuth :pageName="PageName">
     <PageContainer :hooks="hooks" :events="events" :searchConfig="searchConfig" :contentConfig="contentConfig"
@@ -99,7 +105,7 @@ async function handleStatusChangeNo() {
             :icon="useRenderIcon('checkbox-circle-line')" />
         </ElTooltip>
 
-        <ElTooltip content="改为未封账" placement="top" v-if="row.status == '2' && !isSuperUser">
+        <ElTooltip content="改为未封账" placement="top" v-if="row.status == '3' && !isSuperUser">
           <ElButton link size="small" type="primary" @click="handleStatusChange(row.id, '0')"
             :icon="useRenderIcon('close-circle-line')" />
         </ElTooltip>
@@ -109,12 +115,12 @@ async function handleStatusChangeNo() {
             :icon="useRenderIcon('link')" />
         </ElTooltip> -->
 
-        <ElTooltip content="改为待审批" placement="top" v-if="(row.status == '0' || row.status == '3') && !isSuperUser">
+        <ElTooltip content="改为待审批" placement="top" v-if="row.status == '0' && !isSuperUser">
           <ElButton link size="small" type="primary" @click="handleStatusChange(row.id, '1')"
             :icon="useRenderIcon('compass')" />
         </ElTooltip>
 
-        <ElTooltip content="审核驳回" placement="top" v-if="row.status == '2' && !isSuperUser">
+        <ElTooltip content="审核驳回" placement="top" v-if="row.status == '1' && !isSuperUser">
           <ElButton link size="small" type="primary" @click="handleStatusChange(row.id, '3')"
             :icon="useRenderIcon('close')" />
         </ElTooltip>

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