123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978 |
- //车次安排
- <template>
- <div class="container">
- <el-row>
- <el-col :span="12">
- <h2 class="bg-left title">车次安排</h2>
- </el-col>
- <el-col :span="12" class="bg-right">
- <el-button
- class="bg-bottom"
- type="primary"
- size="small"
- @click="returnsales()"
- ><img
- width="6"
- height="10"
- style="vertical-align: bottom; margin-right: 3px"
- src="../../../public/img/lujing.png"
- alt=""
- />返回</el-button
- >
- </el-col>
- </el-row>
- <ws-form
- class="position"
- ref="deptBudgetList"
- :rules="rules"
- :model="deptBudgetList"
- >
- <div class="small-title" style="font-size: 16px">任务详情</div>
- <ws-info-table>
- <ws-form-item label="任务编号" span="1" prop="processNo">
- {{ deptBudgetList.processNo }}
- </ws-form-item>
- <ws-form-item label="货名" span="1" prop="goodsName">
- {{ deptBudgetList.goodsName }}
- </ws-form-item>
- <ws-form-item label="重量(吨)" span="1" prop="weight">
- {{ deptBudgetList.weight }}
- </ws-form-item>
- <ws-form-item label="发货地址" span="1" prop="sendDetailedAddress">
- {{ deptBudgetList.sendPrivate }}{{ deptBudgetList.sendCity
- }}{{ deptBudgetList.sendArea
- }}{{ deptBudgetList.sendDetailedAddress }}
- </ws-form-item>
- <ws-form-item label="发货人" span="1" prop="sender" class="readonly">
- {{ deptBudgetList.sender }}
- </ws-form-item>
- <ws-form-item
- label="发货人电话"
- span="1"
- prop="senderPhone"
- class="readonly"
- >
- {{ deptBudgetList.senderPhone }}
- </ws-form-item>
- <ws-form-item label="收货地址" span="1" prop="receiveDetailedAddress">
- {{ deptBudgetList.receivePrivate }}{{ deptBudgetList.receiveCity
- }}{{ deptBudgetList.receiveArea}}{{deptBudgetList.receiveDetailedAddress}}
- </ws-form-item>
- <ws-form-item label="收货人" span="1" prop="receiver">
- {{ deptBudgetList.receiver }}
- </ws-form-item>
- <ws-form-item label="收货人电话" span="1" prop="receiverPhone">
- {{ deptBudgetList.receiverPhone }}
- </ws-form-item>
- <ws-form-item label="发货日期" span="1" prop="deliveryDateStart">
- {{ deptBudgetList.deliveryDateStart }}
- </ws-form-item>
- <ws-form-item label="最晚到货日期" span="1" prop="deliveryDateEnd">
- {{ deptBudgetList.deliveryDateEnd }}
- </ws-form-item>
- <ws-form-item v-if="deptBudgetList.taskType=='移库'" label="移库编号" span="1" prop="contractNo">
- {{ deptBudgetList.contractNo }}
- </ws-form-item>
- <ws-form-item v-else label="合同编号" span="1" prop="contractNo">
- {{ deptBudgetList.contractNo }}
- </ws-form-item>
- <ws-form-item v-if="deptBudgetList.relatedContract" label="关联合同" span="1" prop="relatedContract">
- {{ deptBudgetList.relatedContract }}
- </ws-form-item>
- </ws-info-table>
- <div class="small-title" style="font-size: 16px">联络员及车皮信息</div>
- <div class="myTest">
- <ws-form-item label="当前运输总价(元):" span="1" prop="tranPrice">
- <ws-input
- v-model="deptBudgetList.tranPrice"
- maxlength="70"
- disabled
- size="small"
- style="width:70px"
- />
- </ws-form-item>
- <ws-form-item label="审核中的运输总价(元):" span="1" prop="tranPriceIng">
- <ws-input
- v-if="deptBudgetList.priceStatus=='审核中'"
- :disabled="readonly"
- v-model="deptBudgetList.tranPriceIng"
- maxlength="70"
- size="small"
- style="width:70px"
- />
- <ws-input
- v-else
- v-model="deptBudgetList.tranPriceIng"
- maxlength="70"
- size="small"
- style="width:70px"
- />
- </ws-form-item>
- <!-- <ws-form-item>
- </ws-form-item> -->
- <el-button
- v-if="deptBudgetList.priceStatus=='审核中'"
- type="primary"
- v-hasPermission="`tranManager.transportationInfo.trian`"
- size="small"
- @click="examine()"
- class="submit"
- >审核中</el-button
- >
- <el-button
- v-else
- type="primary"
- size="small"
- class="submit"
- @click="priceSubmit()"
- >提交</el-button
- >
- </div>
- <div
- class="liaison"
- v-for="(item, index) in deptBudgetList.tranCarInfoList"
- :key="index"
- >
- <ws-info-table>
- <ws-form-item label="姓名" span="1" prop="driver" v-show="item.tranType==2">
- <el-select
- v-model="item.driver"
- placeholder="请选择姓名"
- filterable
- clearable
- @change="selectstaff"
- >
- <el-option
- v-for="item in options"
- :key="item.value"
- :label="item.staffName"
- :value="item.staffName"
- />
- </el-select>
- </ws-form-item>
- <ws-form-item label="电话" span="1" prop="driverPhone" v-show="item.tranType==2">
- <ws-input
- v-model="item.driverPhone"
- readonly
- unselectable="on"
- placeholder="请输入电话"
- maxlength="20"
- size="small"
- />
- </ws-form-item>
- <ws-form-item label="发车日期" span="1" prop="sendDateStart" v-show="item.tranType==2">
- <ws-date-picker
- v-model="item.sendDateStart"
- type="date"
- placeholder="请选择发货日期"
- value-format="yyyy-MM-dd"
- />
- </ws-form-item>
- <ws-form-item label="预计到站日期" span="1" prop="receiveDateEnd" v-show="item.tranType==2">
- <ws-date-picker
- v-model="item.receiveDateEnd"
- type="date"
- placeholder="请选择预计到站日期"
- value-format="yyyy-MM-dd"
- />
- </ws-form-item>
- <ws-form-item label="流向" span="1" prop="boxNo" v-show="item.tranType==2">
- <ws-input
- v-model="item.boxNo"
- placeholder="请输入流向"
- maxlength="20"
- size="small"
- />
- </ws-form-item>
- <!-- <ws-form-item label="车型" span="1" prop="carModel" v-show="index==0">
- <el-select
- v-model="item.carModel"
- placeholder="请选择车型"
- filterable
- >
- <el-option
- v-for="items in carModel"
- :key="items.value"
- :label="items.constValue"
- :value="items.constValue"
- />
- </el-select>
- </ws-form-item> -->
- <!-- <ws-form-item :label="'车厢号'" span="1" prop="boxNo">
- <ws-input
- v-model="item.boxNo"
- placeholder="请输入车厢号"
- maxlength="20"
- size="small"
- />
- </ws-form-item> -->
- </ws-info-table>
- <!-- <span
- v-if="
- item.status == '未装车' || item.status == '' || item.status == null
- "
- width="22"
- height="22"
- class="del"
- @click="del(index, item)"
- src="../../../public/img/del.png"
- alt=""
- >×</span
- > -->
- </div>
- <!-- <el-button class="add bg-bottom" type="primary" size="small" @click="add">
- <img width="22" height="22" src="../../../public/img/add.png" alt="" />
- <div class="spans">添加车厢</div>
- </el-button> -->
- </ws-form>
- <!-- 提交 -->
- <div style="text-align: right; padding: 10px" class="center">
- <el-button class="bg-bottom" type="primary" size="small" @click="submit()"
- >提交</el-button
- >
- </div>
- </div>
- </template>
- <script>
- import { regionData } from 'element-china-area-data'
- import {
- seeCat,
- dispatchCat,
- packList,
- delhaulagestage,
- setUpTranPrice
- } from '@/model/transport/index'
- import { getstaff } from '@/model/warehouse/index'
- import WsUpload from '@/components/WsUpload'
- import mapDrag from '@/components/mapdrag/mapdrag'
- export default {
- name: 'viewSpareMoney',
- components: {
- WsUpload,
- mapDrag,
- },
- watch: {
- vesselId(val) {
- this.getVesselData()
- },
- isShow(val) {
- this.showType = val
- },
- },
- data() {
- return {
- deptBudgetList: {
- totalStorage: 0,
- },
- options_: regionData,
- selectedOptions: [],
- center: [116.244694, 39.517344],
- personCharge: [],
- driverList: [],
- listDate: { country: '中国', level: 'country', city: '' },
- citylist: [],
- tranType: '2',
- rules: {
- warehouseName: [
- {
- required: true,
- message: '请输入仓库名称',
- trigger: 'blur',
- },
- {
- min: 2,
- max: 20,
- message: '仓库名长度不符合要求,请输入2-20字符之内',
- trigger: 'blur',
- },
- ],
- },
- size: 10,
- unitList: [],
- name: '',
- list: [],
- staffList: [],
- options: [],
- carModel: [],
- tranCarInfoList: {},
- arr: [],
- readonly:true,
- }
- },
- activated() {
- this.deptBudgetList.id = this.$route.query.id
- this.getList()
- },
- computed: {
- totalStorage: function () {
- var maxStorage = 0
- for (var i = 0; i < this.freightspace.length; i++) {
- maxStorage += Number(this.freightspace[i].maxStorage)
- }
- return maxStorage
- },
- },
- methods: {
- dataFilter(val) {
- this.deptBudgetList.personCharge = val
- if (val) {
- this.options = this.staffList.filter((item) => {
- if (
- !!~item.staffName.indexOf(val) ||
- !!~item.staffName.toUpperCase().indexOf(val.toUpperCase())
- ) {
- return true
- }
- })
- } else {
- this.options = this.staffList
- }
- },
- selectstaff(e) {
- for (var i = 0; i < this.staffList.length; i++) {
- if (this.staffList[i].staffName == e) {
- this.deptBudgetList.driverPhone = this.staffList[i].staffMobilePhone
- this.deptBudgetList.tranCarInfoList[0].driverPhone =
- this.staffList[i].staffMobilePhone
- this.deptBudgetList.personChargeKey = this.staffList[i].staffId
- }
- }
- },
- selectedAddress(e) {
- this.deptBudgetList.warehousePositioning =
- e.center.lat + ',' + e.center.lng
- },
- confirmPositioncity() {
- this.listDate.level = 'city'
- this.listDate.country = this.name
- },
- // 关闭 dialog时 处理文件url 初始化upload组件
- // handleClose() {
- // this.dialogViewSpareMoney = false
- // },
- add() {
- if(!this.deptBudgetList.tranPrice){
- this.$message({
- message: '请设置运输总价!',
- type: 'warning',
- })
- }
- else{
- this.deptBudgetList.tranCarInfoList.push({
- driver: this.deptBudgetList.tranCarInfoList[0].driver,
- driverPhone: this.deptBudgetList.tranCarInfoList[0].driverPhone,
- sendDateStart: this.deptBudgetList.tranCarInfoList[0].sendDateStart,
- receiveDateEnd: this.deptBudgetList.tranCarInfoList[0].receiveDateEnd,
- carModel: this.deptBudgetList.tranCarInfoList[0].carModel,
- boxNo: '',
- tranType: '2',
- })
- }
- },
- del(index, row) {
- if (row.status == '未装车') {
- this.$confirm('派车信息删除后不可恢复,是否确定删除?', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning',
- }).then(() => {
- delhaulagestage({ id: row.id })
- .toPromise()
- .then((response) => {
- this.$message.success('删除成功')
- if (this.deptBudgetList.tranCarInfoList.length > 1) {
- this.deptBudgetList.tranCarInfoList.splice(index, 1)
- }
- })
- })
- } else {
- if (this.deptBudgetList.tranCarInfoList.length > 1) {
- this.deptBudgetList.tranCarInfoList.splice(index, 1)
- }
- }
- },
- //下拉司机姓名改变事件
- handleChange(value) {
- this.selectedOptions = value
- },
- returnsales() {
- this.deptBudgetList = {}
- this.freightspace = []
- this.selectedOptions = ''
- this.$router.go(-1)
- },
- // 上传附件
- uploadSuccess(data, files, url) {
- console.log(data, files, url)
- },
- submit() {
- if(!this.deptBudgetList.tranPrice){
- this.$message({
- message: '请设置运输总价!',
- type: 'warning',
- })
- }
- else{
- for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
- if (!this.deptBudgetList.tranCarInfoList[i].driver&&this.deptBudgetList.tranCarInfoList[i].tranType==2) {
- this.$message({
- message: '姓名不能为空!',
- type: 'warning',
- })
- return
- }
- if (!this.deptBudgetList.tranCarInfoList[i].driverPhone&&this.deptBudgetList.tranCarInfoList[i].tranType==2) {
- this.$message({
- message: '电话不能为空!',
- type: 'warning',
- })
- return
- }
- if (!this.deptBudgetList.tranCarInfoList[i].sendDateStart&&this.deptBudgetList.tranCarInfoList[i].tranType==2) {
- this.$message({
- message: '发车日期不能为空!',
- type: 'warning',
- })
- return
- }
- if (!this.deptBudgetList.tranCarInfoList[i].receiveDateEnd&&this.deptBudgetList.tranCarInfoList[i].tranType==2) {
- this.$message({
- message: '到站日期不能为空',
- type: 'warning',
- })
- return
- }
- if (
- new Date(
- this.deptBudgetList.tranCarInfoList[i].sendDateStart
- ).getTime() >
- new Date(
- this.deptBudgetList.tranCarInfoList[i].receiveDateEnd
- ).getTime()&&this.deptBudgetList.tranCarInfoList[i].tranType==2
- ) {
- this.$message({
- message: '发车时间不能大于到站时间!',
- type: 'warning',
- })
- return
- }
- // if (!this.deptBudgetList.tranCarInfoList[i].carModel) {
- // this.$message({
- // message: '车型不能为空!',
- // type: 'warning',
- // })
- // return
- // }
- if (!this.deptBudgetList.tranCarInfoList[i].boxNo&&this.deptBudgetList.tranCarInfoList[i].tranType==2) {
- this.$message({
- message: '流向不能为空',
- type: 'warning',
- })
- return
- }
- }
- this.$confirm(`提交成功后,任务将下发给相关人员,是否确定提交?`, {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning',
- })
- .then(() => {
- this.$refs.deptBudgetList.validate((valid) => {
- if (valid) {
- var tranCarInfo = {}
- tranCarInfo.id = this.deptBudgetList.id
- tranCarInfo.infoId = this.deptBudgetList.infoId
- tranCarInfo.tranCarInfoList = this.deptBudgetList.tranCarInfoList
- dispatchCat(tranCarInfo)
- .toPromise()
- .then((response) => {
- this.$message.success('提交成功')
- this.deptBudgetList = {}
- this.freightspace = {}
- this.selectedOptions = ''
- this.$router.go(-1)
- })
- } else {
- // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
- return false
- }
- })
- })
- .catch(() => {
- return false
- })
- }
- },
- //审核
- examine(){
- this.$prompt('运输单价审核', {
- cancelButtonText: '取消',
- confirmButtonText: '确定',
- inputValue:this.deptBudgetList.tranPriceIng
- }).then(({ value }) => {
- var tranProcessInfo = {}
- tranProcessInfo.reviewer = localStorage.getItem('ws-pf_roleName') +
- localStorage.getItem('ws-pf_staffName')
- tranProcessInfo.id = this.deptBudgetList.id
- tranProcessInfo.flag = "2"
- tranProcessInfo.tranPriceIng = value
- tranProcessInfo.tranTypeKey = 2
- setUpTranPrice(tranProcessInfo)
- .toPromise()
- .then((response) => {
- this.$message.success('审核成功')
- this.getList()
- });
- }).catch(() => {
- this.$message.warning(
- '取消审核'
- );
- });
- },
- priceSubmit(){
- this.$confirm(`运输单价将发送给决策人审核,确定提交?`, {
- cancelButtonText: '取消',
- confirmButtonText: '确定',
- type: 'warning',
- })
- .then(() => {
- var tranProcessInfo = {}
- tranProcessInfo.id = this.deptBudgetList.id
- tranProcessInfo.flag = "1"
- tranProcessInfo.tranPriceIng = this.deptBudgetList.tranPriceIng
- tranProcessInfo.tranTypeKey = 2
- setUpTranPrice(tranProcessInfo)
- .toPromise()
- .then((response) => {
- this.$message.success('提交成功')
- this.getList()
- })
- })
- .catch(() => {
- return false
- })
- },
- getList() {
- seeCat({ id: this.deptBudgetList.id })
- .toPromise()
- .then((response) => {
- this.deptBudgetList = response
- if(this.deptBudgetList.tranPriceIng==0){
- this.deptBudgetList.tranPriceIng=''
- }
- if (response.tranCarInfoList.length == 0){
- this.deptBudgetList.tranCarInfoList = [
- {
- driver: '',
- driverPhone: '',
- sendDateStart: '',
- receiveDateEnd: '',
- carModel: '',
- boxNo: '',
- tranType: '2',
- },
- ]
- }
-
- })
- //司机姓名下拉
- getstaff({ compId: localStorage.getItem('ws-pf_compId') })
- .toPromise()
- .then((response) => {
- this.options = response
- this.staffList = response
- // this.deptBudgetList.tranCarInfoList.driverPhone = response
- })
- //车型
- packList({ constId: 'TRAN5' })
- .toPromise()
- .then((response) => {
- this.carModel = response
- })
- },
- selectChapterTwo(e) {
- for (var i = 0; i < this.ChapterTwoList.length; i++) {
- if (this.ChapterTwoList[i].constValue == e) {
- this.deptBudgetList.gradeKey = this.ChapterTwoList[i].constKey
- }
- }
- },
- selectunitList(e) {
- for (var i = 0; i < this.unitList.length; i++) {
- if (this.unitList[i].constValue == e) {
- this.deptBudgetList.acceptanceMethodKey = this.unitList[i].constKey
- }
- }
- },
- selectgrade(e) {
- for (var i = 0; i < this.gradeList.length; i++) {
- if (this.gradeList[i].constValue == e) {
- this.deptBudgetList.gradeKey = this.gradeList[i].constKey
- }
- }
- },
- selectgoodsName(e) {
- for (var i = 0; i < this.goodnameList.length; i++) {
- if (this.goodnameList[i].constValue == e) {
- this.deptBudgetList.goodsNameKey = this.goodnameList[i].constKey
- }
- }
- },
- selectpackingMethod(e) {
- for (var i = 0; i < this.packtypeList.length; i++) {
- if (this.packtypeList[i].constValue == e) {
- this.deptBudgetList.packingMethodKey = this.packtypeList[i].constKey
- }
- }
- },
- },
- }
- </script>
- <style lang="scss" scoped>
- /deep/.totalStorage .el-input__inner {
- color: #afb5cb;
- background: #f5f7fa;
- }
- .small-title {
- position: relative;
- padding: 10px;
- font-weight: 600;
- }
- .small-title::before {
- position: absolute;
- content: '';
- display: block;
- background: #5473e8;
- width: 4px;
- height: 14px;
- left: 0px;
- top: 13px;
- }
- .position {
- position: relative;
- }
- .amap-page-container {
- width: 300px;
- height: 300px;
- }
- .el-form {
- padding: 0 15%;
- }
- /deep/.ws-info-table .el-form-item {
- border-right: 1px solid transparent;
- border-bottom: 1px solid transparent;
- }
- .readonly {
- position: relative;
- }
- .readonly:after {
- content: '*';
- color: #ff2727;
- position: absolute;
- right: 8px;
- z-index: 10;
- top: 21%;
- font-size: 20px;
- }
- .title {
- position: relative;
- }
- .title::before {
- content: '';
- display: inline-block;
- width: 5px;
- height: 30px;
- background: #5473e8;
- position: absolute;
- left: 0;
- }
- .el-button--primary {
- background-color: #5878e8;
- border-color: #5878e8;
- }
- .el-col {
- background: #f6f7fc;
- }
- /deep/.ws-info-table .el-form-item .el-form-item__label {
- width: 100px;
- text-align: center;
- background: #fff;
- // border: 1px solid #cdd2dc;
- }
- .button-container {
- display: flex;
- flex-wrap: nowrap;
- justify-content: space-between;
- align-items: center;
- background-color: #fff;
- width: 100%;
- height: 50px;
- padding: 0 10px;
- & > div {
- margin-left: 10px;
- display: flex;
- flex-wrap: nowrap;
- flex-direction: row;
- & > span {
- line-height: 50px;
- }
- }
- /deep/.auditFlow-box {
- position: unset;
- margin-left: 10px;
- &/deep/.auditFlow-icon {
- width: auto;
- padding-right: 30px;
- }
- &/deep/.auditFlow-main {
- position: absolute;
- }
- }
- }
- .box-app {
- display: inline-block;
- float: left;
- margin-left: 30px;
- line-height: 50px;
- }
- /deep/.el-dialog {
- .el-form-item {
- margin-bottom: 0 !important;
- .el-input--medium {
- textarea {
- min-height: 100px !important;
- }
- }
- }
- }
- .collapse-bottom {
- margin-bottom: 20px;
- }
- .input-main .textarea .el-textarea__inner {
- width: 100%;
- z-index: 1;
- }
- .bg-left {
- padding-left: 30px;
- }
- .bg-right {
- padding-right: 10px;
- text-align: right;
- }
- .bg-bottom {
- margin: 15px 0px;
- }
- .el-input--small {
- font-size: 13px;
- }
- .el-input {
- position: relative;
- display: inline-block;
- width: 86%;
- }
- .center {
- width: 90%;
- margin: 0 auto;
- }
- .el-form-item {
- width: 33.333%;
- }
- .el-form-item__label {
- text-align: center;
- }
- /*.crt-main .textarea /deep/ .el-form-item__label {*/
- /* height: 82px;*/
- /*}*/
- // 控制select为只读的时候显示样式
- .hide-sel {
- .el-input__inner {
- border: 0px;
- }
- .el-icon-arrow-up {
- display: none;
- }
- .el-textarea__inner {
- background-color: #fff !important;
- border: 0;
- }
- .el-date-editor {
- i {
- display: none;
- }
- }
- .is-disabled {
- .el-input__inner:hover {
- background-color: #fff !important;
- border: 0;
- }
- color: #606266;
- .el-input__inner {
- background-color: #fff !important;
- border: 0;
- color: #606266;
- }
- .el-textarea__inner {
- background-color: #fff !important;
- border: 0;
- color: #606266;
- }
- }
- }
- // 控制select为只读的时候显示样式
- /deep/.ws-class-table-col {
- height: auto;
- padding: 0px 2px;
- /deep/.el-input__inner {
- padding: 0px 2px;
- }
- }
- /deep/.is-disabled {
- .el-input__prefix,
- .el-input__suffix {
- display: none;
- }
- .el-input__inner {
- color: #c0c4cc !important;
- font-size: 14px;
- cursor: text;
- padding: 0 10px !important;
- }
- }
- //减号
- .del {
- position: absolute;
- cursor: pointer;
- // margin-left: 224px;
- // margin-top: -52px;
- }
- .winseaview-view {
- padding: 0 0 20px;
- }
- .container {
- overflow: scroll;
- height: 93vh;
- }
- .ws-info-table .el-form-item {
- width: 33.3333%;
- }
- .readonly:after {
- display: none;
- }
- .el-textarea__inner {
- display: none;
- }
- .el-form {
- margin-top: 50px;
- }
- .readonly {
- width: 16%;
- }
- //去边框
- /deep/.el-form-item {
- border-right: 0px;
- border-bottom: 0px;
- }
- /deep/.ws-info-table {
- border-left: 0px;
- border-top: 0px;
- }
- /deep/.ws-info-table .el-form-item {
- border: none;
- height: 50px;
- }
- /deep/.ws-info-table .el-form-item .el-form-item__label {
- background-color: #fff;
- font-size: 14px;
- font-weight: 400;
- color: #8890b1;
- line-height: 16px;
- }
- /deep/.flex .ws-info-table .el-form-item .el-form-item__content {
- border: 0px;
- }
- //联络员及车次
- /deep/.liaison .ws-info-table .el-form-item {
- width: 20%;
- }
- /deep/.liaison .ws-info-table .el-form-item .el-form-item__label {
- width: 45%;
- border: 0px solid #d8dce6;
- background: #f5f7fa;
- }
- // /deep/.liaison .flex {
- // display: contents;
- // }
- /deep/.liaison {
- display: contents;
- background: #f5f7fa;
- border-radius: 4px;
- border: 0px solid #d8dce6;
- }
- /deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
- border: none;
- border-radius: 0px;
- }
- .add {
- width: 100px;
- height: 34px;
- background: #f6f7fb;
- border-radius: 17px;
- color: #5473e8;
- font-size: 14px;
- border: none;
- }
- .add img {
- display: inline-block;
- margin-top: 3px;
- margin-left: -12px;
- }
- .add .spans {
- display: table-caption;
- width: 56px;
- height: 20px;
- line-height: 18px;
- }
- /deep/.carnum {
- display: contents;
- }
- /deep/.carnum .ws-info-table .el-form-item {
- width: 20%;
- }
- /deep/.liaison .carnum .ws-info-table .el-form-item {
- border-radius: 10px;
- right: 20px;
- }
- /deep/.ws-info-table .el-form-item .el-form-item__content {
- border-radius: 4px;
- border: 1px solid #d8dce6;
- margin-bottom: 5px;
- background-color: #fff;
- font-size: 14px;
- font-weight: 400;
- color: #8890b1;
- line-height: 16px;
- padding: 0 25px;
- background: #f6f7fc;
- }
- /deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
- padding: 0px;
- }
- .myTest{
- display: flex;
- margin: 20px 0;
- // background: green;
- padding-left: 20px;
- align-items: center;
- width: 800px;
- }
- .myTest .submit{
- margin-top: -16px;
- }
- </style>
|