shippingList.vue 46 KB

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