123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779 |
- <template>
- <div class="addSaleOrderSend">
- <page-title>新增销售订单钢材派车</page-title>
- <!-- 派车表格 -->
- <div class="selectionTable from">
- <el-table
- :data="selectionList"
- border
- style="width: 100%"
- highlight-current-row
- :span-method="cellMerge"
- >
- <el-table-column
- v-for="(item, i) in tableTop"
- :key="i"
- :prop="item.prop"
- :label="item.label"
- :width="item.width"
- align="center"
- show-overflow-tooltip
- >
- <template slot="scope" v-if="item.label !== '车牌号'">
- <span>{{ item.label }}</span>
- </template>
- <template slot="scope" v-if="item.label !== '承运商'">
- <span>{{ item.label }}</span>
- </template>
- <template slot="scope" v-if="item.label !== '件数'">
- <span>{{ item.label }}</span>
- </template>
- <template slot="scope" v-if="item.label !== '运输线路'">
- <span>{{ item.label }}</span>
- </template>
- <template slot="scope" v-if="item.label !== '运输单价'">
- <span>{{ item.label }}</span>
- </template>
- <template slot="scope" v-if="item.label !== '截止日期'">
- <span>{{ item.label }}</span>
- </template>
- <template slot="scope" v-if="item.label !== '收货客户'">
- <span>{{ item.label }}</span>
- </template>
- <template slot="scope" v-if="item.label !== '收货客户电话号码'">
- <span>{{ item.label }}</span>
- </template>
- <!-- 插入输入框 -->
- <template slot-scope="scope">
- <template v-if="item.slot">
- <!-- 车牌号 -->
- <template v-if="item.prop == 'capacityNumber'">
- <el-autocomplete
- class="inline-input"
- v-model="scope.row.capacityNumber"
- :fetch-suggestions="querySearch"
- placeholder="(必填)"
- :trigger-on-focus="false"
- @select="handleSelect"
- @blur="checkRelationship(scope.$index)"
- @change="batchUpdateValue(scope.row,scope.$index)"
- ></el-autocomplete>
- </template>
- <!-- 司机电话号码 -->
- <template v-if="item.prop == 'driverTel'">
- <el-input
- class="textinput"
- placeholder="(必填)"
- @blur="checkIsTelephone(scope.$index)"
- v-model="scope.row.driverTel"
- ></el-input>
- </template>
- <!-- 承运商 -->
- <template v-if="item.prop == 'carrierName'">
- <el-autocomplete
- class="inline-input"
- v-model="scope.row.carrierName"
- :fetch-suggestions="querySearch1"
- placeholder="请输入承运商名称"
- :trigger-on-focus="false"
- @change="batchUpdateValue(scope.row,scope.$index)"
- @select="handleSelect1"
- >
- <template slot-scope="{ item }">
- <div class="name" v-if="item.carrierName">
- {{ item.carrierName }}
- </div>
- </template>
- </el-autocomplete>
- </template>
- <!-- 物资件数 -->
- <template v-if="item.prop == 'orderPlanWeight'">
- <el-input
- class="textinput"
- @input="onInput"
- placeholder="(必填)"
- v-model.number="scope.row.orderPlanWeight"
- disabled
- ></el-input>
- </template>
- <!-- 物资重量 -->
- <template v-if="item.prop == 'materialWeight'">
- <el-input
- class="textinput"
- v-model.number="scope.row.materialWeight"
- disabled
- ></el-input>
- </template>
- <!-- 运输单价id -->
- <template v-if="item.prop == 'priceValue'" >
- <el-input
- v-model="scope.row.priceValue"
- disabled
- >
- </el-input>
- </template>
- <!-- 截止日期 -->
- <template v-if="item.prop == 'saleDateOfReceipt'">
- <el-date-picker
- class="textinput3"
- type="date"
- v-model.number="scope.row.saleDateOfReceipt"
- style="width:135px"
- disabled
- ></el-date-picker>
- </template>
- <!-- 收货客户 -->
- <template v-if="item.prop == 'saleOrderConsignee'">
- <el-input
- class="textinput4"
- placeholder="(非必填)"
- v-model.number="scope.row.saleOrderConsignee"
- disabled
- ></el-input>
- </template>
- <!-- 收货客户电话号码 -->
- <template v-if="item.prop == 'saleOrderConsigneeTel'">
- <el-input
- class="textinput5"
- placeholder="(非必填)"
- v-model.number="scope.row.saleOrderConsigneeTel"
- @input="onInput"
- disabled
- ></el-input>
- </template>
- </template>
- <template v-else>
- <span>{{ scope.row[item.prop] }}</span>
- </template>
- </template>
- </el-table-column>
- <!-- 操作列 -->
- <!-- <el-table-column fixed="right" label="操作" width="100">
- </el-table-column> -->
- </el-table>
- </div>
- <div class="button_box">
- <el-button @click="cancel">取消</el-button>
- <el-button type="primary" @click="makeSure">确定</el-button>
- </div>
- </div>
- </template>
- <script>
- import PageTitle from "@/components/Page/Title";
- import { getCookie } from "@/utils/util.js";
- import { sjTime,isNumber,isIntegerNumber } from "@/utils/sharedJsFile";
- export default {
- components: { PageTitle },
- data() {
- return {
- //存放每一行记录的合并数
- spanArr: [],
- //pos是spanArr的索引
- pos:0,
- //加载
- selectLineLoading:false,
- //所有选中承运商Id和承运商名称暂存
- carrierIdAndName: [],
- //承运商下拉框中的值
- carrierNameOptions:[],
- //当前车序号物资
- selectionList:[],
- //是否可发送请求
- canSend: 1,
- tableTop: [
- {
- prop: "truckNo",
- label: "车序号",
- width: "50",
- },
- {
- prop: "capacityNumber",
- label: "车牌号",
- width: "130",
- slot: true,
- },
- {
- prop: "driverTel",
- label: "司机电话号码",
- width: "150",
- slot: true,
- },
- {
- prop: "carrierName",
- label: "承运商",
- width: "240",
- slot: true,
- },
- {
- prop: "materialName",
- label: "物资名称",
- width: "140",
- },
- {
- prop: "Specification",
- label: "规格型号",
- width: "140",
- },
- {
- prop: "orderPlanWeight",
- label: "件数",
- width: "80",
- slot: true,
- },
- {
- prop: "materialWeight",
- label: "重量",
- width: "80",
- slot: true,
- },
- {
- prop: "lineName",
- label: "厂内运输线路",
- width: "220",
- },
- {
- prop: "saleDateOfReceipt",
- label: "截止日期",
- width: "150",
- slot: true,
- },
- {
- prop: "saleShipperAddressName",
- label: "收货地址",
- width: "300",
- },
- {
- prop: "priceValue",
- label: "运输单价",
- width: "80",
- slot: true,
- },
- {
- prop: "saleOrderConsignee",
- label: "收货客户",
- width: "150",
- slot: true,
- },
- {
- prop: "saleOrderConsigneeTel",
- label: "收货客户电话号码",
- slot: true,
- width: "150",
- },
- {
- prop: "materialCode",
- label: "物资编码",
- width: "140",
- },
- ],
- };
- },
- created(){
- this.getValue();
- },
- methods: {
- getValue(){
- this.axios
- .post("/api/v1/ams/getTruckNoMaterial?saleOrderMaterialId=" + this.$route.params.saleOrderMaterialId)
- .then((res)=>{
- if(res.data.data.length==0){
- this.$confirm("该销售订单尚未排车!是否先进行排车?", "提示", {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning",
- center: true,
- })
- .then(() => {
- this.$router.push("/addSaleOrderArrange/" + this.$route.params.saleOrderId);
- })
- .catch(() => {
- this.$message({ type: "info", message: "取消!",});
- });
- }
- //赋值派车表格
- res.data.data.forEach((e,i) => {
- if(e.saleOrderConsignee=="null"){
- e.saleOrderConsignee = null
- }
- if(e.saleOrderConsigneeTel=="null"){
- e.saleOrderConsigneeTel = null
- }
- //不带承运商初始化派车表格
- var addmap = {
- truckNo: e.truckNo,
- saleOrderMaterialId: e.saleOrderMaterialId,
- capacityNumber: null,
- driverTel: null,
- carrierName: null,
- carrierId: null,
- materialId: e.materialId,
- materialName: e.materialName,
- Specification: e.materialModelSpecification,
- materialCode: e.materialCode,
- orderPlanWeight: e.materialNumber,
- materialWeight: e.materialWeight,
- lineName:null,
- lineId:null,
- saleShipperAddressId: e.placeId,
- saleShipperAddressName:e.place,
- saleDateOfReceipt: e.receiptDate,
- saleOrderConsignee: e.saleOrderConsignee,
- saleOrderConsigneeTel: e.saleOrderConsigneeTel,
- };
- this.selectionList.push(addmap);
- //调用记录每一行的合并数的方法
- this.getSpanArr(this.selectionList);
- //初始化每个车的线路
- this.initializeLine();
- });
- });
- },
- //承运商弹出层
- handleSelect1(item) {
- let carrierIdAndNameItem = {
- carrierId : item.carrierId,
- carrierName : item.carrierName
- }
- this.carrierIdAndName.push(carrierIdAndNameItem);
- },
- //以下是承运商边输边查搜索
- querySearch1(queryString, cb) {
- this.axios
- .post("/api/v1/uc/getCarrierMesByLike?index=" + queryString)
- .then((res) => {
- if (res.data.code == "200") {
- var restaurants = res.data.data;
- var results = queryString
- ? restaurants.filter(this.createFilter1(queryString))
- : restaurants;
- // 调用 callback 返回建议列表的数据
- cb(results);
- }
- });
- },
- createFilter1(queryString) {
- return (restaurants) => {
- return (
- restaurants.value.toLowerCase().indexOf(queryString.toLowerCase()) >
- -1
- );
- };
- },
- //以上是承运商边输边查搜索
- onInput(val){
- if(!isNumber(val)){
- this.$message.warning('重量/电话号码请输入数字')
- }
- },
- //校验是否为车牌
- isVehicleNumber(vehicleNumber) {
- var result = false;
- if(vehicleNumber!=null){
- if (vehicleNumber.length == 7) {
- var express =
- /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-Z0-9]{4}[A-Z0-9挂学警港澳]{1}$/;
- result = express.test(vehicleNumber);
- }
- }
- return result;
- },
- //绑定车牌号和承运商的关系
- bindRelationship(mapValue){
- let RmsCapacity = {
- capacityTypeId: 1,
- capacityNumber: mapValue.capacityNumber,
- capacityCorlor: "黄",
- capacityOwneris: "否",
- capacityVip: "否",
- capacityBlacklist: "否",
- remark: null,
- carrierId: mapValue.carrierId,
- state: mapValue.carrierName,
- };
- this.$confirm("车牌号("+mapValue.capacityNumber+")与承运商未有绑定关系, 是否立即绑定该车牌号和承运商?","提示",{
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning",
- })
- .then(() => {
- this.axios
- .post("/api/v1/rms/insertCapacity", RmsCapacity)
- .then((res) => {
- console.log("res",res)
- if (res.data.data == 0) {
- this.$message.success("该车牌号与承运商绑定关系成功!");
- }
- });
- })
- .catch(() => {this.$message({ type: "info", message: "已取消删除",});});
- },
- //确定车牌号与承运商是否有绑定关系
- checkRelationship(index){
- if(this.selectionList[index].carrierId!=null){
- //暂存车牌号
- var capacityNumber1;
- if(this.isVehicleNumber(this.selectionList[index].capacityNumber)){
- let mapValue = {
- capacityNumber:this.selectionList[index].capacityNumber,
- carrierId:this.selectionList[index].carrierId,
- carrierName:this.selectionList[index].carrierName
- }
- this.axios
- .post("/api/v1/uc/isInCapacityCarrier", mapValue)
- .then((res)=>{
- if(res.data.code=="201"){
- capacityNumber1 = res.data.data;
- if(capacityNumber1==null){
- this.selectionList[index].capacityNumber = null;
- this.$message.error("该车牌号未注册,请先前往注册!");
- }else{
- this.bindRelationship(mapValue);
- }
- }
- });
- }
- }
- },
- //车牌号弹出层
- handleSelect(item) {
- console.log("获取下拉值!")
- },
- //以下是车牌号边输边查搜索
- querySearch(queryString, cb){
- this.axios
- .post("/api/v1/uc/getCapacityByLike?index=" + queryString)
- .then((res) => {
- if (res.data.code == "200") {
- var restaurants = res.data.data;
- var results = queryString
- ? restaurants.filter(this.createFilter(queryString))
- : restaurants;
- // 调用 callback 返回建议列表的数据
- cb(results);
- }
- });
- },
- createFilter(queryString) {
- return (restaurants) => {
- return (
- restaurants.value.toLowerCase().indexOf(queryString.toLowerCase()) >
- -1
- );
- };
- },
- //以上是车牌号边输边查搜索
- //校验是否为电话号码
- checkIsTelephone(index){
- //电话号码校验
- var reg = /^[1][345789]\d{9}$/;
- if(!reg.test(this.selectionList[index].driverTel)){
- this.canSend = -1;
- this.$message.warning('电话号码格式不正确,请输入正确的电话号码!')
- }else{
- this.canSend = 1;
- }
- },
- //点击确定按钮的事件
- makeSure(){
- if(this.canSend==-1){
- this.$message.warning('电话号码格式不正确,请输入正确的电话号码!')
- }else{
- this.$confirm("是否确定进行钢材派单!", "提示", {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning",
- center: true,
- })
- .then(() => {
- var mapList = [];
- for(var i=0;i<this.spanArr.length;i++){
- if(this.spanArr[i]>0&&this.selectionList[i].capacityNumber){
- //从所有选中承运商Id和承运商名称暂存中取出当前行的承运商Id
- this.carrierIdAndName.forEach((item) => {
- if(this.selectionList[i].carrierName==item.carrierName){
- this.selectionList[i].carrierId = item.carrierId;
- }
- })
- var mapItem = {
- //车牌号
- capacityNumber : null,
- //司机电话号码
- driverTel : null,
- //车序号主键
- saleOrderMaterialId : 0,
- //承运商Id
- carrierId : 0,
- //线路Id
- lineId : 0,
- }
- mapItem.capacityNumber = this.selectionList[i].capacityNumber,
- mapItem.driverTel = this.selectionList[i].driverTel,
- mapItem.saleOrderMaterialId = this.selectionList[i].saleOrderMaterialId,
- mapItem.carrierId = this.selectionList[i].carrierId,
- mapItem.lineId = this.selectionList[i].lineId,
- mapList.push(mapItem);
- }
- }
- this.axios.post('/api/v1/ams/dispatchSteelOrder',mapList)
- .then((res)=>{
- if(res.data.code == '200'){
- this.cancel();
- }
- this.$message.success('派单成功!')
- });
- })
- .catch(() => {
- this.$message({ type: "info", message: "取消!",});
- });
- }
- },
- //点击取消按钮的事件
- cancel(){
- this.$router.push('/saleOrderSteelCar')
- },
- //批量修改内层值
- batchUpdateValue(row,index){
- for(var i=index;i<this.spanArr[index]+index;i++){
- this.selectionList[i].capacityNumber=row.capacityNumber;
- this.selectionList[i].carrierName=row.carrierName;
- }
- },
- //初始化线路
- initializeLine(){
- for(var i=0;i<this.spanArr.length;i++){
- if(this.spanArr[i]==1){
- for(var j=i;j<this.spanArr[i]+i;j++){
- this.selectionList[j].lineName = '总厂:销售钢材单拼路线'+" "+'进厂-计皮-装货-计毛-出厂';
- this.selectionList[j].lineId = 110001;
- }
- }
- if(this.spanArr[i]==2){
- for(var j=i;j<this.spanArr[i]+i;j++){
- this.selectionList[j].lineName = '总厂:销售钢材二拼路线'+" "+'计皮-进厂-装货-计毛-计皮-装货-计毛-出厂';
- this.selectionList[j].lineId = 110002;
- }
- }
- if(this.spanArr[i]==3){
- for(var j=i;j<this.spanArr[i]+i;j++){
- this.selectionList[j].lineName = '总厂:销售钢材三拼路线'+" "+'进厂-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-出厂';
- this.selectionList[j].lineId = 110003;
- }
- }
- if(this.spanArr[i]==4){
- for(var j=i;j<this.spanArr[i]+i;j++){
- this.selectionList[j].lineName = '总厂:销售钢材四拼路线'+" "+'进厂-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-出厂';
- this.selectionList[j].lineId = 110004;
- }
- }
- if(this.spanArr[i]==5){
- for(var j=i;j<this.spanArr[i]+i;j++){
- this.selectionList[j].lineName = '总厂:销售钢材五拼路线'+" "+'进厂-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-出厂';
- this.selectionList[j].lineId = 110005;
- }
- }
- if(this.spanArr[i]==6){
- for(var j=i;j<this.spanArr[i]+i;j++){
- this.selectionList[j].lineName = '总厂:销售钢材六拼路线'+" "+'进厂-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-出厂';
- this.selectionList[j].lineId = 110006;
- }
- }
- if(this.spanArr[i]==7){
- for(var j=i;j<this.spanArr[i]+i;j++){
- this.selectionList[j].lineName = '总厂:销售钢材七拼路线'+" "+'进厂-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-出厂';
- this.selectionList[j].lineId = 110007;
- }
- }
- if(this.spanArr[i]==8){
- for(var j=i;j<this.spanArr[i]+i;j++){
- this.selectionList[j].lineName = '总厂:销售钢材八拼路线'+" "+'进厂-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-出厂';
- this.selectionList[j].lineId = 110008;
- }
- }
- if(this.spanArr[i]==9){
- for(var j=i;j<this.spanArr[i]+i;j++){
- this.selectionList[j].lineName = '总厂:销售钢材九拼路线'+" "+'进厂-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-出厂';
- this.selectionList[j].lineId = 110009;
- }
- }
- if(this.spanArr[i]==10){
- for(var j=i;j<this.spanArr[i]+i;j++){
- this.selectionList[j].lineName = '总厂:销售钢材十拼路线'+" "+'进厂-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-计皮-装货-计毛-出厂';
- this.selectionList[j].lineId = 110010;
- }
- }
- }
-
- },
- //记录每一行的合并数
- getSpanArr(data) {
- //每次调用方法初始化
- this.spanArr = [];
- for (var i = 0; i < data.length; i++) {
- if (i === 0) {
- this.spanArr.push(1);
- this.pos = 0
- } else {
- // 判断当前元素与上一个元素是否相同
- if (data[i].truckNo === data[i - 1].truckNo) {
- this.spanArr[this.pos] += 1;
- this.spanArr.push(0);
- } else {
- this.spanArr.push(1);
- this.pos = i;
- }
- }
- }
- },
- //根据条件合并行
- cellMerge({ row, column, rowIndex, columnIndex }) {
- if (columnIndex === 0) {
- const _row = this.spanArr[rowIndex];
- const _col = _row > 0 ? 1 : 0;
- return {
- rowspan: _row,
- colspan: _col
- }
- }
- if (columnIndex === 1) {
- const _row = this.spanArr[rowIndex];
- const _col = _row > 0 ? 1 : 0;
- return {
- rowspan: _row,
- colspan: _col
- }
- }
- if (columnIndex === 2) {
- const _row = this.spanArr[rowIndex];
- const _col = _row > 0 ? 1 : 0;
- return {
- rowspan: _row,
- colspan: _col
- }
- }
- if (columnIndex === 3) {
- const _row = this.spanArr[rowIndex];
- const _col = _row > 0 ? 1 : 0;
- return {
- rowspan: _row,
- colspan: _col
- }
- }
- if (columnIndex === 8) {
- const _row = this.spanArr[rowIndex];
- const _col = _row > 0 ? 1 : 0;
- return {
- rowspan: _row,
- colspan: _col
- }
- }
- if (columnIndex === 9) {
- const _row = this.spanArr[rowIndex];
- const _col = _row > 0 ? 1 : 0;
- return {
- rowspan: _row,
- colspan: _col
- }
- }
- if (columnIndex === 10) {
- const _row = this.spanArr[rowIndex];
- const _col = _row > 0 ? 1 : 0;
- return {
- rowspan: _row,
- colspan: _col
- }
- }
- if (columnIndex === 11) {
- const _row = this.spanArr[rowIndex];
- const _col = _row > 0 ? 1 : 0;
- return {
- rowspan: _row,
- colspan: _col
- }
- }
- if (columnIndex === 12) {
- const _row = this.spanArr[rowIndex];
- const _col = _row > 0 ? 1 : 0;
- return {
- rowspan: _row,
- colspan: _col
- }
- }
- if (columnIndex === 13) {
- const _row = this.spanArr[rowIndex];
- const _col = _row > 0 ? 1 : 0;
- return {
- rowspan: _row,
- colspan: _col
- }
- }
- },
- },
- };
- </script>
- <style lang='scss'>
- .addSaleOrderSend {
- .from {
- margin-top: 20px;
- .line {
- display: flex;
- justify-content: center;
- align-items: center;
- .el-input {
- width: 350px;
- margin-left: 10px;
- margin-right: 10px;
- }
- }
- .sendCar {
- display: flex;
- justify-content: center;
- align-items: center;
- .el-input {
- width: 70px;
- margin-left: 10px;
- margin-right: 10px;
- margin-top: 10px;
- }
- }
- .vehicle {
- display: flex;
- justify-content: center;
- align-items: center;
- margin-top: 20px;
- .el-button {
- width: 250px;
- margin-left: 10px;
- margin-right: 10px;
- }
- .span {
- width: 70px;
- }
- }
- }
- .tablecls{
- margin-top: 20px;
- }
- .button_box{
- display: flex;
- justify-content: center;
- margin: 20px;
- .el-button{
- width: 100px;
- margin-left: 20px;
- }
- }
- }
- </style>
|