invoiceField.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. import Fields from '@/utils/fields.js'
  2. export default [
  3. new Fields({
  4. name: '抬头类型',
  5. fieldName: 'titleType',
  6. formType: 'select',
  7. setting: [
  8. { label: '单位', value: 1 },
  9. { label: '个人', value: 2 }
  10. ],
  11. value: [{ label: '单位', value: 1 }]
  12. }),
  13. new Fields({
  14. name: '开票抬头',
  15. fieldName: 'invoiceTitle',
  16. formType: 'text'
  17. }),
  18. new Fields({
  19. name: '纳税人识别号',
  20. fieldName: 'taxNumber',
  21. formType: 'text'
  22. }),
  23. new Fields({
  24. name: '开户行',
  25. fieldName: 'depositBank',
  26. formType: 'text'
  27. }),
  28. new Fields({
  29. name: '开户账号',
  30. fieldName: 'depositAccount',
  31. formType: 'text'
  32. }),
  33. new Fields({
  34. name: '开票地址',
  35. fieldName: 'depositAddress',
  36. formType: 'text'
  37. }),
  38. new Fields({
  39. name: '电话',
  40. fieldName: 'telephone',
  41. formType: 'text'
  42. }),
  43. new Fields({
  44. name: '联系人',
  45. fieldName: 'contactsName',
  46. formType: 'text'
  47. }),
  48. new Fields({
  49. name: '联系方式',
  50. fieldName: 'contactsMobile',
  51. formType: 'text'
  52. }),
  53. new Fields({
  54. name: '邮寄地址',
  55. fieldName: 'contactsAddress',
  56. formType: 'position',
  57. precisions: 1
  58. })
  59. ]