1、调整配载、总单
2、新增收付款模块
This commit is contained in:
@@ -853,6 +853,10 @@ export default {
|
||||
}
|
||||
return String(value).replace('T', ' ').slice(0, 10);
|
||||
},
|
||||
normalizeDateTimeValue(value, endOfDay = false) {
|
||||
const date = this.normalizeDateValue(value);
|
||||
return date ? `${date} ${endOfDay ? '23:59:59' : '00:00:00'}` : '';
|
||||
},
|
||||
getRegionDisplay(target, fallback) {
|
||||
const labels = this.regionLabels(this.addressRegionPaths[target] || []);
|
||||
return labels.length ? labels.join('/') : fallback;
|
||||
@@ -1689,8 +1693,8 @@ export default {
|
||||
}
|
||||
const payload = {
|
||||
...this.form,
|
||||
planStartTime: this.normalizeDateValue(this.form.planStartTime),
|
||||
planEndTime: this.normalizeDateValue(this.form.planEndTime),
|
||||
planStartTime: this.normalizeDateTimeValue(this.form.planStartTime),
|
||||
planEndTime: this.normalizeDateTimeValue(this.form.planEndTime, true),
|
||||
attachmentsJson: JSON.stringify(this.attachmentRows),
|
||||
routes: [
|
||||
...this.form.routes.map((route, index) => ({ ...route, segmentNo: `段${index + 1}` })),
|
||||
|
||||
Reference in New Issue
Block a user