diff --git a/src/views/wms/instockOrderCopy/inAndOut.vue b/src/views/wms/instockOrderCopy/inAndOut.vue
index cdb5fe2..8488df9 100644
--- a/src/views/wms/instockOrderCopy/inAndOut.vue
+++ b/src/views/wms/instockOrderCopy/inAndOut.vue
@@ -21,7 +21,7 @@
-->
-
+
-
+
@@ -194,7 +194,7 @@
-
+
@@ -208,8 +208,8 @@
/>
-->
-
-
+
+
-
+
-->
-
+
-
+
@@ -194,7 +194,7 @@
-
+
@@ -209,7 +209,7 @@
-->
-
+
-->
-
+
@@ -39,7 +39,7 @@
-->
-
+
-
+
-
-
-
-
+
+
+
+ {{ scope.row.inventoryQty }}
+
+ {{ scope.row.inventoryQty }}
+
+
@@ -97,7 +105,7 @@
-
+
-
-
+
+
>({
form: {...initFormData},
@@ -234,13 +243,12 @@ const data = reactive>({
materialId: undefined,
locationCode: undefined,
materialCategoryId: undefined,
- materialCategoryName: undefined,//字段映射
inventoryQty: undefined,
lockState: undefined,
inventoryStatus: undefined,
storeId: undefined,
- params: {
- }
+ warehouseId: undefined,
+ params: {}
},
rules: {
inventoryId: [
@@ -309,6 +317,7 @@ const handleQuery = () => {
/** 重置按钮操作 */
const resetQuery = () => {
+ reset()
queryFormRef.value?.resetFields();
handleQuery();
}
@@ -377,6 +386,13 @@ const getMaterialCategorySelect = async () => {
mategoryOptions.value = res.data;
};
+const getRowClass = (row: any) => {
+ if (row.row.inventoryQty > row.row.maxStockAmount || row.row.inventoryQty < row.row.minStockAmount) {
+ return 'alarm-row';
+ }
+ return '';
+};
+
onMounted(() => {
getMaterialCategorySelect();
@@ -384,3 +400,9 @@ onMounted(() => {
getList();
});
+
+