123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978 |
- // 汽车调度派车
- <template>
- <div class="container">
- <el-row>
- <el-col :span="20">
- <h2 class="bg-left title">汽车调度</h2>
- </el-col>
- <el-col :span="4" class="bg-right">
- <el-button
- class="bg-bottom"
- type="primary"
- size="small"
- @click="revert()"
- ><img
- width="6"
- height="10"
- style="vertical-align: bottom; margin-right: 3px"
- src="../../../public/img/lujing.png"
- alt=""
- />返回</el-button
- >
- </el-col>
- </el-row>
- <div class="center">
- <ws-form ref="deptBudgetList" :model="deptBudgetList" :rules="rules">
- <div class="basicInformation">
- <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">
- {{ deptBudgetList.goodsName }}
- </ws-form-item>
- <!--重量(吨)-->
- <ws-form-item
- label="重量(吨)"
- span="1"
- prop="tare"
- class="readonly"
- >
- {{ deptBudgetList.weight }}
- </ws-form-item>
- <!--发货地址-->
- <ws-form-item label="发货地址" span="1" prop="netWeight">
- {{ deptBudgetList.sendPrivate }}{{ deptBudgetList.sendCity
- }}{{ deptBudgetList.sendArea
- }}{{ deptBudgetList.sendDetailedAddress }}
- </ws-form-item>
- <!--发货人-->
- <ws-form-item label="发货人" span="1" prop="agent">
- {{ deptBudgetList.sender }}
- </ws-form-item>
- <!--发货人电话-->
- <ws-form-item label="发货人电话" span="1" prop="agent">
- {{ deptBudgetList.senderPhone }}
- </ws-form-item>
- <!--收货地址-->
- <ws-form-item label="收货地址" span="1" prop="netWeight">
- {{ 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="inOutDate"
- class="deliverydate"
- >
- {{ deptBudgetList.deliveryDateStart }}
- </ws-form-item>
- <!--最晚发货日期-->
- <ws-form-item
- label="最晚发货日期"
- span="1"
- prop="inOutDate"
- class="deliverydate"
- >
- {{ deptBudgetList.deliveryDateEnd }}
- </ws-form-item>
- <!--合同编号-->
- <ws-form-item label="合同编号" span="1" prop="contractNo">
- {{ deptBudgetList.contractNo }}
- </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="readonly"
- 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>
- <el-button
- v-if="deptBudgetList.priceStatus=='审核中'"
- type="primary"
- size="small"
- @click="examine()"
- >审核中</el-button
- >
- <el-button
- v-else
- type="primary"
- size="small"
- @click="priceSubmit()"
- >提交</el-button
- >
- </ws-form-item>
- </div>
- <div
- class="driver position liaison"
- v-for="(item, index) in deptBudgetList.tranCarInfoList"
- :key="index"
- >
- <ws-info-table>
- <div class="catNos">
- 司机-{{ index + 1 }}
- <span class="noservice" v-show="item.status == '未装车'">{{
- item.status
- }}</span>
- <span class="service" v-show="item.status == '已装车'">{{
- item.status
- }}</span>
- <span class="serviced" v-show="item.status == '已送达'">{{
- item.status
- }}</span>
- </div>
- <!--司机-->
- <ws-form-item
- label="姓名:"
- span="1"
- prop="driverName"
- class="siji"
- >
- <el-select
- v-show="!item.temporaryDriverFlag"
- v-model="item.driver"
- placeholder="请选择司机"
- class="typeselect"
- @change="
- (val) => {
- carchange(val, index)
- }
- "
- >
- <el-option
- v-for="(items, index) in carList"
- :key="index"
- :label="items.driverName"
- :value="items.driverName"
- />
- </el-select>
- <span
- v-show="
- item.temporaryDriverFlag == 0 ||
- item.temporaryDriverFlag == 1
- "
- >{{ item.driver }}</span
- >
- </ws-form-item>
- <!--司机电话-->
- <ws-form-item
- label="司机电话:"
- span="1"
- prop="impurity"
- class="siji"
- >
- <el-select
- v-show="!item.temporaryDriverFlag"
- v-model="item.driverPhone"
- placeholder="请选择司机电话"
- class="typeselect"
- @change="
- (val) => {
- phonechange(val, index)
- }
- "
- >
- <el-option
- v-for="(items, index) in carList"
- :key="index"
- :label="items.driverPhone"
- :value="items.driverPhone"
- />
- </el-select>
- <span
- v-show="
- item.temporaryDriverFlag == 0 ||
- item.temporaryDriverFlag == 1
- "
- >{{ item.driverPhone }}</span
- >
- </ws-form-item>
- <!--车牌号-->
- <ws-form-item label="车牌号:" span="1" prop="carNo" class="siji">
- <ws-input
- :disabled="readonly"
- v-model="item.carNo"
- placeholder="请输入车牌号"
- maxlength="120"
- size="small"
- />
- </ws-form-item>
- <!--派车编号-->
- <ws-form-item
- label="派车编号:"
- span="1"
- prop="carModel"
- class="siji"
- style="width:245px"
- >
- <ws-input
- :disabled="readonly"
- v-model="item.tranCarNo"
- maxlength="120"
- size="small"
- />
- </ws-form-item>
- <!--箱号-->
- <ws-form-item
- label="箱号:"
- span="1"
- prop="carModel"
- class="siji"
- >
- <ws-input
- v-if="item.status == '已装车'||item.status == '已送达'"
- :disabled="readonly"
- v-model="item.caseNo"
- maxlength="120"
- size="small"
- />
- <ws-input
- v-else
- v-model="item.caseNo"
- placeholder="请输入箱号"
- maxlength="120"
- size="small"
- />
- </ws-form-item>
- <!--封号-->
- <ws-form-item
- label="封号:"
- span="1"
- prop="carModel"
- class="siji"
- >
- <ws-input
- v-if="item.status == '已装车'||item.status == '已送达'"
- v-model="item.titleNo"
- placeholder="请输入封号"
- :disabled="readonly"
- maxlength="120"
- size="small"
- />
- <ws-input
- v-model="item.titleNo"
- placeholder="请输入封号"
- v-else
- maxlength="120"
- size="small"
- />
- </ws-form-item>
- <!--车型-->
- <ws-form-item
- label="车型:"
- span="1"
- prop="carModel"
- class="siji"
- >
- <ws-input
- :disabled="readonly"
- v-model="item.carModel"
- placeholder="请输入车型"
- maxlength="120"
- size="small"
- />
- </ws-form-item>
- <!--车长-->
- <ws-form-item
- label="车长:"
- span="1"
- prop="carLength"
- class="siji"
- >
- <ws-input
- :disabled="readonly"
- v-model="item.carLength"
- placeholder="请输入车长"
- maxlength="120"
- size="small"
- />
- </ws-form-item>
- <!--载重吨-->
- <ws-form-item
- label="载重(吨):"
- span="1"
- prop="loadWeight"
- class="siji zaizhong"
- >
- <ws-input
- :disabled="readonly"
- v-model="item.loadWeight"
- placeholder="请输入载重(吨)"
- maxlength="120"
- size="small"
- />
- </ws-form-item>
- <!--运输单价-->
- <ws-form-item
- label="运输单价(元/吨):"
- span="1"
- prop="carModel"
- class="siji"
- style="width:250px"
- >
- <ws-input
- :disabled="readonly"
- v-model="item.tranPrice"
- maxlength="120"
- size="small"
- />
- </ws-form-item>
- </ws-info-table>
- <span
- v-if="item.status == '未装车'||item.temporaryDriverFlag!=0"
- width="22"
- height="22"
- class="del"
- @click="del(index, item)"
- src="../../../public/img/del.png"
- alt=""
- >×</span
- >
- </div>
- <div style="text-align: right; color: #8890b1; font-size: 16px">
- 共{{ total }}/{{ deptBudgetList.weight }}
- </div>
- <el-button class="add" type="primary" size="small" @click="add()">
- <img
- width="22"
- height="22"
- src="../../../public/img/add.png"
- alt=""
- />
- <div class="spans">添加司机</div>
- </el-button>
- <div style="text-align: right; padding: 10px">
- <el-button
- class="bg-bottom-up"
- type="primary"
- size="small"
- @click="submit()"
- >提交</el-button
- >
- </div>
- </div>
- </ws-form>
- </div>
- </div>
- </template>
- <script>
- import Pagination from '@/components/Pagination'
- import WsUpload from '@/components/WsUpload'
- import {
- seeCat,
- nameXiala,
- arrange,
- dispatchCat,
- delhaulagestage,
- setUpTranPrice
- } from '@/model/transport/index'
- // import { dayjs, fmoney, EventBus } from 'base-core-lib'
- import { dayjs, EventBus } from 'base-core-lib'
- export default {
- name: 'viewSpareMoney',
- components: {
- WsUpload,
- Pagination,
- },
- watch: {
- // vesselId(val) {
- // this.getList()
- // },
- isShow(val) {
- this.showType = val
- },
- },
- data() {
- return {
- // 是否显示
- showType: true,
- deptBudgetTotal: 0,
- currentPage: 1,
- pageSize: 10,
- searchType: 1,
- startDate: null,
- endDate: null,
- carList: [],
- // 提交类型
- readonly: true,
- tranPriceApprove:{},
- rules: {
- netWeight: [
- {
- required: true,
- type: 'number',
- message: '请输入活动名称',
- trigger: 'blur',
- },
- ],
- },
- size: 10,
- compId: sessionStorage.getItem('ws-pf_compId'),
- date: {
- year: dayjs().format('YYYY'),
- month: dayjs().format('MM'),
- },
- deptBudgetList: {
- tranCarInfoList: [],
- },
- pickerBeginDateBefore: {
- disabledDate: (time) => {
- return time.getTime() > Date.now()
- },
- },
- accessoryTFs: false,
- index:0,
- }
- },
- activated() {
- this.getList()
- },
- computed: {
- total: function () {
- if (this.deptBudgetList.tranCarInfoList.length > 0) {
- var maxStorage = 0
- for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
- maxStorage += Number(
- this.deptBudgetList.tranCarInfoList[i].loadWeight
- )
- }
- return maxStorage
- }
- },
- },
- methods: {
- //返回按钮
- revert() {
- this.$router.go(-1)
- },
- del(index, row) {
- if(row.status == null){
- if (this.deptBudgetList.tranCarInfoList.length > 1) {
- this.deptBudgetList.tranCarInfoList.splice(index, 1)
- }
- }else{
- 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)
- }
- })
- })
- }
- },
- add() {
- if(!this.deptBudgetList.tranPrice){
- this.$message({
- message: '请设置运输单价!',
- type: 'warning',
- })
- }
- else{
- var tmp1='C00'
- this.deptBudgetList.count++
- if(this.deptBudgetList.tranCarInfoList.length<10){
- this.deptBudgetList.tranCarInfoList.push({
- driverName: '',
- driverPhone: '',
- carLength: 0,
- carLengthKey: '',
- loadWeight: null,
- carModel: '',
- carModelKey: '',
- carNumber: '',
- disabled: false,
- tranType: '1',
- tranCarNo: tmp1+(this.deptBudgetList.count),
- tranPrice:this.deptBudgetList.tranPrice
- })
- }
- else if(this.deptBudgetList.tranCarInfoList.length<100&&this.deptBudgetList.tranCarInfoList.length>=10){
- tmp1='C0'
- this.deptBudgetList.count++
- this.deptBudgetList.tranCarInfoList.push({
- driverName: '',
- driverPhone: '',
- carLength: 0,
- carLengthKey: '',
- loadWeight: null,
- carModel: '',
- carModelKey: '',
- carNumber: '',
- disabled: false,
- tranType: '1',
- tranCarNo: tmp1+(this.deptBudgetList.count),
- tranPrice:this.deptBudgetList.tranPrice
- })
- }
- else if(this.deptBudgetList.tranCarInfoList.length<1000&&this.deptBudgetList.tranCarInfoList.length>=100){
- tmp1='C'
- this.deptBudgetList.count++
- this.deptBudgetList.tranCarInfoList.push({
- driverName: '',
- driverPhone: '',
- carLength: 0,
- carLengthKey: '',
- loadWeight: null,
- carModel: '',
- carModelKey: '',
- carNumber: '',
- disabled: false,
- tranType: '1',
- tranCarNo: tmp1+(this.deptBudgetList.count),
- tranPrice:this.deptBudgetList.tranPrice
- })
- }
- }
- },
- //审核
- examine(){
- this.$prompt('运输单价审核', {
- cancelButtonText: '取消',
- confirmButtonText: '确定',
- }).then(({ value }) => {
- var tranProcessInfo = {}
- tranProcessInfo.id = this.deptBudgetList.id
- tranProcessInfo.flag = "2"
- tranProcessInfo.tranPriceIng = value
- 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
- setUpTranPrice(tranProcessInfo)
- .toPromise()
- .then((response) => {
- this.$message.success('提交成功')
- this.getList()
- })
- })
- .catch(() => {
- return false
- })
- },
- //提交按钮
- submit() {
- for (var i = this.index; i < this.deptBudgetList.tranCarInfoList.length; i++) {
- if (!this.deptBudgetList.tranCarInfoList[i].driver) {
- this.$message({
- message: '姓名不能为空!',
- type: 'warning',
- })
- return
- }
- for(var j = 0 ; j < this.carList.length ; j++){
- if (this.carList[j].driverName == this.deptBudgetList.tranCarInfoList[i].driver && this.carList[j].disableStatusFlag == 1) {
- this.$message({
- message: this.deptBudgetList.tranCarInfoList[i].driver+'该司机已被禁用!',
- type: 'warning',
- })
- return
- }
- }
- }
- this.$confirm(`提交成功后,任务将下发给司机,是否确定提交?`, {
- cancelButtonText: '取消',
- confirmButtonText: '确定',
- 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.$router.go(-1)
- })
- } else {
- EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
- return false
- }
- })
- })
- .catch(() => {
- return false
- })
- },
- handleClose() {
- this.accessoryTFs = false
- },
- getList() {
- seeCat({ id: this.$route.query.id })
- .toPromise()
- .then((response) => {
- if (response.tranCarInfoList.length > 0) {
- this.index = response.tranCarInfoList.length
- for (var i = 0; i < response.tranCarInfoList.length; i++) {
- if (response.tranCarInfoList[i].id) {
- response.tranCarInfoList[i].disabled = true
- }
- }
- }
- this.deptBudgetList = response
- if (this.deptBudgetList.tranCarInfoList.length == 0) {
- this.deptBudgetList.tranCarInfoList = [
- {
- driverName: '',
- driverPhone: '',
- carLength: 0,
- carLengthKey: '',
- loadWeight: null,
- carModel: '',
- carModelKey: '',
- carNumber: '',
- disabled: false,
- tranType: '1',
- tranCarNo: 'C001',
- tranPrice:this.deptBudgetList.tranPrice
- },
- ]
- }
- })
- nameXiala({ compId: this.compId })
- .toPromise()
- .then((response) => {
- this.carList = response
- })
- },
- carchange(val, index) {
- for (var i = 0; i < this.carList.length; i++) {
- if (this.carList[i].driverName == val) {
- this.deptBudgetList.tranCarInfoList[index].driverPhone =
- this.carList[i].driverPhone
- arrange({ id: this.carList[i].id })
- .toPromise()
- .then((response) => {
- console.log(this, response)
- this.deptBudgetList.tranCarInfoList[index].carNo =
- response.carNumber
- if (response.carLoad != null) {
- this.deptBudgetList.tranCarInfoList[index].loadWeight =
- response.carLoad
- } else {
- this.deptBudgetList.tranCarInfoList[index].loadWeight = 0
- }
- this.deptBudgetList.tranCarInfoList[index].carModel =
- response.carModel
- this.deptBudgetList.tranCarInfoList[index].carLength =
- response.carLength
- this.deptBudgetList.tranCarInfoList[index].carLengthKey =
- response.carLengthKey
- this.deptBudgetList.tranCarInfoList[index].carModelKey =
- response.carModelKey
- })
- }
- }
- },
- phonechange(val, index) {
- for (var i = 0; i < this.carList.length; i++) {
- if (this.carList[i].driverPhone == val) {
- this.deptBudgetList.tranCarInfoList[index].driver =
- this.carList[i].driverName
- arrange({ id: this.carList[i].id })
- .toPromise()
- .then((response) => {
- console.log(this, response)
- this.deptBudgetList.tranCarInfoList[index].carNo =
- response.carNumber
- if (response.carLoad != null) {
- this.deptBudgetList.tranCarInfoList[index].loadWeight =
- response.carLoad
- } else {
- this.deptBudgetList.tranCarInfoList[index].loadWeight = 0
- }
- this.deptBudgetList.tranCarInfoList[index].carModel =
- response.carModel
- this.deptBudgetList.tranCarInfoList[index].carLength =
- response.carLength
- this.deptBudgetList.tranCarInfoList[index].carLengthKey =
- response.carLengthKey
- this.deptBudgetList.tranCarInfoList[index].carModelKey =
- response.carModelKey
- })
- }
- }
- },
- },
- }
- </script>
- <style lang="scss" scoped>
- /deep/.basicInformation {
- height: 87vh;
- overflow: scroll;
- .ws-info-table {
- border: none;
- }
- .myTest{
- width: 800px;
- display: flex;
- height: 40px;
- }
- .el-form-item {
- width: 33.3333%;
- border: none;
- height: 50px;
- .el-form-item__label {
- background: transparent;
- border: none;
- }
- .el-form-item__content {
- border: none;
- }
- }
- }
- .title {
- position: relative;
- padding-left: 10px;
- }
- .title::before {
- content: '';
- display: inline-block;
- width: 5px;
- height: 30px;
- background: #5473e8;
- position: absolute;
- left: 0;
- }
- .el-form {
- padding: 0 10%;
- }
- .el-button--primary {
- background-color: #5878e8;
- border-color: #5878e8;
- }
- .el-col {
- background: #f6f7fc;
- }
- .bg-right {
- text-align: right;
- padding: 16px 20px;
- }
- .center {
- width: 90%;
- margin: 0 auto;
- }
- //表格文字
- /deep/.ws-info-table .el-form-item .el-form-item__label {
- text-align: center;
- font-size: 14px;
- font-weight: 400;
- color: #8890b1;
- line-height: 16px;
- }
- //蓝标
- .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;
- padding: 4px 2px;
- }
- .position {
- position: relative;
- }
- .position .zaizhong {
- width: 16%;
- }
- //减号
- .del {
- position: absolute;
- // right: -38px;
- top: 9px;
- cursor: pointer;
- right: 0;
- display: inline-block;
- font-size: 20px;
- width: 20px;
- height: 10px;
- line-height: 0px;
- }
- .driver .el-form-item {
- width: 16.63%;
- }
- /deep/.ws-info-table .el-form-item .el-form-item__content {
- background: #f5f7fa;
- border-radius: 4px;
- color: #8890b1;
- font-size: 14px;
- padding: 0 25px;
- }
- /deep/.driver .ws-info-table .el-form-item .el-form-item__label {
- width: 72px;
- }
- /deep/.liaison .ws-info-table .el-form-item {
- width: 16.66%;
- color: #8890b1;
- font-size: 14px;
- }
- /deep/.ws-info-table .el-form-item {
- border: none;
- height: 50px;
- }
- /deep/.liaison .ws-info-table .el-form-item .el-form-item__label {
- width: 50%;
- border: 0px solid #d8dce6;
- background: #f5f7fa;
- text-align: center;
- }
- /deep/.liaison {
- background: #f5f7fa;
- border-radius: 4px;
- border: 0px solid #d8dce6;
- }
- /deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
- border: none;
- background: #f5f7fa;
- padding: 0px;
- }
- .catNos {
- width: 100%;
- height: 30px;
- margin-top: 10px;
- margin-left: 20px;
- font-size: 14px;
- }
- /deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
- // border: 0px solid #d8dce6;
- border-radius: 0px;
- border-left: none;
- border-bottom: none;
- border-top: none;
- }
- /deep/.liaison .ws-info-table {
- background: #f6f7fc;
- border-radius: 4px;
- border: 1px solid #d8dce6;
- margin-top: 20px;
- }
- //送达/未送达
- .noservice,
- .service {
- display: inline-block;
- border-radius: 4px;
- border: 1px solid #d8dce6;
- padding: 2px;
- font-size: 12px;
- }
- .noservice {
- background: #c4cada;
- color: #ffffff;
- }
- .service {
- background: #e5f1f7;
- color: #50cad4;
- }
- .serviced {
- display: inline-block;
- border-radius: 4px;
- border: 1px solid #d8dce6;
- padding: 2px;
- font-size: 12px;
- background: #e5f1f7;
- color: #2c81cf;
- }
- //添加司机
- .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;
- }
- </style>
|