transportationReservationAdd.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737
  1. <template>
  2. <!-- 新增运输作业页面 -->
  3. <div id="contractDetails">
  4. <page-title>运输预约</page-title>
  5. <div class="material from">
  6. <span class="text">物资:</span>
  7. <el-input class="input" v-model="materialName" disabled> </el-input>
  8. <el-button type="primary" @click="ondrawer(1)">浏览</el-button>
  9. </div>
  10. <div class="forwardingUnit from">
  11. <span class="text">发货单位:</span>
  12. <el-input class="input" v-model="supplierName" disabled> </el-input>
  13. <el-button type="primary" @click="ondrawer(2)">浏览</el-button>
  14. </div>
  15. <div class="remark from">
  16. <span class="text">船名:</span>
  17. <el-input class="input" v-model="remark" @blur="onBlur"> </el-input>
  18. <span class="span"></span>
  19. </div>
  20. <div class="forwardingUnit from">
  21. <span class="text">卸货点:</span>
  22. <el-input class="input" v-model="unloadPointName" disabled> </el-input>
  23. <el-button type="primary" @click="ondrawer(4)">浏览</el-button>
  24. </div>
  25. <div class="lineId from">
  26. <span class="text">选择路线:</span>
  27. <el-input class="input" v-model="lineName" disabled> </el-input>
  28. <el-button type="primary" @click="ondrawer(5)">浏览</el-button>
  29. </div>
  30. <div class="lineId from">
  31. <span class="text">采购订单号:</span>
  32. <el-input class="input" v-model="purchaseOrderNo" disabled> </el-input>
  33. <el-button type="primary" @click="ondrawer(6)">浏览</el-button>
  34. </div>
  35. <div class="orderType from">
  36. <span class="text">订单类别:</span>
  37. <el-select
  38. class="select"
  39. v-model="orderType"
  40. placeholder="请选择"
  41. disabled
  42. >
  43. <el-option
  44. v-for="item in orderTypeList"
  45. :key="item.value"
  46. :label="item.label"
  47. :value="item.value"
  48. >
  49. </el-option>
  50. </el-select>
  51. <span class="span"></span>
  52. </div>
  53. <div class="contractTitle from">
  54. <dil-form :formId="219" v-model="form1"></dil-form>
  55. </div>
  56. <div class="truckList1">
  57. <div class="truckList from">
  58. <span class="text">选择车辆:</span>
  59. <el-button type="primary" @click="ondrawer(3)" class="truckBtn"
  60. >浏览</el-button
  61. >
  62. </div>
  63. </div>
  64. <div class="lineId from">
  65. <span class="text">该批车辆是否一车多趟:</span>
  66. <el-switch
  67. v-model="isMoreTrips"
  68. active-text="是"
  69. inactive-text="否">
  70. </el-switch>
  71. </div>
  72. <div class="truckListTable">
  73. <el-table
  74. :data="selectionList"
  75. border
  76. style="width: 100%"
  77. highlight-current-row
  78. >
  79. <el-table-column type="index" width="50" label="序号" align="center">
  80. </el-table-column>
  81. <el-table-column
  82. v-for="(item, i) in tableTop"
  83. :key="i"
  84. :prop="item.prop"
  85. :label="item.label"
  86. align="center"
  87. show-overflow-tooltip
  88. >
  89. <template slot="scope" v-if="item.th_name !== '重量'">
  90. <span>{{ item.label }}</span>
  91. </template>
  92. <!-- 插入输入框 -->
  93. <template slot-scope="scope">
  94. <template v-if="item.slot">
  95. <template v-if="item.prop == 'orderMaterialWeight'">
  96. <el-input
  97. style="width: 250px"
  98. v-model.number="scope.row.orderMaterialWeight"
  99. ></el-input>
  100. </template>
  101. </template>
  102. <template v-else>
  103. <span>{{ scope.row[item.prop] }}</span>
  104. </template>
  105. </template>
  106. </el-table-column>
  107. <el-table-column fixed="right" label="操作" width="100">
  108. <template slot-scope="scope">
  109. <el-button type="text" size="small" @click="onClick(scope.$index)"
  110. >删除</el-button
  111. >
  112. </template>
  113. </el-table-column>
  114. </el-table>
  115. </div>
  116. <!-- 模态窗口 -->
  117. <el-drawer :visible.sync="drawer" :direction="direction" size="40%">
  118. <div class="drawer_top">
  119. <el-input
  120. placeholder="请输入内容"
  121. v-model="input"
  122. style="margin-top: 10px; margin-right: 10px; width: 250px"
  123. clearable
  124. ></el-input>
  125. <el-button type="primary" class="btn" @click="onclick">
  126. <i class="el-icon-search"></i>查询
  127. </el-button>
  128. </div>
  129. <div class="drawer_table1" v-show="onDrawerNumber == 1">
  130. <dilTable
  131. v-bind.sync="frist"
  132. @radio-change="currentRadioChange1"
  133. :isKuang="isKuang"
  134. @func="func"
  135. :isHeigth="isHeigth"
  136. :shiyHeigth="shiyHeigth"
  137. :drawer="drawer"
  138. ></dilTable>
  139. </div>
  140. <div v-show="onDrawerNumber == 2">
  141. <dilTable
  142. v-bind.sync="secend"
  143. @radio-change="currentRadioChange2"
  144. :isKuang="isKuang"
  145. @func="func"
  146. :isHeigth="isHeigth1"
  147. :shiyHeigth="shiyHeigth1"
  148. :drawer="drawer"
  149. ></dilTable>
  150. </div>
  151. <div v-show="onDrawerNumber == 3">
  152. <dilTable
  153. v-bind.sync="third"
  154. @selection-change="currentRadioChange3"
  155. :isKuang="isKuang"
  156. @func="func"
  157. :isHeigth="isHeigth2"
  158. :shiyHeigth="shiyHeigth2"
  159. :drawer="drawer"
  160. ></dilTable>
  161. </div>
  162. <div v-show="onDrawerNumber == 4">
  163. <dilTable
  164. v-bind.sync="unloadPoint"
  165. @radio-change="currentRadioChange4"
  166. :isKuang="isKuang"
  167. @func="func"
  168. :isHeigth="isHeigth3"
  169. :shiyHeigth="shiyHeigth3"
  170. :drawer="drawer"
  171. ></dilTable>
  172. </div>
  173. <div v-show="onDrawerNumber == 5">
  174. <dilTable
  175. v-bind.sync="line"
  176. @radio-change="currentRadioChange5"
  177. :isKuang="isKuang"
  178. @func="func"
  179. :isHeigth="isHeigth4"
  180. :shiyHeigth="shiyHeigth4"
  181. :drawer="drawer"
  182. ></dilTable>
  183. </div>
  184. <div v-show="onDrawerNumber == 6">
  185. <dilTable
  186. v-bind.sync="purchaseOrder"
  187. @radio-change="currentRadioChange6"
  188. :isKuang="isKuang"
  189. @func="func"
  190. :isHeigth="isHeigth5"
  191. :shiyHeigth="shiyHeigth5"
  192. :drawer="drawer"
  193. ></dilTable>
  194. </div>
  195. </el-drawer>
  196. <div class="button_box">
  197. <el-button @click="onClickCancel">返回</el-button>
  198. <el-button type="primary" @click="onClickConfirm">确认</el-button>
  199. </div>
  200. </div>
  201. </template>
  202. <script>
  203. import PageTitle from "@/components/Page/Title";
  204. import { sjTime, isNumber, isIntegerNumber } from "@/utils/sharedJsFile";
  205. import { getCookie } from "@/utils/util.js";
  206. export default {
  207. components: { PageTitle },
  208. data() {
  209. return {
  210. //限定first
  211. isHeigth:true,
  212. shiyHeigth:140,
  213. //限定second
  214. isHeigth1:true,
  215. shiyHeigth1:140,
  216. //限定third
  217. isHeigth2:true,
  218. shiyHeigth2:140,
  219. //限定unloadPoint
  220. isHeigth3:true,
  221. shiyHeigth3:140,
  222. //限定line
  223. isHeigth4:true,
  224. shiyHeigth4:140,
  225. //限定purchaseOrder
  226. isHeigth5:true,
  227. shiyHeigth5:140,
  228. isKuang: false,
  229. isKuang:false,
  230. //采购订单号
  231. purchaseOrderNo:'',
  232. isMoreTrips:false,
  233. //订单类别
  234. orderTypeList: [
  235. {
  236. value: 17,
  237. label: "老厂区",
  238. },
  239. {
  240. value: 18,
  241. label: "新厂区",
  242. },
  243. ],
  244. // 线路名称
  245. lineName: "",
  246. //线路id
  247. lineId: null,
  248. // 件数与重量的开关
  249. value: false,
  250. //船名
  251. remark: null,
  252. // 车辆表格表头
  253. tableTop: [
  254. {
  255. prop: "capacityNumber",
  256. label: "车牌号",
  257. width: "140",
  258. },
  259. {
  260. prop: "carrierName",
  261. label: "承运商",
  262. width: "140",
  263. },
  264. {
  265. prop: "orderMaterialWeight",
  266. label: "重量",
  267. slot: true,
  268. },
  269. ],
  270. //车辆表格数据
  271. selectionList: [],
  272. // 表单
  273. form1: {},
  274. //采购订单id
  275. purchaseOrderId: "",
  276. //物资名称
  277. materialName: "",
  278. //发货单位名称
  279. supplierName: "",
  280. //发货单位id
  281. supplierId: null,
  282. //物资id
  283. materialId: null,
  284. //是否需要打开模态窗口
  285. drawer: false,
  286. //卸货点id
  287. unloadPointId: "",
  288. //卸货点名称
  289. unloadPointName: "",
  290. //订单类别
  291. orderType: null,
  292. onDrawerNumber: 1,
  293. direction: "rtl",
  294. input: "",
  295. frist: {
  296. requestUrl: "",
  297. selectionType: "radio",
  298. mapList1: [],
  299. },
  300. secend: {
  301. requestUrl:"",
  302. selectionType: "radio",
  303. mapList2: [],
  304. },
  305. third: {
  306. requestUrl: "",
  307. selectionType: "select",
  308. mapList3: [],
  309. },
  310. unloadPoint: {
  311. requestUrl: "",
  312. selectionType: "radio",
  313. },
  314. line: {
  315. requestUrl: "",
  316. selectionType: "radio",
  317. },
  318. purchaseOrder:{
  319. requestUrl: "",
  320. selectionType: "radio",
  321. }
  322. };
  323. },
  324. watch: {
  325. drawer(val) {
  326. if (val) {
  327. this.input = null;
  328. }
  329. },
  330. },
  331. created() {
  332. if (getCookie("orgCode") == "chengyunshang") {
  333. this.third.requestUrl =
  334. "/api/v1/uc/getAllCapacityByCarrierLike?apiId=248&carrierSsoId=" +
  335. getCookie("userId");
  336. } else {
  337. this.third.requestUrl =
  338. "/api/v1/uc/getAllCapacityByCarrierLike?apiId=248&carrierSsoId=" + null;
  339. }
  340. },
  341. methods: {
  342. onClick(index) {
  343. this.selectionList.splice(index, 1);
  344. },
  345. onBlur() {
  346. this.getPurchaseOrderNo();
  347. },
  348. getPurchaseOrderNo() {
  349. let map = {
  350. materialId: this.materialId,
  351. supplierId: this.supplierId,
  352. };
  353. if (this.remark) {
  354. map.remark = this.remark;
  355. }
  356. console.log(this.map);
  357. if (this.materialId && this.supplierId) {
  358. this.axios.post("/api/v1/oms/selectNewOrderId", map).then((res) => {
  359. console.log(res);
  360. if (res.data.code == "200") {
  361. if (res.data.data == null) {
  362. this.$message({
  363. message: "没有匹配的采购订单号!",
  364. type: "warning",
  365. });
  366. this.form1 = [];
  367. } else {
  368. console.log();
  369. this.remark = res.data.data.remark;
  370. this.purchaseOrderId = res.data.data.purchaseOrderId;
  371. this.purchaseOrderNo=res.data.data.purchaseOrderNo;
  372. if (res.data.data.receiveUnitId == 1) {
  373. this.orderType = 17;
  374. } else {
  375. this.orderType = 18;
  376. }
  377. }
  378. } else {
  379. this.$message.error("请求失败");
  380. }
  381. });
  382. }
  383. },
  384. onclick() {
  385. if(this.input){
  386. this.isKuang = true;
  387. if (this.onDrawerNumber == 1) {
  388. this.frist.requestUrl = "/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050&index=" + this.input;
  389. } else if (this.onDrawerNumber == 2) {
  390. this.secend.requestUrl = "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=" + this.materialId + "&index=" + this.input;
  391. } else if (this.onDrawerNumber == 3) {
  392. //判断是否是承运商查询车辆
  393. if (getCookie("orgCode") == "chengyunshang") {
  394. this.third.requestUrl = "/api/v1/uc/getAllCapacityByCarrierLike?apiId=248&carrierSsoId=" + getCookie("userId") + "&index=" + this.input;
  395. } else {
  396. this.third.requestUrl = "/api/v1/uc/getAllCapacityByCarrierLike?apiId=248&carrierSsoId=" + null + "&index=" + this.input;
  397. }
  398. } else if (this.onDrawerNumber == 4) {
  399. this.unloadPoint.requestUrl = "/api/v1/uc/getUnloadingMesByLike?apiId=374&index=" + this.input;
  400. } else if (this.onDrawerNumber == 5) {
  401. this.line.requestUrl = "/api/v1/rms/getAllLineDesk?apiId=249&lineType=3&con=" + this.input;
  402. }else if (this.onDrawerNumber == 6) {
  403. this.purchaseOrder.requestUrl = "/api/v1/ams/getPurchaseOrderList?apiId=81&sendCompId="+this.supplierId+"&con=" + this.input+"&i="+new Date();
  404. }
  405. }else{
  406. if (this.onDrawerNumber == 1) {
  407. this.frist.requestUrl = "/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050&i="+new Date();
  408. } else if (this.onDrawerNumber == 2) {
  409. this.secend.requestUrl = "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=" + this.materialId+"&i="+new Date();
  410. } else if (this.onDrawerNumber == 3) {
  411. //判断是否是承运商查询车辆
  412. if (getCookie("orgCode") == "chengyunshang") {
  413. this.third.requestUrl = "/api/v1/uc/getAllCapacityByCarrierLike?apiId=248&carrierSsoId=" + getCookie("userId")+"&i="+new Date();
  414. } else {
  415. this.third.requestUrl = "/api/v1/uc/getAllCapacityByCarrierLike?apiId=248&carrierSsoId=" + null+"&i="+new Date();
  416. }
  417. } else if (this.onDrawerNumber == 4) {
  418. this.unloadPoint.requestUrl = "/api/v1/uc/getUnloadingMesByLike?apiId=374&i="+new Date();
  419. } else if (this.onDrawerNumber == 5) {
  420. this.line.requestUrl = "/api/v1/rms/getAllLineDesk?apiId=249&lineType=3&i="+new Date();
  421. }else if (this.onDrawerNumber == 6) {
  422. this.purchaseOrder.requestUrl = "/api/v1/ams/getPurchaseOrderList?apiId=81&sendCompId="+this.supplierId+"&i="+new Date();
  423. }
  424. }
  425. },
  426. ondrawer(num) {
  427. this.drawer = true;
  428. this.onDrawerNumber = num;
  429. if(num == 1){
  430. this.frist.requestUrl = "/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050&index=" + this.input;
  431. }else if (num == 2) {
  432. this.secend.requestUrl = "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=" + this.materialId;
  433. } else if (num == 3) {
  434. //判断是否是承运商查询车辆
  435. if (getCookie("orgCode") == "chengyunshang") {
  436. this.third.requestUrl = "/api/v1/uc/getAllCapacityByCarrierLike?apiId=248&carrierSsoId=" + getCookie("userId") + "&i=" + new Date();
  437. } else {
  438. this.third.requestUrl = "/api/v1/uc/getAllCapacityByCarrierLike?apiId=248&carrierSsoId=" + null + "&i=" + new Date();
  439. }
  440. } else if (num == 4) {
  441. this.unloadPoint.requestUrl = "/api/v1/uc/getUnloadingMesByLike?apiId=374&i=" + new Date();
  442. } else if (num == 5) {
  443. this.line.requestUrl ="/api/v1/rms/getAllLineDesk?apiId=249&lineType=3&i=" + new Date();
  444. }else if (num == 6) {
  445. this.purchaseOrder.requestUrl = "/api/v1/ams/getPurchaseOrderList?apiId=81&i=" + new Date();
  446. }
  447. },
  448. // 返回
  449. onClickCancel() {
  450. this.$router.push("/transportationReservation");
  451. },
  452. currentRadioChange1(selection) {
  453. this.materialName = selection.materialName;
  454. this.materialId = selection.materialId;
  455. this.getPurchaseOrderNo();
  456. },
  457. currentRadioChange2(selection) {
  458. this.supplierName = selection.supplierName;
  459. this.supplierId = selection.supplierId;
  460. this.getPurchaseOrderNo();
  461. },
  462. currentRadioChange4(selection) {
  463. this.unloadPointId = selection.warehouseId;
  464. this.unloadPointName = selection.warehouseName;
  465. },
  466. currentRadioChange5(selection) {
  467. this.lineName = selection.lineName;
  468. this.lineId = selection.lineId;
  469. },
  470. currentRadioChange6(selection) {
  471. console.log(selection)
  472. if (selection.shipperId == 1) {
  473. this.orderType = 17;
  474. } else {
  475. this.orderType = 18;
  476. }
  477. this.materialName = selection.materialName;
  478. this.materialId = selection.materialId;
  479. this.supplierId = selection.supplierId;
  480. this.supplierName = selection.supplierName;
  481. this.purchaseOrderNo = selection.purchaseOrderNo;
  482. this.purchaseOrderId = selection.purchaseOrderId;
  483. },
  484. currentRadioChange3(selection) {
  485. this.selectionList = [];
  486. this.selectionList = selection;
  487. },
  488. func(res){
  489. console.log(res)
  490. this.isKuang = false;
  491. },
  492. // 确认
  493. onClickConfirm() {
  494. var state = 0;
  495. if (
  496. this.materialId &&
  497. this.supplierId &&
  498. this.form1.purchaseOrderId &&
  499. this.unloadPointId &&
  500. sjTime(this.form1.orderEntryTime) &&
  501. this.lineId
  502. ) {
  503. state = 1;
  504. } else {
  505. if (!this.materialId) {
  506. this.$message({
  507. message: "请选择物资!",
  508. type: "warning",
  509. });
  510. return;
  511. } else if (!this.supplierId) {
  512. this.$message({
  513. message: "请选择发货单位!",
  514. type: "warning",
  515. });
  516. return;
  517. } else if (!this.purchaseOrderId) {
  518. this.$message({
  519. message: "没有匹配的采购订单号!",
  520. type: "warning",
  521. });
  522. return;
  523. } else if (!this.unloadPointId) {
  524. this.$message({
  525. message: "请选择卸货地点!",
  526. type: "warning",
  527. });
  528. return;
  529. } else if (!this.lineId) {
  530. this.$message({
  531. message: "请选择运输路线!",
  532. type: "warning",
  533. });
  534. return;
  535. } else if (!sjTime(this.form1.orderEntryTime)) {
  536. this.$message({
  537. message: "请选择预估进厂时间!",
  538. type: "warning",
  539. });
  540. return;
  541. }
  542. }
  543. //开始选车
  544. if (this.selectionList.length == 0) {
  545. this.$message({
  546. message: "请选择车辆!",
  547. type: "warning",
  548. });
  549. return;
  550. } else {
  551. this.selectionList.forEach((e) => {
  552. if (e.orderMaterialWeight) {
  553. if (isNumber(e.orderMaterialWeight)) {
  554. if (isIntegerNumber(e.orderMaterialWeight)) {
  555. state = 1;
  556. } else {
  557. this.$message({
  558. message: "重量只能是整数!",
  559. type: "warning",
  560. });
  561. return;
  562. }
  563. } else {
  564. this.$message({
  565. message: "重量只能是数字!",
  566. type: "warning",
  567. });
  568. return;
  569. }
  570. }
  571. });
  572. }
  573. //发送请求
  574. let map = {
  575. materialId: this.materialId,
  576. supplierId: this.supplierId,
  577. purchaseOrderId: this.purchaseOrderId,
  578. unloadPointId: this.unloadPointId,
  579. orderEntryTime: sjTime(this.form1.orderEntryTime),
  580. driverCapacityIdList: this.selectionList,
  581. orderType: this.orderType,
  582. lineId: this.lineId,
  583. isMoreTrips:this.isMoreTrips,
  584. };
  585. this.axios.post("/api/v1/oms/addPurOrder", map).then((res) => {
  586. if (res.data.code == "200") {
  587. this.$message({
  588. message: "添加成功!",
  589. type: "success",
  590. });
  591. this.$router.push("/transportationReservation");
  592. }
  593. });
  594. },
  595. },
  596. };
  597. </script>
  598. <style lang="scss">
  599. .contractDetails {
  600. width: 100%;
  601. }
  602. .el-drawer__container ::-webkit-scrollbar {
  603. display: none;
  604. }
  605. .from {
  606. display: flex;
  607. align-items: center;
  608. justify-content: center;
  609. margin-top: 5px;
  610. margin-bottom: 20px;
  611. }
  612. .remark {
  613. display: flex;
  614. justify-content: center;
  615. .text {
  616. display: inline-block;
  617. width: 100px;
  618. text-align: right;
  619. }
  620. .input {
  621. width: 250px;
  622. margin-right: 20px;
  623. }
  624. }
  625. .lineId {
  626. display: flex;
  627. justify-content: center;
  628. .text {
  629. display: inline-block;
  630. width: 170px;
  631. text-align: right;
  632. }
  633. .input {
  634. width: 250px;
  635. margin-right: 20px;
  636. }
  637. .span{
  638. display: inline-block;
  639. width: 70px;
  640. height: 1px;
  641. }
  642. }
  643. .material {
  644. display: flex;
  645. justify-content: center;
  646. margin-top: 20px;
  647. .text {
  648. display: inline-block;
  649. width: 170px;
  650. text-align: right;
  651. }
  652. .input {
  653. width: 250px;
  654. margin-right: 20px;
  655. }
  656. }
  657. .orderType {
  658. display: flex;
  659. justify-content: center;
  660. .text {
  661. display: inline-block;
  662. width: 110px;
  663. text-align: right;
  664. }
  665. .select {
  666. width: 250px;
  667. }
  668. .span {
  669. display: inline-block;
  670. width: 30px;
  671. height: 10px;
  672. }
  673. }
  674. .contractTitle {
  675. display: flex;
  676. justify-content: center;
  677. .el-form-item {
  678. display: flex;
  679. justify-content: center;
  680. .el-form-item__label {
  681. display: flex;
  682. align-items: center;
  683. }
  684. .el-input {
  685. width: 250px;
  686. }
  687. }
  688. }
  689. .forwardingUnit {
  690. display: flex;
  691. justify-content: center;
  692. .text {
  693. display: inline-block;
  694. width: 170px;
  695. text-align: right;
  696. }
  697. .input {
  698. width: 250px;
  699. margin-right: 20px;
  700. }
  701. }
  702. .truckList1 {
  703. width: 100%;
  704. .truckList {
  705. width: 96%;
  706. .text {
  707. display: inline-block;
  708. width: 120px;
  709. text-align: right;
  710. }
  711. .truckBtn {
  712. width: 250px;
  713. }
  714. }
  715. }
  716. .drawer_top{
  717. margin-top: -50px;
  718. width: 100%;height: 60px;
  719. display: flex;
  720. align-items: center;
  721. }
  722. .drawer_table1{
  723. width: 100%;height: 500px;
  724. }
  725. .button_box {
  726. display: flex;
  727. justify-content: center;
  728. align-items: center;
  729. width: 100%;
  730. height: 100px;
  731. }
  732. </style>