diff --git a/src/api/wms/equipment.js b/src/api/wms/equipment.js
index 05aa299..c46a7ff 100644
--- a/src/api/wms/equipment.js
+++ b/src/api/wms/equipment.js
@@ -2,43 +2,51 @@ import request from '@/utils/request'
// 查询设备管理列表
export function listEquipment(query) {
- return request({
- url: '/wms/equipment/list',
- method: 'get',
- params: query
- });
+ return request({
+ url: '/wms/equipment/list',
+ method: 'get',
+ params: query
+ });
}
// 查询设备管理详细
export function getEquipment(equipmentId) {
- return request({
- url: '/wms/equipment/' + equipmentId,
- method: 'get'
- });
+ return request({
+ url: '/wms/equipment/' + equipmentId,
+ method: 'get'
+ });
}
// 新增设备管理
export function addEquipment(data) {
- return request({
- url: '/wms/equipment',
- method: 'post',
- data: data
- });
+ return request({
+ url: '/wms/equipment',
+ method: 'post',
+ data: data
+ });
}
// 修改设备管理
export function updateEquipment(data) {
- return request({
- url: '/wms/equipment',
- method: 'put',
- data: data
- });
+ return request({
+ url: '/wms/equipment',
+ method: 'put',
+ data: data
+ });
}
-// 删除设备管理
+// 删除设备管
export function delEquipment(equipmentId) {
- return request({
- url: '/wms/equipment/' + equipmentId,
- method: 'delete'
- });
+ return request({
+ url: '/wms/equipment/' + equipmentId,
+ method: 'delete'
+ });
+}
+
+// 查询部门下拉树结构
+export function treeselect() {
+ return request({
+ url: '/wms/equipment/tree',
+ method: 'get'
+ })
}
diff --git a/src/views/technology/process/content.vue b/src/views/technology/process/content.vue
index 2e784c8..d26dcdf 100644
--- a/src/views/technology/process/content.vue
+++ b/src/views/technology/process/content.vue
@@ -8,7 +8,7 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
-
+ v-hasPermi="['mes:pro:processcontent:add']"
>新增
@@ -19,7 +19,7 @@
size="mini"
:disabled="single"
@click="handleUpdate"
-
+ v-hasPermi="['mes:pro:processcontent:edit']"
>修改
@@ -30,7 +30,7 @@
size="mini"
:disabled="multiple"
@click="handleDelete"
-
+ v-hasPermi="['mes:pro:processcontent:remove']"
>删除
@@ -40,7 +40,7 @@
icon="el-icon-download"
size="mini"
@click="handleExport"
-
+ v-hasPermi="['mes:pro:processcontent:export']"
>导出
@@ -48,7 +48,7 @@
-
+
@@ -60,14 +60,14 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
-
+ v-hasPermi="['mes:pro:processcontent:edit']"
>修改
删除
@@ -100,12 +100,18 @@
-
+
+
+
+
-
+
+
+
+
@@ -129,16 +135,16 @@
取 消
-
diff --git a/src/views/technology/process/single.vue b/src/views/technology/process/single.vue
new file mode 100644
index 0000000..ae9da39
--- /dev/null
+++ b/src/views/technology/process/single.vue
@@ -0,0 +1,301 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/technology/process/singleBom.vue b/src/views/technology/process/singleBom.vue
new file mode 100644
index 0000000..f14e51b
--- /dev/null
+++ b/src/views/technology/process/singleBom.vue
@@ -0,0 +1,286 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/wms/equipment/index.vue b/src/views/wms/equipment/index.vue
index 17e96a4..5957b30 100644
--- a/src/views/wms/equipment/index.vue
+++ b/src/views/wms/equipment/index.vue
@@ -90,10 +90,8 @@
-
-
@@ -151,8 +149,15 @@
-
-
+
+
+
+
@@ -212,6 +217,7 @@ import EquipmentBoundMaterials from "./equipmentBoundMaterials";
export default {
name: "Equipment",
components: {EquipmentBoundMaterials},
+ dicts: ['sys_normal_disable', 'equ_type'],
data() {
return {
// 遮罩层