|
|
|
@ -89,7 +89,7 @@
|
|
|
|
|
<div class="el_information"> |
|
|
|
|
<div class="el_information_row"> |
|
|
|
|
<el-form-item label="车次号" v-if="displaySettings.trainNumber"> |
|
|
|
|
<el-input v-model="endFrom.trainNumber" /> |
|
|
|
|
<el-input v-model="endFrom.trainNumber" disabled /> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="配送时间" v-if="displaySettings.deliveryTime"> |
|
|
|
@ -97,6 +97,7 @@
|
|
|
|
|
v-model="endFrom.deliveryTime" |
|
|
|
|
type="datetime" |
|
|
|
|
format="YYYY-MM-DD" |
|
|
|
|
disabled |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
@ -110,6 +111,7 @@
|
|
|
|
|
filterable |
|
|
|
|
default-first-option |
|
|
|
|
:reserve-keyword="false" |
|
|
|
|
disabled |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in DeliveryDriver" |
|
|
|
@ -121,7 +123,7 @@
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="车辆路线" v-if="displaySettings.vehicleRoute"> |
|
|
|
|
<el-input v-model="endFrom.vehicleRoute" /> |
|
|
|
|
<el-input v-model="endFrom.vehicleRoute" disabled/> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="发货时间" v-if="displaySettings.deliverGoodsTime"> |
|
|
|
@ -129,6 +131,7 @@
|
|
|
|
|
v-model="endFrom.deliverGoodsTime" |
|
|
|
|
type="datetime" |
|
|
|
|
format="YYYY-MM-DD" |
|
|
|
|
disabled |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
@ -138,6 +141,7 @@
|
|
|
|
|
type="datetime" |
|
|
|
|
format="YYYY-MM-DD" |
|
|
|
|
value-format="YYYY-MM-DD" |
|
|
|
|
disabled |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
@ -147,11 +151,12 @@
|
|
|
|
|
type="datetime" |
|
|
|
|
format="YYYY-MM-DD" |
|
|
|
|
value-format="YYYY-MM-DD" |
|
|
|
|
disabled |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<!-- 必填 --> |
|
|
|
|
<el-form-item label="运单商场" v-if="displaySettings.waybillMall"> |
|
|
|
|
<el-input v-model="endFrom.waybillMall" /> |
|
|
|
|
<el-input v-model="endFrom.waybillMall" disabled/> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="合作模式" v-if="displaySettings.typeServiceName"> |
|
|
|
@ -168,6 +173,7 @@
|
|
|
|
|
label="处理方" |
|
|
|
|
v-if="displaySettings.processor" |
|
|
|
|
style="width: 42%" |
|
|
|
|
|
|
|
|
|
> |
|
|
|
|
<el-select |
|
|
|
|
v-model="endFrom.processor" |
|
|
|
@ -176,6 +182,7 @@
|
|
|
|
|
allow-create |
|
|
|
|
default-first-option |
|
|
|
|
:reserve-keyword="false" |
|
|
|
|
disabled |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in warehouseData" |
|
|
|
@ -1243,6 +1250,7 @@ const onLoad = () => {
|
|
|
|
|
$_getInfo({ id: $route.query.id }).then(res => { |
|
|
|
|
console.log(res, '回显返回值参数'); |
|
|
|
|
endFrom.value = res.data.data; |
|
|
|
|
console.log( endFrom.value,'存储起来的参数'); |
|
|
|
|
endFrom.value.result = []; |
|
|
|
|
endFrom.value.processor = []; |
|
|
|
|
endFrom.value.packageImage = []; |
|
|
|
@ -1395,7 +1403,7 @@ const onLoad = () => {
|
|
|
|
|
obj => obj.dictKey == endFrom.value.workOrderStatus |
|
|
|
|
).dictValue; //异常类型处理 |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
console.log( endFrom.value,'endFrom.value'); |
|
|
|
|
// 支付方式字典 |
|
|
|
|
getDictionaryBiz('payment_method').then(res => { |
|
|
|
|
//处理结果字典 |
|
|
|
@ -1583,13 +1591,13 @@ const changeProcessingResults = val => {
|
|
|
|
|
|
|
|
|
|
const displaySettings = computed(() => { |
|
|
|
|
return { |
|
|
|
|
trainNumber: ['3', '5', '7', '6'].includes(endFrom.value.workOrderType), //车次号 |
|
|
|
|
deliveryTime: ['5', '7', '6'].includes(endFrom.value.workOrderType), //配送时间 |
|
|
|
|
deliveryDriver: ['5', '7', '6'].includes(endFrom.value.workOrderType), //配送司机 |
|
|
|
|
vehicleRoute: ['3'].includes(endFrom.value.workOrderType), //车辆线路 |
|
|
|
|
deliverGoodsTime: ['2'].includes(endFrom.value.workOrderType), //发货时间 |
|
|
|
|
warehousingTime: ['4'].includes(endFrom.value.workOrderType), //入库时间 |
|
|
|
|
discoveryTime: ['4', '5', '6', '7'].includes(endFrom.value.workOrderType), //发现时间 |
|
|
|
|
trainNumber: ['3', '5', '7', '6'].includes(endFrom.value.discoveryNode), //车次号 |
|
|
|
|
deliveryTime: ['5', '7', '6'].includes(endFrom.value.discoveryNode), //配送时间 |
|
|
|
|
deliveryDriver: ['5', '7', '6'].includes(endFrom.value.discoveryNode), //配送司机 |
|
|
|
|
vehicleRoute: ['3'].includes(endFrom.value.discoveryNode), //车辆线路 |
|
|
|
|
deliverGoodsTime: ['2'].includes(endFrom.value.discoveryNode), //发货时间 |
|
|
|
|
warehousingTime: ['4'].includes(endFrom.value.discoveryNode), //入库时间 |
|
|
|
|
discoveryTime: ['4', '5', '6', '7'].includes(endFrom.value.discoveryNode), //发现时间 |
|
|
|
|
waybillMall: true, //运单商场 |
|
|
|
|
typeServiceName: true, //合作模式 |
|
|
|
|
processor: true, //处理方 |
|
|
|
@ -2286,6 +2294,8 @@ const submit = async val => {
|
|
|
|
|
}; |
|
|
|
|
// 消息回复 |
|
|
|
|
const replyMessage = () => { |
|
|
|
|
console.log(endFrom.value,'endFrom.value'); |
|
|
|
|
console.log(endFrom.value.workOrderType,'类型'); |
|
|
|
|
if (!Msgtextarea.value) { |
|
|
|
|
ElMessage({ |
|
|
|
|
message: '请输入回复内容', |
|
|
|
@ -3137,12 +3147,14 @@ const CustomerServiceCompleted = () => {
|
|
|
|
|
flex-wrap: wrap; |
|
|
|
|
|
|
|
|
|
:deep(.el-form-item) { |
|
|
|
|
width: 14%; |
|
|
|
|
width: 16%; |
|
|
|
|
height: auto; |
|
|
|
|
display: flex; |
|
|
|
|
align-items: flex-start; |
|
|
|
|
flex-direction: column; |
|
|
|
|
flex: none; |
|
|
|
|
margin-right: 4px; |
|
|
|
|
margin-bottom: 0; |
|
|
|
|
.el-form-item__label { |
|
|
|
|
margin-left: 0; |
|
|
|
|
} |
|
|
|
@ -3154,6 +3166,7 @@ const CustomerServiceCompleted = () => {
|
|
|
|
|
width: 100%; |
|
|
|
|
display: flex; |
|
|
|
|
flex-wrap: wrap; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.el-select { |
|
|
|
|