warehouseManagementRecord.vue 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983
  1. <template>
  2. <div class="container">
  3. <el-row>
  4. <el-col :span="18">
  5. <h2 class="bg-left title">流转记录</h2>
  6. </el-col>
  7. <el-col :span="6" class="bg-right">
  8. <el-button
  9. class="bg-bottom adjustment"
  10. type="primary"
  11. size="small"
  12. @click="iossrecord()"
  13. v-show="this.warehouseType != 2"
  14. >盘损记录</el-button
  15. >
  16. <el-button
  17. class="bg-bottom"
  18. type="primary"
  19. size="small"
  20. @click="returnWarehouse()"
  21. >返回</el-button
  22. >
  23. </el-col>
  24. </el-row>
  25. <div class="center">
  26. <h2 style="padding-left: 20px">
  27. <img
  28. style="position: relative; top: 2px"
  29. width="19"
  30. height="19"
  31. src="../../../public/img/cangku.png"
  32. alt=""
  33. />
  34. <span style="color: #323233">{{ deptBudgetList.warehouseName }}</span>
  35. <span class="ware" v-show="warehouseType==1">{{binNumber}}仓位(容量{{capacity}}吨)</span>
  36. <span v-show="warehouseType==2">(临)</span>
  37. </h2>
  38. <p
  39. style="
  40. margin-left: 42px;
  41. background: #f6f7fc;
  42. color: #afb5cb;
  43. width: 245px;
  44. "
  45. >
  46. 备注:{{remark }}
  47. </p>
  48. <ws-form ref="deptBudgetList" :model="deptBudgetList">
  49. <div
  50. class="record"
  51. :class="{ active: status == 1 }"
  52. @click="record('', 1)"
  53. >
  54. <img
  55. v-if="status != 1"
  56. width="14"
  57. height="14"
  58. src="../../../public/img/radio.png"
  59. alt=""
  60. />
  61. <img
  62. v-if="status == 1"
  63. width="18"
  64. height="18"
  65. src="../../../public/img/radio-check.png"
  66. alt=""
  67. />全部记录
  68. </div>
  69. <div
  70. class="record"
  71. :class="{ active: status == 2 }"
  72. @click="record(2, 2)"
  73. >
  74. <img
  75. v-if="status != 2"
  76. width="14"
  77. height="14"
  78. src="../../../public/img/radio.png"
  79. alt=""
  80. />
  81. <img
  82. v-if="status == 2"
  83. width="18"
  84. height="18"
  85. src="../../../public/img/radio-check.png"
  86. alt=""
  87. />出库记录
  88. </div>
  89. <div
  90. class="record"
  91. :class="{ active: status == 3 }"
  92. @click="record(3, 3)"
  93. >
  94. <img
  95. v-if="status != 3"
  96. width="14"
  97. height="14"
  98. src="../../../public/img/radio.png"
  99. alt=""
  100. />
  101. <img
  102. v-if="status == 3"
  103. width="18"
  104. height="18"
  105. src="../../../public/img/radio-check.png"
  106. alt=""
  107. />入库记录
  108. </div>
  109. <el-table :data="warehouseList.records" height="560" v-show="this.warehouseType== '1'">
  110. <el-table-column type="expand">
  111. <template #default="props">
  112. <ws-form ref="deptBudgetList" :model="deptBudgetList">
  113. <ws-info-table>
  114. <ws-form-item label="水分(%)<=" span="1" prop="waterContent">
  115. {{ props.row.waterContent }}
  116. </ws-form-item>
  117. <ws-form-item label="容重(%)<=" span="1" prop="bulkDensity">
  118. {{ props.row.bulkDensity }}
  119. </ws-form-item>
  120. <ws-form-item label="热损伤(%)<=" span="1" prop="jiaorenli">
  121. {{ props.row.jiaorenli }}
  122. </ws-form-item>
  123. <ws-form-item label="杂质(%)<=" span="1" prop="impurity">
  124. {{ props.row.impurity }}
  125. </ws-form-item>
  126. <ws-form-item label="霉变粒(%)<=" span="1" prop="mildewGrain">
  127. {{ props.row.mildewGrain }}
  128. </ws-form-item>
  129. <ws-form-item
  130. label="不完善粒(%)<="
  131. span="1"
  132. prop="imperfectGrain"
  133. >
  134. {{ props.row.imperfectGrain }}
  135. </ws-form-item>
  136. <ws-form-item label="质检员" span="1" prop="qualityInspector">
  137. {{ props.row.qualityInspector }}
  138. </ws-form-item>
  139. </ws-info-table>
  140. </ws-form>
  141. </template>
  142. </el-table-column>
  143. <el-table-column type="index" label="序号">
  144. <template scope="scope">
  145. <span v-if="scope.$index < 9">0{{ scope.$index + 1 }}</span>
  146. <span v-else>{{ scope.$index + 1 }}</span>
  147. </template>
  148. </el-table-column>
  149. <el-table-column prop="goodsName" label="货名"> </el-table-column>
  150. <el-table-column
  151. prop="grossWeight"
  152. label="毛重(吨)"
  153. ></el-table-column>
  154. <el-table-column prop="tare" label="皮重(吨)"> </el-table-column>
  155. <el-table-column
  156. prop="netWeight"
  157. label="净重(吨)"
  158. ></el-table-column>
  159. <el-table-column prop="grade" label="品级">
  160. <template slot-scope="scope">
  161. <span v-if="scope.row.grade == '一等品'" class="top-grade">{{
  162. scope.row.grade
  163. }}</span>
  164. <span v-if="scope.row.grade == '二等品'" class="second-class">{{
  165. scope.row.grade
  166. }}</span>
  167. <span v-if="scope.row.grade == '三等品'" class="third-class">{{
  168. scope.row.grade
  169. }}</span>
  170. <span v-if="scope.row.grade == '等外'" class="substandard">{{
  171. scope.row.grade
  172. }}</span>
  173. </template>
  174. </el-table-column>
  175. <el-table-column prop="inOutDate" label="出入库日期">
  176. <template slot-scope="scope">
  177. <span style="color: #8890b1">{{ scope.row.inOutDate }}</span>
  178. </template>
  179. </el-table-column>
  180. <el-table-column prop="inOutType" label="类型"> </el-table-column>
  181. <el-table-column prop="contractNo" label="合同编号">
  182. <template slot-scope="scope">
  183. <span style="color: #8890b1">{{ scope.row.contractNo }}</span>
  184. </template>
  185. </el-table-column>
  186. <el-table-column prop="carNo" label="车牌号">
  187. <template slot-scope="scope">
  188. <span style="color: #8890b1">{{ scope.row.carNo }}</span>
  189. </template>
  190. </el-table-column>
  191. <el-table-column prop="agent" label="经办人">
  192. </el-table-column>
  193. <el-table-column prop="buyer" label="内勤">
  194. </el-table-column>
  195. <el-table-column prop="addressUrl" label="附件">
  196. <template slot-scope="scope">
  197. <img
  198. width="18"
  199. height="20"
  200. style="vertical-align: text-top; position: relative; top: -1px"
  201. src="../../../public/img/fujian.png"
  202. @click="fujian(scope.row)"
  203. alt=""
  204. />
  205. <!-- <span v-if="scope.row.addressUrlArray.length > 0">{{
  206. scope.row.addressUrlArray.length
  207. }}</span> -->
  208. <!-- <i @click="fujian(scope.row)" class="el-icon-paperclip iconCss"></i> -->
  209. </template>
  210. </el-table-column>
  211. <el-table-column prop="createDate" label="录入时间">
  212. <template slot-scope="scope">
  213. <span style="color: #8890b1">{{ scope.row.createDate }}</span>
  214. </template>
  215. </el-table-column>
  216. </el-table>
  217. <el-table :data="warehouseList.records" height="560" v-show="this.warehouseType== '2'">
  218. <el-table-column type="expand">
  219. <template #default="props">
  220. <ws-form ref="deptBudgetList" :model="deptBudgetList">
  221. <ws-info-table>
  222. <ws-form-item label="水分(%)<=" span="1" prop="waterContent">
  223. {{ props.row.waterContent }}
  224. </ws-form-item>
  225. <ws-form-item label="容重(%)<=" span="1" prop="bulkDensity">
  226. {{ props.row.bulkDensity }}
  227. </ws-form-item>
  228. <ws-form-item label="热损伤(%)<=" span="1" prop="jiaorenli">
  229. {{ props.row.jiaorenli }}
  230. </ws-form-item>
  231. <ws-form-item label="杂质(%)<=" span="1" prop="impurity">
  232. {{ props.row.impurity }}
  233. </ws-form-item>
  234. <ws-form-item label="霉变粒(%)<=" span="1" prop="mildewGrain">
  235. {{ props.row.mildewGrain }}
  236. </ws-form-item>
  237. <ws-form-item
  238. label="不完善粒(%)<="
  239. span="1"
  240. prop="imperfectGrain"
  241. >
  242. {{ props.row.imperfectGrain }}
  243. </ws-form-item>
  244. <ws-form-item label="质检员" span="1" prop="qualityInspector">
  245. {{ props.row.qualityInspector }}
  246. </ws-form-item>
  247. </ws-info-table>
  248. </ws-form>
  249. </template>
  250. </el-table-column>
  251. <el-table-column type="index" label="序号">
  252. <template scope="scope">
  253. <span v-if="scope.$index < 9">0{{ scope.$index + 1 }}</span>
  254. <span v-else>{{ scope.$index + 1 }}</span>
  255. </template>
  256. </el-table-column>
  257. <el-table-column prop="goodsName" label="货名"> </el-table-column>
  258. <el-table-column
  259. prop="grossWeight"
  260. label="毛重(吨)"
  261. ></el-table-column>
  262. <el-table-column prop="tare" label="皮重(吨)"> </el-table-column>
  263. <el-table-column
  264. prop="netWeight"
  265. label="净重(吨)"
  266. ></el-table-column>
  267. <el-table-column prop="grade" label="品级">
  268. <template slot-scope="scope">
  269. <span v-if="scope.row.grade == '一等品'" class="top-grade">{{
  270. scope.row.grade
  271. }}</span>
  272. <span v-if="scope.row.grade == '二等品'" class="second-class">{{
  273. scope.row.grade
  274. }}</span>
  275. <span v-if="scope.row.grade == '三等品'" class="third-class">{{
  276. scope.row.grade
  277. }}</span>
  278. <span v-if="scope.row.grade == '等外'" class="substandard">{{
  279. scope.row.grade
  280. }}</span>
  281. </template>
  282. </el-table-column>
  283. <el-table-column prop="inOutDate" label="出入库日期">
  284. <template slot-scope="scope">
  285. <span style="color: #8890b1">{{ scope.row.inOutDate }}</span>
  286. </template>
  287. </el-table-column>
  288. <el-table-column prop="inOutType" label="类型"> </el-table-column>
  289. <el-table-column prop="contractNo" label="合同编号">
  290. <template slot-scope="scope">
  291. <span style="color: #8890b1">{{ scope.row.contractNo }}</span>
  292. </template>
  293. </el-table-column>
  294. <el-table-column prop="carNo" label="车牌号">
  295. <template slot-scope="scope">
  296. <span style="color: #8890b1">{{ scope.row.carNo }}</span>
  297. </template>
  298. </el-table-column>
  299. <el-table-column prop="agent" label="经办人">
  300. </el-table-column>
  301. <el-table-column prop="backOffice" label="内勤"> </el-table-column>
  302. <el-table-column prop="addressUrl" label="附件">
  303. <template slot-scope="scope">
  304. <img
  305. width="18"
  306. height="20"
  307. style="vertical-align: text-top; position: relative; top: -1px"
  308. src="../../../public/img/fujian.png"
  309. @click="fujian(scope.row)"
  310. alt=""
  311. />
  312. <!-- <span v-if="scope.row.addressUrlArray.length > 0">{{
  313. scope.row.addressUrlArray.length
  314. }}</span> -->
  315. <!-- <i @click="fujian(scope.row)" class="el-icon-paperclip iconCss"></i> -->
  316. </template>
  317. </el-table-column>
  318. <el-table-column prop="createDate" label="录入时间">
  319. <template slot-scope="scope">
  320. <span style="color: #8890b1">{{ scope.row.createDate }}</span>
  321. </template>
  322. </el-table-column>
  323. </el-table>
  324. <div style="text-align: center; padding: 10px">
  325. <el-pagination
  326. @size-change="handleSizeChange"
  327. @current-change="handleCurrentChange"
  328. :current-page="currentPage"
  329. :page-size="deptCircularPage.pageSize"
  330. layout="total, sizes, prev, pager, next, jumper"
  331. :total="deptBudgetTotal"
  332. >
  333. </el-pagination>
  334. </div>
  335. </ws-form>
  336. </div>
  337. <WinseaContentModal
  338. v-model="accessoryTFs"
  339. :title="$t('system.noticeCircular.information')"
  340. @on-cancel="handleClose"
  341. >
  342. <p>查看附件</p>
  343. <ws-upload
  344. ref="upload"
  345. table-name="maintain_work_order"
  346. oss-key="mainPlan"
  347. :comp-id="compId"
  348. :appendix-ids="appendixIdsAdd"
  349. :vesselId="deptBudgetList.addressUrl"
  350. :size-limit="size"
  351. @uploadSuccess="uploadSuccess"
  352. accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar"
  353. />
  354. </WinseaContentModal>
  355. </div>
  356. </template>
  357. <script>
  358. import { addselectinfoList,recordss } from '@/model/warehouse/index'
  359. import { downloadFile } from '@/utils/batchDown'
  360. import Pagination from '@/components/Pagination'
  361. import WsUpload from '@/components/WsUpload'
  362. import { dayjs, fmoney, EventBus } from 'base-core-lib'
  363. export default {
  364. name: 'viewSpareMoney',
  365. components: {
  366. WsUpload,
  367. Pagination,
  368. },
  369. watch: {
  370. vesselId(val) {
  371. this.getList()
  372. },
  373. isShow(val) {
  374. this.showType = val
  375. },
  376. },
  377. data() {
  378. return {
  379. //弹出框
  380. dialogViewSpareMoney: false,
  381. dialogApproveFormVisible: false,
  382. // 船舶类型
  383. monetaryKey: null,
  384. // 表格显示数据
  385. tableDate: [],
  386. appendixIdsAdd: '',
  387. // 是否显示
  388. showType: true,
  389. // 年
  390. year: '',
  391. deptBudgetTotal: 0,
  392. currentPage: 1,
  393. pageSize: 10,
  394. radiostatus: 1,
  395. capacity: '',
  396. searchKeyWord: '',
  397. contractType: 2,
  398. startDate: null,
  399. endDate: null,
  400. remark: '',
  401. binNumber: '',
  402. status: 1,
  403. // 提交类型
  404. submitType: true,
  405. selectpackingMethod: {},
  406. size: 10,
  407. warehouseType:'1',
  408. deptBudgetList1: {},
  409. compId: sessionStorage.getItem('ws-pf_compId'),
  410. deptCircularPage: {},
  411. packtypeList: {},
  412. currentPage: 1,
  413. pageSize: 10,
  414. date: {
  415. year: dayjs().format('YYYY'),
  416. month: dayjs().format('MM'),
  417. },
  418. warehouseList: [],
  419. deptBudgetList: {},
  420. historyList: [],
  421. searchType: '',
  422. allurl: '../../../public/img/radio.png',
  423. pickerBeginDateBefore: {
  424. disabledDate: (time) => {
  425. return time.getTime() > Date.now()
  426. },
  427. },
  428. accessoryTFs: false,
  429. }
  430. },
  431. activated() {
  432. this.deptBudgetList.baseId = this.$route.query.baseId
  433. this.deptBudgetList.positionId = this.$route.query.positionId
  434. this.deptBudgetList.warehouseName = this.$route.query.warehouseName
  435. this.remark = this.$route.query.remark
  436. this.binNumber = this.$route.query.binNumber
  437. this.capacity = this.$route.query.capacity
  438. this.warehouseType = this.$route.query.warehouseType
  439. this.getList()
  440. this.showType = this.isShow
  441. },
  442. methods: {
  443. //返回按钮
  444. returnWarehouse() {
  445. this.$router.push({ path: 'warehouseManagementList' })
  446. },
  447. //
  448. iossrecord() {
  449. this.$router.push({
  450. path: 'warehouseManagementIossRecord',
  451. query: {
  452. baseId: this.deptBudgetList.baseId,
  453. positionId: this.deptBudgetList.positionId,
  454. warehouseName: this.deptBudgetList.warehouseName,
  455. binNumber: this.binNumber,
  456. },
  457. })
  458. },
  459. dateFormat(fmt, date) {
  460. let ret
  461. const opt = {
  462. 'Y+': date.getFullYear().toString(), // 年
  463. 'm+': (date.getMonth() + 1).toString(), // 月
  464. 'd+': date.getDate().toString(), // 日
  465. 'H+': date.getHours().toString(), // 时
  466. // "M+": date.getMinutes().toString(), // 分
  467. // "S+": date.getSeconds().toString() // 秒
  468. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  469. }
  470. for (let k in opt) {
  471. ret = new RegExp('(' + k + ')').exec(fmt)
  472. if (ret) {
  473. fmt = fmt.replace(
  474. ret[1],
  475. ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, '0')
  476. )
  477. }
  478. }
  479. return fmt
  480. },
  481. handleClose() {
  482. this.accessoryTFs = false
  483. },
  484. handleSizeChange(val) {
  485. console.log(`每页 ${val} 条`)
  486. this.pageSize = val
  487. this.getList()
  488. },
  489. handleCurrentChange(val) {
  490. this.currentPage = val
  491. console.log(`当前页: ${val}`)
  492. this.getList()
  493. },
  494. record(status, status1) {
  495. this.status = status1
  496. this.searchType = status
  497. this.getList()
  498. },
  499. // 上传附件
  500. uploadSuccess(data, files, url) {
  501. console.log(data, files, url)
  502. // this.deptBudgetList.
  503. // this.formData.append('files', files)
  504. // this.feedbackObj.uploadNameAttachment = data.appendixName
  505. // this.feedbackObj.pathUploadAttachment = data.appendixPath
  506. // // this.newAppendixs = files
  507. // this.onChangeFlag = true
  508. },
  509. getList() {
  510. if(this.warehouseType==1){
  511. addselectinfoList({
  512. compId: sessionStorage.getItem('ws-pf_compId'),
  513. baseId: this.deptBudgetList.baseId,
  514. positionId: this.deptBudgetList.positionId,
  515. warehouseName: this.deptBudgetList.warehouseName,
  516. searchType: this.searchType,
  517. currentPage: this.currentPage,
  518. pageSize: this.pageSize,
  519. })
  520. .toPromise()
  521. .then((response) => {
  522. for (var i = 0; i < response.records.length; i++) {
  523. if (response.records[i].addressUrl != null) {
  524. response.records[i].addressUrlArray = response.records[
  525. i
  526. ].addressUrl.split(',')
  527. } else {
  528. response.records[i].addressUrlArray = []
  529. }
  530. }
  531. this.deptCircularPage.currentPage = response.current
  532. this.deptCircularPage.pageSize = response.size
  533. this.deptBudgetTotal = response.total
  534. this.warehouseList = response
  535. })
  536. }else if(this.warehouseType==2){
  537. recordss({
  538. compId: sessionStorage.getItem('ws-pf_compId'),
  539. baseId: this.deptBudgetList.baseId,
  540. positionId: this.deptBudgetList.positionId,
  541. warehouseName: this.deptBudgetList.warehouseName,
  542. searchType: this.searchType,
  543. currentPage: this.currentPage,
  544. pageSize: this.pageSize,
  545. })
  546. .toPromise()
  547. .then((response) => {
  548. for (var i = 0; i < response.records.length; i++) {
  549. if (response.records[i].addressUrl != null) {
  550. response.records[i].addressUrlArray = response.records[
  551. i
  552. ].addressUrl.split(',')
  553. } else {
  554. response.records[i].addressUrlArray = []
  555. }
  556. }
  557. this.deptCircularPage.currentPage = response.current
  558. this.deptCircularPage.pageSize = response.size
  559. this.deptBudgetTotal = response.total
  560. this.warehouseList = response
  561. })
  562. }
  563. },
  564. selecttaskType(e) {
  565. for (var i = 0; i < this.taskTypeList.length; i++) {
  566. if (this.taskTypeList[i].value == e) {
  567. this.searchType = this.taskTypeList[i].type
  568. }
  569. }
  570. },
  571. fujian(row) {
  572. if (
  573. row.receiveAttachmentPath === null ||
  574. row.receiveAttachmentPath === ''
  575. ) {
  576. EventBus.$emit(
  577. 'warning',
  578. this.$t('system.noticeCircular.NoInformation')
  579. )
  580. } else {
  581. this.accessoryTFs = true
  582. }
  583. this.appendixIdss = row.receiveAttachmentPath
  584. },
  585. handleExamine(row) {
  586. this.$router.push({
  587. name: 'salesContractExamine',
  588. query: { id: row.id },
  589. })
  590. },
  591. // 关闭 dialog时 处理文件url 初始化upload组件
  592. handleCloe() {
  593. this.dialogViewSpareMoney = false
  594. },
  595. history(row) {
  596. console.log(row)
  597. billoperatehis({ id: row.id })
  598. .toPromise()
  599. .then((response) => {
  600. this.historyList = response
  601. })
  602. },
  603. find() {
  604. this.startDate = this.dateFormat('YYYY-mm-dd', this.value2[0])
  605. this.endDate = this.dateFormat('YYYY-mm-dd', this.value2[1])
  606. this.currentPage = 1
  607. this.getList()
  608. },
  609. // async exportlist() {
  610. // const { data } = await export1(
  611. // {
  612. // compId: sessionStorage.getItem('ws-pf_compId'),
  613. // contractType: this.contractType,
  614. // currentPage: this.currentPage,
  615. // pageSize: this.pageSize,
  616. // searchType: this.searchType,
  617. // searchKeyWord: this.searchKeyWord,
  618. // startDate: this.startDate,
  619. // endDate: this.endDate,
  620. // },
  621. // {},
  622. // { responseType: 'blob' }
  623. // ).toPromise()
  624. // downloadFile({
  625. // res: data,
  626. // fileName: `${
  627. // this.date.year + (this.date.month ? `-${this.date.month}` : '')
  628. // }_采购合同`,
  629. // type: 'xls',
  630. // })
  631. // },
  632. // deletecontract(){},
  633. //删除
  634. approve() {},
  635. listQuery() {},
  636. total() {},
  637. clearfiltQuery() {},
  638. selectCrtDuty() {},
  639. },
  640. }
  641. </script>
  642. <style lang="scss" scoped>
  643. /deep/.totalStorage .el-input__inner {
  644. color: #afb5cb;
  645. background: #f5f7fa;
  646. }
  647. .small-title {
  648. position: relative;
  649. padding: 10px;
  650. font-weight: 600;
  651. }
  652. .small-title::before {
  653. position: absolute;
  654. content: '';
  655. display: block;
  656. background: #5473e8;
  657. width: 4px;
  658. height: 14px;
  659. left: 0px;
  660. top: 13px;
  661. }
  662. .position {
  663. position: relative;
  664. }
  665. .add,
  666. .del {
  667. position: absolute;
  668. right: -38px;
  669. top: 9px;
  670. cursor: pointer;
  671. }
  672. .del {
  673. right: -70px;
  674. }
  675. .amap-page-container {
  676. width: 300px;
  677. height: 300px;
  678. }
  679. .ware {
  680. font-size: 12px;
  681. color: rgb(255, 255, 255);
  682. background: rgb(175, 181, 203);
  683. padding: 3px;
  684. position: relative;
  685. top: -1px;
  686. border-radius: 3px;
  687. text-align: center;
  688. }
  689. .title {
  690. position: relative;
  691. }
  692. .title::before {
  693. content: '';
  694. display: inline-block;
  695. width: 5px;
  696. height: 30px;
  697. background: #5473e8;
  698. position: absolute;
  699. left: 0;
  700. }
  701. .ws-info-table {
  702. border-left: 1px solid transparent;
  703. border-top: 1px solid transparent;
  704. }
  705. .el-button--primary {
  706. background-color: #5878e8;
  707. border-color: #5878e8;
  708. }
  709. .adjustment.el-button--primary {
  710. background-color: #51cdd9;
  711. border-color: #51cdd9;
  712. }
  713. .el-col {
  714. background: #f6f7fc;
  715. }
  716. .record {
  717. background: #fff;
  718. color: #8890b1;
  719. border-color: #fff;
  720. display: inline-block;
  721. margin-bottom: 10px;
  722. cursor: pointer;
  723. margin-left: 5px;
  724. margin-right: 5px;
  725. }
  726. .record img {
  727. position: relative;
  728. top: 2px;
  729. }
  730. .record.active img {
  731. position: relative;
  732. top: 4px;
  733. }
  734. .record.active {
  735. color: #262626;
  736. }
  737. .button-container {
  738. display: flex;
  739. flex-wrap: nowrap;
  740. justify-content: space-between;
  741. align-items: center;
  742. background-color: #fff;
  743. width: 100%;
  744. height: 50px;
  745. padding: 0 10px;
  746. & > div {
  747. margin-left: 10px;
  748. display: flex;
  749. flex-wrap: nowrap;
  750. flex-direction: row;
  751. & > span {
  752. line-height: 50px;
  753. }
  754. }
  755. /deep/.auditFlow-box {
  756. position: unset;
  757. margin-left: 10px;
  758. &/deep/.auditFlow-icon {
  759. width: auto;
  760. padding-right: 30px;
  761. }
  762. &/deep/.auditFlow-main {
  763. position: absolute;
  764. }
  765. }
  766. }
  767. .box-app {
  768. display: inline-block;
  769. float: left;
  770. margin-left: 30px;
  771. line-height: 50px;
  772. }
  773. /deep/.el-dialog {
  774. .el-form-item {
  775. margin-bottom: 0 !important;
  776. .el-input--medium {
  777. textarea {
  778. min-height: 100px !important;
  779. }
  780. }
  781. }
  782. }
  783. .top-grade {
  784. background: linear-gradient(90deg, #5678e9, #7993f6);
  785. color: #fff;
  786. padding: 3px;
  787. border-radius: 2px;
  788. }
  789. .second-class {
  790. background: linear-gradient(90deg, #50cdd9, #82e2ea);
  791. color: #fff;
  792. padding: 3px;
  793. border-radius: 2px;
  794. }
  795. .third-class {
  796. background: linear-gradient(90deg, #ffa735, #ffbf70);
  797. color: #fff;
  798. padding: 3px;
  799. border-radius: 2px;
  800. }
  801. .substandard {
  802. background: linear-gradient(90deg, #b2b4bb, #ced0d5);
  803. color: #fff;
  804. padding: 3px;
  805. border-radius: 2px;
  806. }
  807. .collapse-bottom {
  808. margin-bottom: 20px;
  809. }
  810. .input-main .textarea .el-textarea__inner {
  811. width: 100%;
  812. z-index: 1;
  813. }
  814. .bg-left {
  815. padding-left: 30px;
  816. }
  817. .bg-right {
  818. padding-right: 10px;
  819. text-align: right;
  820. }
  821. .bg-bottom {
  822. margin: 15px 0px;
  823. }
  824. .wenzi {
  825. width: 900px;
  826. margin: 0 auto;
  827. }
  828. .wenzi h3 {
  829. display: inline-block;
  830. left: 10px;
  831. }
  832. .wenzi p {
  833. display: inline-block;
  834. }
  835. .center {
  836. padding: 0 1%;
  837. }
  838. .el-form-item {
  839. width: 50%;
  840. }
  841. .el-form-item__label {
  842. text-align: center;
  843. }
  844. .ce {
  845. width: 900px;
  846. margin: 0 auto;
  847. }
  848. /*.crt-main .textarea /deep/ .el-form-item__label {*/
  849. /* height: 82px;*/
  850. /*}*/
  851. // 控制select为只读的时候显示样式
  852. .hide-sel {
  853. .el-input__inner {
  854. border: 0px;
  855. }
  856. .el-icon-arrow-up {
  857. display: none;
  858. }
  859. .el-textarea__inner {
  860. background-color: #fff !important;
  861. border: 0;
  862. }
  863. .el-date-editor {
  864. i {
  865. display: none;
  866. }
  867. }
  868. .is-disabled {
  869. .el-input__inner:hover {
  870. background-color: #fff !important;
  871. border: 0;
  872. }
  873. color: #606266;
  874. .el-input__inner {
  875. background-color: #fff !important;
  876. border: 0;
  877. color: #606266;
  878. }
  879. .el-textarea__inner {
  880. background-color: #fff !important;
  881. border: 0;
  882. color: #606266;
  883. }
  884. }
  885. }
  886. // 控制select为只读的时候显示样式
  887. /deep/.ws-class-table-col {
  888. height: auto;
  889. padding: 0px 2px;
  890. /deep/.el-input__inner {
  891. padding: 0px 2px;
  892. }
  893. }
  894. /deep/.is-disabled {
  895. .el-input__prefix,
  896. .el-input__suffix {
  897. display: none;
  898. }
  899. .el-input__inner {
  900. background-color: #fff;
  901. border-color: #fff !important;
  902. color: #000 !important;
  903. font-size: 14px;
  904. cursor: text;
  905. padding: 0 !important;
  906. }
  907. }
  908. .winseaview-view {
  909. padding: 0 0 20px;
  910. }
  911. .container {
  912. overflow: scroll;
  913. height: 93vh;
  914. }
  915. .el-textarea__inner {
  916. display: none;
  917. }
  918. .readonly {
  919. width: 16%;
  920. }
  921. .ws-info-table .el-form-item {
  922. width: 14.28%;
  923. }
  924. /deep/.ws-info-table .el-form-item .el-form-item__label {
  925. background-color: #f6f7fc;
  926. font-size: 12px;
  927. height: 45px;
  928. }
  929. //去边框
  930. /deep/.el-form-item {
  931. border-right: 0px;
  932. border-bottom: 0px;
  933. }
  934. /deep/.ws-info-table {
  935. border-left: 0px;
  936. border-top: 0px;
  937. }
  938. .ws-info-table .el-form-item .el-form-item__content {
  939. border-right: 0px;
  940. border-bottom: 0px;
  941. border-left: 0px;
  942. border-top: 0px;
  943. }
  944. /deep/.ws-info-table .el-form-item {
  945. border-right: 0px;
  946. border-bottom: 0px;
  947. border-left: 0px;
  948. border-top: 0px;
  949. }
  950. /deep/.ws-info-table .el-form-item .el-form-item__content {
  951. background: #f5f7fa;
  952. border-radius: 4px;
  953. border: 1px solid #d8dce6;
  954. font-family: PingFangSC-Regular, PingFang SC;
  955. margin-bottom: 5px;
  956. background-color: #fff;
  957. font-size: 14px;
  958. font-weight: 400;
  959. color: #8890b1;
  960. line-height: 16px;
  961. }
  962. /deep/.ws-info-table .el-form-item .el-form-item__content {
  963. border: 0px;
  964. }
  965. </style>