snow 3 bulan lalu
induk
melakukan
bf62dc8685
93 mengubah file dengan 67 tambahan dan 22 penghapusan
  1. 0 0
      dist/assets/BaseForm.4b5981.js
  2. 0 0
      dist/assets/BaseForm.74360a.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.7c8d0877.js
  11. 1 0
      dist/assets/columnRenderHelper.86d7df25.js
  12. 0 1
      dist/assets/columnRenderHelper.e746a45d.js
  13. 0 0
      dist/assets/columns.abeef1af.js
  14. 0 0
      dist/assets/columns.ad11f5bc.js
  15. 0 0
      dist/assets/detail.40f304.js
  16. 1 1
      dist/assets/detail.48dab8.js
  17. 0 0
      dist/assets/detail.81a26f.js
  18. 0 0
      dist/assets/detail.86fc1b.js
  19. 0 0
      dist/assets/detail.980cdd.js
  20. 0 0
      dist/assets/detail.a9680f.js
  21. 0 0
      dist/assets/detail.a9d661.js
  22. 0 0
      dist/assets/detail.ab0da9.js
  23. 0 0
      dist/assets/detail.db355d.js
  24. 0 0
      dist/assets/detail.df5648.js
  25. 0 0
      dist/assets/execl-upload.1b76e842.js
  26. 0 0
      dist/assets/index.04a7a9.js
  27. 0 0
      dist/assets/index.0975b0.js
  28. 0 0
      dist/assets/index.0dbb49.js
  29. 0 0
      dist/assets/index.0f2b58.js
  30. 1 1
      dist/assets/index.11505560.js
  31. 0 0
      dist/assets/index.1c6699.js
  32. 0 0
      dist/assets/index.1ddafc.js
  33. 0 0
      dist/assets/index.23a090.js
  34. 0 0
      dist/assets/index.26a26c.js
  35. 0 0
      dist/assets/index.28ab15d9.js
  36. 0 0
      dist/assets/index.2a19fa73.js
  37. 0 0
      dist/assets/index.2d5352.js
  38. 0 0
      dist/assets/index.303734.js
  39. 0 0
      dist/assets/index.31cbbd.js
  40. 0 0
      dist/assets/index.33b3023c.js
  41. 0 0
      dist/assets/index.44527c16.js
  42. 0 0
      dist/assets/index.4cf9ee.js
  43. 0 0
      dist/assets/index.52bb3f.js
  44. 0 0
      dist/assets/index.5b078f5a.js
  45. 0 0
      dist/assets/index.5b3a0d2e.js
  46. 0 0
      dist/assets/index.5f70f55e.js
  47. 0 0
      dist/assets/index.674a5d.js
  48. 0 0
      dist/assets/index.6997dc43.js
  49. 0 0
      dist/assets/index.6d3d49.js
  50. 0 0
      dist/assets/index.77e8d1.js
  51. 0 0
      dist/assets/index.7b86ba.js
  52. 0 0
      dist/assets/index.8b31f1.js
  53. 0 0
      dist/assets/index.8d6107.js
  54. 0 0
      dist/assets/index.9fb413.js
  55. 0 0
      dist/assets/index.9fd33b.js
  56. 0 0
      dist/assets/index.a52ab313.js
  57. 0 0
      dist/assets/index.a9eb7f.js
  58. 0 0
      dist/assets/index.b050d10e.js
  59. 0 0
      dist/assets/index.b1d127.js
  60. 0 0
      dist/assets/index.bdcf42.js
  61. 0 0
      dist/assets/index.c1687a.js
  62. 0 0
      dist/assets/index.c2487c.js
  63. 0 0
      dist/assets/index.c2f0ad8d.js
  64. 0 0
      dist/assets/index.c48d03.js
  65. 0 0
      dist/assets/index.cca329.js
  66. 0 0
      dist/assets/index.d81bc377.js
  67. 0 0
      dist/assets/index.d83ede.js
  68. 0 0
      dist/assets/index.d92aef.js
  69. 0 0
      dist/assets/index.ddd736.js
  70. 0 0
      dist/assets/index.f63c5f.js
  71. 0 0
      dist/assets/index.f9cde5.js
  72. 0 0
      dist/assets/index.fc1994.js
  73. 0 0
      dist/assets/index.fc8072.js
  74. 0 0
      dist/assets/index.ff51ce.js
  75. 0 0
      dist/assets/index.js
  76. 0 0
      dist/assets/motion.0d3537bb.js
  77. 0 0
      dist/assets/phone.9e1123.js
  78. 1 1
      dist/assets/qrCode.be32d8.js
  79. 0 0
      dist/assets/regist.bfca82.js
  80. 0 0
      dist/assets/rule.9f7d1974.js
  81. 0 0
      dist/assets/tootip.f3c8b02b.js
  82. 0 0
      dist/assets/update.2f876b.js
  83. 0 0
      dist/assets/use-page-search.903e12c8.js
  84. 0 0
      dist/assets/useDetail.331e0812.js
  85. 0 0
      dist/assets/verifyCode.bf1f1fd4.js
  86. 2 2
      src/utils/columnRenderHelper.ts
  87. 4 2
      src/views/invoiceInOut/clientC/components/BaseForm/index.vue
  88. 11 3
      src/views/invoiceInOut/clientC/components/ChooseOrderModal/config/content.config.ts
  89. 15 1
      src/views/invoiceInOut/clientC/components/NotOrderImportModal/index.vue
  90. 17 0
      src/views/invoiceInOut/clientC/components/OrderImportModal/index.vue
  91. 1 1
      src/views/invoiceInOut/clientC/detail.vue
  92. 4 3
      src/views/invoiceInOut/inManager/detail.vue
  93. 5 2
      src/views/invoiceInOut/outManager/detail.vue

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/BaseForm.4b5981.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/BaseForm.74360a.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/ChildGoodEditModal.396f34.js


