salesDeliveryReportList.vue 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472
  1. //销售出库报表
  2. <template>
  3. <div class="container">
  4. <el-scrollbar style="height: 100%">
  5. <el-row>
  6. <el-col style="padding-left: 15px" :span="16">
  7. <ws-button
  8. :type="searchType == 1 ? 'primary' : ''"
  9. @click="handlestatus(1)"
  10. >待审核</ws-button
  11. >
  12. <ws-button
  13. :type="searchType == 2 ? 'primary' : ''"
  14. @click="handlestatus(2)"
  15. >待结算</ws-button
  16. >
  17. <ws-button
  18. :type="searchType == 3 ? 'primary' : ''"
  19. @click="handlestatus(3)"
  20. >已结算</ws-button
  21. >
  22. <ws-button
  23. :type="searchType == '' ? 'primary' : ''"
  24. @click="handlestatus('')"
  25. >全部</ws-button
  26. >
  27. <ws-button
  28. type="primary"
  29. v-hasPermission="`report.saleOutReport.view`"
  30. @click="handlepass()"
  31. >通过</ws-button
  32. >
  33. <ws-button
  34. type="primary"
  35. v-hasPermission="`report.saleOutReport.view`"
  36. @click="handlereject()"
  37. >驳回</ws-button
  38. >
  39. <ws-button
  40. type="primary"
  41. v-hasPermission="`report.saleOutReport.payment`"
  42. @click="handlecollect()"
  43. >收款</ws-button
  44. >
  45. <ws-button
  46. type="primary"
  47. v-hasPermission="`report.saleOutReport.draw`"
  48. @click="handleninvoice()"
  49. >开发票</ws-button
  50. >
  51. <ws-button
  52. type="primary"
  53. v-hasPermission="`report.saleOutReport.carry`"
  54. @click="amend()"
  55. >最终结算价</ws-button
  56. >
  57. </el-col>
  58. <el-col
  59. style="text-align: right; line-height: 60px; padding-right: 10px"
  60. :span="8"
  61. >
  62. <el-select
  63. v-model="contractNo"
  64. placeholder="请选择合同"
  65. clearable
  66. filterable
  67. :filter-method="dataFilter"
  68. @change="contractchange"
  69. maxlength="500"
  70. type="input"
  71. class="findValue"
  72. >
  73. <el-option
  74. v-if="item.reportStatus"
  75. v-for="item in options"
  76. :key="item.constKey"
  77. :label="item.contractNo + '(' + item.reportStatus + ')'"
  78. :value="item.contractNo"
  79. />
  80. <el-option
  81. v-if="!item.reportStatus"
  82. v-for="item in options"
  83. :key="item.constKey"
  84. :label="item.contractNo"
  85. :value="item.contractNo"
  86. />
  87. </el-select>
  88. </el-col>
  89. </el-row>
  90. <div v-if="contractNo != ''">
  91. <span v-if="orderList.transactionsNumber"
  92. >合同重量: {{ orderList.transactionsNumber }} 吨</span
  93. >
  94. <span v-else>合同重量: 0 吨</span>
  95. <span v-if="orderList.cumulativeTurnover"
  96. >成交量: {{ orderList.cumulativeTurnover }} 吨</span
  97. >
  98. <span v-else>成交量: 0 吨</span>
  99. <span v-if="orderList.closedPosition"
  100. >已平仓: {{ orderList.closedPosition }} 吨</span
  101. >
  102. <span v-else>已平仓: 0 吨</span>
  103. <span v-if="orderList.stockOutQuantity"
  104. >出库量: {{ orderList.stockOutQuantity }} 吨</span
  105. >
  106. <span v-else>出库量: 0 吨</span>
  107. </div>
  108. <el-table
  109. class="wenzi"
  110. :data="warehouseList.records"
  111. style="width: 100%; margin-top: 20px"
  112. ref="warehouseList"
  113. border
  114. :summary-method="getSummaries"
  115. show-summary
  116. @row-click="handleRowClick"
  117. @selection-change="handleSelectionChange"
  118. >
  119. <el-table-column
  120. :selectable="selectInit"
  121. type="selection"
  122. width="55"
  123. ></el-table-column>
  124. <el-table-column type="index" label="序号" width="50"></el-table-column>
  125. <el-table-column
  126. class="table_td"
  127. prop="contractNo"
  128. width="120"
  129. label="合同编号"
  130. ></el-table-column>
  131. <el-table-column
  132. class="table_td"
  133. prop="goodsName"
  134. label="货名"
  135. ></el-table-column>
  136. <el-table-column
  137. class="table_td"
  138. prop="positionNumber"
  139. label="仓位号"
  140. ></el-table-column>
  141. <el-table-column class="table_td" prop="carNo" label="车牌号" width="140">
  142. <template slot-scope="scope">
  143. {{ scope.row.carNo }}({{ scope.row.tranCarNo }})
  144. </template>
  145. </el-table-column>
  146. <el-table-column
  147. class="table_td"
  148. prop="retrievalDate"
  149. width="100"
  150. label="出库日期"
  151. ></el-table-column>
  152. <el-table-column
  153. width="100"
  154. class="table_td"
  155. prop="protein"
  156. label="蛋白(%)>="
  157. ></el-table-column>
  158. <el-table-column
  159. width="100"
  160. class="table_td"
  161. prop="waterContent"
  162. label="水分(%)<="
  163. ></el-table-column>
  164. <el-table-column
  165. width="100"
  166. class="table_td"
  167. prop="unitPrice"
  168. label="单价(元/吨)"
  169. ></el-table-column>
  170. <el-table-column
  171. width="100"
  172. class="table_td"
  173. prop="basisPrice"
  174. label="基差(元/吨)"
  175. ></el-table-column>
  176. <el-table-column
  177. width="100"
  178. class="table_td"
  179. prop="invoiceFee"
  180. label="发票费(元/吨)"
  181. ></el-table-column>
  182. <el-table-column
  183. width="120"
  184. class="table_td"
  185. prop="settlementPrice"
  186. label="结算单价(元/吨)"
  187. ></el-table-column>
  188. <el-table-column
  189. class="table_td"
  190. prop="netWeight"
  191. label="净重(吨)"
  192. ></el-table-column>
  193. <el-table-column
  194. width="100"
  195. class="table_td"
  196. label="应收金额(元)"
  197. prop="collectionIngPayable"
  198. ></el-table-column>
  199. <el-table-column
  200. width="100"
  201. class="table_td"
  202. label="已收金额(元)"
  203. prop="collectionEdPayable"
  204. ></el-table-column>
  205. <el-table-column
  206. width="100"
  207. class="table_td"
  208. label="未收金额(元)"
  209. prop="collectionNotPayable"
  210. ></el-table-column>
  211. <el-table-column
  212. class="table_td"
  213. label="收款日期"
  214. prop="collectionDate"
  215. ></el-table-column>
  216. <el-table-column
  217. class="table_td"
  218. label="客户确认"
  219. prop="customerConfirmationStatus"
  220. ></el-table-column>
  221. <el-table-column
  222. class="table_td"
  223. label="客户"
  224. prop="customerName"
  225. ></el-table-column>
  226. <el-table-column
  227. class="table_td"
  228. label="库点"
  229. prop="warehouseName"
  230. ></el-table-column>
  231. <el-table-column
  232. width="100"
  233. class="table_td"
  234. label="已开发票(元)"
  235. prop="alreadyInvoice"
  236. >
  237. <template slot-scope="scope">
  238. {{ scope.row.alreadyInvoice }}
  239. <img
  240. v-if="
  241. scope.row.collectionEdPayable > 0
  242. "
  243. width="17"
  244. height="18"
  245. style="vertical-align: text-top; position: relative; top: -1px"
  246. src="../../../public/img/edit.png"
  247. @click="editClickInvoice(scope.row)"
  248. alt=""
  249. /> </template
  250. ></el-table-column>
  251. <el-table-column label="状态" prop="status">
  252. <template slot-scope="scope">
  253. <span v-if="scope.row.approveStatus != null">{{
  254. scope.row.approveStatus
  255. }}</span>
  256. <span v-else>{{ scope.row.status }}</span>
  257. </template>
  258. </el-table-column>
  259. </el-table>
  260. <!-- 页数 -->
  261. <el-pagination
  262. @size-change="handleSizeChange"
  263. @current-change="handleCurrentChange"
  264. :current-page="currentPage"
  265. :page-size="pageSize"
  266. layout="total, sizes, prev, pager, next, jumper"
  267. :total="deptBudgetTotal"
  268. ></el-pagination>
  269. </el-scrollbar>
  270. <!-- 收款 -->
  271. <el-dialog
  272. width="25%"
  273. title="收款"
  274. :visible.sync="dialogFormVisible1"
  275. :append-to-body="true"
  276. >
  277. <el-form :model="form">
  278. <el-form-item label="未收金额(元)" :label-width="formLabelWidth">
  279. <span>{{ collectionNotPayable }}</span>
  280. <!-- <el-input v-model="form.region" autocomplete="off" class="deal"></el-input> -->
  281. </el-form-item>
  282. <el-form-item label="本次收款金额" :label-width="formLabelWidth">
  283. <el-input
  284. v-model="money"
  285. autocomplete="off"
  286. placeholder="请输入本次收款金额"
  287. class="deal"
  288. ></el-input>
  289. </el-form-item>
  290. <el-form-item
  291. label="收款日期"
  292. prop="collectionDate"
  293. :label-width="formLabelWidth"
  294. class="deal"
  295. >
  296. <ws-date-picker
  297. v-model="deptBudgetList.collectionDate"
  298. type="date"
  299. placeholder="请选择收款日期"
  300. value-format="yyyy-MM-dd"
  301. class="deal"
  302. />
  303. </el-form-item>
  304. <el-form-item label="上传收款截图" :label-width="formLabelWidth">
  305. <el-upload
  306. action="https://www.zthymaoyi.com/upload/admin"
  307. list-type="picture-card"
  308. :on-success="handlePictureCardPreview"
  309. :on-remove="handleRemove"
  310. class="photo2"
  311. >
  312. <i class="el-icon-plus"></i>
  313. </el-upload>
  314. </el-form-item>
  315. </el-form>
  316. <div slot="footer" class="dialog-footer">
  317. <el-button @click="dialogFormVisible1 = false">取 消</el-button>
  318. <el-button type="primary" @click="collectment">提 交</el-button>
  319. </div>
  320. </el-dialog>
  321. <!-- 批量开发票 -->
  322. <el-dialog
  323. width="30%"
  324. title="批量开发票"
  325. :visible.sync="dialogFormVisible2"
  326. :append-to-body="true"
  327. >
  328. <el-form :model="form">
  329. <el-form-item label="发票金额(元)" :label-width="formLabelWidth">
  330. <span>{{ collectionEdPayable }}</span>
  331. </el-form-item>
  332. </el-form>
  333. <div slot="footer" class="dialog-footer">
  334. <el-button @click="dialogFormVisible2 = false">取 消</el-button>
  335. <el-button type="primary" @click="submitBatchInvoice()"
  336. >提 交</el-button
  337. >
  338. </div>
  339. </el-dialog>
  340. <!-- 开发票 -->
  341. <el-dialog
  342. width="30%"
  343. title="开发票"
  344. :visible.sync="dialogFormVisible3"
  345. :append-to-body="true"
  346. >
  347. <el-form :model="form">
  348. <el-form-item label="可开发票金额(元)" :label-width="formLabelWidth">
  349. <span>{{ collectionEdPayable }}</span>
  350. </el-form-item>
  351. <el-form-item label="实际发票金额(元)" :label-width="formLabelWidth">
  352. <el-input
  353. v-model="alreadyInvoice"
  354. autocomplete="off"
  355. class="deal"
  356. placeholder="请输入本次收款金额"
  357. ></el-input>
  358. </el-form-item>
  359. </el-form>
  360. <div slot="footer" class="dialog-footer">
  361. <el-button @click="dialogFormVisible3 = false">取 消</el-button>
  362. <el-button type="primary" @click="submitInvoice()">提 交</el-button>
  363. </div>
  364. </el-dialog>
  365. <!-- 最终结算价 -->
  366. <el-dialog
  367. width="30%"
  368. title="最终结算价"
  369. :visible.sync="dialogFormVisible5"
  370. :append-to-body="true"
  371. >
  372. <el-form :rules="rules">
  373. <el-form-item label="单价" :label-width="formLabelWidth">
  374. <el-input
  375. @input="getprice"
  376. v-model="amendlist.unitPrice"
  377. autocomplete="off"
  378. class="deal"
  379. ></el-input>
  380. </el-form-item>
  381. <el-form-item label="基差" :label-width="formLabelWidth">
  382. <el-input
  383. @input="getbasis"
  384. v-model="amendlist.basisPrice"
  385. autocomplete="off"
  386. class="deal"
  387. ></el-input>
  388. </el-form-item>
  389. <el-form-item label="发票费" :label-width="formLabelWidth">
  390. <el-input
  391. @input="getinvoice"
  392. v-model="amendlist.invoiceFee"
  393. autocomplete="off"
  394. class="deal"
  395. ></el-input>
  396. </el-form-item>
  397. <el-form-item label="最终结算价" :label-width="formLabelWidth">
  398. <el-input
  399. readonly="readonly"
  400. v-model="amendlist.settlementPrice"
  401. autocomplete="off"
  402. class="deal"
  403. placeholder="不可编辑,自动计算"
  404. ></el-input>
  405. </el-form-item>
  406. </el-form>
  407. <div slot="footer" class="dialog-footer">
  408. <el-button @click="dialogFormVisible5 = false">取 消</el-button>
  409. <el-button type="primary" @click="amendconfirm">提 交</el-button>
  410. </div>
  411. </el-dialog>
  412. </div>
  413. <!-- </div> -->
  414. </template>
  415. <script>
  416. import {
  417. salelist,
  418. getsaleoutcontractno,
  419. finalsettlementprice,
  420. issueapproval,
  421. getsaleorder,
  422. cashierpayment,
  423. salesinvoicing,
  424. salesbatchinvoicing,
  425. } from '@/model/statisticalReport/index'
  426. import { posthandle } from '@/model/purchasingManagement/index'
  427. import { downloadFile } from '@/utils/batchDown'
  428. import Pagination from '@/components/Pagination'
  429. import WsUpload from '@/components/WsUpload'
  430. import { dayjs, fmoney, EventBus } from 'base-core-lib'
  431. export default {
  432. name: 'viewSpareMoney',
  433. components: {
  434. WsUpload,
  435. Pagination,
  436. },
  437. watch: {
  438. vesselId(val) {
  439. this.getList()
  440. },
  441. isShow(val) {
  442. this.showType = val
  443. },
  444. },
  445. data() {
  446. return {
  447. checked: true,
  448. dialogFormVisible1: false,
  449. dialogFormVisible2: false,
  450. dialogFormVisible3: false,
  451. dialogFormVisible4: false,
  452. dialogFormVisible5: false,
  453. dialogFormVisible6: false,
  454. dialogFormVisible7: false,
  455. dialogFormVisible8: false,
  456. dialogVisible: false,
  457. collectionEdPayable: 0,
  458. collectionNotPayable: 0,
  459. alreadyInvoice: 0,
  460. form: {
  461. transactionPrice: '',
  462. transactionsNumber: '',
  463. basis: '',
  464. submissionDate: '',
  465. // delivery: false,
  466. // type: [],
  467. // resource: '',
  468. // desc: ''
  469. },
  470. currect: true,
  471. formLabelWidth: '120px',
  472. barWidth: 0,
  473. barHeight: 0,
  474. retioX: 1,
  475. ratioY: 1,
  476. orderList: {},
  477. isTaped: false,
  478. isHover: false,
  479. isShow: !this.autohide,
  480. //弹出框
  481. dialogViewSpareMoney: false,
  482. contractNoList: [],
  483. // 是否显示
  484. showType: true,
  485. // 年
  486. year: '',
  487. pickerOptions: {},
  488. value2: '',
  489. deptBudgetTotal: 0,
  490. currentPage: 1,
  491. tranTypeKey: 1,
  492. collectmoney: 0,
  493. pageSize: 10,
  494. searchType: '1',
  495. searchTypeText: '未完成',
  496. searchKeyWord: '',
  497. contractType: 2,
  498. enter: {
  499. closePositionList: [],
  500. },
  501. // 提交类型
  502. submitType: true,
  503. size: 10,
  504. spanArr: [],
  505. contractNo: '全部合同',
  506. inOutTaskNo: '',
  507. options:[],
  508. compId: sessionStorage.getItem('ws-pf_compId'),
  509. deptCircularPage: {},
  510. warehouseList: [],
  511. deptBudgetList: {},
  512. rules: {
  513. settlementPrice: [
  514. {
  515. required: true,
  516. type: 'number',
  517. trigger: 'blur',
  518. },
  519. ],
  520. },
  521. pcFlag: 1,
  522. modification: [],
  523. amendlist: {},
  524. money: '',
  525. roleFlag: 1,
  526. roleId: sessionStorage.getItem('ws-pf_roleId'),
  527. collectionScreenshot: '',
  528. salesDeliveryReportList: [],
  529. salesDeliveryReport: {
  530. salesDeliveryReportList: [],
  531. money: '',
  532. collectionEdPayable: 0,
  533. collectionNotPayable: 0,
  534. collectionDate: '',
  535. id: '',
  536. invoiceType: '',
  537. },
  538. historyList: [],
  539. collectionScreenshotUrls: [],
  540. pickerBeginDateBefore: {
  541. disabledDate: (time) => {
  542. return time.getTime() > Date.now()
  543. },
  544. },
  545. accessoryTFs: false,
  546. }
  547. },
  548. activated() {
  549. // this.loaddata()
  550. console.log(1111)
  551. this.getList()
  552. this.showType = this.isShow
  553. },
  554. // computed:{
  555. // sum:function(){
  556. // this.amendlist.settlementPrice = Number(
  557. // this.amendlist.unitPrice )+ Number(this.amendlist.basisPrice )+ Number(this.amendlist.invoiceFee)
  558. // }
  559. // },
  560. methods: {
  561. dataFilter(val) {
  562. // console.log(val,"名")
  563. this.contractNo = val
  564. if (val) {
  565. //val存在
  566. this.options = this.contractNoList.filter(item => {
  567. if (
  568. !!~item.contractNo.indexOf(val) ||
  569. !!~item.contractNo.toUpperCase().indexOf(val.toUpperCase())
  570. ) {
  571. return true
  572. }
  573. })
  574. } else {
  575. //val为空时,还原数组
  576. this.options = this.contractNoList
  577. }
  578. },
  579. handleRowClick(row) {
  580. if (row.approveStatus == null) {
  581. this.$refs.warehouseList.toggleRowSelection(row)
  582. return true
  583. } else if (row.approveStatus != null) {
  584. if (row.taskId == null) {
  585. return false
  586. } else {
  587. this.$refs.warehouseList.toggleRowSelection(row)
  588. return true
  589. }
  590. }
  591. },
  592. selectInit(row) {
  593. //在这里一定要记得类型匹配的上。
  594. if (row.approveStatus == null) {
  595. return true
  596. } else if (row.approveStatus != null) {
  597. if (row.taskId == null) {
  598. return false
  599. } else {
  600. return true
  601. }
  602. }
  603. },
  604. audit(item, index, status, status2, reason) {
  605. if (index < this.modification.length) {
  606. posthandle({
  607. taskId: item.taskId,
  608. approved: status,
  609. auditMind: reason != undefined ? '已驳回' : '34',
  610. needReapply: status2 != undefined ? true : false,
  611. })
  612. .toPromise()
  613. .then((response) => {
  614. this.audit(this.modification[index + 1], index + 1, status)
  615. })
  616. .catch((req) => {
  617. this.$message.warning(req.message)
  618. })
  619. } else {
  620. if (status) {
  621. this.$message.success('通过成功')
  622. this.getList()
  623. } else if (!status) {
  624. issueapproval({
  625. flag: 2,
  626. purchaseReceiptReportList: this.modification,
  627. })
  628. .toPromise()
  629. .then((response) => {
  630. this.$message.success('驳回成功')
  631. this.getList()
  632. })
  633. .catch((req) => {
  634. this.$message.success('驳回失败')
  635. })
  636. }
  637. }
  638. },
  639. handlereject(status) {
  640. var that = this
  641. if (this.modification.length == 0) {
  642. this.$message.warning('请选择要驳回的条目')
  643. } else {
  644. this.$confirm(`是否确定驳回?`, {
  645. cancelButtonText: '取消',
  646. confirmButtonText: '确定',
  647. type: 'warning',
  648. }).then(() => {
  649. that.audit(this.modification[0], 0, false, true, '已驳回')
  650. // issueapproval({roleFlag:status,flag:2,salesDeliveryReportList:this.modification}).toPromise()
  651. // .then(response => {
  652. // this.$message.success('驳回成功')
  653. // this.getList()
  654. // }).catch(req => {
  655. // this.$message.success('驳回失败')
  656. // })
  657. })
  658. }
  659. },
  660. handlepass() {
  661. var that = this
  662. if (this.modification.length == 0) {
  663. this.$message.warning('请选择要通过的条目')
  664. } else {
  665. this.$confirm(`是否确定通过?`, {
  666. cancelButtonText: '取消',
  667. confirmButtonText: '确定',
  668. type: 'warning',
  669. }).then(() => {
  670. // issueapproval({roleFlag:2,flag:1,salesDeliveryReportList:this.modification}).toPromise()
  671. // .then(response => {
  672. // this.$message.success('通过成功')
  673. // this.getList()
  674. // }).catch(req => {
  675. // this.$message.success('通过失败')
  676. // })
  677. that.audit(this.modification[0], 0, true)
  678. })
  679. }
  680. },
  681. //最终结算价
  682. amendconfirm() {
  683. this.amendlist.id = this.modification[0].id
  684. finalsettlementprice(this.amendlist)
  685. .toPromise()
  686. .then((response) => {
  687. this.$message.success('修改成功')
  688. this.dialogFormVisible5 = false
  689. this.getList()
  690. })
  691. },
  692. handleSelectionChange(val) {
  693. this.modification = val
  694. },
  695. handlestatus(status) {
  696. this.searchType = status
  697. this.getList()
  698. },
  699. contractchange(e) {
  700. this.contractNo = e
  701. getsaleorder({
  702. contractNo: this.contractNo,
  703. })
  704. .toPromise()
  705. .then((response) => {
  706. if (response != null) {
  707. this.orderList = response
  708. }
  709. })
  710. this.getList()
  711. },
  712. updated() {
  713. this.$nextTick(() => {
  714. this.$refs.warehouseList.doLayout()
  715. })
  716. },
  717. //合计
  718. getSummaries(param) {
  719. const { columns, data } = param
  720. const sums = []
  721. columns.forEach((column, index) => {
  722. if (index === 0) {
  723. sums[index] = '合计'
  724. } else if (
  725. index === 13 ||
  726. index === 14 ||
  727. index === 15 ||
  728. index === 16 ||
  729. index === 21
  730. ) {
  731. const values = data.map((item) => Number(item[column.property]))
  732. if (!values.every((value) => isNaN(value))) {
  733. sums[index] = values.reduce((prev, curr) => {
  734. const value = Number(curr)
  735. if (!isNaN(value)) {
  736. return prev + curr
  737. } else {
  738. return prev
  739. }
  740. }, 0)
  741. } else {
  742. sums[index] = '元'
  743. }
  744. } else {
  745. sums[index] = '--'
  746. }
  747. })
  748. return sums
  749. },
  750. handlecollect() {
  751. this.collectionNotPayable = 0
  752. if (this.modification.length == 0) {
  753. this.$message.warning('请选择一条要收款的条目')
  754. } else {
  755. for (var i = 0; i < this.modification.length; i++) {
  756. if (
  757. this.modification[i].status != '已通过' &&
  758. this.modification[i].status != '部分收款'
  759. ) {
  760. this.$message.warning('只有已通过或部分收款的条目才可进行收款操作')
  761. return
  762. }
  763. this.collectionNotPayable += this.modification[i].collectionNotPayable
  764. }
  765. this.dialogFormVisible1 = true
  766. }
  767. },
  768. //收款
  769. collectment() {
  770. this.salesDeliveryReport.money = this.money
  771. this.salesDeliveryReport.collectionDate = this.collectionDate
  772. if (this.modification.length == 0) {
  773. this.$message.warning('请选择一条要收款的条目')
  774. } else {
  775. if (
  776. this.money < 0 ||
  777. (String(this.money).indexOf('.') != -1 &&
  778. String(this.money).length - (String(this.money).indexOf('.') + 1) >
  779. 2)
  780. ) {
  781. this.$message({
  782. message: '收款金额输入错误',
  783. type: 'warning',
  784. })
  785. return
  786. }
  787. if (this.money) {
  788. if (isNaN(this.money)) {
  789. this.$message({
  790. message: '收款金额非数字!',
  791. type: 'warning',
  792. })
  793. return
  794. }
  795. }
  796. if (!this.money) {
  797. this.$message({
  798. message: '收款金额不能为空!',
  799. type: 'warning',
  800. })
  801. return
  802. }
  803. if (this.money > this.modification[0].collectionNotPayable) {
  804. this.$message({
  805. message: '收款金额不能大于未收金额!',
  806. type: 'warning',
  807. })
  808. return
  809. }
  810. this.$confirm(`确定提交收款信息?`, {
  811. cancelButtonText: '取消',
  812. confirmButtonText: '确定',
  813. type: 'warning',
  814. }).then(() => {
  815. cashierpayment({
  816. salesDeliveryReportList: this.modification,
  817. collectionEdPayable: this.modification[0].collectionEdPayable,
  818. collectionNotPayable: this.modification[0].collectionNotPayable,
  819. money: this.money,
  820. collectionDate: this.collectionDate,
  821. collectionScreenshot: this.collectionScreenshot,
  822. })
  823. .toPromise()
  824. .then((response) => {
  825. this.$notify.success({
  826. title: '成功',
  827. message: '收款成功',
  828. })
  829. this.salesDeliveryReportList = {}
  830. this.money = ''
  831. this.collectionDate = ''
  832. this.collectionScreenshot=''
  833. this.dialogFormVisible1 = false
  834. this.getList()
  835. })
  836. .catch((response) => {
  837. console.log(response)
  838. EventBus.$emit('error', response.message)
  839. })
  840. })
  841. }
  842. },
  843. //批量开发票
  844. handleninvoice() {
  845. this.collectionEdPayable = 0
  846. for (var i = 0; i < this.modification.length; i++) {
  847. this.collectionEdPayable += this.modification[i].collectionEdPayable
  848. }
  849. this.dialogFormVisible2 = true
  850. },
  851. submitBatchInvoice() {
  852. if (this.modification.length == 0) {
  853. this.$message.warning('请选择一条要开发票的条目')
  854. } else if (this.modification[0].collectionEdPayable < 0) {
  855. this.$message.warning('请选择一条已收款的条目')
  856. } else {
  857. this.$confirm(`确定提交发票信息?`, {
  858. cancelButtonText: '取消',
  859. confirmButtonText: '确定',
  860. type: 'warning',
  861. }).then(() => {
  862. salesbatchinvoicing({
  863. salesDeliveryReportList: this.modification,
  864. })
  865. .toPromise()
  866. .then((response) => {
  867. this.$notify.success({
  868. title: '成功',
  869. message: '提交成功',
  870. })
  871. this.dialogFormVisible2 = false
  872. this.getList()
  873. })
  874. .catch((response) => {
  875. console.log(response)
  876. EventBus.$emit('error', response.message)
  877. })
  878. })
  879. }
  880. },
  881. //开发票
  882. editClickInvoice(row) {
  883. this.id = row.id
  884. this.alreadyInvoice1 = row.alreadyInvoice
  885. this.amountEdPayable = row.amountEdPayable
  886. this.amountNotPayable = row.amountNotPayable
  887. this.dialogFormVisible3 = 'true'
  888. },
  889. submitInvoice() {
  890. if (this.collectionEdPayable < 0) {
  891. this.$message.warning('请选择一条已付款的条目')
  892. } else {
  893. if (
  894. this.alreadyInvoice < 0 ||
  895. this.alreadyInvoice >
  896. this.collectionEdPayable - this.alreadyInvoice1 ||
  897. (String(this.alreadyInvoice).indexOf('.') != -1 &&
  898. String(this.alreadyInvoice).length -
  899. (String(this.alreadyInvoice).indexOf('.') + 1) >
  900. 2)
  901. ) {
  902. this.$message({
  903. message: '金额输入错误',
  904. type: 'warning',
  905. })
  906. return
  907. }
  908. if (this.alreadyInvoice) {
  909. if (isNaN(this.alreadyInvoice)) {
  910. this.$message({
  911. message: '金额非数字!',
  912. type: 'warning',
  913. })
  914. return
  915. }
  916. }
  917. if (!this.alreadyInvoice) {
  918. this.$message({
  919. message: '金额不能为空!',
  920. type: 'warning',
  921. })
  922. return
  923. }
  924. this.$confirm(`确定提交发票信息?`, {
  925. cancelButtonText: '取消',
  926. confirmButtonText: '确定',
  927. type: 'warning',
  928. }).then(() => {
  929. salesinvoicing({
  930. id: this.id,
  931. invoiceType: this.invoiceType,
  932. alreadyInvoice: this.alreadyInvoice,
  933. collectionEdPayable: this.collectionEdPayable,
  934. collectionNotPayable: this.collectionNotPayable,
  935. })
  936. .toPromise()
  937. .then((response) => {
  938. this.$notify.success({
  939. title: '成功',
  940. message: '提交成功',
  941. })
  942. this.dialogFormVisible3 = false
  943. this.getList()
  944. })
  945. .catch((response) => {
  946. console.log(response)
  947. EventBus.$emit('error', response.message)
  948. })
  949. })
  950. }
  951. },
  952. //列表
  953. getList() {
  954. // if(this.roleId=='4c2d50d8ff2943c1b7a1e947feefe048'){
  955. // this.roleFlag=1
  956. // }else if(this.roleId=='cca3cf0ca2814d1e918f5b0a4380fe69'){
  957. // this.roleFlag=2
  958. // }else if(this.roleId=='9ad8abb997714ef29068f23c2ad3b125'){
  959. // this.roleFlag=3
  960. // }else if(this.roleId=='3d7b9179552b4c3e9c2d7af43962e2e4'){
  961. // this.roleFlag=4
  962. // }else if(this.roleId=="4ef070439cd64784bce8844fd3f0f8e1"){
  963. // this.roleFlag=''
  964. // }
  965. salelist({
  966. compId: sessionStorage.getItem('ws-pf_compId'),
  967. currentPage: this.currentPage,
  968. pageSize: this.pageSize,
  969. searchType: this.searchType,
  970. contractNo: this.contractNo,
  971. // roleFlag:this.roleFlag
  972. })
  973. .toPromise()
  974. .then((response) => {
  975. for (var i = 0; i < response.records.length; i++) {
  976. response.records[i].settlementPrice =
  977. response.records[i].unitPrice +
  978. response.records[i].basisPrice +
  979. response.records[i].invoiceFee
  980. }
  981. this.deptBudgetTotal = response.total
  982. this.warehouseList = response
  983. })
  984. getsaleoutcontractno({
  985. compId: sessionStorage.getItem('ws-pf_compId'),
  986. currentPage: this.currentPage,
  987. pageSize: this.pageSize,
  988. roleFlag: this.roleFlag,
  989. })
  990. .toPromise()
  991. .then((response) => {
  992. this.contractNoList = response
  993. this.contractNoList.unshift({contractNo:'全部合同'})
  994. this.options=this.contractNoList
  995. })
  996. },
  997. //最终结算价
  998. amend() {
  999. if (this.modification.length == 0) {
  1000. this.$message.warning('请选择一条要修改最终结算价的条目')
  1001. } else {
  1002. this.dialogFormVisible5 = true
  1003. }
  1004. },
  1005. getprice(e) {
  1006. if (
  1007. this.amendlist.unitPrice &&
  1008. this.amendlist.basisPrice &&
  1009. this.amendlist.invoiceFee
  1010. ) {
  1011. this.amendlist.settlementPrice =
  1012. Number(this.amendlist.unitPrice) +
  1013. Number(this.amendlist.basisPrice) +
  1014. Number(this.amendlist.invoiceFee)
  1015. }
  1016. },
  1017. getbasis(e) {
  1018. console.log(e)
  1019. if (
  1020. this.amendlist.unitPrice &&
  1021. this.amendlist.basisPrice &&
  1022. this.amendlist.invoiceFee
  1023. ) {
  1024. this.amendlist.settlementPrice =
  1025. Number(this.amendlist.unitPrice) +
  1026. Number(this.amendlist.basisPrice) +
  1027. Number(this.amendlist.invoiceFee)
  1028. }
  1029. },
  1030. getinvoice(e) {
  1031. if (
  1032. this.amendlist.unitPrice &&
  1033. this.amendlist.basisPrice &&
  1034. this.amendlist.invoiceFee
  1035. ) {
  1036. this.amendlist.settlementPrice =
  1037. Number(this.amendlist.unitPrice) +
  1038. Number(this.amendlist.basisPrice) +
  1039. Number(this.amendlist.invoiceFee)
  1040. }
  1041. },
  1042. handleRemove(file) {
  1043. console.log(file)
  1044. },
  1045. handlePictureCardPreview(file) {
  1046. this.collectionScreenshot = file.url
  1047. },
  1048. handleDownload(file) {
  1049. console.log(file)
  1050. },
  1051. getSpanArr(data) {
  1052. let that = this
  1053. //页面展示的数据,不一定是全部的数据,所以每次都清空之前存储的 保证遍历的数据是最新的数据。以免造成数据渲染混乱
  1054. that.spanArr = []
  1055. that.pos = 0
  1056. // //遍历数据
  1057. data.forEach((item, index) => {
  1058. //判断是否是第一项
  1059. if (index === 0) {
  1060. this.spanArr.push(1)
  1061. this.pos = 0
  1062. } else {
  1063. //不是第一项时,就根据标识去存储
  1064. if (data[index].warehouseNumViewList.length > 1) {
  1065. 查找到符合条件的数据时每次要把之前存储的数据 + 1
  1066. this.spanArr[this.pos] = data[index].warehouseNumViewList.length
  1067. this.spanArr.push(0)
  1068. } else {
  1069. // 没有符合的数据时,要记住当前的index
  1070. this.spanArr.push(1)
  1071. this.pos = index
  1072. }
  1073. }
  1074. })
  1075. },
  1076. //查看
  1077. handleLook(row) {
  1078. this.$router.push({
  1079. path: 'warehouseManagementPutOutLook',
  1080. query: {
  1081. relevanceId: row.relevanceId,
  1082. },
  1083. })
  1084. },
  1085. //返回
  1086. revert() {
  1087. this.$router.push({ path: 'warehouseManagementList' })
  1088. },
  1089. dateFormat(fmt, date) {
  1090. let ret
  1091. const opt = {
  1092. 'Y+': date.getFullYear().toString(), // 年
  1093. 'm+': (date.getMonth() + 1).toString(), // 月
  1094. 'd+': date.getDate().toString(), // 日
  1095. 'H+': date.getHours().toString(), // 时
  1096. // "M+": date.getMinutes().toString(), // 分
  1097. // "S+": date.getSeconds().toString() // 秒
  1098. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  1099. }
  1100. for (let k in opt) {
  1101. ret = new RegExp('(' + k + ')').exec(fmt)
  1102. if (ret) {
  1103. fmt = fmt.replace(
  1104. ret[1],
  1105. ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, '0')
  1106. )
  1107. }
  1108. }
  1109. return fmt
  1110. },
  1111. handleClose() {
  1112. this.accessoryTFs = false
  1113. },
  1114. handleSizeChange(val) {
  1115. console.log(`每页 ${val} 条`)
  1116. this.pageSize = val
  1117. this.getList()
  1118. },
  1119. handleCurrentChange(val) {
  1120. this.currentPage = val
  1121. console.log(`当前页: ${val}`)
  1122. this.getList()
  1123. },
  1124. editClick(row) {
  1125. var status = ''
  1126. if (row.status == '待审核' || row.status == '已完成') {
  1127. status = '执行中'
  1128. } else if (row.status == '执行中') {
  1129. status = '已完成'
  1130. }
  1131. //cancelButtonClass: "btn-custom-cancel"
  1132. this.$confirm(`是否将状态改为${status}`, {
  1133. confirmButtonText: '确定',
  1134. cancelButtonText: '取消',
  1135. type: 'warning',
  1136. })
  1137. .then(() => {
  1138. alsostate({ id: row.id })
  1139. .toPromise()
  1140. .then((response) => {
  1141. this.$notify.success({
  1142. title: '成功',
  1143. message: '状态修改成功',
  1144. })
  1145. this.getList()
  1146. })
  1147. .catch((response) => {
  1148. // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  1149. })
  1150. })
  1151. .catch(() => {
  1152. return false
  1153. })
  1154. },
  1155. selecttaskType(e) {
  1156. for (var i = 0; i < this.taskTypeList.length; i++) {
  1157. if (this.taskTypeList[i].value == e) {
  1158. this.searchType = this.taskTypeList[i].type
  1159. }
  1160. }
  1161. },
  1162. handleExamine(row) {
  1163. this.$router.push({
  1164. name: 'salesContractExamine',
  1165. query: { id: row.id },
  1166. })
  1167. },
  1168. // 关闭 dialog时 处理文件url 初始化upload组件
  1169. handleCloe() {
  1170. this.dialogViewSpareMoney = false
  1171. },
  1172. history(row) {
  1173. billoperatehis({ id: row.id })
  1174. .toPromise()
  1175. .then((response) => {
  1176. this.historyList = response
  1177. })
  1178. },
  1179. //查找
  1180. find() {
  1181. this.currentPage = 1
  1182. this.getList()
  1183. },
  1184. async exportlist() {
  1185. const { data } = await export1(
  1186. {
  1187. compId: sessionStorage.getItem('ws-pf_compId'),
  1188. contractType: this.contractType,
  1189. currentPage: this.currentPage,
  1190. pageSize: this.pageSize,
  1191. searchType: this.searchType,
  1192. searchKeyWord: this.searchKeyWord,
  1193. startDate: this.startDate,
  1194. endDate: this.endDate,
  1195. },
  1196. {},
  1197. { responseType: 'blob' }
  1198. ).toPromise()
  1199. downloadFile({
  1200. res: data,
  1201. fileName: `${
  1202. this.date.year + (this.date.month ? `-${this.date.month}` : '')
  1203. }_采购合同`,
  1204. type: 'xls',
  1205. })
  1206. },
  1207. total() {},
  1208. },
  1209. }
  1210. </script>
  1211. <style lang="scss" scoped>
  1212. .connert {
  1213. width: 90%;
  1214. margin: 0 auto;
  1215. }
  1216. .vertical-text-left {
  1217. width: 62px;
  1218. text-align: right;
  1219. }
  1220. //分页
  1221. .el-pagination {
  1222. padding: 10px 15px;
  1223. margin-bottom: 0;
  1224. text-align: center;
  1225. }
  1226. /deep/.el-pager li.active {
  1227. color: #5878e8;
  1228. cursor: default;
  1229. }
  1230. /deep/.el-pager li:hover {
  1231. color: #5878e8;
  1232. cursor: default;
  1233. }
  1234. .el-button--default {
  1235. color: #8890b1;
  1236. border-color: #e8eaf1;
  1237. }
  1238. /deep/.base_header_layout .grid-content.right .find.el-button--primary {
  1239. width: 30px;
  1240. margin-left: 0;
  1241. border-top-left-radius: 0px;
  1242. border-bottom-left-radius: 0px;
  1243. }
  1244. /deep/.findValue .el-input__inner {
  1245. border-top-right-radius: 0px;
  1246. border-bottom-right-radius: 0px;
  1247. width: 385px;
  1248. }
  1249. .completed.el-button--default {
  1250. border-color: #5878e8;
  1251. background-color: #f6f7fc;
  1252. color: #5878e8;
  1253. }
  1254. .putstorage.el-button--default,
  1255. .deliverystorage.el-button--default {
  1256. border-color: #8890b1;
  1257. background-color: #fff;
  1258. color: #8890b1;
  1259. }
  1260. /deep/.el-table td,
  1261. /deep/.el-table th.is-leaf {
  1262. border-right: 1px solid #e9ecf7;
  1263. text-align: center;
  1264. }
  1265. /deep/.el-table tr td:first-child,
  1266. /deep/.el-table tr th.is-leaf:first-child {
  1267. border-left: 1px solid #e9ecf7;
  1268. }
  1269. .record,
  1270. .adjustment {
  1271. display: inline-block;
  1272. color: #5878e8;
  1273. padding: 0 4px !important;
  1274. position: relative;
  1275. }
  1276. .record:after {
  1277. position: absolute;
  1278. content: '';
  1279. display: block;
  1280. top: 5px;
  1281. right: -2px;
  1282. width: 1px;
  1283. height: 12px;
  1284. background: #e9ecf7;
  1285. }
  1286. // .el-row{
  1287. // height: 150px;
  1288. // }
  1289. .base_header_layout .grid-content {
  1290. margin-top: 80px;
  1291. }
  1292. .el-input--small .el-input__inner {
  1293. margin-left: 20px;
  1294. }
  1295. .el-range-editor--small.el-input__inner {
  1296. height: 32px;
  1297. margin-left: -20%;
  1298. }
  1299. //执行样式
  1300. .executory,
  1301. .inExecution,
  1302. .done {
  1303. width: 6px;
  1304. height: 6px;
  1305. display: inline-block;
  1306. border-radius: 50%;
  1307. position: relative;
  1308. top: -1px;
  1309. font-size: 14px;
  1310. }
  1311. .executory {
  1312. background: #ff9f24;
  1313. }
  1314. .inExecution {
  1315. background: #5878e8;
  1316. }
  1317. .done {
  1318. background: #50cad4;
  1319. }
  1320. .record,
  1321. .adjustment {
  1322. display: inline-block;
  1323. color: #5878e8;
  1324. padding: 0 4px !important;
  1325. position: relative;
  1326. font-size: 14px;
  1327. }
  1328. .container {
  1329. overflow: scroll;
  1330. height: 93vh;
  1331. }
  1332. .button-container {
  1333. display: flex;
  1334. flex-wrap: nowrap;
  1335. justify-content: space-between;
  1336. align-items: center;
  1337. background-color: #fff;
  1338. width: 100%;
  1339. height: 50px;
  1340. padding: 0 10px;
  1341. & > div {
  1342. margin-left: 10px;
  1343. display: flex;
  1344. flex-wrap: nowrap;
  1345. flex-direction: row;
  1346. & > span {
  1347. line-height: 50px;
  1348. }
  1349. }
  1350. /deep/.auditFlow-box {
  1351. position: unset;
  1352. margin-left: 10px;
  1353. &/deep/.auditFlow-icon {
  1354. width: auto;
  1355. padding-right: 30px;
  1356. }
  1357. &/deep/.auditFlow-main {
  1358. position: absolute;
  1359. }
  1360. }
  1361. }
  1362. .bg-left {
  1363. padding-left: 30px;
  1364. }
  1365. .title {
  1366. position: relative;
  1367. }
  1368. .title::before {
  1369. content: '';
  1370. display: inline-block;
  1371. width: 5px;
  1372. height: 30px;
  1373. background: #5473e8;
  1374. position: absolute;
  1375. left: 0;
  1376. }
  1377. .el-button--primary {
  1378. background-color: #5878e8;
  1379. border-color: #5878e8;
  1380. // margin-left: 85%;
  1381. margin-top: 13px;
  1382. }
  1383. //导航条样式
  1384. .el-col-12 {
  1385. width: 50%;
  1386. height: 60px;
  1387. background: #f6f7fc;
  1388. border-radius: 4px 4px 1px 1px;
  1389. }
  1390. .el-input--small .el-input__inner {
  1391. height: 32px;
  1392. line-height: 32px;
  1393. width: 385px;
  1394. margin-top: 10px;
  1395. }
  1396. .bg-bottom {
  1397. margin-left: 85%;
  1398. }
  1399. .but {
  1400. margin-left: 30%;
  1401. /* margin-top: -32px; */
  1402. overflow: auto;
  1403. /* float: left; */
  1404. /* margin-left: 1px; */
  1405. margin-left: -10px;
  1406. }
  1407. .el-input--small {
  1408. font-size: 13px;
  1409. width: 390px;
  1410. margin-left: 74%;
  1411. }
  1412. /deep/.el-table .el-table__header .cell,
  1413. .el-table .el-table__body .cell {
  1414. text-align: center;
  1415. }
  1416. .el-scrollbar__wrap {
  1417. overflow-y: hidden;
  1418. }
  1419. /deep/.deal {
  1420. margin-left: 0%;
  1421. width: 64%;
  1422. }
  1423. .photo {
  1424. padding: 0% 34%;
  1425. }
  1426. .photo1 {
  1427. padding: 0 10%;
  1428. }
  1429. .photo2 {
  1430. padding: 0 12%;
  1431. }
  1432. /deep/.el-form-item--small .el-form-item__label,
  1433. .el-form-item--small .el-form-item__content {
  1434. text-align: center;
  1435. }
  1436. hr {
  1437. width: 91%;
  1438. }
  1439. /deep/.deaal {
  1440. width: 66%;
  1441. margin-left: 9%;
  1442. }
  1443. .el-date-editor.el-input,
  1444. .el-date-editor.el-input__inner,
  1445. .el-input-number--small {
  1446. width: 123% !important;
  1447. }
  1448. /deep/.el-table td,
  1449. .el-table th.is-leaf {
  1450. border-right: 1px solid #e9ecf7;
  1451. text-align: center;
  1452. height: 40px;
  1453. }
  1454. // .danjia{
  1455. // width: 9px;
  1456. // height: 9px;
  1457. // margin-left: 40px;
  1458. // }
  1459. </style>