diff --git a/src/css/ali.css b/src/assets/css/ali.css
similarity index 100%
rename from src/css/ali.css
rename to src/assets/css/ali.css
diff --git a/src/css/font_3733417_ws9m9bvag1h.woff2 b/src/assets/css/font_3733417_ws9m9bvag1h.woff2
similarity index 100%
rename from src/css/font_3733417_ws9m9bvag1h.woff2
rename to src/assets/css/font_3733417_ws9m9bvag1h.woff2
diff --git a/src/views/activiti/applyList.vue b/src/views/activiti/applyList.vue
index a2e35f6..ce9f41c 100644
--- a/src/views/activiti/applyList.vue
+++ b/src/views/activiti/applyList.vue
@@ -162,6 +162,7 @@
@@ -238,6 +239,7 @@
title: '标题',
align:"left",
dataIndex: 'title',
+ align:"center",
scopedSlots: { customRender: 'logContent' },
sorter: true
},
@@ -334,6 +336,7 @@
hieg: false,
procInstId:'',
pictureId:'',
+ itemId:'',
},
form:{
priority:0,
@@ -494,6 +497,7 @@
isView = isView||false;
this.lcModa.disabled = isView;
this.lcModa.hieg = isView;
+ this.lcModa.itemId=r.tableId
this.lcModa.title = '修改流程业务信息:'+r.title;
if (isView) this.lcModa.title = '查看流程业务信息:'+r.title;
this.lcModa.formComponent = this.getFormComponent(r.routeName).component;
diff --git a/src/views/activiti/doneManage.vue b/src/views/activiti/doneManage.vue
index c4f5f4a..225b153 100644
--- a/src/views/activiti/doneManage.vue
+++ b/src/views/activiti/doneManage.vue
@@ -125,6 +125,7 @@
@@ -176,6 +177,7 @@ export default {
title:'',
disabled:false,
visible:false,
+ itemId:'',
formComponent : null,
isNew : false
},
@@ -201,6 +203,9 @@ export default {
});
},
removeHtmlStyle(str) {
+ if (!str){
+ return;
+ }
str = str.replace(/<\/?[^>]*>/g, ''); //匹配所有html标签
str = str.replace(/
]*>/g, '
'); //去除标签内所有属性,并设置自定义类名
@@ -237,6 +242,7 @@ export default {
return;
}
this.lcModa.disabled = true
+ this.lcModa.itemId=r.tableId
this.lcModa.title = '查看流程业务信息:' + r.processName
this.lcModa.formComponent = this.getFormComponent(r.routeName).component
this.lcModa.processData = r
diff --git a/src/views/activiti/form/ProcessMaterialWarehousing.vue b/src/views/activiti/form/ProcessMaterialWarehousing.vue
index fb52482..3bc3e57 100644
--- a/src/views/activiti/form/ProcessMaterialWarehousing.vue
+++ b/src/views/activiti/form/ProcessMaterialWarehousing.vue
@@ -68,6 +68,9 @@
},
created() {
console.log(this.itemId,"this.itemId")
+ if (this.itemId){
+ this.isTable=true
+ }
this.$route.query.item=this.itemId
},
methods: {
diff --git a/src/views/activiti/form/ProcessUdgetPlan.vue b/src/views/activiti/form/ProcessUdgetPlan.vue
index f92f6d2..93c49ce 100644
--- a/src/views/activiti/form/ProcessUdgetPlan.vue
+++ b/src/views/activiti/form/ProcessUdgetPlan.vue
@@ -119,7 +119,9 @@
// }
// },
created() {
- console.log(this.itemId,"this.itemId")
+ if (this.itemId){
+ this.isTable=true
+ }
this.$route.query.item=this.itemId
},
methods: {
diff --git a/src/views/activiti/form/ProcessUdgetPlanForm.vue b/src/views/activiti/form/ProcessUdgetPlanForm.vue
index 8643f2c..5934e3b 100644
--- a/src/views/activiti/form/ProcessUdgetPlanForm.vue
+++ b/src/views/activiti/form/ProcessUdgetPlanForm.vue
@@ -10,11 +10,6 @@
-
-
-
-
-
@@ -36,6 +31,11 @@
date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" disabled/>
+
+
+
+
+
历史价格:{{ item }}
- 查看
+ 查看
- 历史价格:{{ item.price }} 历史数量:{{item.quantity}}
+
历史价格:{{ item.price }} 历史数量:{{item.quantity}}
修改人:{{item.createBy_dictText}}
- 记录
+ 记录
@@ -144,7 +144,7 @@
库存数:{{ wateNumber }}
- 库存
+ 库存
@@ -1190,6 +1190,7 @@
},
selectChang(val) {
+ console.log(val,"-----99956568989859")
if (val == 1) {
this.isIfInspection = true
} else {
@@ -1331,7 +1332,7 @@
}
if (formData.planType == 1 && formData.materialType != 6) {
console.log('格式化后的数据', formData)
- if (formData.ifDirect == null) {
+ if (formData.ifDirect == null && this.routePlanName == '采购员') {
this.$message.error('请选择是否属于直达物资!')
return
} else {
@@ -1383,7 +1384,7 @@
}
console.log(this.data, '数据回显')
- let fieldval = pick(this.data, 'id', 'planType', 'company', 'createTime', 'departId', 'createBy', 'materialType', 'processPlan', 'needTime', 'sort', 'orderNumber', 'fileId', 'opinion', 'sourceCapital', 'ifDirect', 'ifInspection')
+ let fieldval = pick(this.data, 'id','putUnder', 'planType', 'company', 'createTime', 'departId', 'createBy', 'materialType', 'processPlan', 'needTime', 'sort', 'orderNumber', 'fileId', 'opinion', 'sourceCapital', 'ifDirect', 'ifInspection')
this.$nextTick(() => {
this.assigneesText = this.data.materialType
this.form.setFieldsValue(fieldval)
@@ -1556,7 +1557,7 @@
}
if (formData.planType == 1 && formData.materialType != 6) {
console.log('格式化后的数据', formData)
- if (formData.ifDirect == null) {
+ if (formData.ifDirect == null && this.routePlanName == '采购员') {
this.$message.error('请选择是否属于直达物资!')
return
} else {
diff --git a/src/views/activiti/historicDetail.vue b/src/views/activiti/historicDetail.vue
index 211b6f6..732c5f2 100644
--- a/src/views/activiti/historicDetail.vue
+++ b/src/views/activiti/historicDetail.vue
@@ -153,6 +153,9 @@ export default {
this.getDataList();
},
removeHtmlStyle(str) {
+ if (!str){
+ return ;
+ }
str = str.replace(/<\/?[^>]*>/g, ''); //匹配所有html标签
str = str.replace(/]*>/g, '
'); //去除标签内所有属性,并设置自定义类名
diff --git a/src/views/activiti/processFinishManage.vue b/src/views/activiti/processFinishManage.vue
index 18b57e0..7b29149 100644
--- a/src/views/activiti/processFinishManage.vue
+++ b/src/views/activiti/processFinishManage.vue
@@ -136,6 +136,7 @@
@@ -156,6 +157,7 @@ export default {
title:'',
disabled:false,
visible:false,
+ itemId:'',
formComponent : null,
isNew : false
},
@@ -231,6 +233,7 @@ export default {
return;
}
console.log(r.id,'查看数据********')
+ this.lcModa.itemId=r.tableId
this.lcModa.disabled = true;
this.lcModa.title = '查看流程业务信息:'+r.name;
this.lcModa.formComponent = this.getFormComponent(r.routeName).component;
diff --git a/src/views/activiti/processInsManage.vue b/src/views/activiti/processInsManage.vue
index f24a78b..4c19750 100644
--- a/src/views/activiti/processInsManage.vue
+++ b/src/views/activiti/processInsManage.vue
@@ -138,6 +138,7 @@
@@ -159,6 +160,7 @@ export default {
return {
openSearch: true,
openTip: true,
+
loading: true, // 表单加载状态
selectCount: 0, // 多选计数
selectList: [], // 多选数据
@@ -197,6 +199,7 @@ export default {
title:'',
disabled:false,
visible:false,
+ itemId:'',
formComponent : null,
isNew : false
},
@@ -290,6 +293,7 @@ export default {
);
return;
}
+ this.lcModa.itemId=r.tableId
this.lcModa.disabled = true;
this.lcModa.title = '查看流程业务信息:'+r.name;
this.lcModa.formComponent = this.getFormComponent(r.routeName).component;
diff --git a/src/views/dashboard/HomePage.vue b/src/views/dashboard/HomePage.vue
index 22e55b5..cba41a1 100644
--- a/src/views/dashboard/HomePage.vue
+++ b/src/views/dashboard/HomePage.vue
@@ -347,7 +347,7 @@ export default {