前后台 明细合计栏

dev
ZR20090193-陈敬勇 1 year ago
parent 311043aa97
commit e4e7ab5f73

@ -15,6 +15,7 @@
<vxe-table <vxe-table
border border
show-footer
show-overflow show-overflow
keep-source keep-source
ref="xTable" ref="xTable"
@ -25,6 +26,7 @@
:loading="doGoods.loading" :loading="doGoods.loading"
:mouse-config="{ selected: true }" :mouse-config="{ selected: true }"
:checkbox-config="{ range: true }" :checkbox-config="{ range: true }"
:footer-method="footerMethod"
:data="props.dataList" :data="props.dataList"
:keyboard-config="doGoods.tableKeyboardConfig" :keyboard-config="doGoods.tableKeyboardConfig"
:edit-config="{ trigger: 'dblclick', mode: 'cell' }" :edit-config="{ trigger: 'dblclick', mode: 'cell' }"
@ -291,6 +293,31 @@
} }
} }
} }
const sumNum = (list: any[], field: string) => {
let count = 0
list.forEach((item) => {
count += Number(item[field])
})
return count
}
function footerMethod({ columns, data }) {
const footerData = [
columns.map((column, _columnIndex) => {
if (_columnIndex === 0) {
return '合计'
}
// if (['pkgs'].includes(column.field)) {
// return sumNum(data, 'pkgs')
// }
if (['pkgs', 'storageunitcount', 'minpkgs', 'kgs', 'netweight'].includes(column.field)) {
return sumNum(data, column.field)
}
return null
}),
]
return footerData
}
const pkgsChangeEvent = ({ row }: any) => { const pkgsChangeEvent = ({ row }: any) => {
console.log(row) console.log(row)
row.minpkgs = row.pkgs * row.coefficient row.minpkgs = row.pkgs * row.coefficient

@ -15,6 +15,7 @@
<vxe-table <vxe-table
border border
show-footer
show-overflow show-overflow
keep-source keep-source
ref="xTable" ref="xTable"
@ -25,6 +26,7 @@
:loading="doGoods.loading" :loading="doGoods.loading"
:mouse-config="{ selected: true }" :mouse-config="{ selected: true }"
:checkbox-config="{ range: true }" :checkbox-config="{ range: true }"
:footer-method="footerMethod"
:data="props.dataList" :data="props.dataList"
:keyboard-config="doGoods.tableKeyboardConfig" :keyboard-config="doGoods.tableKeyboardConfig"
:edit-config="{ trigger: 'dblclick', mode: 'cell' }" :edit-config="{ trigger: 'dblclick', mode: 'cell' }"
@ -285,7 +287,30 @@
}, },
} as VxeTablePropTypes.KeyboardConfig, } as VxeTablePropTypes.KeyboardConfig,
}) })
const sumNum = (list: any[], field: string) => {
let count = 0
list.forEach((item) => {
count += Number(item[field])
})
return count
}
function footerMethod({ columns, data }) {
const footerData = [
columns.map((column, _columnIndex) => {
if (_columnIndex === 0) {
return '合计'
}
// if (['pkgs'].includes(column.field)) {
// return sumNum(data, 'pkgs')
// }
if (['pkgs', 'storageunitcount', 'minpkgs', 'kgs', 'netweight'].includes(column.field)) {
return sumNum(data, column.field)
}
return null
}),
]
return footerData
}
const pkgsChangeEvent = ({ row }: any) => { const pkgsChangeEvent = ({ row }: any) => {
console.log(row) console.log(row)
// if (row.storageUnitType == '') { // if (row.storageUnitType == '') {

@ -15,7 +15,7 @@
<CollapseContainer title="其他信息"> <CollapseContainer title="其他信息">
<Tabs v-model:activeKey="activeKey"> <Tabs v-model:activeKey="activeKey">
<TabPane key="detailTab" tab="预约清关明细"> <TabPane key="detailTab" tab="预约清关明细">
<vxe-grid ref="xGrid" v-bind="gridOptions" /> <vxe-grid ref="gridRef" v-bind="gridOptions" />
</TabPane> </TabPane>
<TabPane key="recordTab" tab="车辆进出记录"> <TabPane key="recordTab" tab="车辆进出记录">
<!-- <WmsTruckRecord ref="recordRef" :headId="rowId" />--> <!-- <WmsTruckRecord ref="recordRef" :headId="rowId" />-->
@ -74,7 +74,7 @@
import { BasicForm, useForm } from '/@/components/Form/index' import { BasicForm, useForm } from '/@/components/Form/index'
import { formSchema } from './columns' import { formSchema } from './columns'
import { useMessage } from '/@/hooks/web/useMessage' import { useMessage } from '/@/hooks/web/useMessage'
import { VxeGridProps } from 'vxe-table' import { VxeGridInstance, VxeGridProps, VxeGridPropTypes } from 'vxe-table'
const { notification, createConfirm, createMessage } = useMessage() const { notification, createConfirm, createMessage } = useMessage()
import { editInfo, getInfo, getDetailList, auditInfo } from '/@/api/wms/wmsclearance' import { editInfo, getInfo, getDetailList, auditInfo } from '/@/api/wms/wmsclearance'
import { Divider, TabPane, Tabs } from 'ant-design-vue' import { Divider, TabPane, Tabs } from 'ant-design-vue'
@ -94,6 +94,13 @@
const recordSource = ref<any[]>([]) const recordSource = ref<any[]>([])
const areaList = ref<any[]>([]) const areaList = ref<any[]>([])
const activeKey = ref('detailTab') const activeKey = ref('detailTab')
interface RowVO {
[key: string]: any
}
const gridRef = ref<VxeGridInstance<RowVO>>()
const footerData = ref<string[][]>([])
const [registerForm, { resetFields, setFieldsValue, validate, updateSchema, getFieldsValue }] = const [registerForm, { resetFields, setFieldsValue, validate, updateSchema, getFieldsValue }] =
useForm({ useForm({
labelWidth: 180, labelWidth: 180,
@ -137,13 +144,104 @@
}) })
const [registerRecordModal, { openModal: openRecordModal }] = useModal() const [registerRecordModal, { openModal: openRecordModal }] = useModal()
const [registerSelectModal, { openModal }] = useModal() const [registerSelectModal, { openModal }] = useModal()
const gridOptions = reactive<VxeGridProps>({ let detailColumns: VxeGridPropTypes.Columns = [
{
title: '序号',
type: 'seq',
fixed: 'left',
width: 50,
align: 'center',
},
{
title: '商品名称',
field: 'goodsname',
width: 200,
fixed: 'left',
},
{
title: '规格型号',
field: 'goodsmodel',
width: 100,
},
{
title: '库位',
field: 'areaname',
width: 100,
},
{
title: '批次号',
field: 'goodsmodeL2',
width: 100,
},
{
title: '库位',
field: 'areaname',
width: 100,
},
{
title: '件数',
field: 'pkgs',
width: 100,
},
{
title: '小件数',
field: 'minpkgs',
width: 100,
},
// {
// title: '',
// field: 'pallets',
// width: 100,
// },
{
title: '毛重(千克)',
field: 'kgs',
width: 100,
},
{
title: '净重(千克)',
field: 'netweight',
width: 100,
},
// {
// title: '',
// field: 'cbm',
// width: 100,
// },
{
title: '承运车号',
field: 'truckno',
width: 200,
},
{
title: '车辆自重',
field: 'truckWeight',
width: 100,
},
{
title: '备注',
field: 'remark',
width: 200,
},
{
title: '计费单位',
field: 'storageunit',
width: 100,
},
{
title: '计费数量',
field: 'storageunitcount',
width: 100,
},
]
const gridOptions = reactive<VxeGridProps<RowVO>>({
border: true, border: true,
height: 500, height: 500,
align: null, align: null,
columnConfig: { columnConfig: {
resizable: true, resizable: true,
}, },
showFooter: true,
columns: [ columns: [
{ {
title: '序号', title: '序号',
@ -236,6 +334,9 @@
], ],
toolbarConfig: {}, toolbarConfig: {},
data: dataSource, data: dataSource,
footerMethod() {
return footerData.value
},
}) })
const recordOptions = reactive<VxeGridProps>({ const recordOptions = reactive<VxeGridProps>({
@ -310,6 +411,7 @@
} else { } else {
recordSource.value = [] recordSource.value = []
} }
init()
} }
const LoadRecord = () => { const LoadRecord = () => {
openRecordModal(true, { openRecordModal(true, {
@ -406,4 +508,34 @@
loading.value = false loading.value = false
} }
} }
const sumNum = (list: any[], field: string) => {
let count = 0
list.forEach((item) => {
count += Number(item[field])
})
return count
}
const init = async () => {
const $grid = gridRef.value
gridOptions.loading = false
console.log(dataSource.value)
//
const footList: string[][] = [[]]
for (let i = 0; i < detailColumns.length; i++) {
if (i === 0) {
footList[0].push('合计')
} else if (
['pkgs', 'storageunitcount', 'minpkgs', 'kgs', 'netweight'].includes(detailColumns[i].field)
) {
// return sumNum(data, column.field)
footList[0].push(sumNum(dataSource.value, detailColumns[i].field))
} else {
footList[0].push('')
}
}
footerData.value = footList
if ($grid) {
$grid.updateFooter()
}
}
</script> </script>

@ -15,6 +15,7 @@
<vxe-table <vxe-table
border border
show-footer
show-overflow show-overflow
keep-source keep-source
ref="xTable" ref="xTable"
@ -25,6 +26,7 @@
:loading="doGoods.loading" :loading="doGoods.loading"
:mouse-config="{ selected: true }" :mouse-config="{ selected: true }"
:checkbox-config="{ range: true }" :checkbox-config="{ range: true }"
:footer-method="footerMethod"
:data="doGoods.tableData" :data="doGoods.tableData"
:keyboard-config="doGoods.tableKeyboardConfig" :keyboard-config="doGoods.tableKeyboardConfig"
:edit-config="{ trigger: 'dblclick', mode: 'cell' }" :edit-config="{ trigger: 'dblclick', mode: 'cell' }"
@ -414,6 +416,31 @@
// } // }
// } // }
// } // }
const sumNum = (list: any[], field: string) => {
let count = 0
list.forEach((item) => {
count += Number(item[field])
})
return count
}
function footerMethod({ columns, data }) {
const footerData = [
columns.map((column, _columnIndex) => {
if (_columnIndex === 0) {
return '合计'
}
// if (['pkgs'].includes(column.field)) {
// return sumNum(data, 'pkgs')
// }
if (['pkgs', 'storageunitcount', 'minpkgs', 'kgs', 'netweight'].includes(column.field)) {
return sumNum(data, column.field)
}
return null
}),
]
return footerData
}
const selectChange = (e, opt, row) => { const selectChange = (e, opt, row) => {
// console.log(`selected ${e}`) // console.log(`selected ${e}`)
// console.log(opt) // console.log(opt)

@ -34,7 +34,7 @@
<CollapseContainer title="其他信息"> <CollapseContainer title="其他信息">
<Tabs v-model:activeKey="activeKey"> <Tabs v-model:activeKey="activeKey">
<TabPane key="detailTab" tab="预约入库明细"> <TabPane key="detailTab" tab="预约入库明细">
<vxe-grid ref="xGrid" v-bind="gridOptions" /> <vxe-grid ref="gridRef" v-bind="gridOptions" />
</TabPane> </TabPane>
<TabPane key="feeTab" tab="费率信息"> <TabPane key="feeTab" tab="费率信息">
<vxe-toolbar> <vxe-toolbar>
@ -111,7 +111,7 @@
getFeeRateList, getFeeRateList,
} from '/@/api/wms/wmsinplan' } from '/@/api/wms/wmsinplan'
import { Divider } from 'ant-design-vue' import { Divider } from 'ant-design-vue'
import { VxeGridProps } from 'vxe-table' import { VxeGridInstance, VxeGridProps, VxeGridPropTypes } from 'vxe-table'
import { get } from 'lodash-es' import { get } from 'lodash-es'
import WmsFeeRateModal from './WmsFeeRateModal.vue' import WmsFeeRateModal from './WmsFeeRateModal.vue'
import WmsTruckRecord from '/@/views/wms/common/WmsTruckRecord.vue' import WmsTruckRecord from '/@/views/wms/common/WmsTruckRecord.vue'
@ -128,6 +128,13 @@
const feeSource = ref<any[]>([]) const feeSource = ref<any[]>([])
const activeKey = ref('detailTab') const activeKey = ref('detailTab')
const activeMainKey = ref('mainTab') const activeMainKey = ref('mainTab')
interface RowVO {
[key: string]: any
}
const gridRef = ref<VxeGridInstance<RowVO>>()
const footerData = ref<string[][]>([])
const [registerForm, { resetFields, setFieldsValue, validate, updateSchema, getFieldsValue }] = const [registerForm, { resetFields, setFieldsValue, validate, updateSchema, getFieldsValue }] =
useForm({ useForm({
labelWidth: 180, labelWidth: 180,
@ -220,7 +227,93 @@
} else { } else {
recordSource.value = [] recordSource.value = []
} }
init()
} }
let detailColumns: VxeGridPropTypes.Columns = [
{
title: '序号',
type: 'seq',
fixed: 'left',
width: 50,
align: 'center',
},
{
title: '商品名称',
field: 'goodsname',
width: 200,
fixed: 'left',
},
{
title: '规格型号',
field: 'goodsmodel',
width: 100,
},
{
title: '件数',
field: 'pkgs',
width: 100,
},
{
title: '小件数',
field: 'minpkgs',
width: 100,
},
{
title: '托盘数',
field: 'pallets',
width: 100,
},
{
title: '毛重(千克)',
field: 'kgs',
width: 100,
},
{
title: '净重(千克)',
field: 'netweight',
width: 100,
},
// {
// title: '',
// field: 'cbm',
// width: 100,
// },
{
title: '承运车号',
field: 'truckno',
width: 200,
},
{
title: '车辆自重',
field: 'truckWeight',
width: 100,
},
{
title: '司机电话',
field: 'drivername',
width: 200,
},
{
title: '批次号',
field: 'goodsmodeL2',
width: 100,
},
{
title: '备注',
field: 'remark',
width: 200,
},
{
title: '计费单位',
field: 'storageunit',
width: 100,
},
{
title: '计费数量',
field: 'storageunitcount',
width: 100,
},
]
const recordOptions = reactive<VxeGridProps>({ const recordOptions = reactive<VxeGridProps>({
border: true, border: true,
height: 500, height: 500,
@ -275,13 +368,14 @@
toolbarConfig: {}, toolbarConfig: {},
data: recordSource, data: recordSource,
}) })
const gridOptions = reactive<VxeGridProps>({ const gridOptions = reactive<VxeGridProps<RowVO>>({
border: true, border: true,
height: 500, height: 500,
align: null, align: null,
columnConfig: { columnConfig: {
resizable: true, resizable: true,
}, },
showFooter: true,
columns: [ columns: [
{ {
title: '序号', title: '序号',
@ -369,6 +463,13 @@
], ],
toolbarConfig: {}, toolbarConfig: {},
data: dataSource, data: dataSource,
footerMethod() {
return footerData.value
// return getfooterMethod(detailColumns.values, dataSource)
// console.log(detailColumns)
// console.log(dataSource)
// return ''
},
// proxyConfig: { // proxyConfig: {
// ajax: { // ajax: {
// // Promise // // Promise
@ -383,6 +484,7 @@
// }, // },
// }, // },
}) })
const feeOptions = reactive<VxeGridProps>({ const feeOptions = reactive<VxeGridProps>({
border: true, border: true,
height: 500, height: 500,
@ -556,4 +658,35 @@
loading.value = false loading.value = false
} }
} }
const sumNum = (list: any[], field: string) => {
let count = 0
list.forEach((item) => {
count += Number(item[field])
})
return count
}
const init = async () => {
const $grid = gridRef.value
gridOptions.loading = false
console.log(dataSource.value)
//
const footList: string[][] = [[]]
for (let i = 0; i < detailColumns.length; i++) {
if (i === 0) {
footList[0].push('合计')
} else if (
['pkgs', 'storageunitcount', 'minpkgs', 'kgs', 'netweight'].includes(detailColumns[i].field)
) {
// return sumNum(data, column.field)
footList[0].push(sumNum(dataSource.value, detailColumns[i].field))
} else {
footList[0].push('')
}
}
footerData.value = footList
if ($grid) {
$grid.updateFooter()
}
}
</script> </script>

@ -15,6 +15,7 @@
<vxe-table <vxe-table
border border
show-footer
show-overflow show-overflow
keep-source keep-source
ref="xTable" ref="xTable"
@ -25,6 +26,7 @@
:loading="doGoods.loading" :loading="doGoods.loading"
:mouse-config="{ selected: true }" :mouse-config="{ selected: true }"
:checkbox-config="{ range: true }" :checkbox-config="{ range: true }"
:footer-method="footerMethod"
:data="doGoods.tableData" :data="doGoods.tableData"
:keyboard-config="doGoods.tableKeyboardConfig" :keyboard-config="doGoods.tableKeyboardConfig"
:edit-config="{ trigger: 'dblclick', mode: 'cell' }" :edit-config="{ trigger: 'dblclick', mode: 'cell' }"
@ -295,7 +297,7 @@
import { propTypes } from '/@/utils/propTypes' import { propTypes } from '/@/utils/propTypes'
import { useMessage } from '/@/hooks/web/useMessage' import { useMessage } from '/@/hooks/web/useMessage'
import { getWmsFeeList } from '/@/views/wms/common/api' import { getWmsFeeList } from '/@/views/wms/common/api'
import { getWmsOutDoGoodslist, delWmsOutDoGoods} from "/@/api/wms/wmsoutdo"; import { getWmsOutDoGoodslist, delWmsOutDoGoods } from '/@/api/wms/wmsoutdo'
const { notification, createConfirm, createMessage } = useMessage() const { notification, createConfirm, createMessage } = useMessage()
const goodsFilterData = ref([]) const goodsFilterData = ref([])
const areaList = ref([]) const areaList = ref([])
@ -374,6 +376,7 @@
return `${rowIndex + 1}` return `${rowIndex + 1}`
}, },
} as VxeTablePropTypes.SeqConfig) } as VxeTablePropTypes.SeqConfig)
async function selectSearch(value: string) { async function selectSearch(value: string) {
if (stringIsNull(value)) { if (stringIsNull(value)) {
} else { } else {
@ -389,6 +392,7 @@
} }
} }
} }
// async function querySelect(query: string) { // async function querySelect(query: string) {
// console.log(query) // console.log(query)
// if (stringIsNull(query.value)) { // if (stringIsNull(query.value)) {
@ -560,6 +564,30 @@
} }
doGoods.loading = false doGoods.loading = false
} }
const sumNum = (list: any[], field: string) => {
let count = 0
list.forEach((item) => {
count += Number(item[field])
})
return count
}
function footerMethod({ columns, data }) {
const footerData = [
columns.map((column, _columnIndex) => {
if (_columnIndex === 0) {
return '合计'
}
// if (['pkgs'].includes(column.field)) {
// return sumNum(data, 'pkgs')
// }
if (['pkgs', 'storageunitcount', 'minpkgs', 'kgs', 'netweight'].includes(column.field)) {
return sumNum(data, column.field)
}
return null
}),
]
return footerData
}
// await initData() // await initData()
</script> </script>

