warehouseManagementRecord.vue 25 KB

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