ProjectDetailModal.vue 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  1. <template>
  2. <j-modal
  3. :title="title"
  4. :width="width"
  5. :visible="visible"
  6. switchFullscreen
  7. :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
  8. cancelText="关闭"
  9. @cancel="handleCancel">
  10. <!-- 查询区域 -->
  11. <div class="table-page-search-wrapper">
  12. <a-form layout="inline" @keyup.enter.native="searchQuery">
  13. <a-row :gutter="24">
  14. </a-row>
  15. </a-form>
  16. </div>
  17. <!-- 查询区域-END -->
  18. <!-- 操作按钮区域 -->
  19. <!-- table区域-begin -->
  20. <div>
  21. <a-table
  22. ref="table"
  23. size="middle"
  24. :scroll="{x:true}"
  25. bordered
  26. rowKey="id"
  27. :columns="columns"
  28. :dataSource="dataSource"
  29. :pagination="ipagination"
  30. :loading="loading"
  31. class="j-table-force-nowrap"
  32. @change="handleTableChange">
  33. <!-- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" -->
  34. </a-table>
  35. </div>
  36. </j-modal>
  37. </template>
  38. <script>
  39. import '@/assets/less/TableExpand.less'
  40. import { mixinDevice } from '@/utils/mixin'
  41. import { JeecgListMixin } from '@/mixins/JeecgListMixin'
  42. export default {
  43. name: 'contractInfoExchangeList',
  44. mixins:[JeecgListMixin, mixinDevice],
  45. data () {
  46. return {
  47. title: '',
  48. width: '60%',
  49. visible: false,
  50. disableSubmit: true,
  51. columns: [
  52. {
  53. title: '#',
  54. dataIndex: '',
  55. key:'rowIndex',
  56. width:60,
  57. align:"center",
  58. customRender:function (t,r,index) {
  59. return parseInt(index)+1;
  60. }
  61. },
  62. {
  63. title:'备注',
  64. align:"center",
  65. dataIndex: 'bz'
  66. },
  67. {
  68. title:'编号',
  69. align:"center",
  70. dataIndex: 'bh'
  71. },
  72. {
  73. title:'部门(合同付款)',
  74. align:"center",
  75. dataIndex: 'bm'
  76. },
  77. {
  78. title:'产品型号',
  79. align:"center",
  80. dataIndex: 'cpxh'
  81. },
  82. {
  83. title:'待付款(元)',
  84. align:"center",
  85. dataIndex: 'dfk'
  86. },
  87. {
  88. title:'待开票(元)',
  89. align:"center",
  90. dataIndex: 'dkp'
  91. },
  92. {
  93. title:'到款(元)',
  94. align:"center",
  95. dataIndex: 'dk'
  96. },
  97. {
  98. title:'到款日期/汇票到期日期',
  99. align:"center",
  100. dataIndex: 'dkhpdqrq',
  101. customRender:function (text) {
  102. return !text?"":(text.length>10?text.substr(0,10):text)
  103. }
  104. },
  105. {
  106. title:'电话',
  107. align:"center",
  108. dataIndex: 'dh'
  109. },
  110. {
  111. title:'发票编号(sn)',
  112. align:"center",
  113. dataIndex: 'fpbh'
  114. },
  115. {
  116. title:'发票编码',
  117. align:"center",
  118. dataIndex: 'fpbm'
  119. },
  120. {
  121. title:'发票开具额',
  122. align:"center",
  123. dataIndex: 'fpkje'
  124. },
  125. {
  126. title:'发票类型',
  127. align:"center",
  128. dataIndex: 'fplx'
  129. },
  130. {
  131. title:'发票内容',
  132. align:"center",
  133. dataIndex: 'fpnr'
  134. },
  135. {
  136. title:'付款方名称',
  137. align:"center",
  138. dataIndex: 'fkfmc'
  139. },
  140. {
  141. title:'更新时间',
  142. align:"center",
  143. dataIndex: 'gxsj',
  144. customRender:function (text) {
  145. return !text?"":(text.length>10?text.substr(0,10):text)
  146. }
  147. },
  148. {
  149. title:'归档编号',
  150. align:"center",
  151. dataIndex: 'gdbh'
  152. },
  153. {
  154. title:'归档日期',
  155. align:"center",
  156. dataIndex: 'gdrq',
  157. customRender:function (text) {
  158. return !text?"":(text.length>10?text.substr(0,10):text)
  159. }
  160. },
  161. {
  162. title:'合同编号',
  163. align:"center",
  164. dataIndex: 'htbh'
  165. },
  166. {
  167. title:'合同发票接收邮箱地址',
  168. align:"center",
  169. dataIndex: 'htfpjsyxdz'
  170. },
  171. {
  172. title:'合同分配额',
  173. align:"center",
  174. dataIndex: 'htfpe'
  175. },
  176. {
  177. title:'合同金额',
  178. align:"center",
  179. dataIndex: 'htje'
  180. },
  181. {
  182. title:'合同款状态',
  183. align:"center",
  184. dataIndex: 'htkzt'
  185. },
  186. {
  187. title:'合同类型',
  188. align:"center",
  189. dataIndex: 'htlx'
  190. },
  191. {
  192. title:'合同履行情况',
  193. align:"center",
  194. dataIndex: 'htlxqk'
  195. },
  196. {
  197. title:'合同密级',
  198. align:"center",
  199. dataIndex: 'htmj'
  200. },
  201. {
  202. title:'合同名称',
  203. align:"center",
  204. dataIndex: 'htmc'
  205. },
  206. {
  207. title:'合同起草人',
  208. align:"center",
  209. dataIndex: 'htqcr'
  210. },
  211. {
  212. title:'合同签订日期',
  213. align:"center",
  214. dataIndex: 'htqdrq',
  215. customRender:function (text) {
  216. return !text?"":(text.length>10?text.substr(0,10):text)
  217. }
  218. },
  219. {
  220. title:'合同任务id',
  221. align:"center",
  222. dataIndex: 'htrwid'
  223. },
  224. {
  225. title:'合同数量',
  226. align:"center",
  227. dataIndex: 'htsl'
  228. },
  229. {
  230. title:'合同页数',
  231. align:"center",
  232. dataIndex: 'htys'
  233. },
  234. {
  235. title:'合同主管部门',
  236. align:"center",
  237. dataIndex: 'htzgbm'
  238. },
  239. {
  240. title:'合同状态',
  241. align:"center",
  242. dataIndex: 'htzt'
  243. },
  244. {
  245. title:'合同状态说明',
  246. align:"center",
  247. dataIndex: 'htztsm'
  248. },
  249. {
  250. title:'甲方(付款方)',
  251. align:"center",
  252. dataIndex: 'jf'
  253. },
  254. {
  255. title:'甲方简称、用户简称',
  256. align:"center",
  257. dataIndex: 'jfyhjc'
  258. },
  259. {
  260. title:'甲方签约人',
  261. align:"center",
  262. dataIndex: 'jfqyr'
  263. },
  264. {
  265. title:'阶段',
  266. align:"center",
  267. dataIndex: 'jd'
  268. },
  269. {
  270. title:'金额(元)、收款总金额、开票金额',
  271. align:"center",
  272. dataIndex: 'jeskzkp'
  273. },
  274. {
  275. title:'开户行',
  276. align:"center",
  277. dataIndex: 'khx'
  278. },
  279. {
  280. title:'开票时间',
  281. align:"center",
  282. dataIndex: 'kpsj',
  283. customRender:function (text) {
  284. return !text?"":(text.length>10?text.substr(0,10):text)
  285. }
  286. },
  287. {
  288. title:'开票状态',
  289. align:"center",
  290. dataIndex: 'kpzt'
  291. },
  292. {
  293. title:'客户id',
  294. align:"center",
  295. dataIndex: 'khid'
  296. },
  297. {
  298. title:'客户流程编号',
  299. align:"center",
  300. dataIndex: 'khlcbh'
  301. },
  302. {
  303. title:'联系人(对方)',
  304. align:"center",
  305. dataIndex: 'lxr'
  306. },
  307. {
  308. title:'录入人、申请人',
  309. align:"center",
  310. dataIndex: 'lrsqr'
  311. },
  312. {
  313. title:'凭证号',
  314. align:"center",
  315. dataIndex: 'pzh'
  316. },
  317. {
  318. title:'起草日期、录入日期、申请日期',
  319. align:"center",
  320. dataIndex: 'qclrsqrq',
  321. customRender:function (text) {
  322. return !text?"":(text.length>10?text.substr(0,10):text)
  323. }
  324. },
  325. {
  326. title:'签署日期',
  327. align:"center",
  328. dataIndex: 'qsrq',
  329. customRender:function (text) {
  330. return !text?"":(text.length>10?text.substr(0,10):text)
  331. }
  332. },
  333. {
  334. title:'确认外协',
  335. align:"center",
  336. dataIndex: 'qrwx'
  337. },
  338. {
  339. title:'任务编号',
  340. align:"center",
  341. dataIndex: 'rwbh'
  342. },
  343. {
  344. title:'任务名称',
  345. align:"center",
  346. dataIndex: 'rwmc'
  347. },
  348. {
  349. title:'任务收款金额',
  350. align:"center",
  351. dataIndex: 'rwskje'
  352. },
  353. {
  354. title:'申请人部门',
  355. align:"center",
  356. dataIndex: 'sqrbm'
  357. },
  358. {
  359. title:'收款编号(sn)',
  360. align:"center",
  361. dataIndex: 'skbh'
  362. },
  363. {
  364. title:'收款科目代码',
  365. align:"center",
  366. dataIndex: 'skkmdm'
  367. },
  368. {
  369. title:'收款类型',
  370. align:"center",
  371. dataIndex: 'sklx'
  372. },
  373. {
  374. title:'数据来源:10:合同管理,20:合同任务,30:任务合同,40:合同付款,50:合同发票,60:外协合同',
  375. align:"center",
  376. dataIndex: 'sjly'
  377. },
  378. {
  379. title:'数量(合同付款)',
  380. align:"center",
  381. dataIndex: 'sl'
  382. },
  383. {
  384. title:'税号',
  385. align:"center",
  386. dataIndex: 'sh'
  387. },
  388. {
  389. title:'所属型号',
  390. align:"center",
  391. dataIndex: 'ssxh'
  392. },
  393. {
  394. title:'外协单号(sn)',
  395. align:"center",
  396. dataIndex: 'wxdh'
  397. },
  398. {
  399. title:'外协合同编号',
  400. align:"center",
  401. dataIndex: 'wxhtbh'
  402. },
  403. {
  404. title:'外协类型',
  405. align:"center",
  406. dataIndex: 'wxlx'
  407. },
  408. {
  409. title:'项目密级',
  410. align:"center",
  411. dataIndex: 'xmmj'
  412. },
  413. {
  414. title:'发票需求时间',
  415. align:"center",
  416. dataIndex: 'fpxqsj',
  417. customRender:function (text) {
  418. return !text?"":(text.length>10?text.substr(0,10):text)
  419. }
  420. },
  421. {
  422. title:'序号',
  423. align:"center",
  424. dataIndex: 'xh'
  425. },
  426. {
  427. title:'研制部门',
  428. align:"center",
  429. dataIndex: 'yzbm'
  430. },
  431. {
  432. title:'业务员',
  433. align:"center",
  434. dataIndex: 'ywy'
  435. },
  436. {
  437. title:'业务员部门',
  438. align:"center",
  439. dataIndex: 'ywybm'
  440. },
  441. {
  442. title:'乙方(收款方)',
  443. align:"center",
  444. dataIndex: 'yf'
  445. },
  446. {
  447. title:'乙方签约人',
  448. align:"center",
  449. dataIndex: 'yfqyr'
  450. },
  451. {
  452. title:'已开票(元)',
  453. align:"center",
  454. dataIndex: 'ykp'
  455. },
  456. {
  457. title:'已收款',
  458. align:"center",
  459. dataIndex: 'ysk'
  460. },
  461. {
  462. title:'用户id',
  463. align:"center",
  464. dataIndex: 'yhid'
  465. },
  466. {
  467. title:'用户简称',
  468. align:"center",
  469. dataIndex: 'yhjc'
  470. },
  471. {
  472. title:'用户名称',
  473. align:"center",
  474. dataIndex: 'yhmc'
  475. },
  476. {
  477. title:'账号',
  478. align:"center",
  479. dataIndex: 'zh'
  480. },
  481. {
  482. title:'执行状态(status)',
  483. align:"center",
  484. dataIndex: 'zxzt'
  485. },
  486. {
  487. title:'主管设计师',
  488. align:"center",
  489. dataIndex: 'zgsjs'
  490. },
  491. {
  492. title:'抓总部门',
  493. align:"center",
  494. dataIndex: 'zzbm'
  495. },
  496. {
  497. title:'自筹(元)',
  498. align:"center",
  499. dataIndex: 'zc'
  500. },
  501. {
  502. title:'类型(无用)',
  503. align:"center",
  504. dataIndex: 'pici'
  505. },
  506. {
  507. title:'作废发票申请时间',
  508. align:"center",
  509. dataIndex: 'sqsj',
  510. customRender:function (text) {
  511. return !text?"":(text.length>10?text.substr(0,10):text)
  512. }
  513. },
  514. {
  515. title:'作废单号',
  516. align:"center",
  517. dataIndex: 'zfdh'
  518. },
  519. // {
  520. // title: '操作',
  521. // dataIndex: 'action',
  522. // align:"center",
  523. // fixed:"right",
  524. // width:147,
  525. // scopedSlots: { customRender: 'action' }
  526. // }
  527. ],
  528. dataSource: [],
  529. dictOptions:{},
  530. superFieldList:[],
  531. }
  532. },
  533. created () {
  534. },
  535. mounted () {
  536. },
  537. methods: {
  538. show() {
  539. this.visible = true
  540. },
  541. close () {
  542. this.$emit('close');
  543. this.visible = false;
  544. },
  545. handleCancel () {
  546. this.close()
  547. },
  548. initDictConfig(){
  549. },
  550. }
  551. }
  552. </script>
  553. <style scoped>
  554. @import '~@assets/less/common.less';
  555. </style>