shippingList.vue 42 KB

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