diff --git a/src/views/bigScreen/index_photon.vue b/src/views/bigScreen/index_photon.vue
index cc6a3e25..7eceb216 100644
--- a/src/views/bigScreen/index_photon.vue
+++ b/src/views/bigScreen/index_photon.vue
@@ -966,41 +966,30 @@ export default {
},
getMaterialList() {
let that = this;
- this.$API.mtm.material.list
- .req({ page: 0, type: 20, count__gte: 1 })
- .then((res) => {
- let data = [];
- if (res.length > 0) {
- res.forEach((item) => {
+ let obj = {
+ query: {
+ "select_dept": "",
+ "groupby_dept": "",
+ "material_types": "20",
+ "select_material": "material.name as material_name",
+ "groupby_material": "material.name",
+ "select_material_name": "",
+ "groupby_material_name": ""
+ }
+ };
+ that.$API.bi.dataset.exec.req("materialCount", obj).then((res) => {
+ let data = [];
+ let list = res.data2.ds0;
+ if (list.length > 0) {
+ list.forEach((item) => {
let arr = [];
- let colorText = "";
- if (
- item.count_safe !== null &&
- item.count_safe < item.count
- ) {
- colorText =
- '' +
- item.count +
- "";
- } else {
- colorText =
- '' +
- item.count +
- "";
- }
- arr[0] =
- item.name +
- "|" +
- item.specification +
- "|" +
- item.model;
+ arr[0] = item.material_name ;
arr[1] = item.count;
data.push(arr);
});
}
that.taskBoard.data = data;
- // console.log('getMaterialList', data)
- });
+ })
},
showTime() {
this.currentTime = this.$TOOL.dateFormat(new Date(), "hh:mm:ss");
diff --git a/src/views/inm/mainso_mio.vue b/src/views/inm/mainso_mio.vue
index 57ea1e21..63ad6549 100644
--- a/src/views/inm/mainso_mio.vue
+++ b/src/views/inm/mainso_mio.vue
@@ -173,7 +173,7 @@
:type="type"
:cate="cate"
:mioId="mioId"
- @closed="visibleDrawer = false"
+ @closed="closedFun"
>
@@ -307,6 +307,10 @@ export default {
handleSaveSuccess() {
this.$refs.table.refresh();
},
+ closedFun(){
+ this.visibleDrawer = false;
+ this.$refs.table.refresh();
+ },
},
};
diff --git a/src/views/inm/mioitem_check.vue b/src/views/inm/mioitem_check.vue
index 38db64f5..20fa0bde 100644
--- a/src/views/inm/mioitem_check.vue
+++ b/src/views/inm/mioitem_check.vue
@@ -816,8 +816,8 @@
-
-
+
+
diff --git a/src/views/login/components/passwordForm.vue b/src/views/login/components/passwordForm.vue
index 43c23d5c..6943ee0d 100644
--- a/src/views/login/components/passwordForm.vue
+++ b/src/views/login/components/passwordForm.vue
@@ -18,8 +18,9 @@
-
- {{ $t("login.forgetPassword") }}?
+
+
+ {{ $t("login.forgetPassword") }}?
@@ -64,6 +65,7 @@ export default {
return {
redirect: undefined,
userType: "admin",
+ project_code:"",
visitorsdialog: false,
visitorform: {},
form: {
@@ -105,7 +107,10 @@ export default {
immediate: true,
},
},
- mounted() { },
+ mounted() {
+ this.project_code = this.$TOOL.data.get("BASE_INFO").base.base_code;
+ console.log('this.project_code',this.project_code);
+ },
methods: {
async login() {
let that = this;
diff --git a/src/views/statistics/bxerp/defect.vue b/src/views/statistics/bxerp/defect.vue
index 1f7d1459..433b7545 100644
--- a/src/views/statistics/bxerp/defect.vue
+++ b/src/views/statistics/bxerp/defect.vue
@@ -53,7 +53,7 @@
{{((scope.row.剪切合格/scope.row.总切片数)*100).toFixed(2) }}%
-
+
{{ (((scope.row.总切片数-scope.row['剪切¢18.3mm不合格'].含)/scope.row.总切片数)*100).toFixed(2) }}%
100%
@@ -71,14 +71,15 @@
0%
-
+
- {{((scope.row.总切片合格数/scope.row.总切片数)*100).toFixed(2) }}%
+ {{((scope.row.加工率数/scope.row.总切片数)*100).toFixed(2) }}%
+
- {{((scope.row.总切片完全合格数/scope.row.总切片数)*100).toFixed(2) }}%
+ {{((scope.row.暗点合格.仅/scope.row.总切片数)*100).toFixed(2) }}%
@@ -87,7 +88,6 @@