File diff ditekan karena terlalu besar
+ 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.cf34f2d9.js";import{B as E}from"./basic-descriptions.ce40c21c.js";import"./status.b7512d56.js";import"./tootip.450b8cc9.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.ad11f5bc.js";import{B as E}from"./basic-descriptions.7c8d0877.js";import"./status.b7512d56.js";import"./tootip.f3c8b02b.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 ditekan karena terlalu besar
+ 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.088e79ab.js";import{B as k}from"./basic-descriptions.ce40c21c.js";import"./status.b7512d56.js";import"./shared.a743a5f7.js";import"./tootip.450b8cc9.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.abeef1af.js";import{B as k}from"./basic-descriptions.7c8d0877.js";import"./status.b7512d56.js";import"./shared.a743a5f7.js";import"./tootip.f3c8b02b.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.ce40c21c.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.7c8d0877.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.ce40c21c.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.7c8d0877.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.ce40c21c.js → dist/assets/basic-descriptions.7c8d0877.js


+ 1 - 0
dist/assets/columnRenderHelper.86d7df25.js

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

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

@@ -1 +0,0 @@
-import{aa as n,aP as i,J as u,aV 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 ditekan karena terlalu besar
+ 0 - 0
dist/assets/columns.abeef1af.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/columns.ad11f5bc.js


File diff ditekan karena terlalu besar
+ 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.edf9746b.js";import D from"./BaseForm.74360a.js";import{P as g}from"./index.fd99f8e6.js";import{a as h}from"./index.90e06338.js";import"./status.b7512d56.js";import"./InvoiceTitle.77bebe.js";import"./basic-descriptions.ce40c21c.js";import"./use-page-search.75689a84.js";import"./columns.cf34f2d9.js";import"./tootip.450b8cc9.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.331e0812.js";import D from"./BaseForm.74360a.js";import{P as g}from"./index.b050d10e.js";import{a as h}from"./index.28ab15d9.js";import"./status.b7512d56.js";import"./InvoiceTitle.77bebe.js";import"./basic-descriptions.7c8d0877.js";import"./use-page-search.903e12c8.js";import"./columns.ad11f5bc.js";import"./tootip.f3c8b02b.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 ditekan karena terlalu besar
+ 0 - 0
dist/assets/detail.81a26f.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/detail.86fc1b.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/detail.980cdd.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/detail.a9680f.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/detail.a9d661.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/detail.ab0da9.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/detail.db355d.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/detail.df5648.js


+ 0 - 0
dist/assets/execl-upload.5b3fb8ec.js → dist/assets/execl-upload.1b76e842.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.04a7a9.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.0975b0.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.0dbb49.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.0f2b58.js


+ 1 - 1
dist/assets/index.b704d295.js → dist/assets/index.11505560.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.3ba44dde.js";import{P as T}from"./index.be239c0f.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.33b3023c.js";import{P as T}from"./index.44527c16.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 ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.1c6699.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.1ddafc.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.23a090.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.26a26c.js


+ 0 - 0
dist/assets/index.90e06338.js → dist/assets/index.28ab15d9.js


+ 0 - 0
dist/assets/index.e9d0d8c9.js → dist/assets/index.2a19fa73.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.2d5352.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.303734.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.31cbbd.js


+ 0 - 0
dist/assets/index.3ba44dde.js → dist/assets/index.33b3023c.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.44527c16.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.4cf9ee.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.52bb3f.js


+ 0 - 0
dist/assets/index.6fbe7bc9.js → dist/assets/index.5b078f5a.js


+ 0 - 0
dist/assets/index.f12fe3d2.js → dist/assets/index.5b3a0d2e.js


+ 0 - 0
dist/assets/index.63c8fd50.js → dist/assets/index.5f70f55e.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.674a5d.js


+ 0 - 0
dist/assets/index.8fb71d8d.js → dist/assets/index.6997dc43.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.6d3d49.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.77e8d1.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.7b86ba.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.8b31f1.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.8d6107.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.9fb413.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.9fd33b.js


+ 0 - 0
dist/assets/index.6cbf225d.js → dist/assets/index.a52ab313.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.a9eb7f.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.b050d10e.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.b1d127.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.bdcf42.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.c1687a.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.c2487c.js


+ 0 - 0
dist/assets/index.cf673c18.js → dist/assets/index.c2f0ad8d.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.c48d03.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.cca329.js


+ 0 - 0
dist/assets/index.dc7a6683.js → dist/assets/index.d81bc377.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.d83ede.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.d92aef.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.ddd736.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.f63c5f.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.f9cde5.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.fc1994.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.fc8072.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.ff51ce.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index.js


+ 0 - 0
dist/assets/motion.3636a70d.js → dist/assets/motion.0d3537bb.js


File diff ditekan karena terlalu besar
+ 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.3636a70d.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.0d3537bb.js";/*!
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
  *
  * Copyright (c) 2014-2017, Jon Schlinkert.

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/regist.bfca82.js


+ 0 - 0
dist/assets/rule.08828d93.js → dist/assets/rule.9f7d1974.js


+ 0 - 0
dist/assets/tootip.450b8cc9.js → dist/assets/tootip.f3c8b02b.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/update.2f876b.js


+ 0 - 0
dist/assets/use-page-search.75689a84.js → dist/assets/use-page-search.903e12c8.js


+ 0 - 0
dist/assets/useDetail.edf9746b.js → dist/assets/useDetail.331e0812.js


+ 0 - 0
dist/assets/verifyCode.f5932f21.js → dist/assets/verifyCode.bf1f1fd4.js


+ 2 - 2
src/utils/columnRenderHelper.ts

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

+ 4 - 2
src/views/invoiceInOut/clientC/components/BaseForm/index.vue

@@ -9,7 +9,7 @@ import { computed, reactive, ref, watch } from 'vue';
 import ChooseGoodModal from "./../ChooseGoodModal/index.vue"
 import ChildGoodEditModal from "./../ChildGoodEditModal.vue";
 import SealMonthPicker from "/@/components/SealMonthPicker/index.vue"
-import { useTask } from '/@/hooks/core';
+import { useCompany, useTask } from '/@/hooks/core';
 
 import { httpAdd } from "/@/api/invoiceInOut/clientC"
 import { useRouter } from 'vue-router';
@@ -24,6 +24,8 @@ const state = reactive({
     index: -1
 })
 
+const { getCurrentLicense } = useCompany()
+
 const searchParameter = computed(() => {
     return { status: '1', good_type: String(formData.value.orders[0]?.goodType), good_source: String(formData.value.orders[0]?.source) }
 })
@@ -320,7 +322,7 @@ watch(() => formData.value.orders, () => {
         </ElFormItem>
 
         <ElFormItem label="入账月份" prop="month">
-            <SealMonthPicker v-model="formData.month" placeholder="入账月份" />
+            <SealMonthPicker v-model="formData.month" placeholder="入账月份" :company_code="getCurrentLicense()"  />
         </ElFormItem>
 
 

+ 11 - 3
src/views/invoiceInOut/clientC/components/ChooseOrderModal/config/content.config.ts

@@ -1,12 +1,20 @@
 import { ContentConfig } from "/@/components/PageContent";
 import { httpList } from "/@/api/invoiceInOut/clientC";
-import { statusOptions, typeOptions } from "./shared";
+import { typeOptions } from "./shared";
 import { h } from "vue";
 import { ElTag } from "element-plus";
 import { cg_order_type_options, useTypeOptions } from "/@/utils/status";
 import { renderIconLabelLeft } from "/@/utils/columnRenderHelper";
 import { basicStatusOptions } from "/@/views/invoiceInOut/productManager/config/columns";
 
+export const statusOptions = [
+  { value: '1', label: '待处理', type: 'warning' },
+  { value: '2', label: '正常', type: 'success' },
+  { value: '3', label: '计提', type: 'success' },
+  { value: '4', label: '异常', type: 'danger' },
+]
+
+
 const columns = [
   {
     width: 40,
@@ -134,9 +142,9 @@ const columns = [
 const contentConfig: ContentConfig = {
   columns,
   permissions: ['007'],
-  companyProp: 'buyer_code',
+  companyProp: 'seller_code',
   apis: {
-    httpList: (parameter = {}) => httpList({ ...parameter, channel: '3', status: '1' }),
+    httpList: (parameter = {}) => httpList({ ...parameter, channel: [3], status: '1,4' }),
     httpAdd: true
   }
 };

+ 15 - 1
src/views/invoiceInOut/clientC/components/NotOrderImportModal/index.vue

@@ -13,11 +13,14 @@ import { useVModel } from "@vueuse/core";
 
 import ErrorDialog from "/@/components/ErrorDialog/index.vue"
 import ImportTableColumn from "/@/components/importTableColumn/index.vue"
+import { useCompany } from "/@/hooks/core";
 
 
 const props = defineProps<{ visible: boolean }>()
 const emit = defineEmits(["refresh"]);
 
+const { getCurrentLicense } = useCompany()
+
 const tableData = ref([]);
 const loading = ref(false);
 
@@ -78,7 +81,18 @@ const Uploadsuccess = ({ results, header }) => {
     result.push(item)
   }
 
-  
+  const license = getCurrentLicense()
+  const inv_buyer_codes = [...new Set(result.map(({ seller_code }) => seller_code))]
+
+  if (inv_buyer_codes.length !== 1) {
+    ElMessage.warning('导入数据的销售方公司必须一致')
+    return
+  }
+
+  if (inv_buyer_codes[0] !== license) {
+    ElMessage.warning('导入数据销售方公司与当前选择公司不一致')
+    return
+  }
 
   if(isImportDataValid(result)){ tableData.value = result }
   loading.value = false;

+ 17 - 0
src/views/invoiceInOut/clientC/components/OrderImportModal/index.vue

@@ -12,6 +12,7 @@ import { useVModel } from "@vueuse/core";
 
 import ErrorDialog from "/@/components/ErrorDialog/index.vue"
 import ImportTableColumn from "/@/components/importTableColumn/index.vue"
+import { useCompany } from "/@/hooks/core";
 
 const props = defineProps<{ visible: boolean }>()
 const emit = defineEmits(["refresh"]);
@@ -21,6 +22,9 @@ const loading = ref(false);
 
 const visible = useVModel(props, 'visible')
 const headerState = ref({ visible: false, importColumns: [], columns: [] })
+
+
+const { getCurrentLicense } = useCompany()
 const responseHandle = useResponseHandle();
 
 const errorState = ref({
@@ -79,6 +83,19 @@ const Uploadsuccess = ({ results, header }) => {
     result.push(item)
   }
 
+  const license = getCurrentLicense()
+  const inv_buyer_codes = [...new Set(result.map(({ seller_code }) => seller_code))]
+
+  if (inv_buyer_codes.length !== 1) {
+    ElMessage.warning('导入数据的销售方公司必须一致')
+    return
+  }
+
+  if (inv_buyer_codes[0] !== license) {
+    ElMessage.warning('导入数据销售方公司与当前选择公司不一致')
+    return
+  }
+
   if(isImportDataValid(result)){ tableData.value = result }
   loading.value = false;
 };

+ 1 - 1
src/views/invoiceInOut/clientC/detail.vue

@@ -26,7 +26,7 @@ const productDetailTask = useTask()
 const state = reactive({ editVisible: false, index: -1, data: {} });
 
 const searchParameter = computed(() => {
-  return { status: '1' }
+  return { status: '1,4' }
 })
 
 const formData = ref({ goods: [], month: "" });

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

@@ -188,8 +188,8 @@ id.value && detailTask.run(httpDetail({ id: id.value }))
         <BasicProducts :ProductRela="detailTask.data.ProductRela" />
       </ElCollapseItem>
 
-      <ElCollapseItem title="出入库信息确认" name="5"
-        v-if="!isSuperUser && detailTask.data && detailTask.data.status == '1' || detailTask.data.status == '4'">
+      
+      <ElCollapseItem title="出入库信息确认" name="5"   v-if="!isSuperUser && detailTask.data && detailTask.data.status == '1' || detailTask.data.status == '4'">
         <ElForm ref="formRef" :rules="rules" :model="formData">
           <ElFormItem label="操作商品" prop="goods">
             <ElTable :span-method="spanMethod" border size="small" :data="formData.goods">
@@ -227,8 +227,9 @@ id.value && detailTask.run(httpDetail({ id: id.value }))
             </ElTable>
           </ElFormItem>
 
+          <!-- {{ detailTask.data.seller_code }} -->
           <ElFormItem label="入账月份" prop="month">
-            <SealMonthPicker placeholder="入账月份" v-model="formData.month" :company_code="detailTask.data.seller_code" />
+            <SealMonthPicker placeholder="入账月份" v-model="formData.month" :company_code="detailTask.data.inv_buyer_code" />
           </ElFormItem>
         </ElForm>
 

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

@@ -238,8 +238,11 @@ id.value && detailTask.run(httpDetail({ id: id.value }))
         <BasicProducts :ProductRela="detailTask.data.ProductRela" />
       </ElCollapseItem>
 
+
+
       <ElCollapseItem name="5" title="待处理信息"
-        v-if="!isSuperUser && detailTask.data && (detailTask.data.status == '1' || detailTask.data.status == '4')">
+        v-if="!isSuperUser && detailTask.data && (detailTask.data.status == '1' || detailTask.data.status == '4')"
+        >
         <div class="w-full flex justify-between mb-[10px]">
           <p>待处理 {{ Number(detailTask.data.balance_num) }} / {{ total }}</p>
         </div>
@@ -291,7 +294,7 @@ id.value && detailTask.run(httpDetail({ id: id.value }))
           </ElFormItem>
 
           <ElFormItem label="入账月份" prop="month">
-            <SealMonthPicker placeholder="入账月份" v-model="formData.month" />
+            <SealMonthPicker placeholder="入账月份" v-model="formData.month" :company_code="detailTask.data.inv_seller_code" />
           </ElFormItem>
         </ElForm>
 

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini