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

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

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

Loading…
Cancel
Save