performanceData.vue 73 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683
  1. <template>
  2. <div>
  3. <el-row :gutter="20">
  4. <!-- 本月 -->
  5. <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
  6. <el-row :gutter="20">
  7. <el-col :span="24">
  8. <el-divider>
  9. <span class="title-font">{{ $t(`本月`) }}</span>
  10. </el-divider>
  11. </el-col>
  12. </el-row>
  13. <el-row :gutter="20">
  14. <el-col :span="8">
  15. <borderTemp>
  16. <template #content>
  17. <div style="margin-left: 4px; margin-right: 10px">
  18. <el-row>
  19. <el-col class="title-fonts">{{ $t(`订单目标`) }}</el-col>
  20. </el-row>
  21. <el-row :gutter="20">
  22. <el-col :span="5">
  23. <span style="font-size: 18px; padding: 0 0 0 5px">
  24. {{ tool.formatAmount(listby.wcamount * 100, 2) + "%" }}
  25. </span>
  26. </el-col>
  27. <el-col :span="19">
  28. <div style="float: right">
  29. <span style="font-size: 12px; padding: 0 0 0 5px">
  30. <span
  31. v-if="listby.unamount < 0"
  32. style="color: #e13333"
  33. >
  34. ¥{{
  35. listby.unamount < -100000000
  36. ? tool.formatAmount(
  37. tool.unitConversion(
  38. listby.unamount,
  39. 100000000
  40. ),
  41. 2
  42. ) +
  43. " " +
  44. $t("亿")
  45. : listby.unamount < -10000
  46. ? tool.formatAmount(
  47. tool.unitConversion(listby.unamount, 10000),
  48. 2
  49. ) +
  50. " " +
  51. $t("万")
  52. : tool.formatAmount(listby.unamount, 2)
  53. }}
  54. </span>
  55. <span v-else style="color: #009270">
  56. ¥{{
  57. listby.unamount > 100000000
  58. ? tool.formatAmount(
  59. tool.unitConversion(
  60. listby.unamount,
  61. 100000000
  62. ),
  63. 2
  64. ) +
  65. " " +
  66. $t("亿")
  67. : listby.unamount > 10000
  68. ? tool.formatAmount(
  69. tool.unitConversion(listby.unamount, 10000),
  70. 2
  71. ) +
  72. " " +
  73. $t("万")
  74. : tool.formatAmount(listby.unamount, 2)
  75. }}
  76. </span>
  77. </span>
  78. </div>
  79. </el-col>
  80. </el-row>
  81. <el-row>
  82. <el-col class="title-fonts">{{ $t(`实际/目标`) }}</el-col>
  83. </el-row>
  84. <el-row>
  85. <el-col>
  86. <span style="font-size: 12px; padding: 0 0 0 5px">
  87. <span>
  88. ¥
  89. {{
  90. listby.amount > 100000000
  91. ? tool.formatAmount(
  92. tool.unitConversion(listby.amount, 100000000),
  93. 2
  94. ) +
  95. " " +
  96. $t("亿")
  97. : listby.amount > 10000
  98. ? tool.formatAmount(
  99. tool.unitConversion(listby.amount, 10000),
  100. 2
  101. ) +
  102. " " +
  103. $t("万")
  104. : tool.formatAmount(listby.amount, 2)
  105. }}
  106. </span>
  107. <span>
  108. {{
  109. listby.target_l > 100000000
  110. ? tool.formatAmount(
  111. tool.unitConversion(
  112. listby.target_l,
  113. 100000000
  114. ),
  115. 2
  116. ) +
  117. " " +
  118. $t("亿")
  119. : listby.target_l > 10000
  120. ? tool.formatAmount(
  121. tool.unitConversion(listby.target_l, 10000),
  122. 2
  123. ) +
  124. " " +
  125. $t("万")
  126. : tool.formatAmount(listby.target_l, 2)
  127. }}
  128. </span>
  129. </span>
  130. </el-col>
  131. </el-row>
  132. </div>
  133. </template>
  134. </borderTemp>
  135. </el-col>
  136. <el-col :span="8">
  137. <borderTemp>
  138. <template #content>
  139. <div style="margin-left: 4px; margin-right: 10px">
  140. <el-row>
  141. <el-col class="title-fonts">{{ $t(`出货目标`) }}</el-col>
  142. </el-row>
  143. <el-row :gutter="20">
  144. <el-col :span="5">
  145. <span style="font-size: 18px; padding: 0 0 0 5px">
  146. {{
  147. tool.formatAmount(listby.wcoutamount * 100, 2) + "%"
  148. }}
  149. </span>
  150. </el-col>
  151. <el-col :span="19">
  152. <div style="float: right">
  153. <span style="font-size: 12px; padding: 0 0 0 5px">
  154. <span
  155. v-if="listby.unoutamount < 0"
  156. style="color: #e13333"
  157. >
  158. ¥{{
  159. listby.unamount < -100000000
  160. ? tool.formatAmount(
  161. tool.unitConversion(
  162. listby.unoutamount,
  163. 100000000
  164. ),
  165. 2
  166. ) +
  167. " " +
  168. $t("亿")
  169. : listby.unoutamount < -10000
  170. ? tool.formatAmount(
  171. tool.unitConversion(
  172. listby.unoutamount,
  173. 10000
  174. ),
  175. 2
  176. ) +
  177. " " +
  178. $t("万")
  179. : tool.formatAmount(listby.unoutamount, 2)
  180. }}
  181. </span>
  182. <span v-else style="color: #009270">
  183. ¥{{
  184. listby.unamount > 100000000
  185. ? tool.formatAmount(
  186. tool.unitConversion(
  187. listby.unoutamount,
  188. 100000000
  189. ),
  190. 2
  191. ) +
  192. " " +
  193. $t("亿")
  194. : listby.unoutamount > 10000
  195. ? tool.formatAmount(
  196. tool.unitConversion(
  197. listby.unoutamount,
  198. 10000
  199. ),
  200. 2
  201. ) +
  202. " " +
  203. $t("万")
  204. : tool.formatAmount(listby.unoutamount, 2)
  205. }}
  206. </span>
  207. </span>
  208. </div>
  209. </el-col>
  210. </el-row>
  211. <el-row>
  212. <el-col class="title-fonts">{{ $t(`实际/目标`) }}</el-col>
  213. </el-row>
  214. <el-row>
  215. <el-col>
  216. <span style="font-size: 12px; padding: 0 0 0 5px">
  217. <span>
  218. ¥
  219. {{
  220. listby.outamount > 100000000
  221. ? tool.formatAmount(
  222. tool.unitConversion(
  223. listby.outamount,
  224. 100000000
  225. ),
  226. 2
  227. ) +
  228. " " +
  229. $t("亿")
  230. : listby.outamount > 10000
  231. ? tool.formatAmount(
  232. tool.unitConversion(listby.outamount, 10000),
  233. 2
  234. ) +
  235. " " +
  236. $t("万")
  237. : tool.formatAmount(listby.outamount, 2)
  238. }}
  239. </span>
  240. <span>
  241. {{
  242. listby.target_l > 100000000
  243. ? tool.formatAmount(
  244. tool.unitConversion(
  245. listby.target_l,
  246. 100000000
  247. ),
  248. 2
  249. ) +
  250. " " +
  251. $t("亿")
  252. : listby.target_l > 10000
  253. ? tool.formatAmount(
  254. tool.unitConversion(listby.target_l, 10000),
  255. 2
  256. ) +
  257. " " +
  258. $t("万")
  259. : tool.formatAmount(listby.target_l, 2)
  260. }}
  261. </span>
  262. <!-- {{'¥'+tool.formatAmount(listby.amount,2) + '/'+ '¥'+ tool.formatAmount(listby.target_l,2)}}-->
  263. </span>
  264. </el-col>
  265. </el-row>
  266. </div>
  267. </template>
  268. </borderTemp>
  269. </el-col>
  270. <el-col :span="8">
  271. <borderTemp>
  272. <template #content>
  273. <div style="margin-left: 4px; margin-right: 10px">
  274. <el-row>
  275. <el-col class="title-fonts">{{ $t(`开票目标`) }}</el-col>
  276. </el-row>
  277. <el-row :gutter="20">
  278. <el-col :span="5">
  279. <span style="font-size: 18px; padding: 0 0 0 5px">
  280. {{
  281. tool.formatAmount(listby.wcinvoiceamount * 100, 2) +
  282. "%"
  283. }}
  284. </span>
  285. </el-col>
  286. <el-col :span="19">
  287. <div style="float: right">
  288. <span style="font-size: 12px; padding: 0 0 0 5px">
  289. <span
  290. v-if="listby.uninvoiceamount < 0"
  291. style="color: #e13333"
  292. >
  293. ¥{{
  294. listby.uninvoiceamount < -100000000
  295. ? tool.formatAmount(
  296. tool.unitConversion(
  297. listby.uninvoiceamount,
  298. 100000000
  299. ),
  300. 2
  301. ) +
  302. " " +
  303. $t("亿")
  304. : listby.uninvoiceamount < -10000
  305. ? tool.formatAmount(
  306. tool.unitConversion(
  307. listby.uninvoiceamount,
  308. 10000
  309. ),
  310. 2
  311. ) +
  312. " " +
  313. $t("万")
  314. : tool.formatAmount(listby.uninvoiceamount, 2)
  315. }}
  316. </span>
  317. <span v-else style="color: #009270">
  318. ¥{{
  319. listby.uninvoiceamount > 100000000
  320. ? tool.formatAmount(
  321. tool.unitConversion(
  322. listby.uninvoiceamount,
  323. 100000000
  324. ),
  325. 2
  326. ) +
  327. " " +
  328. $t("亿")
  329. : listby.uninvoiceamount > 10000
  330. ? tool.formatAmount(
  331. tool.unitConversion(
  332. listby.uninvoiceamount,
  333. 10000
  334. ),
  335. 2
  336. ) +
  337. " " +
  338. $t("万")
  339. : tool.formatAmount(listby.uninvoiceamount, 2)
  340. }}
  341. </span>
  342. </span>
  343. </div>
  344. </el-col>
  345. </el-row>
  346. <el-row>
  347. <el-col class="title-fonts">{{ $t(`实际/目标`) }}</el-col>
  348. </el-row>
  349. <el-row>
  350. <el-col>
  351. <span style="font-size: 12px; padding: 0 0 0 5px">
  352. <span>
  353. ¥
  354. {{
  355. listby.invoiceamount > 100000000
  356. ? tool.formatAmount(
  357. tool.unitConversion(
  358. listby.invoiceamount,
  359. 100000000
  360. ),
  361. 2
  362. ) +
  363. " " +
  364. $t("亿")
  365. : listby.invoiceamount > 10000
  366. ? tool.formatAmount(
  367. tool.unitConversion(
  368. listby.invoiceamount,
  369. 10000
  370. ),
  371. 2
  372. ) +
  373. " " +
  374. $t("万")
  375. : tool.formatAmount(listby.invoiceamount, 2)
  376. }}
  377. </span>
  378. <span>
  379. {{
  380. listby.target_l > 100000000
  381. ? tool.formatAmount(
  382. tool.unitConversion(
  383. listby.target_l,
  384. 100000000
  385. ),
  386. 2
  387. ) +
  388. " " +
  389. $t("亿")
  390. : listby.target_l > 10000
  391. ? tool.formatAmount(
  392. tool.unitConversion(listby.target_l, 10000),
  393. 2
  394. ) +
  395. " " +
  396. $t("万")
  397. : tool.formatAmount(listby.target_l, 2)
  398. }}
  399. </span>
  400. </span>
  401. </el-col>
  402. </el-row>
  403. </div>
  404. </template>
  405. </borderTemp>
  406. </el-col>
  407. </el-row>
  408. </el-col>
  409. <!-- 本季 -->
  410. <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
  411. <el-row :gutter="20">
  412. <el-col :span="24">
  413. <el-divider>
  414. <span class="title-font">{{ $t(`本季`) }}</span>
  415. </el-divider>
  416. </el-col>
  417. </el-row>
  418. <el-row :gutter="20">
  419. <el-col :span="8">
  420. <borderTemp>
  421. <template #content>
  422. <div style="margin-left: 4px; margin-right: 10px">
  423. <el-row>
  424. <el-col class="title-fonts">{{ $t(`订单目标`) }}</el-col>
  425. </el-row>
  426. <el-row :gutter="20">
  427. <el-col :span="5">
  428. <span style="font-size: 18px; padding: 0 0 0 5px">
  429. {{ tool.formatAmount(listbj.wcamount * 100, 2) + "%" }}
  430. </span>
  431. </el-col>
  432. <el-col :span="19">
  433. <div style="float: right">
  434. <span style="font-size: 12px; padding: 0 0 0 5px">
  435. <span
  436. v-if="listbj.unamount < 0"
  437. style="color: #e13333"
  438. >
  439. ¥{{
  440. listbj.unamount < -100000000
  441. ? tool.formatAmount(
  442. tool.unitConversion(
  443. listbj.unamount,
  444. 100000000
  445. ),
  446. 2
  447. ) +
  448. " " +
  449. $t("亿")
  450. : listbj.unamount < -10000
  451. ? tool.formatAmount(
  452. tool.unitConversion(listbj.unamount, 10000),
  453. 2
  454. ) +
  455. " " +
  456. $t("万")
  457. : tool.formatAmount(listbj.unamount, 2)
  458. }}
  459. </span>
  460. <span v-else style="color: #009270">
  461. ¥{{
  462. listbj.unamount > 100000000
  463. ? tool.formatAmount(
  464. tool.unitConversion(
  465. listbj.unamount,
  466. 100000000
  467. ),
  468. 2
  469. ) +
  470. " " +
  471. $t("亿")
  472. : listbj.unamount > 10000
  473. ? tool.formatAmount(
  474. tool.unitConversion(listbj.unamount, 10000),
  475. 2
  476. ) +
  477. " " +
  478. $t("万")
  479. : tool.formatAmount(listbj.unamount, 2)
  480. }}
  481. </span>
  482. </span>
  483. </div>
  484. </el-col>
  485. </el-row>
  486. <el-row>
  487. <el-col class="title-fonts">{{ $t(`实际/目标`) }}</el-col>
  488. </el-row>
  489. <el-row>
  490. <el-col>
  491. <span style="font-size: 12px; padding: 0 0 0 5px">
  492. <span>
  493. ¥
  494. {{
  495. listbj.amount > 100000000
  496. ? tool.formatAmount(
  497. tool.unitConversion(listbj.amount, 100000000),
  498. 2
  499. ) +
  500. " " +
  501. $t("亿")
  502. : listbj.amount > 10000
  503. ? tool.formatAmount(
  504. tool.unitConversion(listbj.amount, 10000),
  505. 2
  506. ) +
  507. " " +
  508. $t("万")
  509. : tool.formatAmount(listbj.amount, 2)
  510. }}
  511. </span>
  512. <span>
  513. {{
  514. listbj.target_l > 100000000
  515. ? tool.formatAmount(
  516. tool.unitConversion(
  517. listbj.target_l,
  518. 100000000
  519. ),
  520. 2
  521. ) +
  522. " " +
  523. $t("亿")
  524. : listbj.target_l > 10000
  525. ? tool.formatAmount(
  526. tool.unitConversion(listbj.target_l, 10000),
  527. 2
  528. ) +
  529. " " +
  530. $t("万")
  531. : tool.formatAmount(listbj.target_l, 2)
  532. }}
  533. </span>
  534. </span>
  535. </el-col>
  536. </el-row>
  537. </div>
  538. </template>
  539. </borderTemp>
  540. </el-col>
  541. <el-col :span="8">
  542. <borderTemp>
  543. <template #content>
  544. <div style="margin-left: 4px; margin-right: 10px">
  545. <el-row>
  546. <el-col class="title-fonts">{{ $t(`出货目标`) }}</el-col>
  547. </el-row>
  548. <el-row :gutter="20">
  549. <el-col :span="5">
  550. <span style="font-size: 18px; padding: 0 0 0 5px">
  551. {{
  552. tool.formatAmount(listbj.wcoutamount * 100, 2) + "%"
  553. }}
  554. </span>
  555. </el-col>
  556. <el-col :span="19">
  557. <div style="float: right">
  558. <span style="font-size: 12px; padding: 0 0 0 5px">
  559. <span
  560. v-if="listbj.unoutamount < 0"
  561. style="color: #e13333"
  562. >
  563. <!-- ¥{{tool.formatAmount(listbj.unoutamount,2)}}-->
  564. ¥{{
  565. listbj.unamount < -100000000
  566. ? tool.formatAmount(
  567. tool.unitConversion(
  568. listbj.unoutamount,
  569. 100000000
  570. ),
  571. 2
  572. ) +
  573. " " +
  574. $t("亿")
  575. : listbj.unoutamount < -10000
  576. ? tool.formatAmount(
  577. tool.unitConversion(
  578. listbj.unoutamount,
  579. 10000
  580. ),
  581. 2
  582. ) +
  583. " " +
  584. $t("万")
  585. : tool.formatAmount(listbj.unoutamount, 2)
  586. }}
  587. </span>
  588. <span v-else style="color: #009270">
  589. <!-- ¥{{tool.formatAmount(listbj.unoutamount,2)}}-->
  590. ¥{{
  591. listbj.unamount > 100000000
  592. ? tool.formatAmount(
  593. tool.unitConversion(
  594. listbj.unoutamount,
  595. 100000000
  596. ),
  597. 2
  598. ) +
  599. " " +
  600. $t("亿")
  601. : listbj.unoutamount > 10000
  602. ? tool.formatAmount(
  603. tool.unitConversion(
  604. listbj.unoutamount,
  605. 10000
  606. ),
  607. 2
  608. ) +
  609. " " +
  610. $t("万")
  611. : tool.formatAmount(listbj.unoutamount, 2)
  612. }}
  613. </span>
  614. </span>
  615. </div>
  616. </el-col>
  617. </el-row>
  618. <el-row>
  619. <el-col class="title-fonts">{{ $t(`实际/目标`) }}</el-col>
  620. </el-row>
  621. <el-row>
  622. <el-col>
  623. <span style="font-size: 12px; padding: 0 0 0 5px">
  624. <!-- {{tool.formatAmount(listbj.amount,2) + '/'+ tool.formatAmount(listbj.target_l,2)}}-->
  625. <!-- {{'¥'+listbj.amount>10000 ?tool.formatAmount( tool.unitConversion(listbj.amount,10000),2) +this.$t('万'):listbj.amount>100000000?tool.formatAmount( tool.unitConversion(listbj.amount,100000000),2)+ '亿':tool.formatAmount(listbj.amount,2)
  626. +'/'+ '¥'+listbj.target_l>10000 ?tool.formatAmount( tool.unitConversion(listbj.target_l,10000),2) + '亿':tool.formatAmount(listbj.target_l,2) +this.$t('万')}}-->
  627. <span>
  628. ¥
  629. {{
  630. listbj.outamount > 100000000
  631. ? tool.formatAmount(
  632. tool.unitConversion(
  633. listbj.outamount,
  634. 100000000
  635. ),
  636. 2
  637. ) +
  638. " " +
  639. $t("亿")
  640. : listbj.outamount > 10000
  641. ? tool.formatAmount(
  642. tool.unitConversion(listbj.outamount, 10000),
  643. 2
  644. ) +
  645. " " +
  646. $t("万")
  647. : tool.formatAmount(listbj.outamount, 2)
  648. }}
  649. </span>
  650. <span>
  651. {{
  652. listbj.target_l > 100000000
  653. ? tool.formatAmount(
  654. tool.unitConversion(
  655. listbj.target_l,
  656. 100000000
  657. ),
  658. 2
  659. ) +
  660. " " +
  661. $t("亿")
  662. : listbj.target_l > 10000
  663. ? tool.formatAmount(
  664. tool.unitConversion(listbj.target_l, 10000),
  665. 2
  666. ) +
  667. " " +
  668. $t("万")
  669. : tool.formatAmount(listbj.target_l, 2)
  670. }}
  671. </span>
  672. </span>
  673. </el-col>
  674. </el-row>
  675. </div>
  676. </template>
  677. </borderTemp>
  678. </el-col>
  679. <el-col :span="8">
  680. <borderTemp>
  681. <template #content>
  682. <div style="margin-left: 4px; margin-right: 10px">
  683. <el-row>
  684. <el-col class="title-fonts">{{ $t(`开票目标`) }}</el-col>
  685. </el-row>
  686. <el-row :gutter="20">
  687. <el-col :span="5">
  688. <span style="font-size: 18px; padding: 0 0 0 5px">
  689. {{
  690. tool.formatAmount(listbj.wcinvoiceamount * 100, 2) +
  691. "%"
  692. }}
  693. </span>
  694. </el-col>
  695. <el-col :span="19">
  696. <div style="float: right">
  697. <span style="font-size: 12px; padding: 0 0 0 5px">
  698. <span
  699. v-if="listbj.uninvoiceamount < 0"
  700. style="color: #e13333"
  701. >
  702. <!-- ¥{{tool.formatAmount(listbj.uninvoiceamount,2)}}-->
  703. ¥{{
  704. listbj.uninvoiceamount < -100000000
  705. ? tool.formatAmount(
  706. tool.unitConversion(
  707. listbj.uninvoiceamount,
  708. 100000000
  709. ),
  710. 2
  711. ) +
  712. " " +
  713. $t("亿")
  714. : listbj.uninvoiceamount < -10000
  715. ? tool.formatAmount(
  716. tool.unitConversion(
  717. listbj.uninvoiceamount,
  718. 10000
  719. ),
  720. 2
  721. ) +
  722. " " +
  723. $t("万")
  724. : tool.formatAmount(listbj.uninvoiceamount, 2)
  725. }}
  726. </span>
  727. <span v-else style="color: #009270">
  728. <!-- ¥{{tool.formatAmount(listbj.uninvoiceamount,2)}}-->
  729. ¥{{
  730. listbj.uninvoiceamount > 100000000
  731. ? tool.formatAmount(
  732. tool.unitConversion(
  733. listbj.uninvoiceamount,
  734. 100000000
  735. ),
  736. 2
  737. ) +
  738. " " +
  739. $t("亿")
  740. : listbj.uninvoiceamount > 10000
  741. ? tool.formatAmount(
  742. tool.unitConversion(
  743. listbj.uninvoiceamount,
  744. 10000
  745. ),
  746. 2
  747. ) +
  748. " " +
  749. $t("万")
  750. : tool.formatAmount(listbj.uninvoiceamount, 2)
  751. }}
  752. </span>
  753. </span>
  754. </div>
  755. </el-col>
  756. </el-row>
  757. <el-row>
  758. <el-col class="title-fonts">{{ $t(`实际/目标`) }}</el-col>
  759. </el-row>
  760. <el-row>
  761. <el-col>
  762. <span style="font-size: 12px; padding: 0 0 0 5px">
  763. <!-- {{tool.formatAmount(listbj.amount,2) + '/'+ tool.formatAmount(listbj.target_l,2)}}-->
  764. <!-- {{'¥'+listbj.amount>10000 ?tool.formatAmount( tool.unitConversion(listbj.amount,10000),2) +this.$t('万'):listbj.amount>100000000?tool.formatAmount( tool.unitConversion(listbj.amount,100000000),2)+ '亿':tool.formatAmount(listbj.amount,2)
  765. +'/'+ '¥'+listbj.target_l>10000 ?tool.formatAmount( tool.unitConversion(listbj.target_l,10000),2) + '亿':tool.formatAmount(listbj.target_l,2) +this.$t('万')}}-->
  766. <span>
  767. ¥
  768. {{
  769. listbj.invoiceamount > 100000000
  770. ? tool.formatAmount(
  771. tool.unitConversion(
  772. listbj.invoiceamount,
  773. 100000000
  774. ),
  775. 2
  776. ) +
  777. " " +
  778. $t("亿")
  779. : listbj.invoiceamount > 10000
  780. ? tool.formatAmount(
  781. tool.unitConversion(
  782. listbj.invoiceamount,
  783. 10000
  784. ),
  785. 2
  786. ) +
  787. " " +
  788. $t("万")
  789. : tool.formatAmount(listbj.invoiceamount, 2)
  790. }}
  791. </span>
  792. <span>
  793. {{
  794. listbj.target_l > 100000000
  795. ? tool.formatAmount(
  796. tool.unitConversion(
  797. listbj.target_l,
  798. 100000000
  799. ),
  800. 2
  801. ) +
  802. " " +
  803. $t("亿")
  804. : listbj.target_l > 10000
  805. ? tool.formatAmount(
  806. tool.unitConversion(listbj.target_l, 10000),
  807. 2
  808. ) +
  809. " " +
  810. $t("万")
  811. : tool.formatAmount(listbj.target_l, 2)
  812. }}
  813. </span>
  814. </span>
  815. </el-col>
  816. </el-row>
  817. </div>
  818. </template>
  819. </borderTemp>
  820. </el-col>
  821. </el-row>
  822. </el-col>
  823. <!-- 上月 -->
  824. <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
  825. <el-row :gutter="20">
  826. <el-col :span="24">
  827. <el-divider>
  828. <span class="title-font">{{ $t(`上月`) }}</span>
  829. </el-divider>
  830. </el-col>
  831. </el-row>
  832. <el-row :gutter="20">
  833. <el-col :span="8">
  834. <borderTemp>
  835. <template #content>
  836. <div style="margin-left: 4px; margin-right: 10px">
  837. <el-row>
  838. <el-col class="title-fonts">{{ $t(`订单目标`) }}</el-col>
  839. </el-row>
  840. <el-row :gutter="20">
  841. <el-col :span="5">
  842. <span style="font-size: 18px; padding: 0 0 0 5px">
  843. {{ tool.formatAmount(listsy.wcamount * 100, 2) + "%" }}
  844. </span>
  845. </el-col>
  846. <el-col :span="19">
  847. <div style="float: right">
  848. <span style="font-size: 12px; padding: 0 0 0 5px">
  849. <span
  850. v-if="listsy.unamount < 0"
  851. style="color: #e13333"
  852. >
  853. ¥{{
  854. listsy.unamount < -100000000
  855. ? tool.formatAmount(
  856. tool.unitConversion(
  857. listsy.unamount,
  858. 100000000
  859. ),
  860. 2
  861. ) +
  862. " " +
  863. $t("亿")
  864. : listsy.unamount < -10000
  865. ? tool.formatAmount(
  866. tool.unitConversion(listsy.unamount, 10000),
  867. 2
  868. ) +
  869. " " +
  870. $t("万")
  871. : tool.formatAmount(listsy.unamount, 2)
  872. }}
  873. </span>
  874. <span v-else style="color: #009270">
  875. ¥{{
  876. listsy.unamount > 100000000
  877. ? tool.formatAmount(
  878. tool.unitConversion(
  879. listsy.unamount,
  880. 100000000
  881. ),
  882. 2
  883. ) +
  884. " " +
  885. $t("亿")
  886. : listsy.unamount > 10000
  887. ? tool.formatAmount(
  888. tool.unitConversion(listsy.unamount, 10000),
  889. 2
  890. ) +
  891. " " +
  892. $t("万")
  893. : tool.formatAmount(listsy.unamount, 2)
  894. }}
  895. </span>
  896. </span>
  897. </div>
  898. </el-col>
  899. </el-row>
  900. <el-row>
  901. <el-col class="title-fonts">{{ $t(`实际/目标`) }}</el-col>
  902. </el-row>
  903. <el-row>
  904. <el-col>
  905. <span style="font-size: 12px; padding: 0 0 0 5px">
  906. <span>
  907. ¥
  908. {{
  909. listsy.amount > 100000000
  910. ? tool.formatAmount(
  911. tool.unitConversion(listsy.amount, 100000000),
  912. 2
  913. ) +
  914. " " +
  915. $t("亿")
  916. : listsy.amount > 10000
  917. ? tool.formatAmount(
  918. tool.unitConversion(listsy.amount, 10000),
  919. 2
  920. ) +
  921. " " +
  922. $t("万")
  923. : tool.formatAmount(listsy.amount, 2)
  924. }}
  925. </span>
  926. <span>
  927. {{
  928. listsy.target_l > 100000000
  929. ? tool.formatAmount(
  930. tool.unitConversion(
  931. listsy.target_l,
  932. 100000000
  933. ),
  934. 2
  935. ) +
  936. " " +
  937. $t("亿")
  938. : listsy.target_l > 10000
  939. ? tool.formatAmount(
  940. tool.unitConversion(listsy.target_l, 10000),
  941. 2
  942. ) +
  943. " " +
  944. $t("万")
  945. : tool.formatAmount(listsy.target_l, 2)
  946. }}
  947. </span>
  948. </span>
  949. </el-col>
  950. </el-row>
  951. </div>
  952. </template>
  953. </borderTemp>
  954. </el-col>
  955. <el-col :span="8">
  956. <borderTemp>
  957. <template #content>
  958. <div style="margin-left: 4px; margin-right: 10px">
  959. <el-row>
  960. <el-col class="title-fonts">{{ $t(`出货目标`) }}</el-col>
  961. </el-row>
  962. <el-row :gutter="20">
  963. <el-col :span="5">
  964. <span style="font-size: 18px; padding: 0 0 0 5px">
  965. {{
  966. tool.formatAmount(listsy.wcoutamount * 100, 2) + "%"
  967. }}
  968. </span>
  969. </el-col>
  970. <el-col :span="19">
  971. <div style="float: right">
  972. <span style="font-size: 12px; padding: 0 0 0 5px">
  973. <span
  974. v-if="listsy.unoutamount < 0"
  975. style="color: #e13333"
  976. >
  977. ¥{{
  978. listsy.unamount < -100000000
  979. ? tool.formatAmount(
  980. tool.unitConversion(
  981. listsy.unoutamount,
  982. 100000000
  983. ),
  984. 2
  985. ) +
  986. " " +
  987. $t("亿")
  988. : listsy.unoutamount < -10000
  989. ? tool.formatAmount(
  990. tool.unitConversion(
  991. listsy.unoutamount,
  992. 10000
  993. ),
  994. 2
  995. ) +
  996. " " +
  997. $t("万")
  998. : tool.formatAmount(listsy.unoutamount, 2)
  999. }}
  1000. </span>
  1001. <span v-else style="color: #009270">
  1002. ¥{{
  1003. listsy.unamount > 100000000
  1004. ? tool.formatAmount(
  1005. tool.unitConversion(
  1006. listsy.unoutamount,
  1007. 100000000
  1008. ),
  1009. 2
  1010. ) +
  1011. " " +
  1012. $t("亿")
  1013. : listsy.unoutamount > 10000
  1014. ? tool.formatAmount(
  1015. tool.unitConversion(
  1016. listsy.unoutamount,
  1017. 10000
  1018. ),
  1019. 2
  1020. ) +
  1021. " " +
  1022. $t("万")
  1023. : tool.formatAmount(listsy.unoutamount, 2)
  1024. }}
  1025. </span>
  1026. </span>
  1027. </div>
  1028. </el-col>
  1029. </el-row>
  1030. <el-row>
  1031. <el-col class="title-fonts">{{ $t(`实际/目标`) }}</el-col>
  1032. </el-row>
  1033. <el-row>
  1034. <el-col>
  1035. <span style="font-size: 12px; padding: 0 0 0 5px">
  1036. <span>
  1037. ¥
  1038. {{
  1039. listsy.outamount > 100000000
  1040. ? tool.formatAmount(
  1041. tool.unitConversion(
  1042. listsy.outamount,
  1043. 100000000
  1044. ),
  1045. 2
  1046. ) +
  1047. " " +
  1048. $t("亿")
  1049. : listsy.outamount > 10000
  1050. ? tool.formatAmount(
  1051. tool.unitConversion(listsy.outamount, 10000),
  1052. 2
  1053. ) +
  1054. " " +
  1055. $t("万")
  1056. : tool.formatAmount(listsy.outamount, 2)
  1057. }}
  1058. </span>
  1059. <span>
  1060. {{
  1061. listsy.target_l > 100000000
  1062. ? tool.formatAmount(
  1063. tool.unitConversion(
  1064. listsy.target_l,
  1065. 100000000
  1066. ),
  1067. 2
  1068. ) +
  1069. " " +
  1070. $t("亿")
  1071. : listsy.target_l > 10000
  1072. ? tool.formatAmount(
  1073. tool.unitConversion(listsy.target_l, 10000),
  1074. 2
  1075. ) +
  1076. " " +
  1077. $t("万")
  1078. : tool.formatAmount(listsy.target_l, 2)
  1079. }}
  1080. </span>
  1081. <!-- {{'¥'+tool.formatAmount(listby.amount,2) + '/'+ '¥'+ tool.formatAmount(listby.target_l,2)}}-->
  1082. </span>
  1083. </el-col>
  1084. </el-row>
  1085. </div>
  1086. </template>
  1087. </borderTemp>
  1088. </el-col>
  1089. <el-col :span="8">
  1090. <borderTemp>
  1091. <template #content>
  1092. <div style="margin-left: 4px; margin-right: 10px">
  1093. <el-row>
  1094. <el-col class="title-fonts">{{ $t(`开票目标`) }}</el-col>
  1095. </el-row>
  1096. <el-row :gutter="20">
  1097. <el-col :span="5">
  1098. <span style="font-size: 18px; padding: 0 0 0 5px">
  1099. {{
  1100. tool.formatAmount(listsy.wcinvoiceamount * 100, 2) +
  1101. "%"
  1102. }}
  1103. </span>
  1104. </el-col>
  1105. <el-col :span="19">
  1106. <div style="float: right">
  1107. <span style="font-size: 12px; padding: 0 0 0 5px">
  1108. <span
  1109. v-if="listsy.uninvoiceamount < 0"
  1110. style="color: #e13333"
  1111. >
  1112. ¥{{
  1113. listsy.uninvoiceamount < -100000000
  1114. ? tool.formatAmount(
  1115. tool.unitConversion(
  1116. listsy.uninvoiceamount,
  1117. 100000000
  1118. ),
  1119. 2
  1120. ) +
  1121. " " +
  1122. $t("亿")
  1123. : listsy.uninvoiceamount < -10000
  1124. ? tool.formatAmount(
  1125. tool.unitConversion(
  1126. listsy.uninvoiceamount,
  1127. 10000
  1128. ),
  1129. 2
  1130. ) +
  1131. " " +
  1132. $t("万")
  1133. : tool.formatAmount(listsy.uninvoiceamount, 2)
  1134. }}
  1135. </span>
  1136. <span v-else style="color: #009270">
  1137. ¥{{
  1138. listsy.uninvoiceamount > 100000000
  1139. ? tool.formatAmount(
  1140. tool.unitConversion(
  1141. listsy.uninvoiceamount,
  1142. 100000000
  1143. ),
  1144. 2
  1145. ) +
  1146. " " +
  1147. $t("亿")
  1148. : listsy.uninvoiceamount > 10000
  1149. ? tool.formatAmount(
  1150. tool.unitConversion(
  1151. listsy.uninvoiceamount,
  1152. 10000
  1153. ),
  1154. 2
  1155. ) +
  1156. " " +
  1157. $t("万")
  1158. : tool.formatAmount(listsy.uninvoiceamount, 2)
  1159. }}
  1160. </span>
  1161. </span>
  1162. </div>
  1163. </el-col>
  1164. </el-row>
  1165. <el-row>
  1166. <el-col class="title-fonts">{{ $t(`实际/目标`) }}</el-col>
  1167. </el-row>
  1168. <el-row>
  1169. <el-col>
  1170. <span style="font-size: 12px; padding: 0 0 0 5px">
  1171. <span>
  1172. ¥
  1173. {{
  1174. listsy.invoiceamount > 100000000
  1175. ? tool.formatAmount(
  1176. tool.unitConversion(
  1177. listsy.invoiceamount,
  1178. 100000000
  1179. ),
  1180. 2
  1181. ) +
  1182. " " +
  1183. $t("亿")
  1184. : listsy.invoiceamount > 10000
  1185. ? tool.formatAmount(
  1186. tool.unitConversion(
  1187. listsy.invoiceamount,
  1188. 10000
  1189. ),
  1190. 2
  1191. ) +
  1192. " " +
  1193. $t("万")
  1194. : tool.formatAmount(listsy.invoiceamount, 2)
  1195. }}
  1196. </span>
  1197. <span>
  1198. {{
  1199. listsy.target_l > 100000000
  1200. ? tool.formatAmount(
  1201. tool.unitConversion(
  1202. listsy.target_l,
  1203. 100000000
  1204. ),
  1205. 2
  1206. ) +
  1207. " " +
  1208. $t("亿")
  1209. : listsy.target_l > 10000
  1210. ? tool.formatAmount(
  1211. tool.unitConversion(listsy.target_l, 10000),
  1212. 2
  1213. ) +
  1214. " " +
  1215. $t("万")
  1216. : tool.formatAmount(listsy.target_l, 2)
  1217. }}
  1218. </span>
  1219. </span>
  1220. </el-col>
  1221. </el-row>
  1222. </div>
  1223. </template>
  1224. </borderTemp>
  1225. </el-col>
  1226. </el-row>
  1227. </el-col>
  1228. <!-- 本年 -->
  1229. <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
  1230. <el-row :gutter="20">
  1231. <el-col :span="24">
  1232. <el-divider>
  1233. <span class="title-font">{{ $t(`本年`) }}</span>
  1234. </el-divider>
  1235. </el-col>
  1236. </el-row>
  1237. <el-row :gutter="20">
  1238. <el-col :span="8">
  1239. <borderTemp>
  1240. <template #content>
  1241. <div style="margin-left: 4px; margin-right: 10px">
  1242. <el-row>
  1243. <el-col class="title-fonts">{{ $t(`订单目标`) }}</el-col>
  1244. </el-row>
  1245. <el-row :gutter="20">
  1246. <el-col :span="5">
  1247. <span style="font-size: 18px; padding: 0 0 0 5px">
  1248. {{ tool.formatAmount(listbn.wcamount * 100, 2) + "%" }}
  1249. </span>
  1250. </el-col>
  1251. <el-col :span="19">
  1252. <div style="float: right">
  1253. <span style="font-size: 12px; padding: 0 0 0 5px">
  1254. <span
  1255. v-if="listbn.unamount < 0"
  1256. style="color: #e13333"
  1257. >
  1258. ¥{{
  1259. listbn.unamount < -100000000
  1260. ? tool.formatAmount(
  1261. tool.unitConversion(
  1262. listbn.unamount,
  1263. 100000000
  1264. ),
  1265. 2
  1266. ) +
  1267. " " +
  1268. $t("亿")
  1269. : listbn.unamount < -10000
  1270. ? tool.formatAmount(
  1271. tool.unitConversion(listbn.unamount, 10000),
  1272. 2
  1273. ) +
  1274. " " +
  1275. $t("万")
  1276. : tool.formatAmount(listbn.unamount, 2)
  1277. }}
  1278. </span>
  1279. <span v-else style="color: #009270">
  1280. ¥{{
  1281. listbn.unamount > 100000000
  1282. ? tool.formatAmount(
  1283. tool.unitConversion(
  1284. listbn.unamount,
  1285. 100000000
  1286. ),
  1287. 2
  1288. ) +
  1289. " " +
  1290. $t("亿")
  1291. : listbn.unamount > 10000
  1292. ? tool.formatAmount(
  1293. tool.unitConversion(listbn.unamount, 10000),
  1294. 2
  1295. ) +
  1296. " " +
  1297. $t("万")
  1298. : tool.formatAmount(listbn.unamount, 2)
  1299. }}
  1300. </span>
  1301. </span>
  1302. </div>
  1303. </el-col>
  1304. </el-row>
  1305. <el-row>
  1306. <el-col class="title-fonts">{{ $t(`实际/目标`) }}</el-col>
  1307. </el-row>
  1308. <el-row>
  1309. <el-col>
  1310. <span style="font-size: 12px; padding: 0 0 0 5px">
  1311. <span>
  1312. ¥
  1313. {{
  1314. listbn.amount > 100000000
  1315. ? tool.formatAmount(
  1316. tool.unitConversion(listbn.amount, 100000000),
  1317. 2
  1318. ) +
  1319. " " +
  1320. $t("亿")
  1321. : listbn.amount > 10000
  1322. ? tool.formatAmount(
  1323. tool.unitConversion(listbn.amount, 10000),
  1324. 2
  1325. ) +
  1326. " " +
  1327. $t("万")
  1328. : tool.formatAmount(listbn.amount, 2)
  1329. }}
  1330. </span>
  1331. <span>
  1332. {{
  1333. listbn.target_l > 100000000
  1334. ? tool.formatAmount(
  1335. tool.unitConversion(
  1336. listbn.target_l,
  1337. 100000000
  1338. ),
  1339. 2
  1340. ) +
  1341. " " +
  1342. $t("亿")
  1343. : listbn.target_l > 10000
  1344. ? tool.formatAmount(
  1345. tool.unitConversion(listbn.target_l, 10000),
  1346. 2
  1347. ) +
  1348. " " +
  1349. $t("万")
  1350. : tool.formatAmount(listbn.target_l, 2)
  1351. }}
  1352. </span>
  1353. </span>
  1354. </el-col>
  1355. </el-row>
  1356. </div>
  1357. </template>
  1358. </borderTemp>
  1359. </el-col>
  1360. <el-col :span="8">
  1361. <borderTemp>
  1362. <template #content>
  1363. <div style="margin-left: 4px; margin-right: 10px">
  1364. <el-row>
  1365. <el-col class="title-fonts">{{ $t(`出货目标`) }}</el-col>
  1366. </el-row>
  1367. <el-row :gutter="20">
  1368. <el-col :span="5">
  1369. <span style="font-size: 18px; padding: 0 0 0 5px">
  1370. {{
  1371. tool.formatAmount(listbn.wcoutamount * 100, 2) + "%"
  1372. }}
  1373. </span>
  1374. </el-col>
  1375. <el-col :span="19">
  1376. <div style="float: right">
  1377. <span style="font-size: 12px; padding: 0 0 0 5px">
  1378. <span
  1379. v-if="listbn.unoutamount < 0"
  1380. style="color: #e13333"
  1381. >
  1382. ¥{{
  1383. listbn.unamount < -100000000
  1384. ? tool.formatAmount(
  1385. tool.unitConversion(
  1386. listbn.unoutamount,
  1387. 100000000
  1388. ),
  1389. 2
  1390. ) +
  1391. " " +
  1392. $t("亿")
  1393. : listbn.unoutamount < -10000
  1394. ? tool.formatAmount(
  1395. tool.unitConversion(
  1396. listbn.unoutamount,
  1397. 10000
  1398. ),
  1399. 2
  1400. ) +
  1401. " " +
  1402. $t("万")
  1403. : tool.formatAmount(listbn.unoutamount, 2)
  1404. }}
  1405. </span>
  1406. <span v-else style="color: #009270">
  1407. ¥{{
  1408. listbn.unamount > 100000000
  1409. ? tool.formatAmount(
  1410. tool.unitConversion(
  1411. listbn.unoutamount,
  1412. 100000000
  1413. ),
  1414. 2
  1415. ) +
  1416. " " +
  1417. $t("亿")
  1418. : listbn.unoutamount > 10000
  1419. ? tool.formatAmount(
  1420. tool.unitConversion(
  1421. listbn.unoutamount,
  1422. 10000
  1423. ),
  1424. 2
  1425. ) +
  1426. " " +
  1427. $t("万")
  1428. : tool.formatAmount(listbn.unoutamount, 2)
  1429. }}
  1430. </span>
  1431. </span>
  1432. </div>
  1433. </el-col>
  1434. </el-row>
  1435. <el-row>
  1436. <el-col class="title-fonts">{{ $t(`实际/目标`) }}</el-col>
  1437. </el-row>
  1438. <el-row>
  1439. <el-col>
  1440. <span style="font-size: 12px; padding: 0 0 0 5px">
  1441. <span>
  1442. ¥
  1443. {{
  1444. listbn.outamount > 100000000
  1445. ? tool.formatAmount(
  1446. tool.unitConversion(
  1447. listbn.outamount,
  1448. 100000000
  1449. ),
  1450. 2
  1451. ) +
  1452. " " +
  1453. $t("亿")
  1454. : listbn.outamount > 10000
  1455. ? tool.formatAmount(
  1456. tool.unitConversion(listbn.outamount, 10000),
  1457. 2
  1458. ) +
  1459. " " +
  1460. $t("万")
  1461. : tool.formatAmount(listbn.outamount, 2)
  1462. }}
  1463. </span>
  1464. <span>
  1465. {{
  1466. listbn.target_l > 100000000
  1467. ? tool.formatAmount(
  1468. tool.unitConversion(
  1469. listbn.target_l,
  1470. 100000000
  1471. ),
  1472. 2
  1473. ) +
  1474. " " +
  1475. $t("亿")
  1476. : listbn.target_l > 10000
  1477. ? tool.formatAmount(
  1478. tool.unitConversion(listbn.target_l, 10000),
  1479. 2
  1480. ) +
  1481. " " +
  1482. $t("万")
  1483. : tool.formatAmount(listbn.target_l, 2)
  1484. }}
  1485. </span>
  1486. </span>
  1487. </el-col>
  1488. </el-row>
  1489. </div>
  1490. </template>
  1491. </borderTemp>
  1492. </el-col>
  1493. <el-col :span="8">
  1494. <borderTemp>
  1495. <template #content>
  1496. <div style="margin-left: 4px; margin-right: 10px">
  1497. <el-row>
  1498. <el-col class="title-fonts">{{ $t(`开票目标`) }}</el-col>
  1499. </el-row>
  1500. <el-row :gutter="20">
  1501. <el-col :span="5">
  1502. <span style="font-size: 18px; padding: 0 0 0 5px">
  1503. {{
  1504. tool.formatAmount(listbn.wcinvoiceamount * 100, 2) +
  1505. "%"
  1506. }}
  1507. </span>
  1508. </el-col>
  1509. <el-col :span="19">
  1510. <div style="float: right">
  1511. <span style="font-size: 12px; padding: 0 0 0 5px">
  1512. <span
  1513. v-if="listbn.uninvoiceamount < 0"
  1514. style="color: #e13333"
  1515. >
  1516. ¥{{
  1517. listbn.uninvoiceamount < -100000000
  1518. ? tool.formatAmount(
  1519. tool.unitConversion(
  1520. listbn.uninvoiceamount,
  1521. 100000000
  1522. ),
  1523. 2
  1524. ) +
  1525. " " +
  1526. $t("亿")
  1527. : listbn.uninvoiceamount < -10000
  1528. ? tool.formatAmount(
  1529. tool.unitConversion(
  1530. listbn.uninvoiceamount,
  1531. 10000
  1532. ),
  1533. 2
  1534. ) +
  1535. " " +
  1536. $t("万")
  1537. : tool.formatAmount(listbn.uninvoiceamount, 2)
  1538. }}
  1539. </span>
  1540. <span v-else style="color: #009270">
  1541. ¥{{
  1542. listbn.uninvoiceamount > 100000000
  1543. ? tool.formatAmount(
  1544. tool.unitConversion(
  1545. listbn.uninvoiceamount,
  1546. 100000000
  1547. ),
  1548. 2
  1549. ) +
  1550. " " +
  1551. $t("亿")
  1552. : listbn.uninvoiceamount > 10000
  1553. ? tool.formatAmount(
  1554. tool.unitConversion(
  1555. listbn.uninvoiceamount,
  1556. 10000
  1557. ),
  1558. 2
  1559. ) +
  1560. " " +
  1561. $t("万")
  1562. : tool.formatAmount(listbn.uninvoiceamount, 2)
  1563. }}
  1564. </span>
  1565. </span>
  1566. </div>
  1567. </el-col>
  1568. </el-row>
  1569. <el-row>
  1570. <el-col class="title-fonts">{{ $t(`实际/目标`) }}</el-col>
  1571. </el-row>
  1572. <el-row>
  1573. <el-col>
  1574. <span style="font-size: 12px; padding: 0 0 0 5px">
  1575. <span>
  1576. ¥
  1577. {{
  1578. listbn.invoiceamount > 100000000
  1579. ? tool.formatAmount(
  1580. tool.unitConversion(
  1581. listbn.invoiceamount,
  1582. 100000000
  1583. ),
  1584. 2
  1585. ) +
  1586. " " +
  1587. $t("亿")
  1588. : listbn.invoiceamount > 10000
  1589. ? tool.formatAmount(
  1590. tool.unitConversion(
  1591. listbn.invoiceamount,
  1592. 10000
  1593. ),
  1594. 2
  1595. ) +
  1596. " " +
  1597. $t("万")
  1598. : tool.formatAmount(listbn.invoiceamount, 2)
  1599. }}
  1600. </span>
  1601. <span>
  1602. {{
  1603. listbn.target_l > 100000000
  1604. ? tool.formatAmount(
  1605. tool.unitConversion(
  1606. listbn.target_l,
  1607. 100000000
  1608. ),
  1609. 2
  1610. ) +
  1611. " " +
  1612. $t("亿")
  1613. : listbn.target_l > 10000
  1614. ? tool.formatAmount(
  1615. tool.unitConversion(listbn.target_l, 10000),
  1616. 2
  1617. ) +
  1618. " " +
  1619. $t("万")
  1620. : tool.formatAmount(listbn.target_l, 2)
  1621. }}
  1622. </span>
  1623. </span>
  1624. </el-col>
  1625. </el-row>
  1626. </div>
  1627. </template>
  1628. </borderTemp>
  1629. </el-col>
  1630. </el-row>
  1631. </el-col>
  1632. </el-row>
  1633. </div>
  1634. </template>
  1635. <script>
  1636. import borderTemp from "../components/border";
  1637. export default {
  1638. name: "performanceData",
  1639. props: ["param", "isDep", "dataid", "isPerson"],
  1640. components: { borderTemp },
  1641. data() {
  1642. return {
  1643. listby: "",
  1644. listbj: "",
  1645. listbn: "",
  1646. listsy: "",
  1647. };
  1648. },
  1649. methods: {
  1650. async queryList() {
  1651. /*this.isDep ? this.param.content.type = 1: this.isPerson ? this.param.content.type = 0 : this.param.content.type = ''*/
  1652. this.param.content.dataType = 3;
  1653. /* this.param.content.dataid = this.dataid*/
  1654. const res = await this.$api.requested(this.param);
  1655. this.listby = res.data.by;
  1656. this.listbj = res.data.bj;
  1657. this.listbn = res.data.bn;
  1658. this.listsy = res.data.sy;
  1659. },
  1660. },
  1661. };
  1662. </script>
  1663. <style scoped>
  1664. .title-fonts {
  1665. font-size: 12px;
  1666. color: #888;
  1667. padding: 5px 0 0 5px;
  1668. }
  1669. </style>