Browse Source

配送任务编辑按钮

fix_bug_pro20231227
kilo 2 years ago
parent
commit
ab03a53010
  1. 11
      src/option/distribution/distributionReservation.js
  2. 108
      src/views/distribution/deliverylist/distributionDeliveryListedt.vue
  3. 2
      src/views/distribution/signfor/distributionSignfortreat.vue
  4. 288
      src/views/distribution/turndelivery/deliveryMarket.vue

11
src/option/distribution/distributionReservation.js

@ -468,7 +468,16 @@ export default {
label: '顾客地址', label: '顾客地址',
prop: 'customerAddress', prop: 'customerAddress',
width: '100' width: '100'
},
{
label: '库位信息',
prop: 'allocation',
width: '100'
},
{
label: '托盘信息',
prop: 'trays',
width: '100'
}, },
// { // {
// label: '增值服务', // label: '增值服务',

108
src/views/distribution/deliverylist/distributionDeliveryListedt.vue

@ -32,6 +32,11 @@
<span>卸车班组{{ deliverydata.unloadingTeamName }} </span> <span>卸车班组{{ deliverydata.unloadingTeamName }} </span>
<!-- <span>装卸类型 </span>--> <!-- <span>装卸类型 </span>-->
</el-col> </el-col>
<el-col :xl="7" :lg="7" :md="8" :sm="24">
<!-- <span>{{deliverydata.loadingTeamType}} </span> -->
<span>备注{{ deliverydata.remarks }} </span>
<!-- <span>装卸类型 </span>-->
</el-col>
</el-row> </el-row>
<el-divider>作业时间</el-divider> <el-divider>作业时间</el-divider>
<el-row :gutter="24" class="rows"> <el-row :gutter="24" class="rows">
@ -41,9 +46,9 @@
<!-- <el-col :xl="7" :lg="7" :md="8" :sm="24">--> <!-- <el-col :xl="7" :lg="7" :md="8" :sm="24">-->
<!-- <span>备货时间{{deliverydata.leadTime}} </span>--> <!-- <span>备货时间{{deliverydata.leadTime}} </span>-->
<!-- </el-col> --> <!-- </el-col> -->
<el-col :xl="6" :lg="7" :md="8" :sm="24"> <!-- <el-col :xl="6" :lg="7" :md="8" :sm="24">-->
<span>出库时间{{ deliverydata.outboundDate }} </span> <!-- <span>出库时间{{ deliverydata.outboundDate }} </span>-->
</el-col> <!-- </el-col>-->
<el-col :xl="6" :lg="7" :md="8" :sm="24"> <el-col :xl="6" :lg="7" :md="8" :sm="24">
<span>装车时间{{ deliverydata.loadingTime }} </span> <span>装车时间{{ deliverydata.loadingTime }} </span>
</el-col> </el-col>
@ -594,6 +599,66 @@ export default {
fixed: false, fixed: false,
sortable: true, sortable: true,
}, },
{
prop: 'isUrgentName',
label: '是否加急',
type: 1,
values: '',
width: '180',
checkarr: [],
fixed: false,
sortable: true,
},
{
prop: 'assignStatusName',
label: '备货指派状态',
type: 1,
values: '',
width: '180',
checkarr: [],
fixed: false,
sortable: true,
},
{
prop: 'stockupStatusName',
label: '备货状态',
type: 1,
values: '',
width: '180',
checkarr: [],
fixed: false,
sortable: true,
},
{
prop: 'forkliftName',
label: '备货人员',
type: 1,
values: '',
width: '180',
checkarr: [],
fixed: false,
sortable: true,
},
{
prop: 'outboundDate',
label: '出库时间',
type: 1,
values: '',
width: '180',
checkarr: [],
fixed: false,
sortable: true,
},
{
prop: 'stockupDate',
label: '备货时间',
type: 1,
values: '',
width: '180',
checkarr: [],
fixed: false,
sortable: true,
},
{ {
prop: 'loadingStatus', prop: 'loadingStatus',
label: '装车状态', label: '装车状态',
@ -2433,26 +2498,27 @@ export default {
this.signform.deliverySignPictures this.signform.deliverySignPictures
); );
row.id = this.signform.deliveryId; row.id = this.signform.deliveryId;
row.deliverySignPictures = this.signform.deliverySignPictures.join(","); row.deliverySignPictures = this.signform.deliverySignPictures;
row.clerkSignRemarks = this.signform.clerkSignRemarks; row.clerkSignRemarks = this.signform.clerkSignRemarks;
row.signingTime = dayjs().format('YYYY-MM-DD HH:mm:ss'); row.signingTime = dayjs().format('YYYY-MM-DD HH:mm:ss');
row.signingStatus = '2'; row.signingStatus = '2';
console.log('更新参数>>>>>>>>', row); console.log('更新参数>>>>>>>>', row);
// if (!!row.id){ if (!!row.id) {
// updatesign(row).then( updatesign(row).then(
// () => { () => {
// this.$message({ this.$message({
// type: 'success', type: 'success',
// message: '!', message: '操作成功!',
// }); });
// this.signBox = false; this.signBox = false;
// this.onLoad(); this.onLoad();
// }, },
// error => { error => {
// console.log(error); console.log(error);
// this.signBox = false; this.signBox = false;
// } }
// ); );
}
} else { } else {
let data = {}; let data = {};
console.log("---------------->this.deliverydata",this.deliverydata); console.log("---------------->this.deliverydata",this.deliverydata);
@ -2685,10 +2751,12 @@ export default {
console.log('res.data>>>>>>>>>>>>', res.data.data); console.log('res.data>>>>>>>>>>>>', res.data.data);
const data = res.data.data; const data = res.data.data;
this.deliverydata = data this.deliverydata = data
this.deliverydata.outboundDate = data.stockupInfo.outboundDate; // this.deliverydata.outboundDate = data.stockupInfo.outboundDate;
this.deliverydata.forkliftName = data.stockupInfo.forkliftName; this.deliverydata.forkliftName = data.stockupInfo.forkliftName;
console.log('this.deliverydata>>>>>>>>>>>>', this.deliverydata); console.log('this.deliverydata>>>>>>>>>>>>', this.deliverydata);
this.deliverydata.remarks = data.remarks;
// this.deliverydata.teamResponsibility = b.join(','); // this.deliverydata.teamResponsibility = b.join(',');
// console.log( // console.log(
// 'data.stockupInfo.teamResponsibility------------------->', // 'data.stockupInfo.teamResponsibility------------------->',

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

@ -128,7 +128,7 @@
> >
<template #default="slotProps"> <template #default="slotProps">
<el-text size="small" @click="editsolt(slotProps.scope)"> </el-text> <el-text size="small" @click="editsolt(slotProps.scope)"> </el-text>
<el-text size="small" @click="handleSign(slotProps.scope.row)"> </el-text> <el-text size="small" v-if="slotProps.scope.row.signingStatusAll == '司机签收'" @click="handleSign(slotProps.scope.row)"> </el-text>
<!-- <el-button size="small" type="danger" @click="delectsolt(slotProps.scope)"--> <!-- <el-button size="small" type="danger" @click="delectsolt(slotProps.scope)"-->
<!-- >Delete</el-button>--> <!-- >Delete</el-button>-->
</template> </template>

288
src/views/distribution/turndelivery/deliveryMarket.vue

@ -110,21 +110,21 @@
<div style="margin: 2%;background-color: #ffffff;padding: 20px;box-sizing: border-box;"> <div style="margin: 2%;background-color: #ffffff;padding: 20px;box-sizing: border-box;">
<el-form ref="form" :model="stockUpForm" label-width="100px" style="margin: 3px"> <el-form ref="form" :model="stockUpForm" label-width="100px" style="margin: 3px">
<el-row> <el-row>
<el-col :span="6"> <!-- <el-col :span="6">-->
<el-form-item label="备货人员:" prop="forklift"> <!-- <el-form-item label="备货人员:" prop="forklift">-->
<el-select filterable v-model="stockUpForm.forklift" placeholder="请选择备货人员"> <!-- <el-select filterable v-model="stockUpForm.forklift" placeholder="请选择备货人员">-->
<el-option <!-- <el-option-->
v-for="item in this.forkliftData" <!-- v-for="item in this.forkliftData"-->
:key="item.dictKey" <!-- :key="item.dictKey"-->
:label="item.dictValue" <!-- :label="item.dictValue"-->
:value="item.dictKey" <!-- :value="item.dictKey"-->
:disabled="isDisable" <!-- :disabled="isDisable"-->
> <!-- >-->
</el-option> <!-- </el-option>-->
<!-- {{this.forkliftData}}--> <!-- &lt;!&ndash; {{this.forkliftData}}&ndash;&gt;-->
</el-select> <!-- </el-select>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-col :span="6"> <el-col :span="6">
<el-form-item label="装车班组:" prop="loader"> <el-form-item label="装车班组:" prop="loader">
<el-select filterable v-model="stockUpForm.loader" placeholder="请选择装卸班组"> <el-select filterable v-model="stockUpForm.loader" placeholder="请选择装卸班组">
@ -168,83 +168,84 @@
<!-- </el-form-item>--> <!-- </el-form-item>-->
<!-- </el-col>--> <!-- </el-col>-->
<el-col :span="6"> <el-col :span="6">
<el-form-item label="配送类型:" prop="goodsAreaId"> <el-form-item label="配送时间:" prop="taskTime" label-width="100px">
<el-radio-group v-model="stockUpForm.deliveryType">
<el-radio :label="'2'" :value="'2'">市配&emsp;</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<el-form-item label="备货区域:" prop="goodsAreaId">
<el-select filterable v-model="stockUpForm.goodsAreaId" placeholder="请选择备货区域">
<el-option
v-for="item in goodsAreaData"
:key="item.dictKey"
:label="item.dictValue"
:value="item.dictKey"
:disabled="isDisable"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="备货时间:" prop="goodsShelfId">
<el-date-picker v-model="stockUpForm.stockupDate"
type="datetime"
placeholder="请选择备货时间"
:disabled="isDisable"
format="YYYY-MM-DD HH:mm:ss"
value-format="YYYY-MM-DD HH:mm:ss"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="出库时间:" prop="outboundDate" label-width="100px">
<!-- <el-date-picker v-model="form.taskTime"--> <!-- <el-date-picker v-model="form.taskTime"-->
<!-- type="datetime"--> <!-- type="datetime"-->
<!-- placeholder="请选择配车时间"--> <!-- placeholder="请选择配车时间"-->
<!-- value-format="YYYY-MM-DD HH:mm:ss"--> <!-- value-format="YYYY-MM-DD HH:mm:ss"-->
<!-- >--> <!-- >-->
<!-- </el-date-picker>--> <!-- </el-date-picker>-->
<el-date-picker v-model="stockUpForm.outboundDate" <el-date-picker v-model="stockUpForm.taskTime"
type="datetime" type="data"
placeholder="请选择配车时间" placeholder="请选择配车时间"
format="YYYY-MM-DD HH:mm:ss" format="YYYY-MM-DD"
value-format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="配送时间:" prop="taskTime" label-width="100px"> <el-form-item label="配送类型:" prop="goodsAreaId">
<!-- <el-date-picker v-model="form.taskTime"--> <el-radio-group v-model="stockUpForm.deliveryType">
<el-radio :label="'2'" :value="'2'">市配&emsp;</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
<el-row>
<!-- <el-col :span="6">-->
<!-- <el-form-item label="备货区域:" prop="goodsAreaId">-->
<!-- <el-select filterable v-model="stockUpForm.goodsAreaId" placeholder="请选择备货区域">-->
<!-- <el-option-->
<!-- v-for="item in goodsAreaData"-->
<!-- :key="item.dictKey"-->
<!-- :label="item.dictValue"-->
<!-- :value="item.dictKey"-->
<!-- :disabled="isDisable"-->
<!-- >-->
<!-- </el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="6">-->
<!-- <el-form-item label="备货时间:" prop="goodsShelfId">-->
<!-- <el-date-picker v-model="stockUpForm.stockupDate"-->
<!-- type="datetime"-->
<!-- placeholder="请选择备货时间"-->
<!-- :disabled="isDisable"-->
<!-- format="YYYY-MM-DD HH:mm:ss"-->
<!-- value-format="YYYY-MM-DD HH:mm:ss"-->
<!-- >-->
<!-- </el-date-picker>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="6">-->
<!-- <el-form-item label="出库时间:" prop="outboundDate" label-width="100px">-->
<!-- &lt;!&ndash; <el-date-picker v-model="form.taskTime"&ndash;&gt;-->
<!-- &lt;!&ndash; type="datetime"&ndash;&gt;-->
<!-- &lt;!&ndash; placeholder="请选择配车时间"&ndash;&gt;-->
<!-- &lt;!&ndash; value-format="YYYY-MM-DD HH:mm:ss"&ndash;&gt;-->
<!-- &lt;!&ndash; >&ndash;&gt;-->
<!-- &lt;!&ndash; </el-date-picker>&ndash;&gt;-->
<!-- <el-date-picker v-model="stockUpForm.outboundDate"-->
<!-- type="datetime"--> <!-- type="datetime"-->
<!-- placeholder="请选择配车时间"--> <!-- placeholder="请选择配车时间"-->
<!-- format="YYYY-MM-DD HH:mm:ss"-->
<!-- value-format="YYYY-MM-DD HH:mm:ss"--> <!-- value-format="YYYY-MM-DD HH:mm:ss"-->
<!-- >--> <!-- >-->
<!-- </el-date-picker>--> <!-- </el-date-picker>-->
<el-date-picker v-model="stockUpForm.taskTime" <!-- </el-form-item>-->
type="data" <!-- </el-col>-->
placeholder="请选择配车时间"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <!-- <el-col :span="12">-->
<el-form-item label="其他费用:" prop="collectFee" label-width="100px"> <!-- <el-form-item label="其他费用:" prop="collectFee" label-width="100px">-->
<el-input v-model="stockUpForm.otherFee" placeholder="请输入其他费用"/> <!-- <el-input v-model="stockUpForm.otherFee" placeholder="请输入其他费用"/>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-col :span="12"> <el-col :span="12">
<el-form-item label="备注:" prop="remarks"> <el-form-item label="备注:" prop="remarks">
<el-input type="textarea" :rows="1" placeholder="请输入内容" v-model="stockUpForm.remarks"> <el-input type="textarea" :rows="1" placeholder="请输入内容" v-model="stockUpForm.remarks">
@ -968,19 +969,17 @@
data.masterDriverName = this.driverForm.masterDriverName; data.masterDriverName = this.driverForm.masterDriverName;
data.masterVehicleNub = this.driverForm.masterVehicleNub; data.masterVehicleNub = this.driverForm.masterVehicleNub;
} }
if (this.waixieForm.tripartiteSource) {
tripartite = this.waixieForm; console.log("---------->tripartite",tripartite);
data.tripartite = tripartite;
}
if (this.stockUpForm) { if (this.stockUpForm) {
let params = this.stockUpForm; let params = this.waixieForm;
if (params.tripartiteSource) {
// //
if (params.driverName) { if (params.driverName) {
tripartite.driverName = params.driverName; tripartite.driverName = params.driverName;
} }
if (params.deiverPhone) { if (params.driverPhone) {
tripartite.deiverPhone = params.deiverPhone; tripartite.driverPhone = params.driverPhone;
} }
if (params.vehicleNum) { if (params.vehicleNum) {
tripartite.vehicleNum = params.vehicleNum; tripartite.vehicleNum = params.vehicleNum;
@ -990,65 +989,82 @@
} }
if (params.tripartiteSource) { if (params.tripartiteSource) {
this.tripartiteSourceData.forEach(item => { this.tripartiteSourceData.forEach(item => {
if (params.tripartiteSource === item.dictValue) { if (this.waixieForm.tripartiteSource == item.dictKey) {
tripartite.distributionCompanyId = item.dictKey; tripartite.distributionCompanyId = item.dictKey;
tripartite.distributionCompany = item.dictValue; tripartite.distributionCompany = item.dictValue;
} }
}); });
}
data.tripartite = tripartite; data.tripartite = tripartite;
} else { }
// if (params.tripartiteSource) {
// this.tripartiteSourceData.forEach(item => {
// if (params.tripartiteSource === item.dictKey) {
// tripartite.distributionCompanyId = item.dictKey;
// tripartite.distributionCompany = item.dictValue;
// }
// });
// }
// console.log(":-----------> data.tripartite", data.tripartite);
// //
if (params.loader) { console.log("------------->this.stockUpForm.loader",this.stockUpForm.loader);
if (this.stockUpForm.loader) {
this.loaderData.forEach(a => { this.loaderData.forEach(a => {
if (params.loader === a.dictKey) { if (this.stockUpForm.loader === a.dictKey) {
stockup.loaderName = a.dictValue; stockup.loaderName = a.dictValue;
stockup.loaderId = a.dictKey; stockup.loaderId = a.dictKey;
} }
}); });
} }
if (params.taskTime) {
if (params.unloader) { stockup.taskTime = params.taskTime;
}
if (this.stockUpForm.unloader) {
this.loaderData.forEach(a => { this.loaderData.forEach(a => {
if (params.loader === a.dictKey) { if (this.stockUpForm.loader === a.dictKey) {
stockup.unloaderName = a.dictValue; stockup.unloaderName = a.dictValue;
stockup.unloaderId = a.dictKey; stockup.unloaderId = a.dictKey;
} }
}); });
} }
if (params.forklift) { console.log("------------->stockup",stockup);
this.forkliftData.forEach(b => {
if (params.forklift === b.dictKey) { // if (params.forklift) {
stockup.forkliftName = b.dictValue; // this.forkliftData.forEach(b => {
stockup.forkliftId = b.dictKey; // if (params.forklift === b.dictKey) {
} // stockup.forkliftName = b.dictValue;
}); // stockup.forkliftId = b.dictKey;
} // }
if (params.goodsAreaId) { // });
this.goodsAreaData.forEach(c => { // }
if (params.goodsAreaId === c.dictKey) { // if (params.goodsAreaId) {
stockup.goodsAreaId = c.dictKey; // this.goodsAreaData.forEach(c => {
stockup.goodsAreaName = c.dictValue; // if (params.goodsAreaId === c.dictKey) {
} // stockup.goodsAreaId = c.dictKey;
}); // stockup.goodsAreaName = c.dictValue;
} // }
if (params.stockupDate) { // });
stockup.stockupDate = params.stockupDate; // }
} // if (params.stockupDate) {
if (params.remarks) { // stockup.stockupDate = params.stockupDate;
data.remarks = params.remarks; // }
if (this.stockUpForm.remarks) {
data.remarks = this.stockUpForm.remarks;
} }
// if (this.loadAndUnload.length > 0) { // if (this.loadAndUnload.length > 0) {
// stockup.loadAndUnload = this.loadAndUnload.join(','); // stockup.loadAndUnload = this.loadAndUnload.join(',');
// } // }
if (params.outboundDate) { // if (params.outboundDate) {
stockup.outboundDate = params.outboundDate.toString(); // stockup.outboundDate = params.outboundDate.toString();
} // }
if (stockup){
data.stockup = stockup; data.stockup = stockup;
} }
if (this.stockUpForm.taskTime){ if (this.stockUpForm.taskTime){
data.taskTime = this.stockUpForm.taskTime.toString(); data.taskTime = this.stockUpForm.taskTime;
} }
// if (this.stockUpForm.taskTime) {
// data.taskTime = this.stockUpForm.taskTime.toString();
// }
} }
console.log('this.data------------>', this.data); console.log('this.data------------>', this.data);
if (!this.deliveryListId) { if (!this.deliveryListId) {
@ -1060,6 +1076,7 @@
}); });
return; return;
} }
console.log('>>>>>>>>>>>>', data); console.log('>>>>>>>>>>>>', data);
deliveryTask(data).then((res) => { deliveryTask(data).then((res) => {
this.$router.push({ this.$router.push({
@ -1071,11 +1088,37 @@
let updateDate = {}; let updateDate = {};
updateDate.reservationInfos = this.reservationData; updateDate.reservationInfos = this.reservationData;
updateDate.id = this.deliveryListId; updateDate.id = this.deliveryListId;
updateDate.stockupInfo = stockup; console.log("-------->stockup",stockup);
updateDate.remarks = data.remarks; if (stockup.unloaderId){
updateDate.unloadingTeamId = stockup.unloaderId;
updateDate.unloadingTeamName = stockup.unloaderName;
}
if (stockup.loaderId){
updateDate.loadingTeamId = stockup.loaderId;
updateDate.loadingTeamName = stockup.loaderName;
}
if (stockup.taskTime){
updateDate.taskTime = stockup.taskTime;
}
// updateDate.stockupInfo = stockup;
console.log("------------>this.tripartite",tripartite);
if (tripartite){
updateDate.tripartite= tripartite;
}
// if (tripartite){
// updateDate.tripartite.distributionCompanyId = tripartite.distributionCompanyId;
// updateDate.tripartite.distributionCompany = tripartite.distributionCompany;
// }
console.log("---------------->data",data.remarks);
updateDate.remarks = this.stockUpForm.remarks;
updateDate.taskTime = this.stockUpForm.taskTime;
updateDate.otherFee = this.stockUpForm.otherFee;
console.log("------------>this.waixieForm",this.waixieForm);
console.log('->>>>>>>', this.waixieForm.tripartiteSource); console.log('->>>>>>>', this.waixieForm.tripartiteSource);
if (this.waixieForm.tripartiteSource) { if (this.waixieForm.tripartiteSource) {
updateDate.tripartite = data.tripartite; updateDate.tripartite = data.tripartite;
} else { } else {
updateDate.allocationInfo = data.allocationInfo; updateDate.allocationInfo = data.allocationInfo;
updateDate.masterDriverName = data.masterDriverName; updateDate.masterDriverName = data.masterDriverName;
@ -1233,6 +1276,8 @@
this.driverForm.driverPhone = ''; this.driverForm.driverPhone = '';
this.driverForm.vehicleNum = ''; this.driverForm.vehicleNum = '';
this.driverForm.deliveryFee = ''; this.driverForm.deliveryFee = '';
this.waixieForm = {};
} else { } else {
// this.loadAndUnload = []; // this.loadAndUnload = [];
this.serveType = []; this.serveType = [];
@ -1244,7 +1289,7 @@
this.stockUpForm.deliveryType = '2'; this.stockUpForm.deliveryType = '2';
// this.stockUpForm.deliveryWay = '2'; // this.stockUpForm.deliveryWay = '2';
this.stockUpForm.stockupDate = dayjs().format('YYYY-MM-DD HH:mm:ss'); this.stockUpForm.stockupDate = dayjs().format('YYYY-MM-DD HH:mm:ss');
this.form.taskTime = dayjs().format('YYYY-MM-DD'); this.stockUpForm.taskTime = dayjs().format('YYYY-MM-DD');
this.stockUpForm.outboundDate = dayjs().format('YYYY-MM-DD HH:mm:ss'); this.stockUpForm.outboundDate = dayjs().format('YYYY-MM-DD HH:mm:ss');
}, },
ddd() { ddd() {
@ -1303,13 +1348,14 @@
getMarketDeliveryList(this.deliveryListId).then(async res => { getMarketDeliveryList(this.deliveryListId).then(async res => {
console.log('--------------->', res.data.data); console.log('--------------->', res.data.data);
const deliveryData = res.data.data; const deliveryData = res.data.data;
this.stockUpForm.outboundDate = deliveryData.stockupInfo.outboundDate; // this.stockUpForm.outboundDate = deliveryData.stockupInfo.outboundDate;
this.stockUpForm.taskTime = deliveryData.stockupInfo.taskTime; // this.stockUpForm.taskTime = deliveryData.stockupInfo.taskTime;
this.stockUpForm.goodsAreaId = deliveryData.stockupInfo.goodsAreaId; // this.stockUpForm.goodsAreaId = deliveryData.stockupInfo.goodsAreaId;
this.stockUpForm.forklift = deliveryData.stockupInfo.forkliftId; // this.stockUpForm.forklift = deliveryData.stockupInfo.forkliftId;
this.stockUpForm.loader = deliveryData.stockupInfo.loaderId; this.stockUpForm.loader = deliveryData.loadingTeamId;
this.stockUpForm.unloader = deliveryData.unloadingTeamId;
this.stockUpForm.taskTime = deliveryData.taskTime; this.stockUpForm.taskTime = deliveryData.taskTime;
this.stockUpForm.stockupDate = deliveryData.stockupInfo.stockupDate; // this.stockUpForm.stockupDate = deliveryData.stockupInfo.stockupDate;
this.stockUpForm.remarks = deliveryData.remarks; this.stockUpForm.remarks = deliveryData.remarks;
// if (deliveryData.stockupInfo.teamResponsibility) { // if (deliveryData.stockupInfo.teamResponsibility) {
// this.loadAndUnload = deliveryData.stockupInfo.teamResponsibility.split(','); // this.loadAndUnload = deliveryData.stockupInfo.teamResponsibility.split(',');

Loading…
Cancel
Save