取消
@@ -189,8 +190,14 @@
import {genTree} from "@/utils";
import Pagination from "@/components/Pagination"; // secondary package based on el-pagination
const defaultmaterial = {
- name: "",
- number: "",
+ name: null,
+ number: null,
+ specification: null,
+ unit: null,
+ type: null,
+ piece_count: null,
+ sort_str: null,
+ count_safe: 0,
processes: [],
};
export default {
@@ -270,19 +277,13 @@
created() {
this.getList();
this.getProcessList();
-
},
methods: {
checkPermission,
-
//物料详情
- handledetail(scope)
- {
+ handledetail(scope){
this.$router.push({name: "MaterialDetail", params: { id: scope.row.id,type: scope.row.type }, })
-
},
-
-
//选项卡切换
handleClick(tab) {
this.listLoading = true;
@@ -311,10 +312,8 @@
},
//绑定工序
handlebind(scope) {
-
this.$router.push({name: "MaterialDO", params: {id: scope.row.id},})
- }
- ,
+ },
handleFilter() {
this.listQuery.page = 1;
this.getList();
@@ -324,7 +323,7 @@
this.listQuery = {
page: 1,
page_size: 20,
- }
+ };
this.getList();
},
handleCreate() {
@@ -335,7 +334,6 @@
this.$refs["Form"].clearValidate();
});
},
-
handleEdit(scope) {
this.material = Object.assign({}, scope.row); // copy obj
this.dialogType = "edit";
@@ -359,7 +357,6 @@
console.error(err);
});
},
-
async confirm(form) {
this.$refs[form].validate((valid) => {
if (valid) {
diff --git a/hb_client/src/views/mtm/materialdo.vue b/hb_client/src/views/mtm/materialdo.vue
index 19b98e6..b42acd3 100644
--- a/hb_client/src/views/mtm/materialdo.vue
+++ b/hb_client/src/views/mtm/materialdo.vue
@@ -82,8 +82,8 @@
取消
-
- 管理员授权
+ 确认
+
diff --git a/hb_client/src/views/pm/plandetails.vue b/hb_client/src/views/pm/plandetails.vue
index fdcf322..2988bab 100644
--- a/hb_client/src/views/pm/plandetails.vue
+++ b/hb_client/src/views/pm/plandetails.vue
@@ -1,313 +1,255 @@
-
- {{productionplan.number}}
- {{productionplan.product_.name}}
- {{productionplan.product_.specification}}
- {{productionplan.count}}
- {{state_[productionplan.state]}}
- {{productionplan.start_date}}
- {{productionplan.end_date}}
-
-
-
-
-
-
-
-
-
- {{ scope.row.number }}
-
-
-
- {{
- scope.row.step_.name
- }}
-
-
- {{
- actstate_[scope.row.act_state]
- }}
-
-
- {{
- scope.row.step_.name
- }}
-
-
-
- 不合格
- 合格
-
-
-
-
-
- 查看
-
-
-
+ {{productionplan.number}}
+ {{productionplan.product_.name}}
+
+ {{productionplan.product_.specification}}
+
+ {{productionplan.count}}
+ {{state_[productionplan.state]}}
+ {{productionplan.start_date}}
+ {{productionplan.end_date}}
+
+
+
+
+ {{ scope.row.number }}
+
+
+
+ {{scope.row.step_.name}}
+
+
+
+ {{
+ actstate_[scope.row.act_state]
+ }}
+
+
+
+
+ {{scope.row.step_.name}}
+
+
+
+
+ 不合格
+ 合格
+
+
+
+
+ 查看
+
+
+
-
生成流程卡
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.form_.name }}
-
-
-
-
-
-
- 查看
+ >生成流程卡
-
-
-
+
+
+
+
+
+ {{ scope.row.form_.name }}
+
+
+
+ 查看
+
+
+
+
+
+
-
+
+
+
+ {{item.field_name}}:
+ {{item.field_value}}
+
+
+
+
+
{{item.field_name}}:
+
![]()
+
+
+
-
-
-
-
+
diff --git a/hb_client/src/views/qm/producttest.vue b/hb_client/src/views/qm/producttest.vue
index ef5b134..c8e9e87 100644
--- a/hb_client/src/views/qm/producttest.vue
+++ b/hb_client/src/views/qm/producttest.vue
@@ -119,7 +119,6 @@
:title="formName"
:visible.sync="recordVisible"
:close-on-click-modal="false"
- @close="recordCancel"
>
diff --git a/hb_client/src/views/qm/taskdetails.vue b/hb_client/src/views/qm/taskdetails.vue
index 37a1a93..117c79e 100644
--- a/hb_client/src/views/qm/taskdetails.vue
+++ b/hb_client/src/views/qm/taskdetails.vue
@@ -1,305 +1,283 @@
-
- {{productionplan.number}}
- {{productionplan.product_.name}}
- {{productionplan.product_.specification}}
- {{state_[productionplan.state]}}
- {{productionplan.count_notok}}
-
-
-
- 下料清单
-
-
-
-
-
-
-
-
- {{ scope.row.from_batch }}
-
-
- {{ scope.row.from_material_.specification }}
-
-
- {{ scope.row.from_material_.specification }}
-
-
- {{ scope.row.count_cut }}
-
-
- {{ scope.row.count_real }}
-
-
- {{ scope.row.count_ok }}
-
-
- {{ scope.row.create_by_.username }}
-
-
-
- {{ scope.row.count_qipao }}
-
-
- {{ scope.row.count_podian }}
-
-
- {{ scope.row.count_hua }}
-
-
- {{ scope.row.count_other }}
-
-
-
- {{ scope.row.create_by_.username }}
-
-
-
-
-
-
-
-
+
+ {{productionplan.number}}
+ {{productionplan.product_.name}}
+
+ {{productionplan.product_.specification}}
+
+ {{state_[productionplan.state]}}
+ {{productionplan.count_notok}}
+
+
+
+ 下料清单
+
-
-
-
-
-
- {{ scope.row.number }}
-
-
-
- {{
- scope.row.step_.name
- }}
-
-
- {{
- scope.row.material_.name
- }}
-
-
- {{
- actstate_[scope.row.act_state]
- }}
-
-
-
-
-
- 查看
+
+ {{ scope.row.from_batch }}
+
+
+ {{ scope.row.from_material_.specification }}
+
+
+ {{ scope.row.from_material_.specification }}
+
+
+ {{ scope.row.count_cut }}
+
+
+ {{ scope.row.count_real }}
+
+
+ {{ scope.row.count_ok }}
+
+
+ {{ scope.row.create_by_.username }}
+
+
+
+ {{ scope.row.count_qipao }}
+
+
+ {{ scope.row.count_podian }}
+
+
+ {{ scope.row.count_hua }}
+
+
+ {{ scope.row.count_other }}
+
+
+
+ {{ scope.row.create_by_.username }}
+
+
+
+
+
+
+
+
+ {{ scope.row.number }}
+
+
+
+ {{scope.row.step_.name}}
+
+
+
+
+ {{scope.row.material_.name}}
+
+
+
+
+ {{actstate_[scope.row.act_state]}}
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.process_name }}
-
-
- {{ scope.row.count_real }}
-
-
-
- {{ scope.row.count_ok }}
-
-
-
- {{ scope.row.count_notok }}
-
-
-
-
-
-
- 查看
+ 查看
+
+
+
+
+
+
+
+
+
+ {{ scope.row.process_name }}
+
+
+ {{ scope.row.count_real }}
+
+
+ {{ scope.row.count_ok }}
+
+
+ {{ scope.row.count_notok }}
+
+
-
-
-
-
-
-
+
+ 查看
+
+
+
+
+
-
-
-
-
diff --git a/hb_client/src/views/qm/taskrecordfrom.vue b/hb_client/src/views/qm/taskrecordfrom.vue
index c12eff3..f5edea3 100644
--- a/hb_client/src/views/qm/taskrecordfrom.vue
+++ b/hb_client/src/views/qm/taskrecordfrom.vue
@@ -46,7 +46,6 @@
:title="formName"
:visible.sync="recordVisible"
:close-on-click-modal="false"
- @close="recordCancel"
>
diff --git a/hb_client/src/views/workflow/index.vue b/hb_client/src/views/workflow/index.vue
index 5a57a88..1694c63 100644
--- a/hb_client/src/views/workflow/index.vue
+++ b/hb_client/src/views/workflow/index.vue
@@ -102,8 +102,10 @@
创建时间 :{{watchedCreateTime}}
-
+
+
+