warehouseManagementList.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798
  1. <!--仓库管理-->
  2. <template>
  3. <div>
  4. <BaseHeaderLayout :leftSpan="15">
  5. <template slot="left">
  6. <ws-button type="primary" @click="handleAdd()"
  7. v-hasPermission="
  8. `warehouseManagement.warehouse.warehouseInfo.add`
  9. "
  10. ><img
  11. width="11"
  12. height="11"
  13. style="position: relative; top: 1px"
  14. src="../../../public/img/header-add.png"
  15. alt=""
  16. />
  17. 添加</ws-button
  18. >
  19. <ws-button v-hasPermission="
  20. `warehouseManagement.warehouse.warehouseInfo.view`
  21. " @click="handleLook()">查看</ws-button>
  22. <ws-button v-hasPermission="
  23. `warehouseManagement.warehouse.warehouseInfo.edit`
  24. " @click="handleEdit()">编辑</ws-button>
  25. <ws-button v-hasPermission="
  26. `warehouseManagement.warehouse.warehouseInfo.delete`
  27. " @click="handleDelete()">删除</ws-button>
  28. <ws-button v-hasPermission="
  29. `warehouseManagement.warehouse.warehouseInfo.view`
  30. " @click="handlTask()">任务</ws-button>
  31. </template>
  32. <template slot="left">
  33. <div >
  34. <el-radio-group
  35. v-model="warehouseType"
  36. @change="changeradio"
  37. size="small"
  38. >
  39. <el-radio-button label="1">常用仓库</el-radio-button>
  40. <el-radio-button label="2">临时仓库</el-radio-button>
  41. </el-radio-group>
  42. </div>
  43. </template>
  44. <template slot="right">
  45. <ws-input
  46. v-model="warehouseName"
  47. placeholder="请输入仓库名"
  48. clearable
  49. maxlength="500"
  50. type="input"
  51. class="findValue"
  52. ></ws-input>
  53. <!-- v-hasPermission="'procurement.sparepart.directShip'" -->
  54. <ws-button class="find" type="primary" @click="find()"
  55. ><img
  56. width="16"
  57. height="16"
  58. style="
  59. vertical-align: text-top;
  60. position: relative;
  61. top: 0px;
  62. left: -8px;
  63. "
  64. src="../../../public/img/sousuo.png"
  65. alt=""
  66. /></ws-button>
  67. </template>
  68. </BaseHeaderLayout>
  69. <div v-show="this.warehouseType == '1'">
  70. <el-table
  71. class="wenzi"
  72. :data="warehouseList"
  73. style="width: 100%; margin-top: 20px"
  74. height="780"
  75. >
  76. <el-table-column prop="warehouseName" label="仓库名" >
  77. </el-table-column>
  78. <el-table-column prop="binNumber" label="仓位编号" >
  79. </el-table-column>
  80. <el-table-column prop="capacity" label="容量(吨)">
  81. <template slot-scope="scope">
  82. <div
  83. v-if="scope.row.capacity != 'null' && scope.row.capacity != null"
  84. >
  85. {{ scope.row.capacity }}
  86. </div>
  87. </template>
  88. </el-table-column>
  89. <el-table-column label="品种">
  90. <template slot-scope="scope">
  91. <div
  92. style="height: 24px"
  93. v-for="(item, i) in scope.row.warehouseNumViewList"
  94. >
  95. {{ item.goodsName }}
  96. </div>
  97. </template>
  98. </el-table-column>
  99. <el-table-column label="入库量(吨)">
  100. <template slot-scope="scope">
  101. <div
  102. style="height: 24px"
  103. v-for="(item, i) in scope.row.warehouseNumViewList"
  104. >
  105. {{item.inNetWeight}}
  106. </div>
  107. </template>
  108. </el-table-column>
  109. <el-table-column label="出库量(吨)">
  110. <template slot-scope="scope">
  111. <div
  112. style="height: 24px"
  113. v-for="(item, i) in scope.row.warehouseNumViewList"
  114. >
  115. {{ item.outNetWeight }}
  116. </div>
  117. </template>
  118. </el-table-column>
  119. <el-table-column label="应余量(吨)">
  120. <template slot-scope="scope">
  121. <div
  122. style="height: 24px"
  123. v-for="(item, i) in scope.row.warehouseNumViewList"
  124. >
  125. {{ item.storage }}
  126. </div>
  127. </template>
  128. </el-table-column>
  129. <el-table-column prop="seller" label="入库" width="300">
  130. <template slot-scope="scope">
  131. <ws-button v-hasPermission="
  132. `warehouseManagement.warehouse.warehouseInfo.in`
  133. " class="putstorage" @click="warehousing1(scope.row)">
  134. 毛检
  135. </ws-button>
  136. <ws-button v-hasPermission="
  137. `warehouseManagement.warehouse.warehouseInfo.in`
  138. " class="putstorage" @click="nocomplete1(scope.row)">
  139. 皮检
  140. </ws-button>
  141. <!-- <ws-button v-hasPermission="
  142. `warehouseManagement.warehouse.warehouseInfo.view`
  143. " class="completed" @click="nocomplete(scope.row)">
  144. 待皮检({{ scope.row.number }})
  145. </ws-button> -->
  146. </template>
  147. </el-table-column>
  148. <el-table-column prop="seller" label="出库" width="300">
  149. <template slot-scope="scope">
  150. <ws-button v-hasPermission="
  151. `warehouseManagement.warehouse.warehouseInfo.out`
  152. " class="deliverystorage" @click="delivery1(scope.row)">
  153. 皮检
  154. </ws-button>
  155. <ws-button v-hasPermission="
  156. `warehouseManagement.warehouse.warehouseInfo.out`
  157. " class="deliverystorage" @click="nocomplete1(scope.row)">
  158. 毛检
  159. </ws-button>
  160. <!-- <ws-button v-hasPermission="
  161. `warehouseManagement.warehouse.warehouseInfo.view`
  162. " class="completed" @click="nocomplete(scope.row)">
  163. 待毛检({{ scope.row.number }})
  164. </ws-button> -->
  165. </template>
  166. </el-table-column>
  167. <el-table-column prop="address" label="操作" width="200">
  168. <template slot-scope="scope">
  169. <div class="record" v-hasPermission="
  170. `warehouseManagement.warehouse.warehouseInfo.view`
  171. " @click="record(scope.row)">记录</div>
  172. <div class="adjustment" v-hasPermission="
  173. `warehouseManagement.warehouse.warehouseInfo.view`
  174. " @click="loss(scope.row)">盘损</div>
  175. </template>
  176. </el-table-column>
  177. </el-table>
  178. </div>
  179. <div v-show="this.warehouseType == '2'">
  180. <el-table
  181. class="wenzi"
  182. :data="warehouseList"
  183. style="width: 100%; margin-top: 20px"
  184. height="780"
  185. >
  186. <el-table-column type="index" label="序号" width="80">
  187. <template scope="scope">
  188. <span v-if="scope.$index < 9">0{{ scope.$index + 1 }}</span>
  189. <span v-else>{{ scope.$index + 1 }}</span>
  190. </template>
  191. </el-table-column>
  192. <el-table-column prop="warehouseName" label="仓库名" width="80">
  193. </el-table-column>
  194. <el-table-column prop="address" label="临时仓库地址">
  195. <template slot-scope="scope">
  196. <div
  197. v-if="scope.row.address != 'null' && scope.row.address != null"
  198. >
  199. {{ scope.row.address }}
  200. </div>
  201. </template>
  202. </el-table-column>
  203. <el-table-column label="入库量(吨)">
  204. <template slot-scope="scope">
  205. <div
  206. style="height: 24px"
  207. v-for="(item, i) in scope.row.warehouseNumViewList"
  208. >
  209. {{ item.goodsName}}({{item.inNetWeight == null ? 0 : item.inNetWeight}})
  210. </div>
  211. </template>
  212. </el-table-column>
  213. <el-table-column label="出库量(吨)">
  214. <template slot-scope="scope">
  215. <div
  216. style="height: 24px"
  217. v-for="(item, i) in scope.row.warehouseNumViewList"
  218. >
  219. {{ item.goodsName}}({{item.outNetWeight == null ? 0:item.outNetWeight}})
  220. </div>
  221. </template>
  222. </el-table-column>
  223. <el-table-column label="应余量(吨)">
  224. <template slot-scope="scope">
  225. <div
  226. style="height: 24px"
  227. v-for="(item, i) in scope.row.warehouseNumViewList"
  228. >{{ item.goodsName}}
  229. ({{ item.inNetWeight - item.outNetWeight }})
  230. {{item.storage }}
  231. </div>
  232. </template>
  233. </el-table-column>
  234. <el-table-column prop="seller" label="出入库" width="300">
  235. <template slot-scope="scope">
  236. <ws-button class="completed" @click="nocomplete(scope.row)">
  237. 待完成({{ scope.row.number }})
  238. </ws-button>
  239. <ws-button class="putstorage" @click="warehousing(scope.row)">
  240. 入库
  241. </ws-button>
  242. <ws-button
  243. class="deliverystorage"
  244. v-if="scope.row.clearStatusFlag != 3"
  245. @click="delivery(scope.row)"
  246. >
  247. 出库
  248. </ws-button>
  249. </template>
  250. </el-table-column>
  251. <el-table-column prop="address" label="操作" width="200">
  252. <template slot-scope="scope">
  253. <div class="record" @click="record(scope.row)">记录</div>
  254. <div
  255. class="adjustment"
  256. v-if="scope.row.clearStatusFlag == 1"
  257. @click="clearance(scope.row)"
  258. >
  259. 清仓
  260. </div>
  261. <div class="adjustment" v-if="scope.row.clearStatusFlag == 3">
  262. 已清仓
  263. </div>
  264. </template>
  265. </el-table-column>
  266. </el-table>
  267. </div>
  268. </div>
  269. </template>
  270. <script>
  271. import {
  272. getList,
  273. export1,
  274. editstatus,
  275. billoperatehis,
  276. clearancee,
  277. } from '@/model/warehouse/index'
  278. import { downloadFile } from '@/utils/batchDown'
  279. import Pagination from '@/components/Pagination'
  280. import WsUpload from '@/components/WsUpload'
  281. import { EventBus } from 'base-core-lib'
  282. export default {
  283. name: 'viewSpareMoney',
  284. components: {
  285. WsUpload,
  286. Pagination,
  287. },
  288. watch: {
  289. vesselId(val) {
  290. this.getList()
  291. },
  292. isShow(val) {
  293. this.showType = val
  294. },
  295. },
  296. data() {
  297. return {
  298. //弹出框
  299. dialogViewSpareMoney: false,
  300. dialogApproveFormVisible: false,
  301. // 船舶类型
  302. monetaryKey: null,
  303. // 表格显示数据
  304. tableDate: [],
  305. // 是否显示
  306. showType: true,
  307. // 年
  308. year: '',
  309. searchType: 1,
  310. searchTypeText: '未完成',
  311. searchKeyWord: '',
  312. contractType: 2,
  313. warehouseType: '1',
  314. // 提交类型
  315. submitType: true,
  316. size: 10,
  317. spanArr: [],
  318. warehouseName: '',
  319. compId: sessionStorage.getItem('ws-pf_compId'),
  320. deptCircularPage: {},
  321. warehouseList: [],
  322. deptBudgetList: {},
  323. historyList: [],
  324. deptBudgetTotal: 0,
  325. pickerBeginDateBefore: {
  326. disabledDate: (time) => {
  327. return time.getTime() > Date.now()
  328. },
  329. },
  330. accessoryTFs: false,
  331. }
  332. },
  333. activated() {
  334. this.getList()
  335. this.showType = this.isShow
  336. },
  337. methods: {
  338. //清仓
  339. clearance(row) {
  340. console.log(row.outNumber)
  341. if (row.outNumber > 0) {
  342. this.$confirm(`你还有未完善的出库记录,请完善提交后再进行操作`, {
  343. cancelButtonText: '关闭',
  344. })
  345. .then(() => {})
  346. .catch(() => {
  347. return false
  348. })
  349. } else {
  350. this.$confirm(
  351. `清仓操作代表库存已清零,清仓后不可进行出库操作,是否确定清仓`,
  352. {
  353. confirmButtonText: '确定',
  354. cancelButtonText: '取消',
  355. type: 'warning',
  356. }
  357. )
  358. .then(() => {
  359. clearancee({ id: row.warehouseId })
  360. .toPromise()
  361. .then((response) => {
  362. this.$notify.success({
  363. title: '成功',
  364. message: '状态清仓成功',
  365. })
  366. this.getList()
  367. })
  368. .catch((response) => {})
  369. })
  370. .catch(() => {
  371. return false
  372. })
  373. }
  374. },
  375. //出库
  376. delivery(item) {
  377. this.$router.push({
  378. path: 'warehouseManagementDelivery',
  379. query: {
  380. baseId: item.warehouseId,
  381. positionId: item.binNumberId,
  382. warehouseName: item.warehouseName,
  383. binNumber: item.binNumber,
  384. capacity: item.capacity,
  385. warehouseType: this.warehouseType,
  386. warehouseId: item.warehouseId,
  387. },
  388. })
  389. },
  390. //入库
  391. warehousing(item) {
  392. var free = 0
  393. for (var i = 0; i < item.warehouseNumViewList.length; i++) {
  394. free += Number(item.warehouseNumViewList[i].storage)
  395. }
  396. this.$router.push({
  397. path: 'warehouseManagementPut',
  398. query: {
  399. baseId: item.warehouseId,
  400. positionId: item.binNumberId,
  401. warehouseName: item.warehouseName,
  402. binNumber: item.binNumber,
  403. capacity: item.capacity - free,
  404. id: item.id,
  405. warehouseType: this.warehouseType,
  406. createType: item.createType,
  407. },
  408. })
  409. },
  410. //毛检
  411. warehousing1(item) {
  412. var free = 0
  413. for (var i = 0; i < item.warehouseNumViewList.length; i++) {
  414. free += Number(item.warehouseNumViewList[i].storage)
  415. }
  416. this.$router.push({
  417. path: 'warehouseManagementGross',
  418. query: {
  419. baseId: item.warehouseId,
  420. positionId: item.binNumberId,
  421. warehouseName: item.warehouseName,
  422. binNumber: item.binNumber,
  423. capacity: item.capacity - free,
  424. id: item.id,
  425. warehouseType: this.warehouseType,
  426. createType: item.createType,
  427. information:'毛重检斤',
  428. allowEdit:item.allowEdit
  429. },
  430. })
  431. },
  432. //皮检
  433. delivery1(item) {
  434. this.$router.push({
  435. path: 'warehouseManagementTare',
  436. query: {
  437. baseId: item.warehouseId,
  438. positionId: item.binNumberId,
  439. warehouseName: item.warehouseName,
  440. binNumber: item.binNumber,
  441. capacity: item.capacity,
  442. warehouseType: this.warehouseType,
  443. warehouseId: item.warehouseId,
  444. information:'皮重检斤',
  445. allowEdit:item.allowEdit
  446. },
  447. })
  448. },
  449. getSpanArr(data) {
  450. let that = this
  451. //页面展示的数据,不一定是全部的数据,所以每次都清空之前存储的 保证遍历的数据是最新的数据。以免造成数据渲染混乱
  452. that.spanArr = []
  453. that.pos = 0
  454. //遍历数据
  455. data.forEach((item, index) => {
  456. //判断是否是第一项
  457. // if (index === 0) {
  458. // this.spanArr.push(1)
  459. // this.pos = 0
  460. // } else {
  461. //不是第一项时,就根据标识去存储
  462. if (data[index].warehouseNumViewList.length > 1) {
  463. // 查找到符合条件的数据时每次要把之前存储的数据+1
  464. this.spanArr[this.pos] = data[index].warehouseNumViewList.length
  465. this.spanArr.push(0)
  466. } else {
  467. // 没有符合的数据时,要记住当前的index
  468. this.spanArr.push(1)
  469. this.pos = index
  470. }
  471. // }
  472. })
  473. },
  474. //待完成//传参
  475. nocomplete(row) {
  476. if (row.number > 0) {
  477. this.$router.push({
  478. path: 'warehouseManagementNoComplete',
  479. query: {
  480. baseId: row.warehouseId,
  481. positionId: row.binNumberId,
  482. warehouseName: row.warehouseName,
  483. binNumber: row.binNumber,
  484. warehouseType: this.warehouseType,
  485. createType: row.createType,
  486. },
  487. })
  488. }
  489. },
  490. //检斤待完成
  491. nocomplete1(row) {
  492. this.$router.push({
  493. path: 'warehouseManagementNoWeight',
  494. query: {
  495. baseId: row.warehouseId,
  496. positionId: row.binNumberId,
  497. warehouseName: row.warehouseName,
  498. binNumber: row.binNumber,
  499. warehouseType: this.warehouseType,
  500. createType: row.createType,
  501. },
  502. })
  503. },
  504. //记录
  505. record(item) {
  506. this.$router.push({
  507. name: 'warehouseManagementRecord',
  508. query: {
  509. baseId: item.warehouseId,
  510. positionId: item.binNumberId,
  511. warehouseName: item.warehouseName,
  512. remark: item.remark,
  513. binNumber: item.binNumber,
  514. capacity: item.capacity,
  515. warehouseType: this.warehouseType,
  516. },
  517. })
  518. },
  519. //盘损
  520. loss(item) {
  521. this.$router.push({
  522. path: 'warehouseManagementIoss',
  523. query: {
  524. baseId: item.warehouseId,
  525. positionId: item.binNumberId,
  526. warehouseName: item.warehouseName,
  527. binNumber: item.binNumber,
  528. },
  529. })
  530. },
  531. changeradio(e) {
  532. this.getList()
  533. },
  534. //查看
  535. handleLook() {
  536. this.$router.push({ path: 'warehouseManagementLook' })
  537. },
  538. //添加
  539. handleAdd() {
  540. this.$router.push({ path: 'warehouseManagementAdd' })
  541. },
  542. //编辑
  543. handleEdit() {
  544. this.$router.push({ path: 'warehouseManagementEdit' })
  545. },
  546. handleDelete() {
  547. this.$router.push({ path: 'warehouseManagementDelete' })
  548. },
  549. //任务
  550. handlTask(){
  551. this.$router.push({ path: 'tranManagementWarehouseInOutTask' })
  552. },
  553. dateFormat(fmt, date) {
  554. let ret
  555. const opt = {
  556. 'Y+': date.getFullYear().toString(), // 年
  557. 'm+': (date.getMonth() + 1).toString(), // 月
  558. 'd+': date.getDate().toString(), // 日
  559. 'H+': date.getHours().toString(), // 时
  560. // "M+": date.getMinutes().toString(), // 分
  561. // "S+": date.getSeconds().toString() // 秒
  562. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  563. }
  564. for (let k in opt) {
  565. ret = new RegExp('(' + k + ')').exec(fmt)
  566. if (ret) {
  567. fmt = fmt.replace(
  568. ret[1],
  569. ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, '0')
  570. )
  571. }
  572. }
  573. return fmt
  574. },
  575. handleClose() {
  576. this.accessoryTFs = false
  577. },
  578. handleSizeChange(val) {
  579. console.log(`每页 ${val} 条`)
  580. this.pageSize = val
  581. this.getList()
  582. },
  583. handleCurrentChange(val) {
  584. this.currentPage = val
  585. console.log(`当前页: ${val}`)
  586. this.getList()
  587. },
  588. getList() {
  589. getList({
  590. compId: sessionStorage.getItem('ws-pf_compId'),
  591. warehouseName: this.warehouseName,
  592. warehouseType: this.warehouseType,
  593. })
  594. .toPromise()
  595. .then((response) => {
  596. this.warehouseList = response
  597. })
  598. },
  599. editClick(row) {
  600. var status = ''
  601. if (row.status == '待执行' || row.status == '已完成') {
  602. status = '执行中'
  603. } else if (row.status == '执行中') {
  604. status = '已完成'
  605. }
  606. //cancelButtonClass: "btn-custom-cancel"
  607. this.$confirm(`是否将状态改为${status}`, {
  608. confirmButtonText: '确定',
  609. cancelButtonText: '取消',
  610. type: 'warning',
  611. })
  612. .then(() => {
  613. editstatus({ id: row.id })
  614. .toPromise()
  615. .then((response) => {
  616. this.$notify.success({
  617. title: '成功',
  618. message: '状态修改成功',
  619. })
  620. this.getList()
  621. })
  622. .catch((response) => {
  623. // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  624. })
  625. })
  626. .catch(() => {
  627. return false
  628. })
  629. },
  630. selecttaskType(e) {
  631. for (var i = 0; i < this.taskTypeList.length; i++) {
  632. if (this.taskTypeList[i].value == e) {
  633. this.searchType = this.taskTypeList[i].type
  634. }
  635. }
  636. },
  637. fujian(row) {
  638. if (
  639. row.receiveAttachmentPath === null ||
  640. row.receiveAttachmentPath === ''
  641. ) {
  642. EventBus.$emit(
  643. 'warning',
  644. this.$t('system.noticeCircular.NoInformation')
  645. )
  646. } else {
  647. this.accessoryTFs = true
  648. }
  649. this.appendixIdss = row.receiveAttachmentPath
  650. },
  651. handleExamine(row) {
  652. this.$router.push({
  653. name: 'salesContractExamine',
  654. query: { id: row.id },
  655. })
  656. },
  657. // 关闭 dialog时 处理文件url 初始化upload组件
  658. handleCloe() {
  659. this.dialogViewSpareMoney = false
  660. },
  661. history(row) {
  662. billoperatehis({ id: row.id })
  663. .toPromise()
  664. .then((response) => {
  665. this.historyList = response
  666. })
  667. },
  668. find() {
  669. this.currentPage = 1
  670. this.getList()
  671. },
  672. async exportlist() {
  673. const { data } = await export1(
  674. {
  675. compId: sessionStorage.getItem('ws-pf_compId'),
  676. contractType: this.contractType,
  677. currentPage: this.currentPage,
  678. pageSize: this.pageSize,
  679. searchType: this.searchType,
  680. searchKeyWord: this.searchKeyWord,
  681. startDate: this.startDate,
  682. endDate: this.endDate,
  683. },
  684. {},
  685. { responseType: 'blob' }
  686. ).toPromise()
  687. downloadFile({
  688. res: data,
  689. fileName: `${
  690. this.date.year + (this.date.month ? `-${this.date.month}` : '')
  691. }_采购合同`,
  692. type: 'xls',
  693. })
  694. },
  695. },
  696. }
  697. </script>
  698. <style lang="scss" scoped>
  699. .connert {
  700. width: 90%;
  701. margin: 0 auto;
  702. }
  703. .vertical-text-left {
  704. width: 62px;
  705. text-align: right;
  706. }
  707. .el-button--primary {
  708. background-color: #5878e8;
  709. border-color: #5878e8;
  710. }
  711. .el-button--default {
  712. color: #8890b1;
  713. border-color: #e8eaf1;
  714. }
  715. /deep/.base_header_layout .grid-content.right .find.el-button--primary {
  716. width: 30px;
  717. margin-left: 0;
  718. border-top-left-radius: 0px;
  719. border-bottom-left-radius: 0px;
  720. }
  721. /deep/.findValue .el-input__inner {
  722. border-top-right-radius: 0px;
  723. border-bottom-right-radius: 0px;
  724. }
  725. .completed.el-button--default {
  726. border-color: #5878e8;
  727. background-color: #f6f7fc;
  728. color: #5878e8;
  729. }
  730. .putstorage.el-button--default,
  731. .deliverystorage.el-button--default {
  732. border-color: #8890b1;
  733. background-color: #fff;
  734. color: #8890b1;
  735. }
  736. /deep/.el-table td,
  737. /deep/.el-table th.is-leaf {
  738. border-right: 1px solid #e9ecf7;
  739. text-align: center;
  740. }
  741. /deep/.el-table tr td:first-child,
  742. /deep/.el-table tr th.is-leaf:first-child {
  743. border-left: 1px solid #e9ecf7;
  744. }
  745. /deep/.el-table .el-table__header .cell,
  746. /deep/.el-table .el-table__body .cell {
  747. -webkit-line-clamp: 10;
  748. max-height: 400px;
  749. }
  750. .record,
  751. .adjustment {
  752. display: inline-block;
  753. color: #5878e8;
  754. padding: 0 4px !important;
  755. position: relative;
  756. }
  757. .record:after {
  758. position: absolute;
  759. content: '';
  760. display: block;
  761. top: 5px;
  762. right: -2px;
  763. width: 1px;
  764. height: 12px;
  765. background: #e9ecf7;
  766. }
  767. /deep/.el-radio-button:first-child .el-radio-button__inner {
  768. margin-left: 10px;
  769. }
  770. //分页
  771. .el-pagination {
  772. text-align: center;
  773. white-space: nowrap;
  774. padding: 2px 5px;
  775. color: #303133;
  776. font-weight: 700;
  777. margin-bottom: 20px;
  778. }
  779. </style>