tranManagementVehicleLook.vue 23 KB

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