warehouseManagementDelivery.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805
  1. // 出库登记
  2. <template>
  3. <div class="container">
  4. <el-row>
  5. <el-col :span="20">
  6. <h2 class="bg-left title">出库登记</h2>
  7. </el-col>
  8. <el-col :span="4" class="bg-right">
  9. <el-button
  10. class="bg-bottom"
  11. type="primary"
  12. size="small"
  13. @click="returnWarehouse()"
  14. >返回</el-button
  15. >
  16. </el-col>
  17. </el-row>
  18. <ws-form ref="deptBudgetList" :model="deptBudgetList" :rules="rules">
  19. <div class="basicInformation">
  20. <h2>
  21. {{ deptBudgetList.warehouseName }}库
  22. <span class="position">
  23. {{deptBudgetList.binNumber }}仓位
  24. </span>
  25. </h2>
  26. <div class="small-title">基本信息</div>
  27. <ws-info-table>
  28. <!-- 货名 -->
  29. <ws-form-item label="货名" span="1">
  30. <ws-select
  31. v-model="deptBudgetList.goodsName"
  32. placeholder=""
  33. class="typeselect"
  34. @change="selectgoodsName"
  35. >
  36. <ws-option
  37. v-for="item in goodnameList"
  38. :key="item.constKey"
  39. :label="item.constValue"
  40. :value="item.constValue"
  41. />
  42. </ws-select>
  43. </ws-form-item>
  44. <!--毛重(吨)-->
  45. <ws-form-item label="毛重(吨)" span="1" prop="grossWeight">
  46. <ws-input
  47. @input="grossWeightchange"
  48. v-model="deptBudgetList.grossWeight"
  49. placeholder="请输入毛重"
  50. maxlength="20"
  51. size="small"
  52. />
  53. </ws-form-item>
  54. <!--皮重(吨)-->
  55. <ws-form-item
  56. label="皮重(吨)"
  57. span="1"
  58. prop="tare"
  59. class="readonly"
  60. >
  61. <ws-input
  62. @input="tarechange"
  63. v-model="deptBudgetList.tare"
  64. placeholder="请输入皮重"
  65. maxlength="100"
  66. size="small"
  67. />
  68. </ws-form-item>
  69. <!--净重(吨)-->
  70. <ws-form-item label="净重(吨)" span="1" prop="netWeight">
  71. <ws-input
  72. v-model.number="deptBudgetList.netWeight"
  73. placeholder="不可编辑,自动计算"
  74. type="number"
  75. maxlength="120"
  76. size="small"
  77. />
  78. </ws-form-item>
  79. <!-- 品级 -->
  80. <ws-form-item label="品级" span="1" class="readonly">
  81. <ws-select
  82. v-model="deptBudgetList.grade"
  83. placeholder=""
  84. class="typeselect"
  85. @change="selectpackingMethod"
  86. >
  87. <ws-option
  88. v-for="item in gradeList"
  89. :key="item.constKey"
  90. :label="item.constValue"
  91. :value="item.constValue"
  92. />
  93. </ws-select>
  94. </ws-form-item>
  95. <!--经办人-->
  96. <ws-form-item label="经办人" span="1" prop="agent">
  97. <ws-input
  98. v-model="deptBudgetList.agent"
  99. placeholder="请输入出库经办人姓名"
  100. maxlength="100"
  101. size="small"
  102. />
  103. </ws-form-item>
  104. <!--出库日期-->
  105. <ws-form-item label="出库日期" span="1" prop="inOutDate" class="deliverydate">
  106. <ws-date-picker
  107. v-model="deptBudgetList.inOutDate"
  108. type="date"
  109. placeholder="请选择出库日期"
  110. value-format="yyyy-MM-dd"
  111. />
  112. </ws-form-item>
  113. <!-- 入库类型 -->
  114. <ws-form-item label="出库类型" span="1">
  115. <ws-select
  116. v-model="deptBudgetList.inOutType"
  117. placeholder=""
  118. class="typeselect"
  119. @change="selectstorageType"
  120. >
  121. <ws-option
  122. v-for="item in storageType"
  123. :key="item.constKey"
  124. :label="item.constValue"
  125. :value="item.constValue"
  126. />
  127. </ws-select>
  128. </ws-form-item>
  129. <!--车牌号-->
  130. <ws-form-item label="车牌号" span="1" prop="sourceGoods">
  131. <ws-input
  132. v-model="deptBudgetList.carNo"
  133. placeholder="请输入车牌号"
  134. maxlength="20"
  135. size="small"
  136. />
  137. </ws-form-item>
  138. <!--合同编号-->
  139. <ws-form-item label="合同编号" span="1" prop="contractNo">
  140. <ws-input
  141. v-model="deptBudgetList.contractNo"
  142. placeholder="请输入合同编号"
  143. maxlength="100"
  144. size="small"
  145. />
  146. </ws-form-item>
  147. </ws-info-table>
  148. </div>
  149. <div class="small-title">上传仓库照片</div>
  150. <ws-upload
  151. ref="upload"
  152. table-name="maintain_work_order"
  153. oss-key="mainPlan"
  154. :comp-id="compId"
  155. :appendix-ids="appendixIdsAdd"
  156. :vesselId="deptBudgetList.addressUrl"
  157. :size-limit="size"
  158. @uploadSuccess="uploadSuccess"
  159. @onChange="onChange"
  160. accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar"
  161. />
  162. <div class="small-title">化验数据(选填)</div>
  163. <div class="inspector">
  164. <!--自检员-->
  165. <ws-form-item label="质检员" span="1" prop="qualityInspector" >
  166. <ws-input
  167. v-model="deptBudgetList.warehouseInOutDetail.qualityInspector"
  168. placeholder="请输入质检员姓名"
  169. maxlength="120"
  170. size="small"
  171. />
  172. </ws-form-item>
  173. </div>
  174. <div class="neifor">
  175. <ws-info-table>
  176. <!--水分(%)<=-->
  177. <ws-form-item label="水分(%)<=" span="1" prop="waterContent">
  178. <ws-input
  179. v-model="deptBudgetList.warehouseInOutDetail.waterContent"
  180. placeholder="请输入水分占比"
  181. maxlength="120"
  182. size="small"
  183. />
  184. </ws-form-item>
  185. <!--杂质(%)<=-->
  186. <ws-form-item label="杂质(%)<=" span="1" prop="impurity">
  187. <ws-input
  188. v-model="deptBudgetList.warehouseInOutDetail.impurity"
  189. placeholder="请输入杂质占比"
  190. maxlength="120"
  191. size="small"
  192. />
  193. </ws-form-item>
  194. <!--容重(克/升)>=-->
  195. <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
  196. <ws-input
  197. v-model="deptBudgetList.warehouseInOutDetail.bulkDensity"
  198. placeholder="请输入容重"
  199. maxlength="120"
  200. size="small"
  201. />
  202. </ws-form-item>
  203. <!--霉变粒(%)<=-->
  204. <ws-form-item label="霉变粒(%)<=" span="1" prop="mildewGrain">
  205. <ws-input
  206. v-model="deptBudgetList.warehouseInOutDetail.mildewGrain"
  207. placeholder="请输入霉变粒占比"
  208. maxlength="120"
  209. size="small"
  210. />
  211. </ws-form-item>
  212. <!--热损伤(%)<=-->
  213. <ws-form-item label="热损伤(%)<=" span="1" prop="jiaorenli">
  214. <ws-input
  215. v-model="deptBudgetList.warehouseInOutDetail.jiaorenli"
  216. placeholder="请输入热损伤占比"
  217. maxlength="120"
  218. size="small"
  219. />
  220. </ws-form-item>
  221. <!--不完整粒(%)<=-->
  222. <ws-form-item label="不完整粒(%)<=" span="1" prop="imperfectGrain">
  223. <ws-input
  224. v-model="deptBudgetList.warehouseInOutDetail.imperfectGrain"
  225. placeholder="请输入不完整粒占比"
  226. maxlength="120"
  227. size="small"
  228. />
  229. </ws-form-item>
  230. </ws-info-table>
  231. </div>
  232. <div style="text-align: right; padding: 10px">
  233. <el-button
  234. class="bg-bottom-up"
  235. type="primary"
  236. size="small"
  237. @click="temporaryStorage()"
  238. >暂存</el-button
  239. >
  240. <el-button
  241. class="bg-bottom-up"
  242. type="primary"
  243. size="small"
  244. @click="submit()"
  245. >提交</el-button
  246. >
  247. </div>
  248. </ws-form>
  249. </div>
  250. </template>
  251. <script>
  252. import { pullDown, addstorageputList } from '@/model/warehouse/index'
  253. import { downloadFile } from '@/utils/batchDown'
  254. import Pagination from '@/components/Pagination'
  255. import WsUpload from '@/components/WsUpload'
  256. // import { dayjs, fmoney, EventBus } from 'base-core-lib'
  257. import { dayjs, EventBus } from 'base-core-lib'
  258. export default {
  259. name: 'viewSpareMoney',
  260. components: {
  261. WsUpload,
  262. Pagination,
  263. },
  264. watch: {
  265. // vesselId(val) {
  266. // this.getList()
  267. // },
  268. isShow(val) {
  269. this.showType = val
  270. },
  271. },
  272. data() {
  273. return {
  274. //弹出框
  275. dialogViewSpareMoney: false,
  276. dialogApproveFormVisible: false,
  277. // 船舶类型
  278. monetaryKey: null,
  279. // 表格显示数据
  280. tableDate: [],
  281. // 是否显示
  282. showType: true,
  283. // 年
  284. year: '',
  285. deptBudgetTotal: 0,
  286. currentPage: 1,
  287. pageSize: 10,
  288. searchType: 1,
  289. searchKeyWord: '',
  290. contractType: 2,
  291. startDate: null,
  292. endDate: null,
  293. goodnameList: {},
  294. // 提交类型
  295. submitType: true,
  296. storageType: [],
  297. appendixIdsAdd: '',
  298. uploadSuccess: {},
  299. onChange: {},
  300. gradeList: [],
  301. rules: {
  302. netWeight: [
  303. {
  304. required: true,
  305. type: 'number',
  306. message: '请输入活动名称',
  307. trigger: 'blur',
  308. },
  309. ],
  310. },
  311. size: 10,
  312. compId: sessionStorage.getItem('ws-pf_compId'),
  313. deptCircularPage: {},
  314. packtypeList: {},
  315. date: {
  316. year: dayjs().format('YYYY'),
  317. month: dayjs().format('MM'),
  318. },
  319. contractList: [],
  320. deptBudgetList: {
  321. warehouseInOutDetail: {},
  322. },
  323. historyList: [],
  324. pickerBeginDateBefore: {
  325. disabledDate: (time) => {
  326. return time.getTime() > Date.now()
  327. },
  328. },
  329. accessoryTFs: false,
  330. }
  331. },
  332. mounted() {
  333. console.log(this.$route.query)
  334. this.deptBudgetList.baseId = this.$route.query.baseId
  335. this.deptBudgetList.positionId = this.$route.query.positionId
  336. this.deptBudgetList.warehouseName = this.$route.query.warehouseName
  337. this.deptBudgetList.binNumber = this.$route.query.binNumber
  338. this.getList()
  339. },
  340. methods: {
  341. //返回按钮
  342. returnWarehouse() {
  343. this.$router.push({ path: 'warehouseManagementList' })
  344. },
  345. temporaryStorage() {
  346. this.$confirm(`暂存后可在待完成页面查看,确定暂存`, {
  347. cancelButtonText: '取消',
  348. confirmButtonText: '确定',
  349. type: 'warning',
  350. })
  351. .then(() => {
  352. this.$refs.deptBudgetList.validate((valid) => {
  353. if (valid) {
  354. this.deptBudgetList.compId = sessionStorage.getItem(
  355. 'ws-pf_compId'
  356. )
  357. this.deptBudgetList.inOutFlag = 1
  358. this.deptBudgetList.statusFlag = 1
  359. addstorageputList(this.deptBudgetList)
  360. .toPromise()
  361. .then((response) => {
  362. this.$message.success('暂存成功')
  363. this.$router.push({ path: 'warehouseManagementList' })
  364. })
  365. } else {
  366. EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  367. return false
  368. }
  369. })
  370. })
  371. .catch(() => {
  372. return false
  373. })
  374. },
  375. //提交按钮
  376. submit() {
  377. if (!this.deptBudgetList.goodsName) {
  378. this.$message({
  379. message: '货名不能为空!',
  380. type: 'warning',
  381. })
  382. return
  383. }
  384. if (!this.deptBudgetList.grossWeight) {
  385. this.$message({
  386. message: '毛重不能为空!',
  387. type: 'warning',
  388. })
  389. return
  390. }
  391. if (isNaN(this.deptBudgetList.grossWeight) && this.deptBudgetList.grossWeight>0 && this.deptBudgetList.grossWeight <= 10000) {
  392. this.$message({
  393. message: '毛重输入错误!',
  394. type: 'warning',
  395. })
  396. return
  397. }
  398. if (!this.deptBudgetList.tare) {
  399. this.$message({
  400. message: '皮重不能为空!',
  401. type: 'warning',
  402. })
  403. return
  404. }
  405. if (isNaN(this.deptBudgetList.tare) && this.deptBudgetList.tare>0 && this.deptBudgetList.tare <= 10000) {
  406. this.$message({
  407. message: '皮重输入错误!',
  408. type: 'warning',
  409. })
  410. return
  411. }
  412. if (!this.deptBudgetList.netWeight) {
  413. this.$message({
  414. message: '净重不能为空!',
  415. type: 'warning',
  416. })
  417. return
  418. }
  419. if (isNaN(this.deptBudgetList.netWeight) && this.deptBudgetList.tare>0 && this.deptBudgetList.tare <= 10000) {
  420. this.$message({
  421. message: '净重输入错误!',
  422. type: 'warning',
  423. })
  424. return
  425. }
  426. if (!this.deptBudgetList.grade) {
  427. this.$message({
  428. message: '品级不能为空!',
  429. type: 'warning',
  430. })
  431. return
  432. }
  433. if (!this.deptBudgetList.agent) {
  434. this.$message({
  435. message: '经办人不能为空!',
  436. type: 'warning',
  437. })
  438. return
  439. }
  440. if (this.deptBudgetList.agent.length < 2 && this.deptBudgetList.agent.length > 10) {
  441. this.$message({
  442. message: '经办人姓名输入有误!',
  443. type: 'warning',
  444. })
  445. return
  446. }
  447. if (!this.deptBudgetList.inOutDate) {
  448. this.$message({
  449. message: '出库日期不能为空!',
  450. type: 'warning',
  451. })
  452. return
  453. }
  454. if (!this.deptBudgetList.inOutType) {
  455. this.$message({
  456. message: '出库类型不能为空!',
  457. type: 'warning',
  458. })
  459. return
  460. }
  461. if (!this.deptBudgetList.carNo) {
  462. this.$message({
  463. message: '车牌号不能为空!',
  464. type: 'warning',
  465. })
  466. return
  467. }
  468. if (this.deptBudgetList.carNo.length != 7) {
  469. this.$message({
  470. message: '车牌号输入有误!',
  471. type: 'warning',
  472. })
  473. return
  474. }
  475. if (!this.deptBudgetList.contractNo) {
  476. this.$message({
  477. message: '合同编号不能为空!',
  478. type: 'warning',
  479. })
  480. return
  481. }
  482. if (this.deptBudgetList.contractNo.length < 6 && this.deptBudgetList.contractNo.length > 20) {
  483. this.$message({
  484. message: '合同编号输入有误!',
  485. type: 'warning',
  486. })
  487. return
  488. }
  489. this.$refs.deptBudgetList.validate((valid) => {
  490. if (valid) {
  491. this.deptBudgetList.compId = sessionStorage.getItem('ws-pf_compId')
  492. this.deptBudgetList.inOutFlag = 1
  493. this.deptBudgetList.statusFlag = 3
  494. addstorageputList(this.deptBudgetList)
  495. .toPromise()
  496. .then((response) => {
  497. this.$message.success('添加成功')
  498. this.$router.push({ path: 'warehouseManagementList' })
  499. })
  500. } else {
  501. EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  502. return false
  503. }
  504. })
  505. },
  506. //暂存按钮
  507. returnWarehouse() {
  508. this.$refs.deptBudgetList.validate((valid) => {
  509. if (valid) {
  510. this.deptBudgetList.compId = sessionStorage.getItem('ws-pf_compId')
  511. this.deptBudgetList.statusFlag = 1
  512. addstorageputList(this.deptBudgetList)
  513. .toPromise()
  514. .then((response) => {
  515. this.$message.success('添加成功')
  516. this.$router.push({ path: 'warehouseManagementList' })
  517. })
  518. } else {
  519. EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  520. return false
  521. }
  522. })
  523. },
  524. tarechange(e) {
  525. if (this.deptBudgetList.grossWeight && this.deptBudgetList.tare) {
  526. this.deptBudgetList.netWeight = Number(
  527. this.deptBudgetList.grossWeight - this.deptBudgetList.tare
  528. )
  529. }
  530. },
  531. grossWeightchange(e) {
  532. if (this.deptBudgetList.grossWeight && this.deptBudgetList.tare) {
  533. this.deptBudgetList.netWeight = Number(
  534. this.deptBudgetList.grossWeight - this.deptBudgetList.tare
  535. )
  536. }
  537. },
  538. selectgoodsName(e) {
  539. for (var i = 0; i < this.goodnameList.length; i++) {
  540. if (this.goodnameList[i].constValue == e) {
  541. this.deptBudgetList.goodsNameKey = this.goodnameList[i].constKey
  542. }
  543. }
  544. },
  545. selectpackingMethod(e) {
  546. for (var i = 0; i < this.packtypeList.length; i++) {
  547. if (this.packtypeList[i].constValue == e) {
  548. this.deptBudgetList.packingMethodKey = this.packtypeList[i].constKey
  549. }
  550. }
  551. },
  552. selectstorageType(e) {
  553. for (var i = 0; i < this.storageType.length; i++) {
  554. if (this.storageType[i].constValue == e) {
  555. this.deptBudgetList.inOutTypeKey = this.storageType[i].constKey
  556. }
  557. }
  558. },
  559. handleClose() {
  560. this.accessoryTFs = false
  561. },
  562. handleSizeChange(val) {
  563. console.log(`每页 ${val} 条`)
  564. this.pageSize = val
  565. this.getList()
  566. },
  567. handleCurrentChange(val) {
  568. this.currentPage = val
  569. console.log(`当前页: ${val}`)
  570. this.getList()
  571. },
  572. getList() {
  573. // 货名
  574. pullDown({ constId: 'CON2' })
  575. .toPromise()
  576. .then((response) => {
  577. this.goodnameList = response
  578. })
  579. // 品级
  580. pullDown({ constId: 'CON3' })
  581. .toPromise()
  582. .then((response) => {
  583. this.gradeList = response
  584. })
  585. // 类型
  586. pullDown({ constId: 'CON6' })
  587. .toPromise()
  588. .then((response) => {
  589. this.storageType = response
  590. })
  591. },
  592. selecttaskType(e) {
  593. for (var i = 0; i < this.taskTypeList.length; i++) {
  594. if (this.taskTypeList[i].value == e) {
  595. this.searchType = this.taskTypeList[i].type
  596. }
  597. }
  598. },
  599. fujian(row) {
  600. if (
  601. row.receiveAttachmentPath === null ||
  602. row.receiveAttachmentPath === ''
  603. ) {
  604. EventBus.$emit(
  605. 'warning',
  606. this.$t('system.noticeCircular.NoInformation')
  607. )
  608. } else {
  609. this.accessoryTFs = true
  610. }
  611. this.appendixIdss = row.receiveAttachmentPath
  612. },
  613. handleExamine(row) {
  614. this.$router.push({
  615. name: 'salesContractExamine',
  616. query: { id: row.id },
  617. })
  618. },
  619. // 关闭 dialog时 处理文件url 初始化upload组件
  620. handleCloe() {
  621. this.dialogViewSpareMoney = false
  622. },
  623. history(row) {
  624. console.log(row)
  625. billoperatehis({ id: row.id })
  626. .toPromise()
  627. .then((response) => {
  628. this.historyList = response
  629. })
  630. },
  631. // async exportlist() {
  632. // const { data } = await export1(
  633. // {
  634. // compId: sessionStorage.getItem('ws-pf_compId'),
  635. // contractType: this.contractType,
  636. // currentPage: this.currentPage,
  637. // pageSize: this.pageSize,
  638. // searchType: this.searchType,
  639. // searchKeyWord: this.searchKeyWord,
  640. // startDate: this.startDate,
  641. // endDate: this.endDate,
  642. // },
  643. // {},
  644. // { responseType: 'blob' }
  645. // ).toPromise()
  646. // downloadFile({
  647. // res: data,
  648. // fileName: `${
  649. // this.date.year + (this.date.month ? `-${this.date.month}` : '')
  650. // }_采购合同`,
  651. // type: 'xls',
  652. // })
  653. // },
  654. // deletecontract(){},
  655. //删除
  656. approve() {},
  657. listQuery() {},
  658. total() {},
  659. clearfiltQuery() {},
  660. selectCrtDuty() {},
  661. },
  662. }
  663. </script>
  664. <style lang="scss" scoped>
  665. /deep/.basicInformation {
  666. .ws-info-table {
  667. border: none;
  668. }
  669. .el-form-item {
  670. width: 33.3333%;
  671. border: none;
  672. .el-form-item__label {
  673. background: transparent;
  674. border: none;
  675. }
  676. .el-form-item__content {
  677. border: none;
  678. }
  679. }
  680. }
  681. .title {
  682. position: relative;
  683. padding-left: 10px;
  684. }
  685. .title::before {
  686. content: '';
  687. display: inline-block;
  688. width: 5px;
  689. height: 30px;
  690. background: #5473e8;
  691. position: absolute;
  692. left: 0;
  693. }
  694. .el-form {
  695. padding: 0 10%;
  696. }
  697. .el-button--primary {
  698. background-color: #5878e8;
  699. border-color: #5878e8;
  700. }
  701. .el-col {
  702. background: #f6f7fc;
  703. }
  704. .bg-right {
  705. text-align: right;
  706. padding: 16px 20px;
  707. }
  708. .center {
  709. position: relative;
  710. top: 50px;
  711. width: 40%;
  712. height: 2000px;
  713. margin: 0 auto;
  714. }
  715. /deep/.el-form-item__label {
  716. width: 160px;
  717. }
  718. //选填
  719. /deep/.el-form-item {
  720. width: 50%;
  721. }
  722. .container {
  723. overflow: scroll;
  724. height: 120vh;
  725. }
  726. /deep/.ws-info-table .el-form-item .el-form-item__label {
  727. text-align: center;
  728. }
  729. .deliverydate {
  730. display: inline-block;
  731. width: 10%;
  732. }
  733. .center {
  734. margin-top: -60px;
  735. width: 80%;
  736. }
  737. //仓位
  738. .position{
  739. width: 52px;
  740. height: 20px;
  741. background: #AFB5CB;
  742. border-radius: 2px;
  743. font-size: 12px;
  744. font-family: PingFangSC-Medium, PingFang SC;
  745. color: #FFFFFF;
  746. line-height: 20px;
  747. }
  748. //表格文字
  749. /deep/.ws-info-table .el-form-item .el-form-item__label{
  750. text-align: left;
  751. font-size: 14px;
  752. font-family: PingFangSC-Regular, PingFang SC;
  753. font-weight: 400;
  754. color: #8890B1;
  755. line-height: 16px;
  756. }
  757. //质检员
  758. .inspector .el-form-item__content{
  759. text-align: left;
  760. margin-left: 0px;
  761. }
  762. .small-title {
  763. position: relative;
  764. padding: 10px;
  765. }
  766. .small-title::before {
  767. position: absolute;
  768. content: '';
  769. display: block;
  770. background: #5473e8;
  771. width: 4px;
  772. height: 14px;
  773. left: 0px;
  774. top: 13px;
  775. }
  776. //下面列表
  777. .neifor{
  778. width: 80%;
  779. background-color: #F6F7FC;
  780. }
  781. /deep/.neifor .ws-info-table .el-form-item .el-form-item__label{
  782. width: 35%;
  783. text-align: center;
  784. }
  785. /deep/.neifor .ws-info-table .el-form-item .el-form-item__content{
  786. width: 60%;
  787. background-color: #F6F7FC;
  788. }
  789. /deep/.neifor .el-input--small .el-input__inner{
  790. width: 120%;
  791. }
  792. </style>