autoSettlementList.vue 48 KB

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