shippingList.vue 42 KB

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