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 |   38 ++++++++++++++++++--------------------
 1 files changed, 18 insertions(+), 20 deletions(-)

diff --git a/src/views/inventoryManagement/receiptManagement/components/formDiaManual.vue b/src/views/inventoryManagement/receiptManagement/components/formDiaManual.vue
index 682c5c9..5fa7fc7 100644
--- a/src/views/inventoryManagement/receiptManagement/components/formDiaManual.vue
+++ b/src/views/inventoryManagement/receiptManagement/components/formDiaManual.vue
@@ -65,22 +65,22 @@
             />
           </template>
         </el-table-column>
-<!--        <el-table-column label="鏁伴噺" prop="quantityStock" width="150">-->
-<!--          <template #default="scope">-->
-<!--            <el-input-number :step="0.01" :min="0" style="width: 100%" v-model="scope.row.quantityStock" @change="() => calculateTotalPrice(scope.row)" />-->
-<!--          </template>-->
-<!--        </el-table-column>-->
-<!--        <el-table-column label="鍗曚环(鍏�)" prop="taxInclusiveUnitPrice" width="150">-->
-<!--          <template #default="scope">-->
-<!--            <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>-->
+        <el-table-column label="鏁伴噺" prop="quantityStock" width="150">
+          <template #default="scope">
+            <el-input-number :step="0.01" :min="0" style="width: 100%" v-model="scope.row.quantityStock" @change="() => calculateTotalPrice(scope.row)" />
+          </template>
+        </el-table-column>
+        <el-table-column label="鍗曚环(鍏�)" prop="taxInclusiveUnitPrice" width="150">
+          <template #default="scope">
+            <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>
         <el-table-column label="鎿嶄綔" width="80" v-if="operationType === 'add'">
           <template #default="scope">
             <el-button type="danger" size="small" @click="removeProductRow(scope.$index)">鍒犻櫎</el-button>
@@ -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