supplier.html 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680
  1. <!DOCTYPE html>
  2. <html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
  3. <head>
  4. <th:block th:include="include :: header('供应商列表')" />
  5. </head>
  6. <body class="gray-bg">
  7. <div class="container-div">
  8. <div class="row">
  9. <div class="col-sm-12 search-collapse">
  10. <form id="formId">
  11. <div class="select-list">
  12. <ul>
  13. <li>
  14. <label>中盛的id:</label>
  15. <input type="text" name="zsId"/>
  16. </li>
  17. <li>
  18. <label>供应商名称:</label>
  19. <input type="text" name="supplierName"/>
  20. </li>
  21. <li>
  22. <label>供应商简称:</label>
  23. <input type="text" name="supplierReName"/>
  24. </li>
  25. <li>
  26. <label>供应商地址:</label>
  27. <input type="text" name="address"/>
  28. </li>
  29. <li>
  30. <label>供应商详细地址:</label>
  31. <input type="text" name="detailAddress"/>
  32. </li>
  33. <li>
  34. <label>logo:</label>
  35. <input type="text" name="logo"/>
  36. </li>
  37. <li>
  38. <label>省市县:</label>
  39. <input type="text" name="businessAddress"/>
  40. </li>
  41. <li>
  42. <label>邮编:</label>
  43. <input type="text" name="postCode"/>
  44. </li>
  45. <li>
  46. <label>官网网址:</label>
  47. <input type="text" name="website"/>
  48. </li>
  49. <li>
  50. <label>供应商电话:</label>
  51. <input type="text" name="supplierPhone"/>
  52. </li>
  53. <li>
  54. <label>传真:</label>
  55. <input type="text" name="fax"/>
  56. </li>
  57. <li>
  58. <label>供应商联系人:</label>
  59. <input type="text" name="supplierMan"/>
  60. </li>
  61. <li>
  62. <label>联系人电话:</label>
  63. <input type="text" name="manPhone"/>
  64. </li>
  65. <li>
  66. <label>供应商性质:</label>
  67. <select name="supplierNature" th:with="type=${@dict.getType('supplier_nature')}">
  68. <option value="">所有</option>
  69. <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
  70. </select>
  71. </li>
  72. <li>
  73. <label>供应商行业:</label>
  74. <input type="text" name="supplierBusiness"/>
  75. </li>
  76. <li>
  77. <label>供应商规模:</label>
  78. <select name="supplierScale" th:with="type=${@dict.getType('supplier_scale')}">
  79. <option value="">所有</option>
  80. <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
  81. </select>
  82. </li>
  83. <li>
  84. <label>企业是否上市:</label>
  85. <select name="isMarket" th:with="type=${@dict.getType('is_or_no')}">
  86. <option value="">所有</option>
  87. <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
  88. </select>
  89. </li>
  90. <li>
  91. <label>是否是品牌商:</label>
  92. <select name="isBrand" th:with="type=${@dict.getType('is_or_no')}">
  93. <option value="">所有</option>
  94. <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
  95. </select>
  96. </li>
  97. <li>
  98. <label>供应商介绍:</label>
  99. <input type="text" name="supplierDesc"/>
  100. </li>
  101. <li>
  102. <label>平台供应商标识:</label>
  103. <input type="text" name="supplierCode"/>
  104. </li>
  105. <li>
  106. <label>登记机关:</label>
  107. <input type="text" name="registration"/>
  108. </li>
  109. <li>
  110. <label>成立日期:</label>
  111. <input type="text" class="time-input" placeholder="请选择成立日期" name="establishmentDate"/>
  112. </li>
  113. <li>
  114. <label>营业有效时间:</label>
  115. <input type="text" class="time-input" placeholder="请选择营业有效时间" name="fromDate"/>
  116. </li>
  117. <li>
  118. <label>营业有效时间:</label>
  119. <input type="text" class="time-input" placeholder="请选择营业有效时间" name="toDate"/>
  120. </li>
  121. <li>
  122. <label>是否长期有效:</label>
  123. <select name="isValid" th:with="type=${@dict.getType('is_or_no')}">
  124. <option value="">所有</option>
  125. <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
  126. </select>
  127. </li>
  128. <li>
  129. <label>注册资本,单位:</label>
  130. <input type="text" name="capital"/>
  131. </li>
  132. <li>
  133. <label>币种:</label>
  134. <select name="currency" th:with="type=${@dict.getType('currency')}">
  135. <option value="">所有</option>
  136. <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
  137. </select>
  138. </li>
  139. <li>
  140. <label>营业范围:</label>
  141. <input type="text" name="businessScope"/>
  142. </li>
  143. <li>
  144. <label>在职员工数量:</label>
  145. <input type="text" name="employeeNum"/>
  146. </li>
  147. <li>
  148. <label>社保缴纳人数:</label>
  149. <input type="text" name="socialNum"/>
  150. </li>
  151. <li>
  152. <label>出资凭证文件类型:jpg/png:</label>
  153. <input type="text" name="contributProve"/>
  154. </li>
  155. <li>
  156. <label>出资总额,单位万:</label>
  157. <input type="text" name="contributNum"/>
  158. </li>
  159. <li>
  160. <label>出资币种:</label>
  161. <select name="contributCurrency" th:with="type=${@dict.getType('currency')}">
  162. <option value="">所有</option>
  163. <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
  164. </select>
  165. </li>
  166. <li>
  167. <label>出资人列表:</label>
  168. <input type="text" name="contributList"/>
  169. </li>
  170. <li>
  171. <label>年度报表:</label>
  172. <input type="text" name="financialAnnualList"/>
  173. </li>
  174. <li>
  175. <label>是否经过注册会计师年审:</label>
  176. <select name="financialIsAccountant" th:with="type=${@dict.getType('is_or_no')}">
  177. <option value="">所有</option>
  178. <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
  179. </select>
  180. </li>
  181. <li>
  182. <label>财务备注:</label>
  183. <input type="text" name="financialRemark"/>
  184. </li>
  185. <li>
  186. <label>资产总额:</label>
  187. <input type="text" name="assetTotal"/>
  188. </li>
  189. <li>
  190. <label>对外投资总额单位万:</label>
  191. <input type="text" name="debtInvestTotal"/>
  192. </li>
  193. <li>
  194. <label>所有者权益合计:</label>
  195. <input type="text" name="debtEquityTotal"/>
  196. </li>
  197. <li>
  198. <label>负债总额单位万:</label>
  199. <input type="text" name="debtTotal"/>
  200. </li>
  201. <li>
  202. <label>实收资本单位万:</label>
  203. <input type="text" name="capitalTotal"/>
  204. </li>
  205. <li>
  206. <label>负债率统计,系统换算:</label>
  207. <input type="text" name="debtRate"/>
  208. </li>
  209. <li>
  210. <label>营业收入,单位万:</label>
  211. <input type="text" name="operatingReceipt"/>
  212. </li>
  213. <li>
  214. <label>销售税金及附加,单位万:</label>
  215. <input type="text" name="salesTax"/>
  216. </li>
  217. <li>
  218. <label>利润总额,单位万:</label>
  219. <input type="text" name="salesTotal"/>
  220. </li>
  221. <li>
  222. <label>所得税,单位万:</label>
  223. <input type="text" name="incomeTax"/>
  224. </li>
  225. <li>
  226. <label>净利润,单位万:</label>
  227. <input type="text" name="profitTotal"/>
  228. </li>
  229. <li>
  230. <label>销售利润所得率,单位换算:</label>
  231. <input type="text" name="salesProfitTotal"/>
  232. </li>
  233. <li>
  234. <label>姓名:</label>
  235. <input type="text" name="headerName"/>
  236. </li>
  237. <li>
  238. <label>证件类型:</label>
  239. <select name="papersType" th:with="type=${@dict.getType('papers_number')}">
  240. <option value="">所有</option>
  241. <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
  242. </select>
  243. </li>
  244. <li>
  245. <label>证件号码:</label>
  246. <input type="text" name="papersNumber"/>
  247. </li>
  248. <li>
  249. <label>手机号码:</label>
  250. <input type="text" name="headPhone"/>
  251. </li>
  252. <li>
  253. <label>座机号码:</label>
  254. <input type="text" name="headerPhone"/>
  255. </li>
  256. <li>
  257. <label>电子邮箱:</label>
  258. <input type="text" name="headerMail"/>
  259. </li>
  260. <li>
  261. <label>人员地址:</label>
  262. <input type="text" name="headerAddress"/>
  263. </li>
  264. <li>
  265. <label>人员邮编:</label>
  266. <input type="text" name="headerPostCode"/>
  267. </li>
  268. <li>
  269. <label>正面盖章图片:</label>
  270. <input type="text" name="prosPicture"/>
  271. </li>
  272. <li>
  273. <label>反面盖章图片:</label>
  274. <input type="text" name="consPicture"/>
  275. </li>
  276. <li>
  277. <label>上架申请拒绝原因:</label>
  278. <input type="text" name="refuseMsg"/>
  279. </li>
  280. <li>
  281. <label>下架申请原因:</label>
  282. <input type="text" name="soldOutMsg"/>
  283. </li>
  284. <li>
  285. <label>上架申请时间:</label>
  286. <input type="text" class="time-input" placeholder="请选择上架申请时间" name="putawayTime"/>
  287. </li>
  288. <li>
  289. <label>上架时间:</label>
  290. <input type="text" class="time-input" placeholder="请选择上架时间" name="startTime"/>
  291. </li>
  292. <li>
  293. <label>下架时间:</label>
  294. <input type="text" class="time-input" placeholder="请选择下架时间" name="endTime"/>
  295. </li>
  296. <li>
  297. <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
  298. <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
  299. </li>
  300. </ul>
  301. </div>
  302. </form>
  303. </div>
  304. <div class="btn-group-sm" id="toolbar" role="group">
  305. <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="scm:supplier:add">
  306. <i class="fa fa-plus"></i> 添加
  307. </a>
  308. <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="scm:supplier:edit">
  309. <i class="fa fa-edit"></i> 修改
  310. </a>
  311. <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="scm:supplier:remove">
  312. <i class="fa fa-remove"></i> 删除
  313. </a>
  314. <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="scm:supplier:export">
  315. <i class="fa fa-download"></i> 导出
  316. </a>
  317. </div>
  318. <div class="col-sm-12 select-table table-striped">
  319. <table id="bootstrap-table"></table>
  320. </div>
  321. </div>
  322. </div>
  323. <th:block th:include="include :: footer" />
  324. <script th:inline="javascript">
  325. var editFlag = [[${@permission.hasPermi('scm:supplier:edit')}]];
  326. var removeFlag = [[${@permission.hasPermi('scm:supplier:remove')}]];
  327. var supplierNatureDatas = [[${@dict.getType('supplier_nature')}]];
  328. var supplierScaleDatas = [[${@dict.getType('supplier_scale')}]];
  329. var isMarketDatas = [[${@dict.getType('is_or_no')}]];
  330. var isBrandDatas = [[${@dict.getType('is_or_no')}]];
  331. var isValidDatas = [[${@dict.getType('is_or_no')}]];
  332. var currencyDatas = [[${@dict.getType('currency')}]];
  333. var contributCurrencyDatas = [[${@dict.getType('currency')}]];
  334. var financialIsAccountantDatas = [[${@dict.getType('is_or_no')}]];
  335. var papersTypeDatas = [[${@dict.getType('papers_number')}]];
  336. var prefix = ctx + "scm/supplier";
  337. $(function() {
  338. var options = {
  339. url: prefix + "/list",
  340. createUrl: prefix + "/add",
  341. updateUrl: prefix + "/edit/{id}",
  342. removeUrl: prefix + "/remove",
  343. exportUrl: prefix + "/export",
  344. modalName: "供应商",
  345. columns: [{
  346. checkbox: true
  347. },
  348. {
  349. field: 'zsId',
  350. title: '中盛的id'
  351. },
  352. {
  353. field: 'supplierName',
  354. title: '供应商名称'
  355. },
  356. {
  357. field: 'supplierReName',
  358. title: '供应商简称'
  359. },
  360. {
  361. field: 'address',
  362. title: '供应商地址'
  363. },
  364. {
  365. field: 'detailAddress',
  366. title: '供应商详细地址'
  367. },
  368. {
  369. field: 'logo',
  370. title: 'logo'
  371. },
  372. {
  373. field: 'businessAddress',
  374. title: '省市县'
  375. },
  376. {
  377. field: 'postCode',
  378. title: '邮编'
  379. },
  380. {
  381. field: 'website',
  382. title: '官网网址'
  383. },
  384. {
  385. field: 'supplierPhone',
  386. title: '供应商电话'
  387. },
  388. {
  389. field: 'fax',
  390. title: '传真'
  391. },
  392. {
  393. field: 'supplierMan',
  394. title: '供应商联系人'
  395. },
  396. {
  397. field: 'manPhone',
  398. title: '联系人电话'
  399. },
  400. {
  401. field: 'supplierNature',
  402. title: '供应商性质',
  403. formatter: function(value, row, index) {
  404. return $.table.selectDictLabel(supplierNatureDatas, value);
  405. }
  406. },
  407. {
  408. field: 'supplierBusiness',
  409. title: '供应商行业'
  410. },
  411. {
  412. field: 'supplierScale',
  413. title: '供应商规模',
  414. formatter: function(value, row, index) {
  415. return $.table.selectDictLabel(supplierScaleDatas, value);
  416. }
  417. },
  418. {
  419. field: 'supplierType',
  420. title: '供应商类型'
  421. },
  422. {
  423. field: 'isMarket',
  424. title: '企业是否上市',
  425. formatter: function(value, row, index) {
  426. return $.table.selectDictLabel(isMarketDatas, value);
  427. }
  428. },
  429. {
  430. field: 'isBrand',
  431. title: '是否是品牌商',
  432. formatter: function(value, row, index) {
  433. return $.table.selectDictLabel(isBrandDatas, value);
  434. }
  435. },
  436. {
  437. field: 'supplierDesc',
  438. title: '供应商介绍'
  439. },
  440. {
  441. field: 'supplierCode',
  442. title: '平台供应商标识'
  443. },
  444. {
  445. field: 'registration',
  446. title: '登记机关'
  447. },
  448. {
  449. field: 'establishmentDate',
  450. title: '成立日期'
  451. },
  452. {
  453. field: 'fromDate',
  454. title: '营业有效时间'
  455. },
  456. {
  457. field: 'toDate',
  458. title: '营业有效时间'
  459. },
  460. {
  461. field: 'isValid',
  462. title: '是否长期有效',
  463. formatter: function(value, row, index) {
  464. return $.table.selectDictLabel(isValidDatas, value);
  465. }
  466. },
  467. {
  468. field: 'capital',
  469. title: '注册资本,单位'
  470. },
  471. {
  472. field: 'currency',
  473. title: '币种',
  474. formatter: function(value, row, index) {
  475. return $.table.selectDictLabel(currencyDatas, value);
  476. }
  477. },
  478. {
  479. field: 'businessScope',
  480. title: '营业范围'
  481. },
  482. {
  483. field: 'businessScanFile',
  484. title: '营业执照扫描件,文件类型图片'
  485. },
  486. {
  487. field: 'remark',
  488. title: '备注'
  489. },
  490. {
  491. field: 'employeeNum',
  492. title: '在职员工数量'
  493. },
  494. {
  495. field: 'socialNum',
  496. title: '社保缴纳人数'
  497. },
  498. {
  499. field: 'socialFile',
  500. title: '社保缴纳凭证附件'
  501. },
  502. {
  503. field: 'contributProve',
  504. title: '出资凭证文件类型:jpg/png'
  505. },
  506. {
  507. field: 'contributNum',
  508. title: '出资总额,单位万'
  509. },
  510. {
  511. field: 'contributCurrency',
  512. title: '出资币种',
  513. formatter: function(value, row, index) {
  514. return $.table.selectDictLabel(contributCurrencyDatas, value);
  515. }
  516. },
  517. {
  518. field: 'contributList',
  519. title: '出资人列表'
  520. },
  521. {
  522. field: 'financialAnnualList',
  523. title: '年度报表'
  524. },
  525. {
  526. field: 'financialIsAccountant',
  527. title: '是否经过注册会计师年审',
  528. formatter: function(value, row, index) {
  529. return $.table.selectDictLabel(financialIsAccountantDatas, value);
  530. }
  531. },
  532. {
  533. field: 'financialRemark',
  534. title: '财务备注'
  535. },
  536. {
  537. field: 'financialFile',
  538. title: '财报附件'
  539. },
  540. {
  541. field: 'assetTotal',
  542. title: '资产总额'
  543. },
  544. {
  545. field: 'debtInvestTotal',
  546. title: '对外投资总额单位万'
  547. },
  548. {
  549. field: 'debtEquityTotal',
  550. title: '所有者权益合计'
  551. },
  552. {
  553. field: 'debtTotal',
  554. title: '负债总额单位万'
  555. },
  556. {
  557. field: 'capitalTotal',
  558. title: '实收资本单位万'
  559. },
  560. {
  561. field: 'debtRate',
  562. title: '负债率统计,系统换算'
  563. },
  564. {
  565. field: 'operatingReceipt',
  566. title: '营业收入,单位万'
  567. },
  568. {
  569. field: 'salesTax',
  570. title: '销售税金及附加,单位万'
  571. },
  572. {
  573. field: 'salesTotal',
  574. title: '利润总额,单位万'
  575. },
  576. {
  577. field: 'incomeTax',
  578. title: '所得税,单位万'
  579. },
  580. {
  581. field: 'profitTotal',
  582. title: '净利润,单位万'
  583. },
  584. {
  585. field: 'salesProfitTotal',
  586. title: '销售利润所得率,单位换算'
  587. },
  588. {
  589. field: 'headerName',
  590. title: '姓名'
  591. },
  592. {
  593. field: 'type',
  594. title: '类型'
  595. },
  596. {
  597. field: 'jobType',
  598. title: '职务'
  599. },
  600. {
  601. field: 'papersType',
  602. title: '证件类型',
  603. formatter: function(value, row, index) {
  604. return $.table.selectDictLabel(papersTypeDatas, value);
  605. }
  606. },
  607. {
  608. field: 'papersNumber',
  609. title: '证件号码'
  610. },
  611. {
  612. field: 'headPhone',
  613. title: '手机号码'
  614. },
  615. {
  616. field: 'headerPhone',
  617. title: '座机号码'
  618. },
  619. {
  620. field: 'headerMail',
  621. title: '电子邮箱'
  622. },
  623. {
  624. field: 'headerAddress',
  625. title: '人员地址'
  626. },
  627. {
  628. field: 'headerPostCode',
  629. title: '人员邮编'
  630. },
  631. {
  632. field: 'prosPicture',
  633. title: '正面盖章图片'
  634. },
  635. {
  636. field: 'consPicture',
  637. title: '反面盖章图片'
  638. },
  639. {
  640. field: 'status',
  641. title: '上下架情况'
  642. },
  643. {
  644. field: 'refuseMsg',
  645. title: '上架申请拒绝原因'
  646. },
  647. {
  648. field: 'soldOutMsg',
  649. title: '下架申请原因'
  650. },
  651. {
  652. field: 'putawayTime',
  653. title: '上架申请时间'
  654. },
  655. {
  656. field: 'startTime',
  657. title: '上架时间'
  658. },
  659. {
  660. field: 'endTime',
  661. title: '下架时间'
  662. },
  663. {
  664. title: '操作',
  665. align: 'center',
  666. formatter: function(value, row, index) {
  667. var actions = [];
  668. actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
  669. actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
  670. return actions.join('');
  671. }
  672. }]
  673. };
  674. $.table.init(options);
  675. });
  676. </script>
  677. </body>
  678. </html>