diff --git a/hb_client/src/router/index.js b/hb_client/src/router/index.js
index 91006e6..2fd07a6 100644
--- a/hb_client/src/router/index.js
+++ b/hb_client/src/router/index.js
@@ -179,6 +179,13 @@ export const asyncRoutes = [
meta: { title: '生产资源配置', icon: 'example', perms: ['pm_resources'] }
}
,
+ {
+ path: 'management',
+ name: 'management',
+ component: () => import('@/views/pm/management'),
+ meta: { title: '生产任务管理', icon: 'example', perms: ['pm_resources'] }
+ }
+ ,
{
path: 'gantt',
name: 'gantt',
diff --git a/hb_client/src/views/pm/management.vue b/hb_client/src/views/pm/management.vue
new file mode 100644
index 0000000..c14913d
--- /dev/null
+++ b/hb_client/src/views/pm/management.vue
@@ -0,0 +1,207 @@
+
+
+
+
+ 生产任务列表
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+ {{ scope.row.number }}
+
+
+ {{ scope.row.order_.number }}
+
+
+ {{
+ scope.row.order_.contract_.number
+ }}
+
+
+
+ {{ scope.row.product_.name }}
+
+
+ {{
+ scope.row.product_.specification
+ }}
+
+
+ {{ scope.row.product_.unit }}
+
+
+ {{ scope.row.count }}
+
+
+ {{ scope.row.count }}
+
+
+ {{ scope.row.start_date }}
+
+
+ {{ scope.row.end_date }}
+
+
+ {{
+ scope.row.order_.delivery_date
+ }}
+
+
+
+
+ 详情
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/hb_client/src/views/wpm/operationdo.vue b/hb_client/src/views/wpm/operationdo.vue
index e5f1c5a..93b070a 100644
--- a/hb_client/src/views/wpm/operationdo.vue
+++ b/hb_client/src/views/wpm/operationdo.vue
@@ -501,6 +501,27 @@
工序工装
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -660,6 +681,7 @@ export default {
wmaterialData: [],
outputData: [],
tprogressData: [],
+ tool:"",
};
},
computed: {},
@@ -674,6 +696,7 @@ export default {
this.getoutputLists(); //产出物料
this.getwmaterialList();
this.getprogressList(); //产出物料调出
+ this. gettoolList();//工序工装
},
methods: {
checkPermission,
@@ -778,6 +801,18 @@ export default {
});
this.dialogVisibleForm = true;
},
+
+ //工序工装列表
+ gettoolList() {
+ gettoolList({ operation: this.id, page: 0 }).then(
+ (response) => {
+ if (response.data) {
+ this.tool = response.data;
+ }
+ }
+ );
+ },
+
//提交表单内容
recordconfirm() {
let _this = this;
diff --git a/hb_client/src/views/wpm/worktask.vue b/hb_client/src/views/wpm/worktask.vue
index 2de6677..22ed361 100644
--- a/hb_client/src/views/wpm/worktask.vue
+++ b/hb_client/src/views/wpm/worktask.vue
@@ -18,9 +18,7 @@
@current-change="handleCurrentChange"
>
-
- {{scope.row.id}}
-
+
{{
scope.row.number
@@ -145,8 +143,8 @@
>
-
- {{scope.row.subproduction_plan}}
+
+ {{ scope.row.subproduction_plan_.number}}
@@ -193,9 +191,9 @@
max-height="300"
>
-
+
{{
- scope.row.subproduction_plan
+ scope.row.subproduction_plan_.number
}}