data.js 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596
  1. module.exports = {
  2. //收发存汇总表
  3. falseIvtSumReportData: [{
  4. brandName: "测试",
  5. currentIntoAmt: 100,
  6. currentIntoQty: 100,
  7. currentOutAmt: 100,
  8. currentOutQty: 100,
  9. decimalPlaces: 0,
  10. endingIvtAmt: 100,
  11. endingIvtQty: 100,
  12. imagesUrl: "https://s.dev01.dkiboss.com:7000/file/dc91014c58d4d/t_mst_goods_sku/2024-06/27/aa556141-2f8a-49fe-b7a7-b45b44760b32.png",
  13. invId: "10112024-0625-0000-0000-000460f23129",
  14. nonStdCode: "-",
  15. openingIvtAmt: 100,
  16. openingIvtQty: 100,
  17. packBox: 8,
  18. seriesName: "测试数据",
  19. shortName: "测试",
  20. skuImages: [{
  21. createTime: "2024-06-27T14:54:13.398",
  22. name: "2N8O15Jzd35910ab61066bb6311ee8e5baa140bc0a9f.png",
  23. path: "/dc91014c58d4d/t_mst_goods_sku/2024-06/27/aa556141-2f8a-49fe-b7a7-b45b44760b32.png",
  24. type: "image",
  25. url: "https://s.dev01.dkiboss.com:7000/file/dc91014c58d4d/t_mst_goods_sku/2024-06/27/aa556141-2f8a-49fe-b7a7-b45b44760b32.png",
  26. }],
  27. skuModel: "测试数据",
  28. skuName: "测试数据",
  29. skuSpec: "测试数据",
  30. subUnitName: "箱",
  31. unitName: "个",
  32. whName: "主仓",
  33. }],
  34. //收发存明细
  35. falseIvtReportItemData: [{
  36. brandName: "东鹏",
  37. costAmt: 100,
  38. intoAmt: 100,
  39. decimalPlaces: 0,
  40. flgSubUnit: true,
  41. imagesUrl: undefined,
  42. makeStaffName: "1333333333",
  43. nonStdCode: "-",
  44. outAmt: 0,
  45. outDate: "2024-07-01",
  46. intoDate: "2024-07-02",
  47. outNo: "NO98-240701-111111",
  48. intoNo: "NO98-240702-222222",
  49. outQty: 100,
  50. intoQty: 100,
  51. outTypeName: "其他出库",
  52. intoTypeName: "采购入库",
  53. priceOut: 0,
  54. returnAmt: 0,
  55. returnQty: 0,
  56. shortName: "东鹏",
  57. skuBox: 0,
  58. skuBoxCurrent: "12箱4个",
  59. skuCode: "D9804465EB",
  60. skuModel: "A001",
  61. skuPiece: "2",
  62. skuSpec: "1001*111",
  63. unitName: "个",
  64. whName: "主仓",
  65. }],
  66. //客户收支表
  67. falseCusRecPayReportData: [{
  68. facAmt: 1000
  69. }, {
  70. arrears: 900
  71. }, {
  72. outAmt: 100
  73. }, {
  74. arrears: 60,
  75. cusName: "张萌萌",
  76. cusPhone: "1388888888",
  77. }, {
  78. arrears: 40,
  79. cusName: "王萌萌",
  80. cusPhone: "1399999999",
  81. }],
  82. //客户详情
  83. falseCusItemData: [{
  84. addressArea: {
  85. province: "内蒙古自治区",
  86. city: "呼和浩特市",
  87. district: "玉泉区"
  88. },
  89. addressFull: "内蒙古自治区呼和浩特市玉泉区南三环路与锡林郭勒南路交叉口正北方向341米左右万锦·云锦",
  90. addressGcj02: {
  91. latitude: 40.746945,
  92. longitude: 111.699876
  93. },
  94. addressName: "万锦·云锦",
  95. addressNo: "101",
  96. channelId: "10112024-0622-0000-0000-0004523d2353",
  97. channelName: "零售",
  98. contactName: "张",
  99. contactPhone: null,
  100. cpId: 332,
  101. currentPage: null,
  102. cusCode: "D9804162L7",
  103. cusFrom: null,
  104. cusFromName: null,
  105. cusName: "张萌萌",
  106. cusPhone: "1388888888",
  107. end: null,
  108. flgValid: true,
  109. followCount: 0,
  110. followStaff: null,
  111. followStaffName: null,
  112. followStaffs: ["10112024-0622-0000-0000-00045239ecc6"],
  113. lastFollowId: null,
  114. lastFollowStaff: null,
  115. lastFollowStaffName: null,
  116. lastFollowStatus: null,
  117. lastFollowTime: null,
  118. name: "edit",
  119. nextFollowTime: null,
  120. orderAmount: 1000,
  121. orderQuantity: 1,
  122. orgId: "10112024-0622-0000-0000-0004523842c1",
  123. orgName: "运营中心",
  124. outboundAmount: 560,
  125. outboundNotAmount: 99,
  126. outboundNotQuantity: 1,
  127. outboundQuantity: 1,
  128. outboundReturnAmount: null,
  129. outboundReturnQuantity: 0,
  130. pageSize: null,
  131. receipt: 940,
  132. receiptResidue: 940,
  133. receivable: 560,
  134. receivableResidue: 560,
  135. remarks: null,
  136. reportStaff: "10112024-0622-0000-0000-00045239ecc6",
  137. reportStaffName: "13810254492",
  138. reportTime: "2024-06-22 10:52:20",
  139. saleStatus: "销售状态-成交",
  140. saleStatusName: "成交",
  141. staffId: "10112024-0622-0000-0000-00045239ecc6",
  142. staffName: "13810254492",
  143. start: null,
  144. startAmount: null,
  145. }],
  146. //交易记录-销售订单
  147. falseOrderData: [{
  148. addressArea: {
  149. province: "内蒙古自治区",
  150. city: "呼和浩特市",
  151. district: "玉泉区"
  152. },
  153. addressFull: "内蒙古自治区呼和浩特市玉泉区南三环路与锡林郭勒南路交叉口正北方向341米左右万锦·云锦",
  154. addressGcj02: {
  155. latitude: 40.746945,
  156. longitude: 111.699876
  157. },
  158. addressName: "万锦·云锦",
  159. addressNo: "101",
  160. amtFactReceipt: null,
  161. annexPaths: null,
  162. categoryCount: 1,
  163. channelId: "10112024-0622-0000-0000-0004523d2353",
  164. channelName: "零售",
  165. contactName: "张",
  166. contactPhone: null,
  167. cpId: 332,
  168. currentPage: null,
  169. cusCode: "D9804162L7",
  170. cusFrom: null,
  171. cusFromName: null,
  172. cusId: "10112024-0622-0000-0000-0004529ba002",
  173. cusName: "张萌萌",
  174. cusPhone: "13478286688",
  175. deliveryDate: "2024-06-29",
  176. discAmt: null,
  177. discount: null,
  178. end: null,
  179. factAmt: 1000,
  180. flgAutoHandle: null,
  181. flgBusiness: null,
  182. flgHandleSetting: null,
  183. flgValid: true,
  184. makeStaff: "10112024-0622-0000-0000-00045239ecc6",
  185. makeStaffName: null,
  186. makeTime: "2024-06-22 16:35:53",
  187. orderId: "10112024-0622-0000-0000-0004538d0901",
  188. orderItemResponseList: [{
  189. imagesUrl:"https://s.dev01.dkiboss.com:7000/file/dc91014c58d4d/t_mst_goods_sku/2024-07/08/21fc795e-f8fd-4d72-9265-1f7d655cbf7d.jpg",
  190. amtStd: 0,
  191. brandName: "百特",
  192. cpId: 332,
  193. flgValid: true,
  194. invId: "10112024-0625-0000-0000-00045fea33f3",
  195. invQty: 0,
  196. itemAmt: 99,
  197. itemId: "08221268-11f1-4b3c-8554-a3137cd7b59d",
  198. itemIndex: 1,
  199. itemQty: 1,
  200. maxOutQty: 0,
  201. nonStdCode: "-",
  202. orderId: "10112024-0622-0000-0000-0004538d0901",
  203. orderNo: "SO98-240622-111111",
  204. orderQty: 1,
  205. outAmt: 0,
  206. outQty: 0,
  207. outStatus: "出库状态-已出库",
  208. outingAmt: 99,
  209. outingQty: 1,
  210. packageDetailsFlag: true,
  211. priceDiscount: 100,
  212. priceOut: 1000,
  213. pricePurchase: 0,
  214. priceSale: 1000,
  215. priceStandard: 0,
  216. priceStd: 0,
  217. remarks: null,
  218. returnAmt: 0,
  219. returnQty: 0,
  220. shortName: "百特",
  221. skuCode: "D9804162RW",
  222. skuId: "10112024-0622-0000-0000-0004538cd75a",
  223. skuImages: null,
  224. skuModel: "BT001",
  225. skuName: null,
  226. usableQty: 0,
  227. whId: "10112024-0622-0000-0000-0004523b8592",
  228. whName: "主仓",
  229. }],
  230. orderNo: "SO98-240622-111111",
  231. orderStatus: "订单状态-成交",
  232. orderStatusName: null,
  233. orderType: "单据类型-销售订单",
  234. orderTypeName: null,
  235. orgId: "10112024-0622-0000-0000-0004523842c1",
  236. orgName: "运营中心",
  237. outAmt: 0,
  238. outQty: 0,
  239. outStatus: "出库状态-已出库",
  240. outStatusName: null,
  241. outboundProcessingFlag: null,
  242. outingAmt: 99,
  243. outingQty: 1,
  244. pageSize: null,
  245. pricePurchase: null,
  246. priceStandard: null,
  247. remarks: null,
  248. returnAmt: 0,
  249. returnQty: 0,
  250. saleDiscount: 100,
  251. salesChannel: "10112024-0622-0000-0000-0004523d2353",
  252. staffId: "10112024-0622-0000-0000-00045239ecc6",
  253. staffName: "李某",
  254. start: null,
  255. sumAmount: 99,
  256. sumQuantity: 1,
  257. sumStandard: 0,
  258. }],
  259. //交易记录-销售出库
  260. falseSaleOutData: [{
  261. addressArea: {
  262. province: "辽宁省",
  263. city: "沈阳市",
  264. district: "浑南区"
  265. },
  266. addressFull: "辽宁省沈阳市浑南区世纪路13号沈阳市浑南区人民政府",
  267. addressGcj02: {
  268. latitude: 41.71482,
  269. longitude: 123.44972
  270. },
  271. addressName: "沈阳市浑南区人民政府",
  272. addressNo: "了",
  273. annexPaths: null,
  274. biznisNo: null,
  275. box: null,
  276. categoryCount: 1,
  277. channelId: null,
  278. channelName: "零售",
  279. contactName: null,
  280. contactPhone: null,
  281. cpId: 332,
  282. currentPage: null,
  283. cusCode: "D9804I6DHP",
  284. cusFrom: null,
  285. cusFromName: null,
  286. cusId: "10112024-0709-0000-0000-000489cd1003",
  287. cusName: "靠靠靠靠考虑",
  288. cusPhone: "99999998888",
  289. decimalPlaces: null,
  290. discAmt: null,
  291. discount: null,
  292. end: null,
  293. factAmt: null,
  294. flgAutoHandle: true,
  295. flgHandleSetting: false,
  296. flgSubUnit: null,
  297. flgValid: true,
  298. fromId: "10112024-0709-0000-0000-000489ce58af",
  299. fromNo: "SO98-240709-111111",
  300. goodsList: [{
  301. box: 6,
  302. brandName: "百特",
  303. costAmt: 10,
  304. costPrice: 2,
  305. cpId: 332,
  306. decimalPlaces: 0,
  307. factAmt: 594,
  308. factPrice: 940,
  309. flgSubUnit: true,
  310. flgValid: true,
  311. fromId: "10112024-0709-0000-0000-000489ce58af",
  312. fromItemId: "0888cc0e-0035-43de-bf63-cf692952a14a",
  313. imagesUrl: "https://s.dev01.dkiboss.com:7000/file/dc91014c58d4d/t_mst_goods_sku/2024-07/08/21fc795e-f8fd-4d72-9265-1f7d655cbf7d.jpg",
  314. invId: "10112024-0708-0000-0000-000484838054",
  315. invQty: 25,
  316. itemId: "10112024-0709-0000-0000-000489d2fd5a",
  317. itemIndex: 1,
  318. nonStdCode: "-",
  319. outAmt: 495,
  320. outId: "10112024-0709-0000-0000-000489d196d5",
  321. outNo: "IO98-240709-11111",
  322. outQty: 1,
  323. outStatus: "出库状态-已出库",
  324. outType: "出库类型-销售出库",
  325. outingAmt: 0,
  326. outingBox: 0,
  327. outingPiece: 0,
  328. outingQty: 0,
  329. packBox: 1,
  330. packBoxText: "1套",
  331. packageDetailsFlag: true,
  332. piece: 0,
  333. priceOut: 99,
  334. pricePurchase: 0,
  335. priceStandard: 0,
  336. remarks: null,
  337. returnAmt: 0,
  338. returnQty: 0,
  339. sOrderId: null,
  340. sOrderItemId: null,
  341. sOutId: null,
  342. sOutItemId: null,
  343. skuCode: "D9804H6CAU",
  344. skuId: "10112024-0708-0000-0000-000483c60ffd",
  345. skuImages: {
  346. type: "jsonb",
  347. value: {
  348. createTime: "2024-07-08T09:33:57.611",
  349. name: "tmp_9b607a73e1f15c603921089b85bb2524b6c67111547f1a68.jpg",
  350. path: "/dc91014c58d4d/t_mst_goods_sku/2024-07/08/21fc795e-f8fd-4d72-9265-1f7d655cbf7d.jpg",
  351. type: "image",
  352. url: "https://s.dev01.dkiboss.com:7000/file/dc91014c58d4d/t_mst_goods_sku/2024-07/08/21fc795e-f8fd-4d72-9265-1f7d655cbf7d.jpg"
  353. }
  354. },
  355. skuModel: "BT001",
  356. skuName: null,
  357. subUnitName: "套",
  358. supId: null,
  359. unitName: "个",
  360. usableQty: 25,
  361. whId: "10112024-0622-0000-0000-0004523b8592",
  362. whName: "主仓",
  363. }],
  364. invQty: null,
  365. makeStaff: "10112024-0705-0000-0000-0004798d1b48",
  366. makeStaffName: null,
  367. makeTime: "2024-07-09 11:47:59",
  368. opUpdateTime: null,
  369. orgId: "10112024-0622-0000-0000-0004523842c1",
  370. orgName: "运营中心",
  371. outAmt: 940,
  372. outBox: null,
  373. outDate: "2024-07-09",
  374. outId: "10112024-0709-0000-0000-000489d196d5",
  375. outNo: "IO98-240709-11111",
  376. outPiece: null,
  377. outQty: 1,
  378. outReason: null,
  379. outReasonName: null,
  380. outStatus: "出库状态-已出库",
  381. outStatusName: "已出库",
  382. outType: "出库类型-销售出库",
  383. outTypeName: null,
  384. outingAmt: 0,
  385. outingBox: null,
  386. outingPiece: null,
  387. outingQty: 0,
  388. packBox: null,
  389. pageSize: null,
  390. piece: null,
  391. receivableId: "10112024-0709-0000-0000-000489d3eeaf",
  392. remarks: null,
  393. returnAmt: 0,
  394. returnQty: 0,
  395. salesChannel: null,
  396. staffName: "李某",
  397. start: null,
  398. subUnitName: null,
  399. sumOutAmt: null,
  400. sumOutQty: null,
  401. supId: null,
  402. supplierName: null,
  403. unitName: null,
  404. usableQty: null,
  405. }],
  406. //收款记录
  407. falseReceiptData: [{
  408. accDate: "2024-06-22",
  409. addressFull: "内蒙古自治区呼和浩特市玉泉区南三环路与锡林郭勒南路交叉口正北方向341米左右万锦·云锦",
  410. amtRec: 940,
  411. annexPaths: null,
  412. biznisId: "10112024-0622-0000-0000-0004538d0901",
  413. biznisNo: "SO98-240622-11111",
  414. biznisType: "t_psi_order",
  415. contactName: null,
  416. contactPhone: null,
  417. contractAssets: null,
  418. cpId: 332,
  419. currentPage: null,
  420. cusCode: "D9804162L7",
  421. cusName: "张萌萌",
  422. cusPhone: "13478286688",
  423. end: null,
  424. flgLock: false,
  425. flgOrderHandle: false,
  426. flgValid: true,
  427. macCode: null,
  428. macNames: "现金",
  429. makeStaff: "10112024-0622-0000-0000-00045239ecc6",
  430. makeStaffName: "13810254492",
  431. makeTime: "2024-06-22 16:38:18",
  432. objectId: "10112024-0622-0000-0000-0004529ba002",
  433. orgId: "10112024-0622-0000-0000-0004523842c1",
  434. orgName: "运营中心",
  435. pageSize: null,
  436. payableResidue: null,
  437. paymentResidue: null,
  438. receipt: null,
  439. receiptLock: null,
  440. receiptResidue: -2,
  441. receivable: null,
  442. receivableHandle: null,
  443. receivableResidue: 560,
  444. receivableWaive: null,
  445. remarks: null,
  446. returnAddress: null,
  447. rpId: "10112024-0622-0000-0000-00045392c7fb",
  448. rpNo: "NO98-240622-11111",
  449. rpType: "收付款类型-收款",
  450. rpTypeName: "收款",
  451. staffId: "10112024-0622-0000-0000-00045239ecc6",
  452. staffName: "李某",
  453. start: null,
  454. sumAmtPay: 0,
  455. sumAmtPayableHandle: 0,
  456. sumAmtRec: 0,
  457. sumAmtReceivableHandle: 0,
  458. sumShouldHandle: 0,
  459. sumUsePaymentResidue: 0,
  460. sumUseReceiptResidue: 0,
  461. sumWaiveAmt: 0,
  462. supCode: null,
  463. supId: null,
  464. supName: null,
  465. supType: null,
  466. }],
  467. //退款记录
  468. // falseBackMacData: [{
  469. // accDate: "2024-06-22",
  470. // addressFull: "内蒙古自治区呼和浩特市玉泉区南三环路与锡林郭勒南路交叉口正北方向341米左右万锦·云锦",
  471. // amtRec: -560,
  472. // annexPaths: [],
  473. // biznisId: null,
  474. // biznisNo: null,
  475. // biznisType: null,
  476. // contactName: null,
  477. // contactPhone: null,
  478. // contractAssets: null,
  479. // cpId: 332,
  480. // currentPage: null,
  481. // cusCode: "D9804162L7",
  482. // cusName: "张萌萌",
  483. // cusPhone: "13478286688",
  484. // end: null,
  485. // flgLock: false,
  486. // flgOrderHandle: false,
  487. // flgValid: true,
  488. // macCode: null,
  489. // macNames: "现金",
  490. // makeStaff: "10112024-0622-0000-0000-00045239ecc6",
  491. // makeStaffName: "13810254492",
  492. // makeTime: "2024-06-22 10:59:37",
  493. // objectId: "10112024-0622-0000-0000-0004529ba002",
  494. // orgId: "10112024-0622-0000-0000-0004523842c1",
  495. // orgName: "运营中心",
  496. // pageSize: null,
  497. // payableResidue: null,
  498. // paymentResidue: null,
  499. // receipt: null,
  500. // receiptLock: null,
  501. // receiptResidue: -2,
  502. // receivable: null,
  503. // receivableHandle: null,
  504. // receivableResidue: 560,
  505. // receivableWaive: null,
  506. // remarks: null,
  507. // returnAddress: null,
  508. // rpId: "10112024-0622-0000-0000-0004528c822a",
  509. // rpNo: "NO98-240622-111111",
  510. // rpType: "收付款类型-退收款",
  511. // rpTypeName: "退收款",
  512. // staffId: "10112024-0622-0000-0000-00045239ecc6",
  513. // staffName: "13810254492",
  514. // start: null,
  515. // sumAmtPay: 0,
  516. // sumAmtPayableHandle: 0,
  517. // sumAmtRec: -560,
  518. // sumAmtReceivableHandle: 0,
  519. // sumShouldHandle: 0,
  520. // sumUsePaymentResidue: 0,
  521. // sumUseReceiptResidue: 0,
  522. // sumWaiveAmt: 0,
  523. // supCode: null,
  524. // supId: null,
  525. // supName: null,
  526. // supType: null,
  527. // }],
  528. //销售利润
  529. falseProfitReportData: {
  530. profit: {
  531. inbound: 10000,
  532. outbound: 100000,
  533. profit: 90000,
  534. profitRate: 90.00,
  535. },
  536. dateProfit: [{
  537. accDate: "2024-06",
  538. profit: 123123,
  539. profitRate: 177.33,
  540. },
  541. {
  542. accDate: "2024-07",
  543. profit: 44232,
  544. profitRate: 106.17,
  545. }
  546. ],
  547. orgProfit: [{
  548. orgName: "测试中心",
  549. profitRate: 106.17,
  550. profit: 90000
  551. }],
  552. staffProfit: [{
  553. staffName: "李某",
  554. profitRate: 107.06,
  555. profit: 90000
  556. },
  557. ],
  558. skuProfit: [{
  559. skuName: "P001",
  560. profitRate: 111.01,
  561. profit: 60000
  562. }, {
  563. skuName: "U001(U001)",
  564. profitRate: 23,
  565. profit: 30000
  566. }]
  567. },
  568. //部门利润排行
  569. falseOrgProfitData: [{
  570. orgName: "运营中心",
  571. profit: 90000,
  572. profitRate: 90.00,
  573. },],
  574. //业务员利润排行
  575. falseStaffProfitData: [{
  576. profit: 90000,
  577. profitRate: 90.00,
  578. staffName: "张三",
  579. },],
  580. //商品利润排行
  581. falseSkuProfitData: [{
  582. profit: 40000,
  583. profitRate: 90.55,
  584. skuName: "CS01",
  585. }, {
  586. profit: 30000,
  587. profitRate: 90.33,
  588. skuName: "CS02",
  589. }, {
  590. profit: 20000,
  591. profitRate: 90.35,
  592. skuName: "CS03",
  593. }]
  594. }