|
|
@ -271,23 +271,23 @@
|
|
|
|
queryCondition: `[{ FieldName: 'Pid', FieldValue: '${rowId.value}', ConditionalType: 1 }]`,
|
|
|
|
queryCondition: `[{ FieldName: 'Pid', FieldValue: '${rowId.value}', ConditionalType: 1 }]`,
|
|
|
|
pageCondition: { pageIndex: 1, pageSize: 999, sortConditions: [] },
|
|
|
|
pageCondition: { pageIndex: 1, pageSize: 999, sortConditions: [] },
|
|
|
|
}).then((res) => {
|
|
|
|
}).then((res) => {
|
|
|
|
console.log(res)
|
|
|
|
// console.log(res)
|
|
|
|
|
|
|
|
|
|
|
|
list.value.splice(0)
|
|
|
|
|
|
|
|
res.data.forEach((item) => {
|
|
|
|
|
|
|
|
list.value.push(item)
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
// ------------------
|
|
|
|
|
|
|
|
// list.value.splice(0)
|
|
|
|
// list.value.splice(0)
|
|
|
|
// let Arr = ['pickupDate', 'dropoffDate', 'feeStartDate', 'bsdate']
|
|
|
|
|
|
|
|
// res.data.forEach((item) => {
|
|
|
|
// res.data.forEach((item) => {
|
|
|
|
// console.log(item)
|
|
|
|
|
|
|
|
// Arr.forEach((e) => {
|
|
|
|
|
|
|
|
// console.log(item, item[e], item[e].split(' '))
|
|
|
|
|
|
|
|
// item[e] = item[e].split(' ')[0]
|
|
|
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
// list.value.push(item)
|
|
|
|
// list.value.push(item)
|
|
|
|
// })
|
|
|
|
// })
|
|
|
|
|
|
|
|
// ------------------
|
|
|
|
|
|
|
|
list.value.splice(0)
|
|
|
|
|
|
|
|
let Arr = ['pickupDate', 'dropoffDate', 'feeStartDate', 'bsdate']
|
|
|
|
|
|
|
|
res.data.forEach((item) => {
|
|
|
|
|
|
|
|
console.log(item)
|
|
|
|
|
|
|
|
Arr.forEach((e) => {
|
|
|
|
|
|
|
|
console.log(item, item[e], item[e].split(' '))
|
|
|
|
|
|
|
|
item[e] = item[e].split(' ')[0]
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
list.value.push(item)
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function MakeFee() {
|
|
|
|
function MakeFee() {
|
|
|
|