gaoluyang
8 天以前 6b35989783d91899169f89e21a7d3734d8cadc1d
src/views/inventoryManagement/receiptManagement/components/formDiaManual.vue
@@ -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: '物料' },
@@ -173,9 +171,9 @@
    specificationModel: '',
    unit: '',
    supplierName: form.value.supplierName || '',
    itemType: '',
    itemType: '物料',
    inboundNum: 0,
    inboundDate: '',
    inboundDate: getCurrentDate(), // 默认当天日期
    quantityStock: 0,
    taxInclusiveUnitPrice: 0,
    taxInclusiveTotalPrice: 0,