{{ scope.row.checkResult }}
@@ -454,6 +457,7 @@
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 100,
},
{
userId: this.$store.state.user.name,
@@ -467,10 +471,11 @@
columnLabel: '计划编码',
columnHidden: false,
columnImage: false,
- columnSortable: false,
+ columnSortable: true,
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 100,
},
{
userId: this.$store.state.user.name,
@@ -484,10 +489,11 @@
columnLabel: '工单编码',
columnHidden: false,
columnImage: false,
- columnSortable: false,
+ columnSortable: true,
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 100,
},
{
userId: this.$store.state.user.name,
@@ -505,6 +511,7 @@
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 80,
},
{
userId: this.$store.state.user.name,
@@ -522,6 +529,7 @@
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 120,
},
{
userId: this.$store.state.user.name,
@@ -539,6 +547,7 @@
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 80,
},
{
userId: this.$store.state.user.name,
@@ -556,6 +565,7 @@
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 120,
},
{
userId: this.$store.state.user.name,
@@ -569,10 +579,11 @@
columnLabel: '状态',
columnHidden: false,
columnImage: false,
- columnSortable: false,
+ columnSortable: true,
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 80,
},
{
userId: this.$store.state.user.name,
@@ -590,6 +601,7 @@
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 120,
},
{
userId: this.$store.state.user.name,
@@ -607,6 +619,7 @@
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 100,
},
{
userId: this.$store.state.user.name,
@@ -624,6 +637,7 @@
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 120,
},
{
userId: this.$store.state.user.name,
@@ -641,6 +655,7 @@
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 100,
},
{
userId: this.$store.state.user.name,
@@ -654,10 +669,11 @@
columnLabel: '计划执行日期',
columnHidden: false,
columnImage: false,
- columnSortable: false,
+ columnSortable: true,
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 100,
},
{
userId: this.$store.state.user.name,
@@ -671,10 +687,11 @@
columnLabel: '到达时间',
columnHidden: false,
columnImage: false,
- columnSortable: false,
+ columnSortable: true,
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 130,
},
{
userId: this.$store.state.user.name,
@@ -688,10 +705,11 @@
columnLabel: '实际执行时间',
columnHidden: false,
columnImage: false,
- columnSortable: false,
+ columnSortable: true,
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 130,
},
{
userId: this.$store.state.user.name,
@@ -701,7 +719,7 @@
tableName: "common",
columnProp: 'workTime',
headerAlign: "center",
- align: "center",
+ align: "right",
columnLabel: '工作时长(m)',
columnHidden: false,
columnImage: false,
@@ -709,6 +727,7 @@
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 80,
},
{
userId: this.$store.state.user.name,
@@ -726,6 +745,7 @@
sortLv: 0,
status: true,
fixed: '',
+ columnWidth: 120,
},
],
changeModelFlag:false,
@@ -962,7 +982,7 @@
controlRowStyle({row, rowIndex}) {
// 区分不同的样式对应不同的颜色
if (row.status === '待审核') {
- return "background-color: #E2F1F5"
+ return "background-color: #D8ECF1"
}
},
diff --git a/src/views/modules/partspare/inventorystock.vue b/src/views/modules/partspare/inventorystock.vue
index ca51bee..b96bca5 100644
--- a/src/views/modules/partspare/inventorystock.vue
+++ b/src/views/modules/partspare/inventorystock.vue
@@ -77,8 +77,8 @@
-
-
-
+
+
@@ -228,7 +228,7 @@ export default {
columnProp: 'locationId',
headerAlign: "center",
align: "left",
- columnLabel: '库位编码',
+ columnLabel: '货位编码',
columnHidden: false,
columnImage: false,
columnSortable: false,
@@ -341,7 +341,7 @@ export default {
columnProp: 'locationId',
headerAlign: "center",
align: "left",
- columnLabel: '库位编码',
+ columnLabel: '货位编码',
columnHidden: false,
columnImage: false,
columnSortable: false,
@@ -525,7 +525,7 @@ export default {
let minStock = row.minStock
// 区分不同的样式对应不同的颜色
if (qtyOnHand <= minStock) {
- return "background-color: #E2F1F5"
+ return "background-color: #D8ECF1"
}
},
diff --git a/src/views/modules/partspare/partSpareLocation.vue b/src/views/modules/partspare/partSpareLocation.vue
index 8a9b33c..bbf609d 100644
--- a/src/views/modules/partspare/partSpareLocation.vue
+++ b/src/views/modules/partspare/partSpareLocation.vue
@@ -22,7 +22,7 @@
-
+
-
+
@@ -119,10 +119,10 @@
- 库位编码
+ 仓库编码
-
+
@@ -497,11 +497,11 @@ export default {
return false
}
if (this.modalData.warehouseId === '' || this.modalData.warehouseId == null) {
- this.$message.warning("请选择库位编码!")
+ this.$message.warning("请选择仓库编码!")
return false
}
if (this.modalData.warehouseName === '' || this.modalData.warehouseName == null) {
- this.$message.warning("请选择库位名称!")
+ this.$message.warning("请选择仓库名称!")
return false
}
if (this.modalData.active === '' || this.modalData.active == null) {
@@ -547,7 +547,7 @@ export default {
// 删除
deleteModal (row) {
- this.$confirm(`是否确认删除该库位?`, '提示', {
+ this.$confirm(`是否确认删除该货位?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
diff --git a/src/views/modules/partspare/partspare-add-or-update.vue b/src/views/modules/partspare/partspare-add-or-update.vue
index 1652b20..adf9a8f 100644
--- a/src/views/modules/partspare/partspare-add-or-update.vue
+++ b/src/views/modules/partspare/partspare-add-or-update.vue
@@ -55,8 +55,8 @@
- 库位编码
- 库位编码
+ 货位编码
+ 货位编码
@@ -217,7 +217,7 @@ export default {
return;
}
if (!this.dataForm.locationId) {
- this.$message.warning("库位编码不能为空")
+ this.$message.warning("货位编码不能为空")
return;
}
if (this.addOrUpdate) {
diff --git a/src/views/modules/partspare/partspare.vue b/src/views/modules/partspare/partspare.vue
index cd1c6f3..e233e4e 100644
--- a/src/views/modules/partspare/partspare.vue
+++ b/src/views/modules/partspare/partspare.vue
@@ -524,6 +524,23 @@ export default {
status: true,
fixed: '',
columnWidth: 140,
+ }, {
+ userId: this.$store.state.user.name,
+ functionId: this.$route.meta.menuId,
+ serialNumber: 'toolDetail1101ToolId',
+ tableId: "toolOIRecord",
+ tableName: "common",
+ columnProp: 'warehouseName',
+ headerAlign: "center",
+ align: "left",
+ columnLabel: '仓库名称',
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ sortLv: 0,
+ status: true,
+ fixed: '',
+ columnWidth: 140,
},
],
}
diff --git a/src/views/modules/partspare/repairtransdetail.vue b/src/views/modules/partspare/repairtransdetail.vue
index f47af43..23eb3a8 100644
--- a/src/views/modules/partspare/repairtransdetail.vue
+++ b/src/views/modules/partspare/repairtransdetail.vue
@@ -21,7 +21,7 @@
-
+
@@ -243,7 +243,7 @@ export default {
columnProp: 'locationId',
headerAlign: "center",
align: "left",
- columnLabel: '库位编码',
+ columnLabel: '货位编码',
columnHidden: false,
columnImage: false,
columnSortable: false,