From 7c863257d23fd7f01c84a8996677e682d9d50b07 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 30 十二月 2025 09:38:38 +0800
Subject: [PATCH] 1.海川开心-部分页面添加默认值
---
src/views/inventoryManagement/receiptManagement/components/formDiaManual.vue | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/src/views/inventoryManagement/receiptManagement/components/formDiaManual.vue b/src/views/inventoryManagement/receiptManagement/components/formDiaManual.vue
index 16039e6..5fa7fc7 100644
--- a/src/views/inventoryManagement/receiptManagement/components/formDiaManual.vue
+++ b/src/views/inventoryManagement/receiptManagement/components/formDiaManual.vue
@@ -75,10 +75,10 @@
<el-input-number :step="0.01" :min="0" style="width: 100%" v-model="scope.row.taxInclusiveUnitPrice" @change="() => calculateTotalPrice(scope.row)" />
</template>
</el-table-column>
- <el-table-column
- label="鎬讳环(鍏�)"
- prop="taxInclusiveTotalPrice"
- width="150"
+ <el-table-column
+ label="鎬讳环(鍏�)"
+ prop="taxInclusiveTotalPrice"
+ width="150"
>
</el-table-column>
<el-table-column label="鎿嶄綔" width="80" v-if="operationType === 'add'">
@@ -104,6 +104,7 @@
addStockInCustom,
updateStockInCustom,
} from "@/api/inventoryManagement/stockIn.js";
+import { getCurrentDate } from "@/utils/index.js";
const userStore = useUserStore()
const { proxy } = getCurrentInstance()
@@ -132,9 +133,6 @@
return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
}
-function getCurrentDate() {
- return formatDateTime(new Date(), false);
-}
const itemTypeOptions = [
{ label: '鐗╂枡', value: '鐗╂枡' },
@@ -175,7 +173,7 @@
supplierName: form.value.supplierName || '',
itemType: '',
inboundNum: 0,
- inboundDate: '',
+ inboundDate: getCurrentDate(), // 榛樿褰撳ぉ鏃ユ湡
quantityStock: 0,
taxInclusiveUnitPrice: 0,
taxInclusiveTotalPrice: 0,
--
Gitblit v1.9.3