shippingList.vue 45 KB

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