@@ -166,7 +164,7 @@ export default {
{{ v.name }}
- {{ v.value }}
+ {{ v.value }}
@@ -181,13 +179,15 @@ export default {
justify-content: center;
height: 100%;
border: 1px solid #ccc;
- border-top:0px;
- margin:10px;
- h1{
+ border-top: 0px;
+ margin: 10px;
+
+ h1 {
padding: 5px 10px;
text-align: center;
border-top: 1px solid #ccc;
}
+
.row {
display: flex;
flex-direction: row;
@@ -197,7 +197,7 @@ export default {
.cell {
- height:40px;
+ height: 40px;
display: flex;
width: 100%;
@@ -208,54 +208,66 @@ export default {
border-top: 1px solid #ccc;
border-left: 1px solid #ccc;
}
+
.th {
background: #f5f7fa;
- border-left:0px;
+ border-left: 0px;
}
- .td{
+
+ .td {
background: #ffffff;
border-right: 1px solid #ccc;
}
}
}
- .row1{
+
+ .row1 {
.th {
width: 12.5%*1;
}
- .td{
+
+ .td {
width: 12.5%*7;
}
}
- .row2{
+
+ .row2 {
.th {
width: 12.5%*2;
}
- .td{
+
+ .td {
width: 12.5%*6;
}
}
- .row3{
+
+ .row3 {
.th {
width: 12.5%*3;
}
- .td{
- width:12.5%*5;
+
+ .td {
+ width: 12.5%*5;
}
}
- .row4{
+
+ .row4 {
.th {
width: 12.5%*4;
}
- .td{
+
+ .td {
width: 12.5%*4;
}
}
- .row5{
+
+ .row5 {
.th {
width: 12.5%*5;
}
- .td{
+
+ .td {
width: 12.5%*3;
}
}
diff --git a/src/application/zk/components/zkToolbar.vue b/src/application/zk/components/zkToolbar.vue
index 1b4baf9..1b08c41 100644
--- a/src/application/zk/components/zkToolbar.vue
+++ b/src/application/zk/components/zkToolbar.vue
@@ -28,7 +28,7 @@
diff --git a/src/pages/Middle/Mes/MesStock/MesStock/Position/PositionList.vue b/src/pages/Middle/Mes/MesStock/MesStock/Position/PositionList.vue
index cf93216..bed7f35 100644
--- a/src/pages/Middle/Mes/MesStock/MesStock/Position/PositionList.vue
+++ b/src/pages/Middle/Mes/MesStock/MesStock/Position/PositionList.vue
@@ -1,14 +1,22 @@
-
+
-
- 入库
- 出库
-
+
+
+
+ 入库
+ 出库
+
+
+
+
+
+
+
-
-
+
diff --git a/src/pages/Middle/Mes/MesWarehouse/MesWarehouse/List.vue b/src/pages/Middle/Mes/MesWarehouse/MesWarehouse/List.vue
index e2c9431..ef6c19c 100644
--- a/src/pages/Middle/Mes/MesWarehouse/MesWarehouse/List.vue
+++ b/src/pages/Middle/Mes/MesWarehouse/MesWarehouse/List.vue
@@ -1,5 +1,20 @@
-
+
+
+
+ 默认
+
+
+
+
+
+ 禁用
+
+
+ 启用
+
+
+
\ No newline at end of file
diff --git a/src/pages/Middle/Mes/MesWarehouse/MesWarehouse/PositionList.vue b/src/pages/Middle/Mes/MesWarehouse/MesWarehouse/PositionList.vue
index d30e1f4..f94834f 100644
--- a/src/pages/Middle/Mes/MesWarehouse/MesWarehouse/PositionList.vue
+++ b/src/pages/Middle/Mes/MesWarehouse/MesWarehouse/PositionList.vue
@@ -1,7 +1,6 @@
-
默认
@@ -25,9 +24,7 @@ import BASE_URL from '@/services/mes/api.js';
export default {
i18n: require("./i18n"),
- props: {
-
- },
+ props: {},
data() {
return {
pageOptions: {}
@@ -97,18 +94,28 @@ export default {
},
// 搜索区配置
searchRules: [
- { key: "title", mode: "like" },
- { key: "desc", mode: "like" }
+ {key: "title", mode: "like"},
+ {key: "desc", mode: "like"}
],
//搜索区
searchFormItems: [ // 子项
- { field: 'code', title: '仓位编码', span: 5, itemRender: { name: '$input', props: { placeholder: '请输入仓位编码' } } },
- { field: 'warehouse_location_name', title: '仓位名称', span: 5, itemRender: { name: '$input', props: { placeholder: '请输入仓位名称' } } },
- { span: 8, slots: { default: 'date' } }, // 自定义列
+ {
+ field: 'code',
+ title: '仓位编码',
+ span: 5,
+ itemRender: {name: '$input', props: {placeholder: '请输入仓位编码'}}
+ },
+ {
+ field: 'warehouse_location_name',
+ title: '仓位名称',
+ span: 5,
+ itemRender: {name: '$input', props: {placeholder: '请输入仓位名称'}}
+ },
+ {span: 8, slots: {default: 'date'}}, // 自定义列
{
align: 'right', span: 4, itemRender: { // 按钮列
- name: '$buttons', children: [{ props: { type: 'submit', content: '搜索', status: 'primary' } }, // 搜索按钮
- { props: { type: 'reset', content: '重置' } }]
+ name: '$buttons', children: [{props: {type: 'submit', content: '搜索', status: 'primary'}}, // 搜索按钮
+ {props: {type: 'reset', content: '重置'}}]
}
}
],
@@ -121,22 +128,36 @@ export default {
id: 'datagrid_1', // 表格唯一标识
columns: [
- { type: 'checkbox', width: '40' }, // 多选框
- { type: 'seq', width: '40' }, // 序号
+ {type: 'checkbox', width: '40'}, // 多选框
+ {type: 'seq', width: '40'}, // 序号
// =============================== 表格列 自动生成 Start ===============================
- { title: '操作', slots: { default: 'op' }, width: 120 },
- { field: 'warehouse_detail.code', sortable: true, title: '仓库编码', width: 120 }, // 仓库编号
- { field: 'warehouse_detail.warehouse_title', sortable: true, title: '仓库名称', width: 150 }, // 仓库名称
- { field: 'code', sortable: true, title: '库位编码', width: 120 }, // 编码
- { field: 'warehouse_location_name', sortable: true, title: '库位名称', width: 'auto' }, // 库位名称
- { field: 'warehouse_location_keeper_uname', sortable: true, title: '库管员', width: 100 }, // 库管员姓名
- { field: 'is_default', sortable: true, title: '默认', slots: { default: 'column1' }, width: 70 }, // 是否默认库位:0.否,1.是
- { field: 'warehouse_location_status', sortable: true, title: '状态', slots: { default: 'column2' }, width: 70 }, // 库位状态:0.禁用,1.启用
- { field: 'create_time', formatter: 'formatDate', width: 100, sortable: true, title: '创建时间', showHeaderOverflow: true }, // 创建时间
- { field: 'update_time', formatter: 'formatDate', width: 100, sortable: true, title: '更新时间', showHeaderOverflow: true }, // 更新时间
+ {title: '操作', slots: {default: 'op'}, width: 120},
+ {field: 'warehouse_detail.code', sortable: true, title: '仓库编码', width: 120}, // 仓库编号
+ {field: 'warehouse_detail.warehouse_title', sortable: true, title: '仓库名称', width: 150}, // 仓库名称
+ {field: 'code', sortable: true, title: '库位编码', width: 120}, // 编码
+ {field: 'warehouse_location_name', sortable: true, title: '库位名称', width: 'auto'}, // 库位名称
+ {field: 'warehouse_location_keeper_uname', sortable: true, title: '库管员', width: 100}, // 库管员姓名
+ {field: 'is_default', sortable: true, title: '默认', slots: {default: 'column1'}, width: 70}, // 是否默认库位:0.否,1.是
+ {field: 'warehouse_location_status', sortable: true, title: '状态', slots: {default: 'column2'}, width: 70}, // 库位状态:0.禁用,1.启用
+ {
+ field: 'create_time',
+ formatter: 'formatDate',
+ width: 100,
+ sortable: true,
+ title: '创建时间',
+ showHeaderOverflow: true
+ }, // 创建时间
+ {
+ field: 'update_time',
+ formatter: 'formatDate',
+ width: 100,
+ sortable: true,
+ title: '更新时间',
+ showHeaderOverflow: true
+ }, // 更新时间
// =============================== 表格列 自动生成 Start ===============================
@@ -163,9 +184,7 @@ export default {
},
- watch: {
-
- },
+ watch: {},
};
\ No newline at end of file