|
|
|
@ -160,7 +160,7 @@
|
|
|
|
|
<el-option |
|
|
|
|
v-for="item in DeliveryDriver" |
|
|
|
|
:key="item.value" |
|
|
|
|
:label="item.driverName" |
|
|
|
|
:label="item.driverName + '-'+ item.trainNumber" |
|
|
|
|
:value="item.id" |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
@ -184,9 +184,9 @@
|
|
|
|
|
v-model="Indexform.trainNumber" |
|
|
|
|
placeholder="请输入车次号(干线卸车环节)" |
|
|
|
|
clearable |
|
|
|
|
|
|
|
|
|
@change="DeliveryTrainnumber" |
|
|
|
|
/> |
|
|
|
|
<!-- @change="DeliveryTrainnumber" --> |
|
|
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item |
|
|
|
@ -205,8 +205,9 @@
|
|
|
|
|
v-model="Indexform.deliveryTime" |
|
|
|
|
type="datetime" |
|
|
|
|
format="YYYY-MM-DD HH:mm:ss" |
|
|
|
|
value-format="YYYY-MM-DD HH:mm:ss" |
|
|
|
|
value-format="YYYY-MM-DD" |
|
|
|
|
placeholder="请选择配送时间" |
|
|
|
|
@change="DeliveryTrainnumber" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="车辆路线" v-if="groundlineSet || groundlineType == 3"> |
|
|
|
@ -402,16 +403,16 @@
|
|
|
|
|
|
|
|
|
|
<el-input v-else v-model="item.personResponsibleName" placeholder="请输入责任人" /> |
|
|
|
|
</div> |
|
|
|
|
<div class="maxBox"> |
|
|
|
|
<div class="maxBox el_zb"> |
|
|
|
|
<span class="title">占比:</span> |
|
|
|
|
<el-input |
|
|
|
|
v-model="item.responsibilityRatio" |
|
|
|
|
placeholder="请输入占比 " |
|
|
|
|
clearable |
|
|
|
|
placeholder="占比 " |
|
|
|
|
:rows="2" |
|
|
|
|
v-percentage |
|
|
|
|
@input="CompanyProportionInput" |
|
|
|
|
/> |
|
|
|
|
<span>%</span> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="maxBox"> |
|
|
|
@ -732,6 +733,7 @@ const DiscoveringNodesChange = val => {
|
|
|
|
|
function DeliveryTrainnumber() { |
|
|
|
|
let data = { |
|
|
|
|
trainNumber: Indexform.value.trainNumber, |
|
|
|
|
taskTime:Indexform.value.deliveryTime |
|
|
|
|
}; |
|
|
|
|
data.current = 1; //页码 |
|
|
|
|
data.size = 999; //条数 |
|
|
|
@ -1001,16 +1003,16 @@ const ConfirmForm = () => {
|
|
|
|
|
delete DataSubmit.processor; //移除多余字段 |
|
|
|
|
console.log(DataSubmit, '处理好的数据'); |
|
|
|
|
// 提交表单信息stringify |
|
|
|
|
$_submit(DataSubmit).then(res => { |
|
|
|
|
if (res.data.code == 200) { |
|
|
|
|
ElMessage({ |
|
|
|
|
message: res.data.msg, |
|
|
|
|
type: 'success', |
|
|
|
|
}); |
|
|
|
|
Indexform.value = {}; //重置表单 |
|
|
|
|
$router.push('/aftersales/aftersalesWorkOrder'); //添加成功跳转到列表 |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
// $_submit(DataSubmit).then(res => { |
|
|
|
|
// if (res.data.code == 200) { |
|
|
|
|
// ElMessage({ |
|
|
|
|
// message: res.data.msg, |
|
|
|
|
// type: 'success', |
|
|
|
|
// }); |
|
|
|
|
// Indexform.value = {}; //重置表单 |
|
|
|
|
// $router.push('/aftersales/aftersalesWorkOrder'); //添加成功跳转到列表 |
|
|
|
|
// } |
|
|
|
|
// }); |
|
|
|
|
}; |
|
|
|
|
// 选择司机带出车次号日期 |
|
|
|
|
const changeDeliveryDriver=(val)=>{ |
|
|
|
@ -1335,6 +1337,14 @@ const ViewPackageDetails = val => {
|
|
|
|
|
width: 80%; |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
.el_zb{ |
|
|
|
|
width: 140px; |
|
|
|
|
margin-right: 50px; |
|
|
|
|
text-align: right; |
|
|
|
|
:deep(.el-input){ |
|
|
|
|
margin-left: 10px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.maxBox { |
|
|
|
|
display: flex; |
|
|
|
|