Browse Source

司机车次号,日期反查

master
马远东 1 year ago
parent
commit
8560687272
  1. 44
      src/views/aftersales/aftersalesWorkOrderAdd.vue
  2. 6
      src/views/distribution/signfor/distributionSignfortreat.vue

44
src/views/aftersales/aftersalesWorkOrderAdd.vue

@ -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;

6
src/views/distribution/signfor/distributionSignfortreat.vue

@ -349,6 +349,7 @@
:on-remove="handleRemove"
:on-success="ImgSuccessA"
:headers="headers"
multiple
>
<el-icon><Plus /></el-icon>
</el-upload>
@ -367,6 +368,7 @@
:on-remove="handleRemove"
:on-success="ImgSuccessB"
:headers="headers"
multiple
>
<el-icon><Plus /></el-icon>
</el-upload>
@ -385,6 +387,8 @@
:on-remove="handleRemove"
:on-success="ImgSuccessC"
:headers="headers"
multiple
>
<el-icon><Plus /></el-icon>
</el-upload>
@ -403,6 +407,7 @@
:on-remove="handleRemove"
:on-success="ImgSuccessD"
:headers="headers"
multiple
>
<el-icon><Plus /></el-icon>
</el-upload>
@ -421,6 +426,7 @@
:on-remove="handleRemove"
:on-success="ImgSuccessE"
:headers="headers"
multiple
>
<el-icon><Plus /></el-icon>
</el-upload>

Loading…
Cancel
Save