From c25bc213afcb363dbe12956eb99cf8b07a3486f7 Mon Sep 17 00:00:00 2001
From: shilixia <2309368887@qq.com>
Date: Tue, 1 Mar 2022 09:31:39 +0800
Subject: [PATCH] tijiao
---
hb_client/src/views/em/equipment.vue | 6 +-
hb_client/src/views/em/monitoring.vue | 11 +++-
hb_client/src/views/em/record.vue | 11 +++-
hb_client/src/views/inm/fifo.vue | 20 ++++++-
hb_client/src/views/inm/fifodetail.vue | 42 ++++++++++---
hb_client/src/views/inm/materialbatch.vue | 3 +
hb_client/src/views/mtm/productprocess.vue | 2 +-
hb_client/src/views/wpm/need.vue | 38 +++++++-----
hb_client/src/views/wpm/operation.vue | 2 +-
hb_client/src/views/wpm/operationdo.vue | 69 ++++++++++++----------
hb_client/src/views/wpm/worktask.vue | 1 +
11 files changed, 144 insertions(+), 61 deletions(-)
diff --git a/hb_client/src/views/em/equipment.vue b/hb_client/src/views/em/equipment.vue
index 7b616e6..1ed7500 100644
--- a/hb_client/src/views/em/equipment.vue
+++ b/hb_client/src/views/em/equipment.vue
@@ -65,13 +65,13 @@
-
+
{{ state_[scope.row.state] }}
-
+
{{ state_[scope.row.state] }}
-
+
{{ state_[scope.row.state] }}
diff --git a/hb_client/src/views/em/monitoring.vue b/hb_client/src/views/em/monitoring.vue
index 681c604..995dadb 100644
--- a/hb_client/src/views/em/monitoring.vue
+++ b/hb_client/src/views/em/monitoring.vue
@@ -84,7 +84,16 @@
{{ usetype_[scope.row.way] }}
- {{ state_[scope.row.state] }}
+
+
+ {{ state_[scope.row.state] }}
+
+
+
+ {{ state_[scope.row.state] }}
+
+
+
diff --git a/hb_client/src/views/em/record.vue b/hb_client/src/views/em/record.vue
index 346b554..fdb1c15 100644
--- a/hb_client/src/views/em/record.vue
+++ b/hb_client/src/views/em/record.vue
@@ -52,7 +52,16 @@
{{ scope.row.equipment_.model }}
- {{ state_[scope.row.equipment_.state] }}
+
+
+ {{ state_[scope.row.equipment_.state] }}
+
+
+
+ {{ state_[scope.row.equipment_.state] }}
+
+
+
{{ scope.row.check_date }}
diff --git a/hb_client/src/views/inm/fifo.vue b/hb_client/src/views/inm/fifo.vue
index 27b6a54..c8ab286 100644
--- a/hb_client/src/views/inm/fifo.vue
+++ b/hb_client/src/views/inm/fifo.vue
@@ -141,7 +141,7 @@
:visible.sync="dialogVisible"
:close-on-click-modal="false"
width="90%"
- :title="dialogType === 'edit' ? '编辑出/如库记录' : '新增出/如库记录'"
+ :title="dialogType === 'edit' ? '编辑入库记录' : '新增入库记录'"
>
+
+
+
+
+
+
+
+
- 新增采购项入库
{{ scope.row.count }}
-
+
否
是
-
+
不合格
合格
-
+
{{
@@ -61,7 +74,12 @@
-
+
-
-
+
+
@@ -154,6 +172,16 @@
+
+
+
+
diff --git a/hb_client/src/views/inm/materialbatch.vue b/hb_client/src/views/inm/materialbatch.vue
index 9955898..559ef7c 100644
--- a/hb_client/src/views/inm/materialbatch.vue
+++ b/hb_client/src/views/inm/materialbatch.vue
@@ -47,6 +47,9 @@
{{ scope.row.material_.specification }}
+
+ {{ scope.row.expiration_date }}
+
{{
diff --git a/hb_client/src/views/mtm/productprocess.vue b/hb_client/src/views/mtm/productprocess.vue
index 4dfc3c6..5608a46 100644
--- a/hb_client/src/views/mtm/productprocess.vue
+++ b/hb_client/src/views/mtm/productprocess.vue
@@ -578,7 +578,7 @@
:headers="upHeaders"
:file-list="fileList"
:limit="1"
- accept=".doc,.docx,.pdf,.jpg,.png,.tif,.gif,.apng"
+ accept=".pdf,.jpg,.png,.tif,.gif,.apng"
>
上传文件
diff --git a/hb_client/src/views/wpm/need.vue b/hb_client/src/views/wpm/need.vue
index aa54500..f3f7144 100644
--- a/hb_client/src/views/wpm/need.vue
+++ b/hb_client/src/views/wpm/need.vue
@@ -9,8 +9,9 @@
border
fit
stripe
- highlight-current-row
- max-height="700"
+ height="100"
+ highlight-current-row
+ v-el-height-adaptive-table="{bottomOffset: 50}"
>
@@ -96,8 +97,10 @@
border
fit
stripe
- highlight-current-row
- max-height="600"
+
+ height="100"
+ highlight-current-row
+ v-el-height-adaptive-table="{bottomOffset: 50}"
>
@@ -157,8 +160,9 @@
border
fit
stripe
- highlight-current-row
- max-height="600"
+ height="100"
+ highlight-current-row
+ v-el-height-adaptive-table="{bottomOffset: 50}"
>
@@ -270,11 +275,11 @@
@@ -286,8 +291,9 @@
border
fit
stripe
- highlight-current-row
- max-height="600"
+ height="100"
+ highlight-current-row
+ v-el-height-adaptive-table="{bottomOffset: 50}"
>
@@ -850,7 +856,7 @@
console.log(this.formbcp);
scrap(this.bcpbf, this.formbcp).then((response) => {
- if (response.data) {
+ if (response.code >= 200) {
this.$message.success("该半成品已报废!");
this.dialogFormVisiblebcp = false;
this.getList();
diff --git a/hb_client/src/views/wpm/operation.vue b/hb_client/src/views/wpm/operation.vue
index 11aabd4..fafe640 100644
--- a/hb_client/src/views/wpm/operation.vue
+++ b/hb_client/src/views/wpm/operation.vue
@@ -18,7 +18,7 @@
style="width: 100%"
height="100"
highlight-current-row
- v-el-height-adaptive-table="{bottomOffset: 30}"
+ v-el-height-adaptive-table="{bottomOffset: 50}"
>
diff --git a/hb_client/src/views/wpm/operationdo.vue b/hb_client/src/views/wpm/operationdo.vue
index 23e81b6..3ae609d 100644
--- a/hb_client/src/views/wpm/operationdo.vue
+++ b/hb_client/src/views/wpm/operationdo.vue
@@ -98,22 +98,26 @@
stripe
highlight-current-row
height="230"
- style="width: 100%"
+ style="width: 100%"
>
-
+
-
+
-
+
-
-
-
-
+
+
+
编辑
@@ -812,35 +816,41 @@ export default {
handleClick(tab) {
console.log(tab.name);
var str = tab.label.substr(tab.label.length - 1, 1);
- if (str == "x") {
- const xhr = new XMLHttpRequest();
+ // if (str == "x") {
+ // const xhr = new XMLHttpRequest();
- xhr.open("get", tab.name, true);
+ // xhr.open("get", tab.name, true);
- xhr.responseType = "arraybuffer";
+ // xhr.responseType = "arraybuffer";
- xhr.onload = () => {
- if (xhr.status == 200) {
- mammoth
- .convertToHtml({ arrayBuffer: new Uint8Array(xhr.response) })
- .then((resultObject) => {
- this.$nextTick(() => {
- this.wordText = resultObject.value;
- });
- });
- }
- };
- xhr.send();
- var filediv = document.getElementById("file");
- filediv.innerHTML =
- '