master
张同海 1 year ago
parent d371cf99ce
commit 7cd4b0a153

@ -25,7 +25,7 @@
</p> </p>
<a-col :span="24"> <a-col :span="24">
<a-row> <a-row>
<a-col :span="5"> <a-col :span="5" v-if="type == 'Details'">
<a-form-item <a-form-item
label="派单号:" label="派单号:"
:labelCol="{ xs: { span: 25 }, sm: { span: 6 } }" :labelCol="{ xs: { span: 25 }, sm: { span: 6 } }"
@ -82,8 +82,8 @@
> >
<!-- <a-input v-decorator="['etd']" allowClear /> --> <!-- <a-input v-decorator="['etd']" allowClear /> -->
<a-date-picker <a-date-picker
format="YYYY-MM-DD HH:mm:ss" format="YYYY-MM-DD"
valueFormat="YYYY-MM-DD HH:mm:ss" valueFormat="YYYY-MM-DD"
show-time show-time
:style="{ width: '100%' }" :style="{ width: '100%' }"
v-decorator="['etd']" v-decorator="['etd']"
@ -380,7 +380,7 @@
<span>{{ FnRdispatchStatus(row.dispatchStatus) }}</span> <span>{{ FnRdispatchStatus(row.dispatchStatus) }}</span>
</template> </template>
<template #edit="{ row }"> <template #edit="{ row }">
<vxe-select v-model="row.dispatchStatus" transfer> <vxe-select v-model="row.dispatchStatus" :disabled="type == 'Details'" transfer>
<vxe-option <vxe-option
v-for="item in dispatchStatusList" v-for="item in dispatchStatusList"
:key="item.code" :key="item.code"
@ -419,27 +419,37 @@
<vxe-column field="dispatchTime" title="派车日期" :edit-render="{}"> <vxe-column field="dispatchTime" title="派车日期" :edit-render="{}">
<template #edit="{ row }"> <template #edit="{ row }">
<!-- <a-date-picker format="YYYY-MM-DD HH:mm:ss" show-time v-model="row.dispatchTime" allowClear /> --> <!-- <a-date-picker format="YYYY-MM-DD HH:mm:ss" show-time v-model="row.dispatchTime" allowClear /> -->
<vxe-input v-model="row.dispatchTime" type="datetime" transfer></vxe-input> <vxe-input
v-model="row.dispatchTime"
type="datetime"
:disabled="type == 'Details'"
transfer
></vxe-input>
</template> </template>
</vxe-column> </vxe-column>
<vxe-column field="carLicense" title="车牌号" :edit-render="{}"> <vxe-column field="carLicense" title="车牌号" :edit-render="{}">
<template #edit="{ row }"> <template #edit="{ row }">
<vxe-input v-model="row.carLicense" type="text" transfer></vxe-input> <vxe-input v-model="row.carLicense" type="text" :disabled="type == 'Details'" transfer></vxe-input>
</template> </template>
</vxe-column> </vxe-column>
<vxe-column field="currentLocation" title="当前位置" :edit-render="{}"> <vxe-column field="currentLocation" title="当前位置" :edit-render="{}">
<template #edit="{ row }"> <template #edit="{ row }">
<vxe-input v-model="row.currentLocation" type="text" transfer></vxe-input> <vxe-input
v-model="row.currentLocation"
type="text"
:disabled="type == 'Details'"
transfer
></vxe-input>
</template> </template>
</vxe-column> </vxe-column>
<vxe-column field="driverName" title="司机姓名" :edit-render="{}"> <vxe-column field="driverName" title="司机姓名" :edit-render="{}">
<template #edit="{ row }"> <template #edit="{ row }">
<vxe-input v-model="row.driverName" type="text" transfer></vxe-input> <vxe-input v-model="row.driverName" type="text" :disabled="type == 'Details'" transfer></vxe-input>
</template> </template>
</vxe-column> </vxe-column>
<vxe-column field="phone" title="联系方式" :edit-render="{}"> <vxe-column field="phone" title="联系方式" :edit-render="{}">
<template #edit="{ row }"> <template #edit="{ row }">
<vxe-input v-model="row.phone" type="text" transfer></vxe-input> <vxe-input v-model="row.phone" type="text" :disabled="type == 'Details'" transfer></vxe-input>
</template> </template>
</vxe-column> </vxe-column>
<vxe-column title="操作" fixed="right" width="200" align="center"> <vxe-column title="操作" fixed="right" width="200" align="center">
@ -858,7 +868,8 @@ export default {
this.ContactsData = [] this.ContactsData = []
} }
this.ContactsData.push({ this.ContactsData.push({
WebKey: this.ContactsData.length ? this.ContactsData[this.ContactsData.length - 1].WebKey + 1 : 1 WebKey: this.ContactsData.length ? this.ContactsData[this.ContactsData.length - 1].WebKey + 1 : 1,
dispatchStatus: '0'
}) })
} }
} }

@ -82,7 +82,7 @@
<!-- <a-input disabled v-decorator="['etd']" allowClear /> --> <!-- <a-input disabled v-decorator="['etd']" allowClear /> -->
<a-date-picker <a-date-picker
disabled disabled
format="YYYY-MM-DD HH:mm:ss" format="YYYY-MM-DD"
show-time show-time
:style="{ width: '100%' }" :style="{ width: '100%' }"
v-decorator="['etd']" v-decorator="['etd']"

@ -12,7 +12,12 @@
<a-row :gutter="48"> <a-row :gutter="48">
<a-col :md="6" :sm="24"> <a-col :md="6" :sm="24">
<a-form-item label="客户名称:"> <a-form-item label="客户名称:">
<a-input v-model="queryParam.billNo" allow-clear placeholder="请输入客户名称" /> <!-- <a-input v-model="queryParam.carGroupId" allow-clear placeholder="请输入客户名称" /> -->
<a-select v-model="queryParam.carGroupId" allow-clear placeholder="请选择车队">
<a-select-option v-for="item in carGroupIdData" :key="item.id" :value="item.id">
{{ item.name }}
</a-select-option>
</a-select>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :md="6" :sm="24" v-if="TabsData == 1"> <a-col :md="6" :sm="24" v-if="TabsData == 1">

Loading…
Cancel
Save