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/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 64f2d16..e7f6676 100644
--- a/hb_client/src/views/mtm/productprocess.vue
+++ b/hb_client/src/views/mtm/productprocess.vue
@@ -73,29 +73,29 @@
新增
+
-
+
{{scope.row.material_.number}}
-
+
{{scope.row.material_.name}}
-
+
{{ scope.row.material_.unit }}
-
+
{{ scope.row.count }}
@@ -104,7 +104,6 @@
@@ -169,12 +168,10 @@
>新增
@@ -263,12 +260,10 @@
>新增
@@ -282,7 +277,6 @@
@@ -338,8 +332,88 @@
>新增
- 新增
+
+
+
+ {{ scope.row.name }}
+
+
+
+
+
+ {{scope.row.file_.name}}
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上传文件
+
+
+
+
+
+ 取消
+ 确认
+
+
@@ -349,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 a0ea94c..cd9c760 100644
--- a/hb_client/src/views/mtm/step.vue
+++ b/hb_client/src/views/mtm/step.vue
@@ -29,7 +29,14 @@
{{ scope.row.number }}
-
+
+
+ {{item.name}}
+
+