diff --git a/hb_client/src/components/customForm/index.vue b/hb_client/src/components/customForm/index.vue
index 5c72c11..85b3d8f 100644
--- a/hb_client/src/components/customForm/index.vue
+++ b/hb_client/src/components/customForm/index.vue
@@ -687,11 +687,13 @@
that.field = []; //检查项目
let submit = isSubmit=='1'?false:true;
that.formData.forEach((item) => {
- let field_value = 0;
+ let field_value = null;
if(item.field_type==='int'){
field_value = parseInt(that.checkForm[item.field_key])
}else if(item.field_type==='float'){
field_value = parseFloat(that.checkForm[item.field_key])
+ }else{
+ field_value = that.checkForm[item.field_key];
}
that.field.push({
id: item.id,
diff --git a/hb_client/src/views/workflow/index.vue b/hb_client/src/views/workflow/index.vue
index 0fe684c..5a57a88 100644
--- a/hb_client/src/views/workflow/index.vue
+++ b/hb_client/src/views/workflow/index.vue
@@ -428,20 +428,20 @@ export default {
// 检查json
checkJson(){
if (this.hasJsonFlag == false){
- alert("限制表达式json验证失败")
+ // alert("限制表达式json验证失败")
return false
} else {
- alert("限制表达式json验证成功")
+ // alert("限制表达式json验证成功")
return true
}
},
// 检查json
checkJson2(){
if (this.hasJsonFlag1 == false){
- alert("展现表单字段json验证失败")
+ // alert("展现表单字段json验证失败")
return false
} else {
- alert("展现表单字段json1验证成功")
+ // alert("展现表单字段json1验证成功")
return true
}
},
diff --git a/hb_client/src/views/workflow/state.vue b/hb_client/src/views/workflow/state.vue
index e1b30e1..237267a 100644
--- a/hb_client/src/views/workflow/state.vue
+++ b/hb_client/src/views/workflow/state.vue
@@ -184,15 +184,20 @@
-
-
-
-
+
-
+
@@ -292,6 +297,21 @@
value: 9,
label: '代码获取'
}],
+ state_fields:[
+ {
+ value: 1,
+ label: '只读'
+ },{
+ value: 2,
+ label: '必填'
+ },{
+ value: 3,
+ label: '可选'
+ },{
+ value: 4,
+ label: '隐藏'
+ },
+ ],
display_form_str: [],
limit_expression: [],
dialogVisible: false,
@@ -316,8 +336,8 @@
methods: {
checkPermission(value){
- debugger;
- console.log(checkPermission(value))
+ /* debugger;
+ console.log(checkPermission(value))*/
checkPermission(value);
},
diff --git a/hb_client/src/views/workflow/ticketHandle.vue b/hb_client/src/views/workflow/ticketHandle.vue
index 85ef7ae..8ce5ad5 100644
--- a/hb_client/src/views/workflow/ticketHandle.vue
+++ b/hb_client/src/views/workflow/ticketHandle.vue
@@ -132,7 +132,6 @@
加签处理
{{item.name}}
-
@@ -316,6 +315,24 @@
let dat = that.flowSteps.filter((item)=>{
return item.id==state;
})
+ debugger;
+ let state_fields = dat[0].state_fields;
+ if(state_fields!=={}){
+ for (let labe in state_fields) {
+ for(let j = 0;j1){}else{
@@ -333,6 +350,7 @@
getWfStateList(workflow).then((response) => {
if (response.data) {
let nodes = response.data;
+
// 添加节点
nodes.forEach((item) => {
if(item.sort==that.sort){
@@ -455,8 +473,6 @@
}
})
});
-
-
},
activated(){
},
@@ -516,7 +532,6 @@
.style('left', `${d3.event.pageX + 15}px`)
.style('top', `${d3.event.pageY-10}px`)
},
-
// tooltip隐藏
tipHidden() {
this.tooltip
@@ -606,9 +621,6 @@
}
})
},
- addNode(){
-
- },
}
}
diff --git a/hb_client/src/views/wpm/productjy.vue b/hb_client/src/views/wpm/productjy.vue
index 638bb83..5126f4c 100644
--- a/hb_client/src/views/wpm/productjy.vue
+++ b/hb_client/src/views/wpm/productjy.vue
@@ -1,114 +1,241 @@
-
-
-
-
-
- {{ scope.row.material_.name }}
-
+
+
+
+
+
+ {{ scope.row.material_.name }}
+
-
- {{ scope.row.number }}
-
-
-
- {{ actstate_[scope.row.act_state] }}
-
-
+
+ {{ scope.row.number }}
+
+
+
+ {{ actstate_[scope.row.act_state] }}
+
+
-
- {{ scope.row.step_.name }}
-
+
+ {{ scope.row.step_.name }}
+
-
-
- 检验
-
-
-
-
-
-
-
-
-
- 批量入库
-
-
-
-
-
- {{ scope.row.material_.name }}
-
+
+
+ 检验
+
+ 检验
+
+ 检验记录
+
+
+
+
+
+
+
-
- {{ scope.row.number }}
-
-
-
- {{ actstate_[scope.row.act_state] }}
-
-
+
+
+ 批量入库
+
+
+
+
+
+
+ {{ scope.row.material_.name }}
+
-
- {{ scope.row.step_.name }}
-
+
+ {{ scope.row.number }}
+
+
+
+ {{ actstate_[scope.row.act_state] }}
+
+
-
-
- 入库
-
-
-
-
-
-
-
-
+
+ {{ scope.row.step_.name }}
+
+
+
+
+ 入库
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.form_.name }}
+
+
+ {{ checkTypes[scope.row.type] }}
+
+
+
+ 已提交
+ 未提交
+
+
+
+
+ 检验
+
+ 查看
+
+ 删除
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+