huoyunList.vue 44 KB

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