From f97175b855d8133000de0a11dd39561786fad343 Mon Sep 17 00:00:00 2001
From: 周宾 <2802492122@qq.com>
Date: 星期二, 09 十二月 2025 13:50:45 +0800
Subject: [PATCH] 海川开心-修改仓储物流-库存管理252
---
src/views/inventoryManagement/receiptManagement/components/formDiaManual.vue | 94 +++++++++++++++++++++++-----------------------
1 files changed, 47 insertions(+), 47 deletions(-)
diff --git a/src/views/inventoryManagement/receiptManagement/components/formDiaManual.vue b/src/views/inventoryManagement/receiptManagement/components/formDiaManual.vue
index adf388f..fa6566c 100644
--- a/src/views/inventoryManagement/receiptManagement/components/formDiaManual.vue
+++ b/src/views/inventoryManagement/receiptManagement/components/formDiaManual.vue
@@ -1,5 +1,5 @@
<template>
- <el-dialog v-model="dialogFormVisible" :title="operationType === 'add' ? '鏂板鎵嬪姩鍏ュ簱' : '缂栬緫鎵嬪姩鍏ュ簱'" width="70%"
+ <el-dialog v-model="dialogFormVisible" :title="operationType === 'add' ? '鏂板鑷畾涔夊叆搴�' : '缂栬緫鑷畾涔夊叆搴�'" width="70%"
@close="closeDia">
<el-form :model="form" label-width="140px" label-position="top" :rules="rules" ref="formRef">
<div style="margin-bottom: 10px;" v-if="operationType === 'add'">
@@ -31,14 +31,14 @@
<el-input v-model="scope.row.unit" placeholder="璇疯緭鍏ュ崟浣�" />
</template>
</el-table-column>
- <el-table-column label="渚涘簲鍟�" prop="supplierName" width="200">
+ <!-- <el-table-column label="渚涘簲鍟�" prop="supplierName" width="200">
<template #default="scope">
<el-input v-model="scope.row.supplierName" placeholder="璇疯緭鍏ヤ緵搴斿晢" />
</template>
- </el-table-column>
- <el-table-column label="鐗╁搧绫诲瀷" prop="itemType" width="140">
+ </el-table-column> -->
+ <el-table-column label="鐗╁搧绫诲瀷" prop="itemType">
<template #default="scope">
- <el-select v-model="scope.row.itemType" placeholder="璇烽�夋嫨鐗╁搧绫诲瀷" style="width: 100%">
+ <el-select v-model="scope.row.itemType" filterable allow-create placeholder="璇烽�夋嫨鐗╁搧绫诲瀷" style="width: 100%">
<el-option
v-for="item in itemTypeOptions"
:key="item.value"
@@ -48,7 +48,7 @@
</el-select>
</template>
</el-table-column>
- <el-table-column label="鍏ュ簱鏁伴噺" prop="inboundNum" width="150">
+ <el-table-column label="鍏ュ簱鏁伴噺" prop="inboundNum">
<template #default="scope">
<el-input-number :step="0.01" :min="0" style="width: 100%" v-model="scope.row.inboundNum" @change="() => calculateTotalPrice(scope.row)" />
</template>
@@ -65,45 +65,45 @@
/>
</template>
</el-table-column>
- <el-table-column label="绋庣巼(%)" prop="taxRate" width="150">
- <template #default="scope">
- <el-select v-model="scope.row.taxRate" placeholder="璇烽�夋嫨绋庣巼" style="width: 100%" @change="() => calculateExclusivePrice(scope.row)">
- <el-option
- v-for="item in taxRateOptions"
- :key="item.value"
- :label="item.label"
- :value="item.value"
- />
- </el-select>
- </template>
- </el-table-column>
- <el-table-column
- label="鍚◣鍗曚环(鍏�)"
- prop="taxInclusiveUnitPrice"
- width="180"
- >
- <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="180"
- >
- <template #default="scope">
- <el-input-number :step="0.01" :min="0" style="width: 100%" v-model="scope.row.taxInclusiveTotalPrice" @change="calculateExclusivePrice(scope.row)" />
- </template>
- </el-table-column>
- <el-table-column
- label="涓嶅惈绋庢�讳环(鍏�)"
- prop="taxExclusiveTotalPrice"
- width="180"
- >
- <template #default="scope">
- <el-input-number :step="0.01" :min="0" style="width: 100%" v-model="scope.row.taxExclusiveTotalPrice" />
- </template>
- </el-table-column>
+<!-- <el-table-column label="绋庣巼(%)" prop="taxRate" width="150">-->
+<!-- <template #default="scope">-->
+<!-- <el-select v-model="scope.row.taxRate" placeholder="璇烽�夋嫨绋庣巼" style="width: 100%" @change="() => calculateExclusivePrice(scope.row)">-->
+<!-- <el-option-->
+<!-- v-for="item in taxRateOptions"-->
+<!-- :key="item.value"-->
+<!-- :label="item.label"-->
+<!-- :value="item.value"-->
+<!-- />-->
+<!-- </el-select>-->
+<!-- </template>-->
+<!-- </el-table-column>-->
+<!-- <el-table-column-->
+<!-- label="鍚◣鍗曚环(鍏�)"-->
+<!-- prop="taxInclusiveUnitPrice"-->
+<!-- width="180"-->
+<!-- >-->
+<!-- <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="180"-->
+<!-- >-->
+<!-- <template #default="scope">-->
+<!-- <el-input-number :step="0.01" :min="0" style="width: 100%" v-model="scope.row.taxInclusiveTotalPrice" @change="calculateExclusivePrice(scope.row)" />-->
+<!-- </template>-->
+<!-- </el-table-column>-->
+<!-- <el-table-column-->
+<!-- label="涓嶅惈绋庢�讳环(鍏�)"-->
+<!-- prop="taxExclusiveTotalPrice"-->
+<!-- width="180"-->
+<!-- >-->
+<!-- <template #default="scope">-->
+<!-- <el-input-number :step="0.01" :min="0" style="width: 100%" v-model="scope.row.taxExclusiveTotalPrice" />-->
+<!-- </template>-->
+<!-- </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>
@@ -235,7 +235,7 @@
return
}
- // 楠岃瘉鎵嬪姩娣诲姞鐨勬暟鎹繀濉瓧娈�
+ // 楠岃瘉鑷畾涔夋坊鍔犵殑鏁版嵁蹇呭~瀛楁
for (let i = 0; i < productList.value.length; i++) {
const product = productList.value[i];
if (!product.productCategory || !product.specificationModel || !product.unit) {
@@ -279,7 +279,7 @@
await addStockInCustom(payloadList)
}
- proxy.$modal.msgSuccess(operationType.value === 'edit' ? '缂栬緫鎵嬪姩鍏ュ簱鎴愬姛' : '鏂板鎵嬪姩鍏ュ簱鎴愬姛')
+ proxy.$modal.msgSuccess(operationType.value === 'edit' ? '缂栬緫鑷畾涔夊叆搴撴垚鍔�' : '鏂板鑷畾涔夊叆搴撴垚鍔�')
closeDia()
emit('success')
--
Gitblit v1.9.3