@@ -134,10 +136,10 @@ export default {
},
dataRule: {
code: [
- { required: true, message: '库位编码不能为空', trigger: 'blur' },
+ { required: true, message: '物品编码不能为空', trigger: 'blur' },
],
name: [
- { required: true, message: '库位名称不能为空', trigger: 'blur' },
+ { required: true, message: '物品名称不能为空', trigger: 'blur' },
],
},
isorno: [
diff --git a/src/views/warehouse/raw-material/warehouseGoods/index.vue b/src/views/warehouse/raw-material/warehouseGoods/index.vue
index e2fddd20..ef78d4fc 100644
--- a/src/views/warehouse/raw-material/warehouseGoods/index.vue
+++ b/src/views/warehouse/raw-material/warehouseGoods/index.vue
@@ -57,19 +57,19 @@ import { publicFormatter } from '@/utils/dict';
const tableProps = [
{
prop: 'name',
- label: '名称',
+ label: '物品名称',
},
{
prop: 'code',
- label: '编码',
+ label: '物品编码',
},
{
prop: 'spec',
- label: '规格',
+ label: '物品规格',
},
{
prop: 'unit',
- label: '单位',
+ label: '物品单位',
filter: publicFormatter('unit_dict')
},
{
@@ -121,8 +121,8 @@ export default {
formConfig: [
{
type: 'input',
- label: '名称',
- placeholder: '名称',
+ label: '物品名称',
+ placeholder: '物品名称',
param: 'name',
},
{
diff --git a/src/views/warehouse/raw-material/warehouseLocationHis/index.vue b/src/views/warehouse/raw-material/warehouseLocationHis/index.vue
index 642534cc..931b7924 100644
--- a/src/views/warehouse/raw-material/warehouseLocationHis/index.vue
+++ b/src/views/warehouse/raw-material/warehouseLocationHis/index.vue
@@ -2,7 +2,6 @@
@@ -114,7 +113,7 @@ export default {
tableData: [],
tableProps,
tableBtn: [
- this.$auth.hasPermi(`raw-material:warehouse-realtime-location-his:query`)
+ this.$auth.hasPermi(`raw-material:warehouse-location-his:query`)
? {
type: 'info',
btnName: '详情',
diff --git a/src/views/warehouse/raw-material/warehouseRealtime/add-or-updata.vue b/src/views/warehouse/raw-material/warehouseRealtime/add-or-updata.vue
index 4d51b982..6eb0a50e 100644
--- a/src/views/warehouse/raw-material/warehouseRealtime/add-or-updata.vue
+++ b/src/views/warehouse/raw-material/warehouseRealtime/add-or-updata.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-08-01 13:52:10
* @LastEditors: zwq
- * @LastEditTime: 2023-11-04 14:17:39
+ * @LastEditTime: 2023-11-20 15:12:13
* @Description:
-->
@@ -68,7 +68,6 @@
v-model="dataForm.goodsBatch"
filterable
clearable
- @change="setBatchInfo"
placeholder="请选择物品名称">
-
+
+ placeholder="请输入数量" />
+
@@ -130,7 +129,7 @@ export default {
},
goodsArr: [],
Batch: [],
- max: 0,
+ //max: 0,
dataRule: {
goodsId: [
{ required: true, message: '物品名称不能为空', trigger: 'change' },
@@ -143,7 +142,7 @@ export default {
},
],
numDet: [
- { required: true, message: '入库数量不能为空', trigger: 'blur' },
+ { required: true, message: '数量不能为空', trigger: 'blur' },
],
},
};
@@ -172,13 +171,13 @@ export default {
}
});
},
- setBatchInfo(){
- this.Batch.forEach((item) => {
- if (item.goodsBatch === this.dataForm.goodsBatch) {
- this.max = item.numDet
- }
- });
- },
+ // setBatchInfo(){
+ // this.Batch.forEach((item) => {
+ // if (item.goodsBatch === this.dataForm.goodsBatch) {
+ // this.max = item.numDet
+ // }
+ // });
+ // },
outWare(data) {
this.getArr();
this.visible = true;
diff --git a/src/views/warehouse/raw-material/warehouseRealtimeLocation/attr-add.vue b/src/views/warehouse/raw-material/warehouseRealtimeLocation/attr-add.vue
index aed740e3..8dd2b244 100644
--- a/src/views/warehouse/raw-material/warehouseRealtimeLocation/attr-add.vue
+++ b/src/views/warehouse/raw-material/warehouseRealtimeLocation/attr-add.vue
@@ -29,6 +29,7 @@
diff --git a/src/views/warehouse/warehouse-info/index.vue b/src/views/warehouse/warehouse-info/index.vue
index b6746774..f7b4180a 100644
--- a/src/views/warehouse/warehouse-info/index.vue
+++ b/src/views/warehouse/warehouse-info/index.vue
@@ -18,7 +18,7 @@
@click.native="setWareInfo(item)"
:style="{
background: item.id === wareInfo.warehouseId ? '#37D97F' : '',
- color: item.id === wareInfo.warehouseId ? 'white' : ''
+ color: item.id === wareInfo.warehouseId ? 'white' : '',
}"
class="ware-card">
{{ item.name }}
@@ -263,7 +263,7 @@ export default {
this.dataListLoading = true;
this.urlOptions.getDataListURL(this.listQuery).then((response) => {
this.tableData = response.data.list;
- this.total = response.data.total;
+ this.listQuery.total = response.data.total;
this.dataListLoading = false;
});
},