diff --git a/hb_client/src/components/customForm/index.vue b/hb_client/src/components/customForm/index.vue
index e9f17f3..66ab915 100644
--- a/hb_client/src/components/customForm/index.vue
+++ b/hb_client/src/components/customForm/index.vue
@@ -160,7 +160,7 @@
-
+
@@ -211,7 +211,7 @@
type: Boolean,
default: false
},
- number: {
+ numbers: {
type: String,
default: ''
},
@@ -307,7 +307,7 @@
},
methods: {
checkValue() {
- this.number = this.number.replace(/[^0-9a-zA-Z]/g, '');
+ this.numbers = this.numbers.replace(/[^0-9a-zA-Z]/g, '');
},
filterBlock(rule, index, field_key) {
let that = this;
@@ -719,6 +719,7 @@
}
},
fieldData() {
+ debugger;
let that = this;
that.field = []; //检查项目
that.formData.forEach((item) => {
@@ -740,7 +741,7 @@
that.testrecord.record_data = that.field;//检查项列表
that.testrecord.is_testok = that.is_testok;//检查表检查结果
that.testrecord.id = that.recordId;//记录id
- that.testrecord.number = that.number;//编号
+ that.testrecord.number = that.numbers;//编号
that.testrecord.remark = that.remark;//备注
if (that.index === '2') {//提交
this.$emit('recordSubmit', that.testrecord);
diff --git a/hb_client/src/views/pm/plan.vue b/hb_client/src/views/pm/plan.vue
index 966e079..9688864 100644
--- a/hb_client/src/views/pm/plan.vue
+++ b/hb_client/src/views/pm/plan.vue
@@ -88,7 +88,7 @@
>
@@ -101,6 +101,7 @@
>
启用
+
diff --git a/hb_client/src/views/pm/work.vue b/hb_client/src/views/pm/work.vue
index 7f6e8fc..5f738f1 100644
--- a/hb_client/src/views/pm/work.vue
+++ b/hb_client/src/views/pm/work.vue
@@ -69,14 +69,14 @@
>
修改日期
@@ -244,7 +244,10 @@
20: '已下达',
30: '已接受',
40: '生产中',
- 50: '已完成'
+ 50: '已完成',
+ 60: "军检完成",
+ 70: "暂停",
+ 80: "终止",
}
};
},
diff --git a/hb_client/src/views/wpm/need.vue b/hb_client/src/views/wpm/need.vue
index e408d52..e637c94 100644
--- a/hb_client/src/views/wpm/need.vue
+++ b/hb_client/src/views/wpm/need.vue
@@ -521,7 +521,7 @@
:formID="recordform"
:wproduct="wproduct"
:remark="remark"
- :number="number"
+ :numbers="numbers"
:recordId="recordId"
:isDisabled="isDisabled"
:isMidTesting="is_midtesting"
@@ -939,7 +939,7 @@
{text: '镀膜', value: '镀膜'}, {text: '断膜', value: '断膜'}, {text: '汇流条制备', value: '汇流条制备'},
{text: '夹层', value: '夹层'}, {text: '包边', value: '包边'}],
remark:'',
- number:'',
+ numbers:null,
};
},
computed: {},
@@ -1231,6 +1231,8 @@
that.innerIndex = index;
// this.outerVisible = true;
that.wproduct = scope.row.id;//半成品ID
+ this.numbers = null;
+ this.remark = '';
that.listQueryrecordform.material = scope.row.material;
if (index === '3') {
that.listQueryrecordform.type = 40;
@@ -1280,13 +1282,14 @@
//点击记录里的检验
handleInspectionRecord(scope) {
+ debugger;
let that = this;
that.fieldList = [];
that.recordVisible = false;
that.recordId = scope.row.id;
that.recordform = scope.row.form;
- that.number = scope.row.number;
- that.remark = scope.row.remark;
+ that.numbers = scope.row.number?scope.row.number:null;
+ that.remark = scope.row.remark?scope.row.remark:'';
that.formName = scope.row.form_.name;
if (that.innerIndex !== '2') {//非复检
getrffieldList({form: this.recordform, enabled: true, page: 1, page_size: 100}).then((response) => {
@@ -1370,8 +1373,8 @@
that.recordFinishedVisible = true;
that.formName = res.data.form_.name;
that.fieldList = res.data.record_data;
- that.number = res.data.number;
- that.remark = res.data.remark;
+ that.numbers = res.data.number?res.data.number:'';
+ that.remark = res.data.remark?res.data.remark:'';
}
})
},
@@ -1507,8 +1510,12 @@
let params = {};
params.record_data = value.record_data;
params.is_testok = value.is_testok;
- params.number = value.number;
- params.remark = value.remark;
+ if(value.number){
+ params.number = value.number;
+ }
+ if(value.remark){
+ params.remark = value.remark;
+ }
putTestRecordItem(id, params).then((res) => {
if (res.code >= 200) {
that.recordVisible = false;
@@ -1533,8 +1540,13 @@
params.id = value.id;
params.is_testok = value.is_testok;
params.record_data = value.record_data;
- params.number = value.number;
- params.remark = value.remark;
+ debugger;
+ if(value.number){
+ params.number = value.number;
+ }
+ if(value.remark){
+ params.remark = value.remark;
+ }
that.params = params;
that.limitedPhoto = true;
},
@@ -1545,6 +1557,12 @@
let params = new Object();
params.is_testok = that.params.is_testok;
params.record_data = that.params.record_data;
+ if(this.params.number){
+ params.number = this.params.number;
+ }
+ if(this.params.remark){
+ params.remark = this.params.remark;
+ }
params.token = data.token;
let text = '确定以操作员'+data.name+'身份提交?';
if (data.token !== '' && data.token !== null && data.token !== undefined) {
diff --git a/hb_client/src/views/wpm/worktask.vue b/hb_client/src/views/wpm/worktask.vue
index 23fb646..a304125 100644
--- a/hb_client/src/views/wpm/worktask.vue
+++ b/hb_client/src/views/wpm/worktask.vue
@@ -67,6 +67,11 @@
{{ state_[scope.row.state] }}
+
+
+ {{ state_[scope.row.production_plan_.state] }}
+
+
未领料
@@ -86,21 +91,21 @@
>
领料
继续领料
@@ -778,11 +783,14 @@
},
state_: {
- 0: "制定中",
- 1: "已下达",
- 2: "已接受",
- 3: "生产中",
- 4: "已完成",
+ 10: "制定中",
+ 20: "已下达",
+ 30: "已接受",
+ 40: "生产中",
+ 50: "已完成",
+ 60: "军检完成",
+ 70: "暂停",
+ 80: "终止",
},
listLoading: true,
id: "",