This commit is contained in:
liuyp 2024-06-03 12:26:30 +08:00
commit 1c8b4c0da8
4 changed files with 15 additions and 32 deletions

View File

@ -1,8 +1,7 @@
<template> <template>
<div :class="{'has-logo':showLogo}" :style="{ backgroundColor: settings.sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground }"> <div :class="{'has-logo':showLogo}" :style="{ backgroundColor: settings.sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground }">
<el-scrollbar :class="settings.sideTheme" wrap-class="scrollbar-wrapper" > <el-scrollbar :class="settings.sideTheme" wrap-class="scrollbar-wrapper" >
<div > <div style="margin-bottom:300px" >
<logo :collapse="isCollapse" /> <logo :collapse="isCollapse" />
<biz-nav id="bizNav" v-if="this.sidebar.opened" style="padding: 0px 0px;width:100%"/> <biz-nav id="bizNav" v-if="this.sidebar.opened" style="padding: 0px 0px;width:100%"/>
<el-menu <el-menu

View File

@ -54,7 +54,7 @@
<xd-table <XdTable
slot="pageContent" slot="pageContent"
slot-scope="slotProps" slot-scope="slotProps"
:height="(slotProps.contentHeight)+'px'" :height="(slotProps.contentHeight)+'px'"
@ -174,7 +174,7 @@
>删除</el-button> --> >删除</el-button> -->
</template> </template>
</el-table-column> </el-table-column>
</xd-table> </XdTable>
<!-- 添加或修改问题件类型对话框 --> <!-- 添加或修改问题件类型对话框 -->

View File

@ -16,9 +16,7 @@
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="产品类型" prop="productType"> <el-form-item label="产品类型" prop="productType">
<!-- :transLineCode="form.transLineType" -->
<TransProductMultiplePicker placeholder="产品类型" v-model="form.productType" :transLineCode="form.transLineType"></TransProductMultiplePicker> <TransProductMultiplePicker placeholder="产品类型" v-model="form.productType" :transLineCode="form.transLineType"></TransProductMultiplePicker>
<!-- <TransProductPicker placeholder="产品类型" v-model="form.productType" :transLineCode="form.transLineType"></TransProductPicker> -->
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -30,16 +28,11 @@
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- <el-col :span="24">
<el-form-item label="备注" prop="remark">
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
</el-form-item>
</el-col> -->
</el-row> </el-row>
</el-col> </el-col>
<el-col :span="14"> <el-col :span="14">
<!-- <el-divider content-position="left">运输节点</el-divider> -->
<el-row> <el-row>
<el-col :span="24" :xs="24" style="padding: 10px;"> <el-col :span="24" :xs="24" style="padding: 10px;">
<el-row> <el-row>
@ -48,7 +41,6 @@
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
</el-col> </el-col>
</el-row> </el-row>
</el-col> </el-col>
@ -56,15 +48,6 @@
</el-col> </el-col>
<el-col :span="5" style="border-left: 1px solid #efefef;"> <el-col :span="5" style="border-left: 1px solid #efefef;">
<!-- <XdSteps
:currentStep="3"
:totalSteps="5"
:stepsLabel="stepsLabel"
:stepsDesc="stepsDesc"
:totalWidth="900"
:descMaxWidth="160"
@change="onStepChange" /> -->
<!-- direction="vertical" :active="1" -->
<div style="height: 300px;padding: 40px;"> <div style="height: 300px;padding: 40px;">
<el-steps direction="vertical" :active="1" align-center finish-status="success"> <el-steps direction="vertical" :active="1" align-center finish-status="success">
<el-step v-for="item in form.stepList" :key="item.orderNum" :title="item.stepName" > <el-step v-for="item in form.stepList" :key="item.orderNum" :title="item.stepName" >

View File

@ -65,7 +65,7 @@
<!-- @click="handleDelete(scope.row)" --> <!-- @click="handleDelete(scope.row)" -->
<!-- 添加或修改费用计算表达式对话框 --> <!-- 添加或修改费用计算表达式对话框 -->
<el-dialog :title="title" :visible.sync="open" width="50%" :close-on-click-modal="false" v-dialogDrag append-to-body> <el-dialog :title="title" :visible.sync="open" width="50%" :close-on-click-modal="false" :destroy-on-close="true" v-dialogDrag append-to-body>
<el-row :gutter="0"> <el-row :gutter="0">
<el-form ref="form" size="mini" :model="form" :rules="rules" label-width="80px"> <el-form ref="form" size="mini" :model="form" :rules="rules" label-width="80px">
<el-col :span="24"> <el-col :span="24">
@ -316,7 +316,8 @@ export default {
this.title = "新增节点"; this.title = "新增节点";
const orderNum=this.emisTmsTransPlanDtlList.length+1; const orderNum=this.emisTmsTransPlanDtlList.length+1;
this.form.orderNum=orderNum; this.form.orderNum=orderNum;
if(orderNum>1){ this.form.destSiteCode=null;
// if(orderNum>1){
// 获取上一条数据 // 获取上一条数据
// const [lastData]= this.emisTmsTransPlanDtlList.slice(-1); // const [lastData]= this.emisTmsTransPlanDtlList.slice(-1);
// console.log(lastData); // console.log(lastData);
@ -324,7 +325,7 @@ export default {
// this.form.destSiteCode=null; // this.form.destSiteCode=null;
// this.form.transType=lastData.transType; // this.form.transType=lastData.transType;
// this.form.estCostDay=1; // this.form.estCostDay=1;
} // }
}, },