diff --git a/hb_client/.env.production b/hb_client/.env.production
index 6bcb5e1..9305698 100644
--- a/hb_client/.env.production
+++ b/hb_client/.env.production
@@ -2,6 +2,7 @@
ENV = 'production'
# base api
-VUE_APP_BASE_API = 'http://192.168.1.250/api'
+#VUE_APP_BASE_API = 'http://192.168.1.250/api'
+VUE_APP_BASE_API = 'http://49.232.14.174:2222/api'
#VUE_APP_BASE_API = 'http://127.0.0.1:8000/api'
diff --git a/hb_client/src/router/index.js b/hb_client/src/router/index.js
index d921826..fa70183 100644
--- a/hb_client/src/router/index.js
+++ b/hb_client/src/router/index.js
@@ -261,9 +261,8 @@ export const asyncRoutes = [
path: 'firstCheck',
name: 'firstCheck',
component: () => import('@/views/wpm/firstCheck'),
- meta: { title: '首件确认', icon: 'finishedCheck', perms: ['wpm_firstCheck'] ,noCache: true}
+ meta: { title: '首件确认', icon: 'finishedCheck', perms: ['wpm_firstCheck']}
}
-
]
},
{
diff --git a/hb_client/src/views/wpm/need.vue b/hb_client/src/views/wpm/need.vue
index 4849653..4091f7b 100644
--- a/hb_client/src/views/wpm/need.vue
+++ b/hb_client/src/views/wpm/need.vue
@@ -266,10 +266,10 @@
{{ scope.row.step_.name }}
-
+
@@ -362,10 +362,10 @@
{{ scope.row.subproduction_plan_.number }}
-
+
diff --git a/hb_client/src/views/wpm/productjy.vue b/hb_client/src/views/wpm/productjy.vue
index 9d0e5b2..2d1dd98 100644
--- a/hb_client/src/views/wpm/productjy.vue
+++ b/hb_client/src/views/wpm/productjy.vue
@@ -91,6 +91,12 @@
{{ actstate_[scope.row.act_state] }}
+
+
+ {{scope.row.update_by_.username}}
+ {{scope.row.create_by_.username}}
+
+
{{scope.row.order_.number }}
diff --git a/hb_client/src/views/wpm/worktask.vue b/hb_client/src/views/wpm/worktask.vue
index 73501b6..4e5d163 100644
--- a/hb_client/src/views/wpm/worktask.vue
+++ b/hb_client/src/views/wpm/worktask.vue
@@ -134,10 +134,10 @@
{{ item.name }}
报废
@@ -841,29 +841,25 @@
//选项卡切换
handleClick(tab) {
- this.process = tab.name;
- this.listQuery.process = tab.name;
- if (tab.name == 1) {
- document.getElementById("scrap").style.display = "block";
- }
- this.steps = [];
- getsubplanList(this.listQuery).then((response) => {
+ let that = this;
+ that.process = tab.name;
+ that.listQuery.process = tab.name;
+ that.steps = [];
+ getsubplanList(that.listQuery).then((response) => {
if (response.data) {
- this.subproductionplanList = response.data;
+ that.subproductionplanList = response.data;
}
});
-
//子工序列表
-
getStepLists(tab.name).then((response) => {
if (response.data) {
- this.steps = response.data;
+ that.steps = response.data;
}
});
//车间物料表
- this.getwmaterialLists();
+ that.getwmaterialLists();
// 半成品表
- this.getwproductLists();
+ that.getwproductLists();
},
//车间物料
@@ -900,7 +896,6 @@
//工序对应的子计划,弹出对应的车间物料
handleCurrentChange(row) {
// this.steps = row.steps; //调出子工序
-
this.subproduction_plan = row.id; //子计划Id
this.getwproductLists();
getwmaterialList({
@@ -915,9 +910,29 @@
},
//大工序工序渲染
getProcessList() {
+ let that = this;
getProcessList({page: 0}).then((response) => {
if (response.data) {
- this.processOption = response.data;
+ that.processOption = response.data;
+ that.activeName = response.data[0].id;
+ that.process = response.data[0].id;
+ that.listQuery.process = response.data[0].id;
+ that.steps = [];
+ getsubplanList(that.listQuery).then((response) => {
+ if (response.data) {
+ that.subproductionplanList = response.data;
+ }
+ });
+ //子工序列表
+ getStepLists(response.data[0].id).then((response) => {
+ if (response.data) {
+ that.steps = response.data;
+ }
+ });
+ //车间物料表
+ that.getwmaterialLists();
+ // 半成品表
+ that.getwproductLists();
}
});
},
@@ -1013,9 +1028,7 @@
createPick(this.pickData).then((res) => {
if (res.code >= 200) {
this.dialogVisiblenw = false;
-
this.$message.success("领料成功!");
-
this.listQuery.process = this.process;
getsubplanList(this.listQuery).then((response) => {