diff --git a/hb_client/src/api/mtm.js b/hb_client/src/api/mtm.js
index d9b80c4..317cbcb 100644
--- a/hb_client/src/api/mtm.js
+++ b/hb_client/src/api/mtm.js
@@ -268,4 +268,34 @@ export function deleterffield(id, data) {
method: 'delete',
data
})
+}
+//技术文件
+
+export function gettechdocList(query) {
+ return request({
+ url: '/mtm/techdoc/',
+ method: 'get',
+ params: query
+ })
+}
+export function createtechdoc(data) {
+ return request({
+ url: '/mtm/techdoc/',
+ method: 'post',
+ data
+ })
+}
+export function updatetechdoc(id, data) {
+ return request({
+ url: `/mtm/techdoc/${id}/`,
+ method: 'put',
+ data
+ })
+}
+export function deletetechdoc(id, data) {
+ return request({
+ url: `/mtm/techdoc/${id}/`,
+ method: 'delete',
+ data
+ })
}
\ No newline at end of file
diff --git a/hb_client/src/layout/components/Sidebar/Logo.vue b/hb_client/src/layout/components/Sidebar/Logo.vue
index 7121590..6e262bd 100644
--- a/hb_client/src/layout/components/Sidebar/Logo.vue
+++ b/hb_client/src/layout/components/Sidebar/Logo.vue
@@ -24,7 +24,7 @@ export default {
},
data() {
return {
- title: 'Django Vue Admin',
+ title: '航玻生产管理系统',
logo: 'https://wpimg.wallstcn.com/69a1c46c-eb1c-4b46-8bd4-e9e686ef5251.png'
}
}
diff --git a/hb_client/src/views/inm/warehouse.vue b/hb_client/src/views/inm/warehouse.vue
index a7c9e23..9e9a3c3 100644
--- a/hb_client/src/views/inm/warehouse.vue
+++ b/hb_client/src/views/inm/warehouse.vue
@@ -26,7 +26,7 @@
新增设备新增仓库
diff --git a/hb_client/src/views/mtm/material.vue b/hb_client/src/views/mtm/material.vue
index 06c5182..70b8eaa 100644
--- a/hb_client/src/views/mtm/material.vue
+++ b/hb_client/src/views/mtm/material.vue
@@ -178,7 +178,7 @@ export default {
},
options: [{
value: 1,
- label: '产品'
+ label: '成品'
}, {
value: 2,
label: '半成品'
diff --git a/hb_client/src/views/mtm/process.vue b/hb_client/src/views/mtm/process.vue
index 73da57d..758d359 100644
--- a/hb_client/src/views/mtm/process.vue
+++ b/hb_client/src/views/mtm/process.vue
@@ -167,7 +167,7 @@ export default {
},
methods: {
checkPermission,
- //物料列表
+ //工序列表
getList() {
this.listLoading = true;
getProcessList(this.listQuery).then((response) => {
diff --git a/hb_client/src/views/mtm/productprocess.vue b/hb_client/src/views/mtm/productprocess.vue
index 34cb5ff..e7f6676 100644
--- a/hb_client/src/views/mtm/productprocess.vue
+++ b/hb_client/src/views/mtm/productprocess.vue
@@ -2,7 +2,12 @@
-
+
+
+ 产品列表
+
-
-
+
@@ -50,11 +54,15 @@
-
+
-
-
+
+ 工艺流程
+
+
@@ -65,29 +73,29 @@
新增
+
-
+
{{scope.row.material_.number}}
-
+
{{scope.row.material_.name}}
-
+
{{ scope.row.material_.unit }}
-
+
{{ scope.row.count }}
@@ -96,7 +104,6 @@
@@ -161,12 +168,10 @@
>新增
@@ -255,12 +260,10 @@
>新增
@@ -268,12 +271,12 @@
{{ scope.row.step_.name }}
-
-
+
+
+
@@ -329,8 +332,88 @@
>新增
- 新增
+
+
+
+ {{ scope.row.name }}
+
+
+
+
+
+ {{scope.row.file_.name}}
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上传文件
+
+
+
+
+
+ 取消
+ 确认
+
+
@@ -340,8 +423,9 @@
-
\ No newline at end of file
diff --git a/hb_client/src/views/mtm/step.vue b/hb_client/src/views/mtm/step.vue
index 8bb6078..e1ec802 100644
--- a/hb_client/src/views/mtm/step.vue
+++ b/hb_client/src/views/mtm/step.vue
@@ -1,7 +1,6 @@
-
+<<<<<<< HEAD
@@ -296,7 +296,6 @@
import { upUrl, upHeaders } from "@/api/file";
import { getStep,getrecordformList,createrecordform,updaterecordform,deleterecordform,getrffieldList,createrffield,updaterffield,
deleterffield} from "@/api/mtm";
-
import vueJsonEditor from 'vue-json-editor'
import { genTree } from "@/utils";
import Pagination from "@/components/Pagination"; // secondary package based on el-pagination
@@ -529,8 +528,6 @@
}
});
},
-
-
handleCurrentChange(row){
this.formID=row.id;
this.fieldLists();
diff --git a/hb_client/src/views/mtm/stepdo.vue b/hb_client/src/views/mtm/stepdo.vue
index e4470c9..624906e 100644
--- a/hb_client/src/views/mtm/stepdo.vue
+++ b/hb_client/src/views/mtm/stepdo.vue
@@ -1,465 +1,508 @@
-
- {{step.name}}
- {{step.number}}
-
- {{item.name}}
-
- {{step.instruction_content}}
-
+
+
+ {{stepDO.name}}
+ {{stepDO.number}}
+
+ {{item.name}}
+
+ {{step.instruction_content}}
+
+
+
-
-
- 新增
-
+
+ 新增
+
+ :data="recordformList.results"
+ border
+ fit
+ stripe
+ highlight-current-row
+ height="100"
+ v-el-height-adaptive-table="{bottomOffset: 50}"
+ @current-change="handleCurrentChange"
+ >
-
-
- {{ scope.row.name }}
+
+
+ {{ scope.row.name }}
-
-
+
-
-
- 编辑
- 删除
+
+ 编辑
+ 删除
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
- 取消
- 确认
-
-
-
+
+
+ 取消
+ 确认
+
+
+
-
-
-
- 新增
-
-
-
- {{ options_[scope.row.field_type] }}
-
+
+
+
+ 新增
+
- {{ scope.row.field_name }}
-
+ :data="fieldList.results"
+ border
+ fit
+ stripe
+ highlight-current-row
+ height="100"
+ v-el-height-adaptive-table="{bottomOffset: 50}"
+
+ >
+
+
+
+ {{ options_[scope.row.field_type] }}
+
+
+
+ {{ scope.row.field_name }}
+
+
+
+ {{ scope.row.field_key }}
+
+
+ {{ scope.row.boolean_field_display }}
+
+
+ {{ scope.row.field_choice }}
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确认
+
+
+
+
+
+
-
- {{ scope.row.field_key }}
-
-
- {{ scope.row.boolean_field_display }}
-
-
- {{ scope.row.field_choice }}
-
-
-
- 编辑
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 添加
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 取消
- 确认
-
-
+
+