stockPurchaseReceiptReportList.vue 43 KB

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