diff --git a/hb_client/src/views/inm/materialbatch.vue b/hb_client/src/views/inm/materialbatch.vue
index 559ef7c..b2250be 100644
--- a/hb_client/src/views/inm/materialbatch.vue
+++ b/hb_client/src/views/inm/materialbatch.vue
@@ -47,10 +47,15 @@
{{ scope.row.material_.specification }}
-
- {{ scope.row.expiration_date }}
+
+
+
+
+ {{scope.row.expiration_date}}
+
+
-
{{
scope.row.material_.number
@@ -130,7 +135,23 @@ export default {
this.listLoading = false;
});
},
-
+//校准时间提醒
+ setClass:function(check_date) {
+ let obj = {};
+ if(check_date!=null){
+ let dat = new Date();
+ let time = dat.getTime();
+ let check = new Date(check_date).getTime();
+ let timeDiffer = (check-time)/1000/60/60/24;
+ if (timeDiffer<0) {
+ obj = "danger";
+ }
+
+
+
+ }
+ return obj;
+ },
handleFilter() {
this.listQuery.page = 1;
this.getList();
diff --git a/hb_client/src/views/sam/salesdetail.vue b/hb_client/src/views/sam/salesdetail.vue
index 4169d19..08a5459 100644
--- a/hb_client/src/views/sam/salesdetail.vue
+++ b/hb_client/src/views/sam/salesdetail.vue
@@ -26,7 +26,7 @@
{{ salesdetail.order_.number }}
- 物流单
+ 物流单
上传物流信息
@@ -295,6 +295,7 @@ export default {
},
handleUpSuccess(res, file, filelist) {
this.ship.path = res.data.path;
+ this.salesdetail.ship_pic=res.data.path;
console.log(this.ship.path)
},
handleRemove(file, filelist){
diff --git a/hb_client/src/views/wpm/worktask.vue b/hb_client/src/views/wpm/worktask.vue
index f53197f..73501b6 100644
--- a/hb_client/src/views/wpm/worktask.vue
+++ b/hb_client/src/views/wpm/worktask.vue
@@ -935,7 +935,13 @@
//车间物料表
this.getwmaterialLists();
// 半成品表
- this.getwproductLists();
+ getwproductList({page:0,tag:'no_scrap'}).then((response) => {
+ if (response.data) {
+ this.wproductData = response.data;
+ //console.log( this.wproductData)
+ }
+ });
+
},
//大工序下子工序产出的半成品
@@ -1009,6 +1015,14 @@
this.dialogVisiblenw = false;
this.$message.success("领料成功!");
+
+ this.listQuery.process = this.process;
+
+ getsubplanList(this.listQuery).then((response) => {
+ if (response.data) {
+ this.subproductionplanList = response.data;
+ }
+ });
//车间物料表
this.getwmaterialLists();
// 半成品表