data.js 16 KB

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