fix:修复命令行报错
This commit is contained in:
1 parent
c17731dd86
commit
7c6cc51751
9 files changed
+40
-49
No files matched your search
@@ -484,7 +484,7 @@ onMounted(() => {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
::v-deep .receive-amount-input .el-input__inner {
|
||||
:deep(.receive-amount-input .el-input__inner) {
|
||||
color: red !important;
|
||||
font-weight: bold !important;
|
||||
font-size: large;
|
||||
|
||||
@@ -111,15 +111,15 @@
|
||||
<el-input v-model="row.quantity" />
|
||||
</template>
|
||||
</vxe-column>
|
||||
<vxe-column field="costPrice" title="成本价">
|
||||
<template #default="{ row }">
|
||||
{{
|
||||
row.costPrice
|
||||
? displayPrice(row.costPrice)
|
||||
: displayPrice(row.erpUnitVos?.find((item: any) => item.id == row.unitId)?.costPrice)
|
||||
}}
|
||||
</template>
|
||||
</vxe-column>
|
||||
<vxe-column field="costPrice" title="成本价">
|
||||
<template #default="{ row }">
|
||||
{{
|
||||
row.costPrice
|
||||
? displayPrice(row.costPrice)
|
||||
: displayPrice(row.erpUnitVos?.find((item: any) => item.id == row.unitId)?.costPrice)
|
||||
}}
|
||||
</template>
|
||||
</vxe-column>
|
||||
<vxe-column field="retailPrice" title="零售价">
|
||||
<template #default="{ row }">
|
||||
{{
|
||||
@@ -361,7 +361,7 @@ const clearData = () => {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
::v-deep .receive-amount-input .el-input__inner {
|
||||
:deep(.receive-amount-input .el-input__inner) {
|
||||
color: red !important;
|
||||
font-size: large;
|
||||
text-align: center;
|
||||
|
||||
@@ -478,7 +478,7 @@ const clearData = () => {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
::v-deep(.editableTable-style.vxe-table .vxe-body--column.table-padding) {
|
||||
:v-deep(.editableTable-style.vxe-table .vxe-body--column.table-padding) {
|
||||
padding: 6px 0;
|
||||
}
|
||||
</style>
|
||||
@@ -301,11 +301,8 @@ const onSubmit = async () => {
|
||||
} catch (err: any) {
|
||||
useMessage().error(err.msg)
|
||||
} finally {
|
||||
let timer = null
|
||||
timer = setTimeout(() => {
|
||||
loading.value = false
|
||||
timer = null
|
||||
}, 500)
|
||||
await new Promise((resolve) => setTimeout(resolve, 500))
|
||||
loading.value = false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -319,7 +316,7 @@ defineExpose({
|
||||
overflow-y: auto;
|
||||
height: 54vh;
|
||||
}
|
||||
::v-deep .el-tabs .el-tabs__nav .is-active {
|
||||
:deep(.el-tabs .el-tabs__nav) .is-active {
|
||||
color: #2e5cf6 !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user