@ -15,7 +15,7 @@
<CollapseContainer title="其他信息"> <CollapseContainer title="其他信息">
<Tabs v-model:activeKey="activeKey"> <Tabs v-model:activeKey="activeKey">
<TabPane key="detailTab" tab="预约出库明细"> <TabPane key="detailTab" tab="预约出库明细">
<vxe-grid ref="xGrid" v-bind="gridOptions" /> <vxe-grid ref="gridRef" v-bind="gridOptions" />
</TabPane> </TabPane>
<TabPane key="recordTab" tab="车辆进出记录"> <TabPane key="recordTab" tab="车辆进出记录">
<!-- <WmsTruckRecord ref="recordRef" :headId="rowId" />--> <!-- <WmsTruckRecord ref="recordRef" :headId="rowId" />-->
@ -65,7 +65,7 @@
import { BasicForm, useForm } from '/@/components/Form/index' import { BasicForm, useForm } from '/@/components/Form/index'
import { formSchema } from './columns' import { formSchema } from './columns'
import { useMessage } from '/@/hooks/web/useMessage' import { useMessage } from '/@/hooks/web/useMessage'
import { VxeGridProps } from 'vxe-table' import { VxeGridInstance, VxeGridProps, VxeGridPropTypes } from 'vxe-table'
const { notification, createConfirm, createMessage } = useMessage() const { notification, createConfirm, createMessage } = useMessage()
import { editInfo, getInfo, getWmsOutPlanGoodslist, auditInfo } from '/@/api/wms/wmsoutplan' import { editInfo, getInfo, getWmsOutPlanGoodslist, auditInfo } from '/@/api/wms/wmsoutplan'
@ -86,6 +86,13 @@
const recordSource = ref<any[]>([]) const recordSource = ref<any[]>([])
const areaList = ref<any[]>([]) const areaList = ref<any[]>([])
const activeKey = ref('detailTab') const activeKey = ref('detailTab')
interface RowVO {
[key: string]: any
}
const gridRef = ref<VxeGridInstance<RowVO>>()
const footerData = ref<string[][]>([])
const [registerForm, { resetFields, setFieldsValue, validate, updateSchema, getFieldsValue }] = const [registerForm, { resetFields, setFieldsValue, validate, updateSchema, getFieldsValue }] =
useForm({ useForm({
labelWidth: 180, labelWidth: 180,
@ -130,13 +137,99 @@
setModalProps({ loading: false }) setModalProps({ loading: false })
}) })
const [registerSelectModal, { openModal }] = useModal() const [registerSelectModal, { openModal }] = useModal()
const gridOptions = reactive<VxeGridProps>({ let detailColumns: VxeGridPropTypes.Columns = [
{
title: '序号',
type: 'seq',
fixed: 'left',
width: 50,
align: 'center',
},
{
title: '商品名称',
field: 'goodsname',
width: 200,
fixed: 'left',
},
{
title: '规格型号',
field: 'goodsmodel',
width: 100,
},
{
title: '库位',
field: 'areaname',
width: 100,
},
{
title: '批次号',
field: 'goodsmodeL2',
width: 100,
},
{
title: '件数',
field: 'pkgs',
width: 100,
},
{
title: '小件数',
field: 'minpkgs',
width: 100,
},
{
title: '托盘数',
field: 'pallets',
width: 100,
},
{
title: '毛重(千克)',
field: 'kgs',
width: 100,
},
{
title: '净重(千克)',
field: 'netweight',
width: 100,
},
// {
// title: '',
// field: 'cbm',
// width: 100,
// },
{
title: '承运车号',
field: 'truckno',
width: 200,
},
{
title: '车辆自重',
field: 'truckWeight',
width: 100,
},
{
title: '备注',
field: 'remark',
width: 200,
},
{
title: '计费单位',
field: 'storageunit',
width: 100,
},
{
title: '计费数量',
field: 'storageunitcount',
width: 100,
},
]
const gridOptions = reactive<VxeGridProps<RowVO>>({
border: true, border: true,
height: 500, height: 500,
align: null, align: null,
columnConfig: { columnConfig: {
resizable: true, resizable: true,
}, },
showFooter: true,
columns: [ columns: [
{ {
title: '序号', title: '序号',
@ -224,6 +317,9 @@
], ],
toolbarConfig: {}, toolbarConfig: {},
data: dataSource, data: dataSource,
footerMethod() {
return footerData.value
},
}) })
const recordOptions = reactive<VxeGridProps>({ const recordOptions = reactive<VxeGridProps>({
border: true, border: true,
@ -297,6 +393,7 @@
} else { } else {
recordSource.value = [] recordSource.value = []
} }
init()
} }
const LoadRecord = () => { const LoadRecord = () => {
openRecordModal(true, { openRecordModal(true, {
@ -341,4 +438,34 @@
loading.value = false loading.value = false
} }
} }
const sumNum = (list: any[], field: string) => {
let count = 0
list.forEach((item) => {
count += Number(item[field])
})
return count
}
const init = async () => {
const $grid = gridRef.value
gridOptions.loading = false
console.log(dataSource.value)
//
const footList: string[][] = [[]]
for (let i = 0; i < detailColumns.length; i++) {
if (i === 0) {
footList[0].push('合计')
} else if (
['pkgs', 'storageunitcount', 'minpkgs', 'kgs', 'netweight'].includes(detailColumns[i].field)
) {
// return sumNum(data, column.field)
footList[0].push(sumNum(dataSource.value, detailColumns[i].field))
} else {
footList[0].push('')
}
}
footerData.value = footList
if ($grid) {
$grid.updateFooter()
}
}
</script> </script>

@ -5725,3 +5725,10 @@
2023-08-22 17:53:05.7979 Info Adding target ColoredConsoleTarget(Name=console) 2023-08-22 17:53:05.7979 Info Adding target ColoredConsoleTarget(Name=console)
2023-08-22 17:53:05.8548 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\sdgslk-wms-solution\gslk-wmsapi-service-client\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config 2023-08-22 17:53:05.8548 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\sdgslk-wms-solution\gslk-wmsapi-service-client\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config
2023-08-22 17:53:05.8699 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile 2023-08-22 17:53:05.8699 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2023-08-23 11:06:36.7370 Info Message Template Auto Format enabled
2023-08-23 11:06:36.7694 Info Loading assembly: NLog.Web.AspNetCore
2023-08-23 11:06:37.0100 Info Adding target FileTarget(Name=allfile)
2023-08-23 11:06:37.0233 Info Adding target FileTarget(Name=ownFile-web)
2023-08-23 11:06:37.0612 Info Adding target ColoredConsoleTarget(Name=console)
2023-08-23 11:06:37.1844 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\sdgslk-wms-solution\gslk-wmsapi-service-client\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config
2023-08-23 11:06:37.2142 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile

@ -9016,3 +9016,10 @@
2023-08-22 16:20:17.8619 Info Adding target ColoredConsoleTarget(Name=console) 2023-08-22 16:20:17.8619 Info Adding target ColoredConsoleTarget(Name=console)
2023-08-22 16:20:17.9722 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\sdgslk-wms-solution\gslk-wmsapi-service-server\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config 2023-08-22 16:20:17.9722 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\sdgslk-wms-solution\gslk-wmsapi-service-server\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config
2023-08-22 16:20:17.9857 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile 2023-08-22 16:20:17.9857 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2023-08-23 11:50:28.6481 Info Message Template Auto Format enabled
2023-08-23 11:50:28.6747 Info Loading assembly: NLog.Web.AspNetCore
2023-08-23 11:50:28.8959 Info Adding target FileTarget(Name=allfile)
2023-08-23 11:50:28.9106 Info Adding target FileTarget(Name=ownFile-web)
2023-08-23 11:50:28.9483 Info Adding target ColoredConsoleTarget(Name=console)
2023-08-23 11:50:29.0974 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\sdgslk-wms-solution\gslk-wmsapi-service-server\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config
2023-08-23 11:50:29.1235 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile

Loading…
Cancel
Save