wagonLoadAdd.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787
  1. <template>
  2. <!-- 添加车皮装车实绩 -->
  3. <div class="addWagonLoad">
  4. <page-title>返回</page-title>
  5. <div class="cp">
  6. <span >车皮号:</span>
  7. <el-upload style="margin: 8px;"
  8. class="upload-excel"
  9. action=""
  10. :on-change="importExcel"
  11. :show-file-list="false"
  12. accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
  13. :auto-upload="false">
  14. <el-button type="primary">导入</el-button>
  15. </el-upload>
  16. <span >当前导入数量:{{tableData.length}}</span>
  17. <!-- <el-input
  18. placeholder="请输入内容"
  19. v-model="input"
  20. @change="onchang"
  21. clearable
  22. >
  23. </el-input> -->
  24. </div>
  25. <!-- <div class="cpList">
  26. <div class="list">
  27. <div class="cpList1" v-for="(item, i) in list" :key="i">
  28. {{ item }}
  29. <i class="el-icon-close itu" @click="onclick(i)"></i>
  30. </div>
  31. </div>
  32. </div> -->
  33. <div class="table item">
  34. <el-table
  35. stripe
  36. :data="tableData"
  37. style="width: 100%">
  38. <el-table-column
  39. type="index"
  40. width="50"
  41. prop="number"
  42. label="序号"
  43. align="center"
  44. fixed="left"
  45. :resizable="false">
  46. </el-table-column>
  47. <el-table-column
  48. align="center"
  49. prop="materialName"
  50. label="物资"
  51. width="180px">
  52. </el-table-column>
  53. <el-table-column
  54. align="center"
  55. prop="supplierName"
  56. label="发货单位"
  57. width="180px">
  58. </el-table-column>
  59. <el-table-column
  60. align="center"
  61. prop="wagonNo"
  62. label="车号"
  63. width="180px">
  64. </el-table-column>
  65. <el-table-column
  66. align="center"
  67. prop="sendDate"
  68. label="发货日期"
  69. width="180px">
  70. </el-table-column>
  71. <el-table-column
  72. align="center"
  73. prop="sendStation"
  74. label="火车发站"
  75. width="180px">
  76. </el-table-column>
  77. <el-table-column
  78. align="center"
  79. width="180px"
  80. prop="arrivalStation"
  81. label="火车到站">
  82. </el-table-column>
  83. <el-table-column
  84. align="center"
  85. width="180px"
  86. prop="weight"
  87. label="标重">
  88. </el-table-column>
  89. <!-- <el-table-column
  90. align="center"
  91. width="100px"
  92. fixed="right"
  93. label="操作">
  94. <template slot-scope="scope">
  95. <el-button @click="handleClick(scope.row)" type="text" size="small">查看</el-button>
  96. <el-button type="text" size="small">编辑</el-button>
  97. </template>
  98. </el-table-column> -->
  99. </el-table>
  100. </div>
  101. <!-- <div class="matching item">
  102. <span class="text">是否知道采购订单号:</span>
  103. <el-switch
  104. v-model="matching"
  105. active-color="#27d452"
  106. inactive-color="#e1e3e6"
  107. >
  108. </el-switch>
  109. </div>
  110. <div class="material item">
  111. <span class="text">物资:</span>
  112. <el-input v-model="materialName" disabled> </el-input>
  113. <el-button type="primary" @click="ondrawer(1)">浏览</el-button>
  114. </div>
  115. <div class="forwardingUnit item">
  116. <span class="text">发货单位:</span>
  117. <el-input v-model="supplierName" disabled> </el-input>
  118. <el-button type="primary" @click="ondrawer(2)">浏览</el-button>
  119. </div>
  120. <div class="forwardingUnit item" v-if="matching">
  121. <span class="text">卸货点:</span>
  122. <el-input v-model="unloadPointName" disabled> </el-input>
  123. <el-button type="primary" @click="ondrawer(3)">浏览</el-button>
  124. </div> -->
  125. <div class="fromOther">
  126. <!-- <el-form :inline="true" class="demo-form-inline" label-width="80px" style="margin-left:500px;">
  127. <el-form-item label="发站:">
  128. <el-autocomplete
  129. class="inline-input"
  130. v-model="sendStation"
  131. :fetch-suggestions="querySearchSendStation"
  132. placeholder="请输入发站名称"
  133. :trigger-on-focus="false"
  134. @select="handleSelectSendStation"
  135. >
  136. <template slot-scope="{ item }">
  137. <div class="name">{{ item.arrivalName }}</div>
  138. </template>
  139. </el-autocomplete>
  140. </el-form-item>
  141. </el-form> -->
  142. <el-form :inline="true" class="demo-form-inline" label-width="80px" style="margin-left:500px;margin-top:30px">
  143. <el-form-item label="到站:">
  144. <el-autocomplete
  145. class="inline-input"
  146. v-model="toTheStation"
  147. :fetch-suggestions="querySearchToTheStation"
  148. placeholder="请输入到站名称"
  149. :trigger-on-focus="false"
  150. @select="handleSelectToTheStation"
  151. >
  152. <template slot-scope="{ item }">
  153. <div class="name">{{ item.arrivalName }}</div>
  154. </template>
  155. </el-autocomplete>
  156. </el-form-item>
  157. </el-form>
  158. </div>
  159. <div class="remark from" v-if="matching">
  160. <span class="text">船名/备注:</span>
  161. <el-input
  162. v-model="remark"
  163. @blur="onBlur"
  164. placeholder="可输入船名\备注重新匹配采购订单"
  165. >
  166. </el-input>
  167. <span class="span"></span>
  168. </div>
  169. <div class="purchaseOrder from" v-if="matching" >
  170. <span class="text" style="width:140px">采购订单号:</span>
  171. <el-input
  172. v-model="purchaseOrderNo"
  173. placeholder="请选择物资和发货单位"
  174. disabled
  175. >
  176. </el-input>
  177. <span class="span"></span>
  178. </div>
  179. <div class="form">
  180. <div class="form_box" style="margin-right: 10rem">
  181. <dil-form :formId="364" v-model="form1" ref="from1"></dil-form>
  182. </div>
  183. </div>
  184. <div class="button_box">
  185. <el-button @click="cancel">取消</el-button>
  186. <el-button type="primary" @click="makeSure">确定</el-button>
  187. </div>
  188. <!-- 模态窗口 -->
  189. <el-drawer :visible.sync="drawer" :direction="direction" size="30%">
  190. <el-input
  191. placeholder="请输入内容"
  192. v-model="inputText"
  193. style="margin-top: 0rem; margin-right: 0.1rem; width: 230px"
  194. clearable
  195. ></el-input>
  196. <el-button
  197. type="primary"
  198. class="btn"
  199. @click="onClick(a)"
  200. style="margin-bottom: 0.9375rem"
  201. >
  202. <i class="el-icon-search"></i>查询
  203. </el-button>
  204. <div v-show="a == 1">
  205. <dilTable
  206. v-bind.sync="frist"
  207. @radio-change="currentRadioChange1"
  208. ></dilTable>
  209. </div>
  210. <div v-show="a == 2">
  211. <dilTable
  212. v-bind.sync="secend"
  213. @radio-change="currentRadioChange2"
  214. ></dilTable>
  215. </div>
  216. <div v-show="a == 3">
  217. <dilTable
  218. v-bind.sync="unloadPoint"
  219. @radio-change="currentRadioChange3"
  220. ></dilTable>
  221. </div>
  222. </el-drawer>
  223. </div>
  224. </template>
  225. <script>
  226. import PageTitle from "@/components/Page/Title";
  227. import { sjTime, isNumber } from "@/utils/sharedJsFile";
  228. export default {
  229. components: { PageTitle },
  230. data() {
  231. return {
  232. file:null,
  233. list: [],
  234. form1: {},
  235. input: "",
  236. //是否匹配采购订单号
  237. matching: false,
  238. value: undefined,
  239. //船名
  240. remark: null,
  241. //采购订单id
  242. purchaseOrderId: null,
  243. //采购订单号
  244. purchaseOrderNo: null,
  245. //物资名称
  246. materialName: null,
  247. //发货单位名称
  248. supplierName: null,
  249. //发货单位id
  250. supplierId: null,
  251. //物资id
  252. materialId: null,
  253. //表格数据
  254. tableData:[],
  255. unloadPointName:null,
  256. //物资集合和供应商映射,相当于本地缓存,减少请求次数
  257. materialMap:new Map(),
  258. supplierMap:new Map(),
  259. materials:[],
  260. suppliers:[],
  261. unloadPointId:null,
  262. //是否需要打开模态窗口
  263. drawer: false,
  264. a: 1,
  265. direction: "rtl",
  266. inputText: "",
  267. frist: {
  268. requestUrl: "/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050",
  269. selectionType: "radio",
  270. mapList1: [],
  271. },
  272. secend: {
  273. requestUrl:
  274. "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=",
  275. selectionType: "radio",
  276. mapList2: [],
  277. },
  278. unloadPoint: {
  279. requestUrl: "/api/v1/uc/getUnloadingMesByLike?apiId=374",
  280. selectionType: "radio",
  281. },
  282. sendStationId:null,
  283. toTheStationId:1,
  284. sendStation:null,
  285. toTheStation:"老区轨道衡"
  286. };
  287. },
  288. watch: {
  289. matching(val) {
  290. if (val) {
  291. this.getPurchaseOrderNo();
  292. }
  293. },
  294. },
  295. created() {
  296. this.form1 = {
  297. arrivalStationId: 1,
  298. };
  299. },
  300. mounted(){
  301. this.form1.resultLoadingDate=new Date();
  302. },
  303. methods: {
  304. currentRadioChange1(selection) {
  305. this.input = null;
  306. this.materialName = selection.materialName;
  307. this.materialId = selection.materialId;
  308. if (this.matching) {
  309. this.getPurchaseOrderNo();
  310. }
  311. },
  312. currentRadioChange2(selection) {
  313. this.supplierName = selection.supplierName;
  314. this.supplierId = selection.supplierId;
  315. if (this.matching) {
  316. this.getPurchaseOrderNo();
  317. }
  318. },
  319. currentRadioChange3(selection) {
  320. this.unloadPointId = selection.warehouseId;
  321. this.unloadPointName = selection.warehouseName;
  322. },
  323. ondrawer(num) {
  324. this.drawer = true;
  325. this.a = num;
  326. if (num == 2) {
  327. this.secend.requestUrl =
  328. "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=" +
  329. this.materialId;
  330. }
  331. },
  332. onBlur() {
  333. if (this.matching) {
  334. this.getPurchaseOrderNo();
  335. }
  336. },
  337. getPurchaseOrderNo() {
  338. console.log(this.matching);
  339. let map = {
  340. materialId: this.materialId,
  341. supplierId: this.supplierId,
  342. };
  343. if (this.remark) {
  344. map.remark = this.remark;
  345. }
  346. console.log(this.map);
  347. if (this.materialId && this.supplierId) {
  348. this.axios.post("/api/v1/oms/selectNewOrderId", map).then((res) => {
  349. console.log(res);
  350. if (res.data.code == "200") {
  351. if (res.data.data == null) {
  352. this.$message({
  353. message: "没有匹配的采购订单号!",
  354. type: "warning",
  355. });
  356. this.form1 = [];
  357. } else {
  358. this.remark = res.data.data.remark;
  359. this.purchaseOrderId = res.data.data.purchaseOrderId;
  360. this.purchaseOrderNo = res.data.data.purchaseOrderNo;
  361. }
  362. } else {
  363. this.$message.error("请求失败");
  364. }
  365. });
  366. }
  367. },
  368. //发站弹出层
  369. handleSelectSendStation(item) {
  370. this.sendStationId = item.arrivalId;
  371. this.sendStation = item.arrivalName;
  372. },
  373. //以下是发站边输边查搜索
  374. querySearchSendStation(queryString, cb) {
  375. this.axios
  376. .get("/api/v1/uc/getArrivalByLike?index=" + this.sendStation)
  377. .then((res) => {
  378. if (res.data.code == "200") {
  379. var restaurantsSupplier = res.data.data;
  380. console.log(restaurantsSupplier)
  381. var results = queryString
  382. ? restaurantsSupplier.filter(
  383. this.createFilterSendStation(queryString)
  384. )
  385. : restaurantsSupplier;
  386. // 调用 callback 返回建议列表的数据
  387. cb(results);
  388. }
  389. });
  390. },
  391. //发站
  392. createFilterSendStation(queryString) {
  393. return (restaurantsSupplier) => {
  394. return (
  395. restaurantsSupplier.arrivalName
  396. .toLowerCase()
  397. .indexOf(queryString.toLowerCase()) > -1
  398. );
  399. };
  400. },
  401. //到站弹出层
  402. handleSelectToTheStation(item) {
  403. this.toTheStationId = item.arrivalId;
  404. this.toTheStation = item.arrivalName;
  405. },
  406. //以下是到站边输边查搜索
  407. querySearchToTheStation(queryString, cb) {
  408. this.axios
  409. .get("/api/v1/uc/getArrivalByLike?index=" + this.toTheStation)
  410. .then((res) => {
  411. if (res.data.code == "200") {
  412. var restaurantsSupplier = res.data.data;
  413. console.log(restaurantsSupplier)
  414. var results = queryString
  415. ? restaurantsSupplier.filter(
  416. this.createFilterToTheStation(queryString)
  417. )
  418. : restaurantsSupplier;
  419. // 调用 callback 返回建议列表的数据
  420. cb(results);
  421. }
  422. });
  423. },
  424. //到站
  425. createFilterToTheStation(queryString) {
  426. return (restaurantsSupplier) => {
  427. return (
  428. restaurantsSupplier.arrivalName
  429. .toLowerCase()
  430. .indexOf(queryString.toLowerCase()) > -1
  431. );
  432. };
  433. },
  434. onClick(a) {
  435. if (a == 1) {
  436. this.frist.requestUrl =
  437. "/api/v1/uc/queryAPOMaterialByLike?apiId=244&startNum=050&index=" +
  438. this.inputText;
  439. } else if (a == 2) {
  440. this.secend.requestUrl =
  441. "/api/v1/uc/getSupplierMesByMaterialId?apiId=247&materialId=" +
  442. this.materialId +
  443. "&index=" +
  444. this.inputText;
  445. } else if (a == 3) {
  446. this.unloadPoint.requestUrl =
  447. "/api/v1/uc/getUnloadingMesByLike?apiId=374&index=" + this.inputText;
  448. }
  449. },
  450. onchang() {
  451. var state = false;
  452. var cptop = this.input.substring(0, 2);
  453. var cptop1 = this.input.substring(0, 3);
  454. if (
  455. cptop == "45" ||
  456. cptop == "46" ||
  457. cptop == "42" ||
  458. cptop == "47" ||
  459. cptop == "15" ||
  460. cptop == "16" ||
  461. cptop == "17" ||
  462. cptop == "18"
  463. ) {
  464. state = true;
  465. } else if (
  466. cptop1 == "140" ||
  467. cptop1 == "141" ||
  468. cptop1 == "142" ||
  469. cptop1 == "143" ||
  470. cptop1 == "145"
  471. ) {
  472. state = true;
  473. } else {
  474. this.$message({
  475. type: "warning",
  476. message: "车皮号格式不对,请重新输入!",
  477. });
  478. }
  479. if (state) {
  480. if (this.input.length == 7) {
  481. this.list.push(this.input);
  482. this.input = "";
  483. } else if (this.input.length < 7) {
  484. this.$message({
  485. type: "warning",
  486. message: "车皮号长度不足7位数,请重新输入!",
  487. });
  488. } else if (this.input.length > 7) {
  489. this.$message({
  490. type: "warning",
  491. message: "车皮号长度超过7位数,请重新输入!",
  492. });
  493. }
  494. }
  495. },
  496. onclick(index) {
  497. this.list.splice(index, 1);
  498. },
  499. // 确定
  500. makeSure() {
  501. let that=this;
  502. if (this.tableData.length <= 0 || !this.toTheStationId || this.form1.resultLoadingDate){
  503. if (this.tableData.length <= 0) {
  504. this.$message({
  505. type: "warning",
  506. message: "请导入数据!",
  507. });
  508. } else {
  509. if (this.toTheStationId) {
  510. if (this.form1.resultLoadingDate) {
  511. } else {
  512. this.$message({
  513. type: "warning",
  514. message: "请选择装车时间!",
  515. });
  516. }
  517. } else {
  518. this.$message({
  519. type: "warning",
  520. message: "请选择到站!",
  521. });
  522. }
  523. }
  524. }
  525. //绑定通用字段
  526. this.tableData.forEach((row)=>{
  527. row.resultType=3;//装车类型为国产矿
  528. row.arrivalStationId=that.form1.arrivalStationId;//到站id,默认老区轨道衡
  529. row.resultLoadingDate=sjTime(that.form1.resultLoadingDate);//装车日期
  530. row.resultRemarks=that.form1.resultRemarks;//备注
  531. })
  532. console.log(that.tableData);
  533. //请求添加
  534. this.axios
  535. .post("/api/v1/tms/addDomesticLoadResult", that.tableData)
  536. .then((res) => {
  537. console.log(res);
  538. if (res.data.code == "200") {
  539. this.$message({
  540. type: "success",
  541. message: "新增成功",
  542. });
  543. this.$router.push("/wagonLoadMine");
  544. }
  545. });
  546. },
  547. cancel() {
  548. this.$router.push("/wagonLoadMine");
  549. },
  550. // 导入excel
  551. importExcel(file) {
  552. let that=this;
  553. if (!file) {
  554. that.$message({
  555. message: "文件错误!",
  556. type: "warning",
  557. });
  558. return
  559. }
  560. var reader = new FileReader();
  561. var data=null;
  562. var workbook=null;
  563. //设置读取操作
  564. reader.onload = function (e) {
  565. console.log(e);
  566. data = e.target.result;
  567. workbook= XLSX.read(data, {
  568. type: 'binary'
  569. });
  570. console.log(workbook);
  571. //读取表格
  572. let rows= XLSX.utils.sheet_to_json(workbook.Sheets[workbook.SheetNames[0]]);//只取第一页
  573. console.log(rows);
  574. //清空
  575. if(rows.length>0){
  576. that.tableData=[];
  577. if((typeof rows[0]['车号'])=='undefined'){
  578. that.$message({
  579. message: "导入Excel格式错误!",
  580. type: "warning",
  581. });
  582. return;
  583. }
  584. }
  585. //绑定数据
  586. rows.forEach((row,index) => {
  587. let carNumber=row['车号'];
  588. if((typeof carNumber)!="undefined" && carNumber.length > 6){
  589. //表格数据
  590. let temp={
  591. number:row['序号'],
  592. materialName:row['品 名'],
  593. supplierName:row['发货单位'],
  594. sendDate:row['发货日期'],
  595. sendStation:row['发站'],
  596. arrivalStation:row['到站'],
  597. wagonNo:row['车号'],
  598. weight:row['标重']
  599. }
  600. that.tableData.push(temp);
  601. }
  602. else{
  603. console.log("车号"+carNumber+"不是7位数!");
  604. }
  605. });
  606. };
  607. reader.readAsBinaryString(file.raw); //以二进制方式读取
  608. }
  609. },
  610. };
  611. </script>
  612. <style lang='scss'>
  613. .addWagonLoad {
  614. color: #606266;
  615. font-size: 0.675rem;
  616. font-weight: 500;
  617. .cp {
  618. width: 49%;
  619. display: flex;
  620. justify-content: center;
  621. align-items: center;
  622. padding-top: 0.625rem;
  623. padding-bottom: 0.625rem;
  624. margin-left: 364px;
  625. .cp_title {
  626. .cp_top {
  627. width: 3.125rem;
  628. padding-right: 1.55rem;
  629. }
  630. }
  631. }
  632. .cpList {
  633. display: flex;
  634. justify-content: center;
  635. width: 100%;
  636. height: 10rem;
  637. .list {
  638. width: 45%;
  639. border: #000 0.0625rem solid;
  640. padding: 0.625rem;
  641. display: flex;
  642. flex-wrap: wrap;
  643. overflow:auto;
  644. .cpList1 {
  645. background-color: #c9c7c7;
  646. height: 1.875rem;
  647. margin: 0.5rem;
  648. padding: 0.625rem;
  649. display: flex;
  650. align-items: center;
  651. justify-content: center;
  652. position: relative;
  653. .itu {
  654. position: absolute;
  655. top: -0.125rem;
  656. right: 0.0625rem;
  657. width: 0.625rem;
  658. height: 0.625rem;
  659. }
  660. }
  661. }
  662. }
  663. .matching {
  664. width: 20rem;
  665. height: 3.125rem;
  666. display: flex;
  667. justify-content: center;
  668. align-items: center;
  669. margin-left: 24rem;
  670. .text {
  671. width: 8.75rem;
  672. }
  673. .span {
  674. display: inline-block;
  675. width: 310px;
  676. height: 0.0625rem;
  677. }
  678. }
  679. .material {
  680. display: flex;
  681. justify-content: center;
  682. align-items: center;
  683. height: 3.75rem;
  684. margin-left: 24rem;
  685. width: 20rem;
  686. .text {
  687. text-align: right;
  688. width: 8.125rem;
  689. }
  690. }
  691. .forwardingUnit {
  692. display: flex;
  693. justify-content: center;
  694. align-items: center;
  695. height: 3.75rem;
  696. margin-left: 24rem;
  697. width: 20rem;
  698. .text {
  699. text-align: right;
  700. width: 8.125rem;
  701. }
  702. }
  703. .remark {
  704. display: flex;
  705. justify-content: center;
  706. align-items: center;
  707. height: 3.75rem;
  708. margin-left: 24rem;
  709. width: 22rem;
  710. .text {
  711. text-align: right;
  712. width: 5.625rem;
  713. }
  714. .span {
  715. display: inline-block;
  716. width: 1.875rem;
  717. height: 1.25rem;
  718. }
  719. .el-input{
  720. width: 13.5rem;
  721. margin-right: 2.375rem;
  722. }
  723. }
  724. .purchaseOrder {
  725. display: flex;
  726. justify-content: center;
  727. align-items: center;
  728. margin-left: 24rem;
  729. width: 22rem;
  730. margin-bottom: 15px;
  731. .span {
  732. display: inline-block;
  733. width: 1.875rem;
  734. height: 0.0625rem;
  735. }
  736. }
  737. .form {
  738. display: flex;
  739. width: 340px;
  740. margin-left:37.5%;
  741. margin-right: 20px;
  742. .form_box {
  743. .el-form {
  744. .preview-group {
  745. .el-form-item {
  746. .el-form-item__label {
  747. display: inline-block;
  748. width: 70px !important;
  749. }
  750. .el-form-item__content {
  751. .el-select {
  752. width: 250px;
  753. }
  754. .el-input {
  755. width: 250px;
  756. }
  757. .el-textarea{
  758. .el-textarea__inner{
  759. width: 250px;
  760. margin-top: 0.03rem;
  761. }
  762. }
  763. }
  764. }
  765. }
  766. }
  767. }
  768. }
  769. .button_box {
  770. display: flex;
  771. justify-content: center;
  772. margin-top: 30px;
  773. margin-bottom: 30px;
  774. }
  775. .fromOther .el-input__inner{
  776. width: 250px;
  777. }
  778. }
  779. </style>