|
@@ -398,7 +398,7 @@ const handleSubmit = async (_type) => {
|
|
|
);
|
|
|
}
|
|
|
} else if (flowForm.flowKey == "contract_flow") {
|
|
|
- data.dataJson = JSON.stringify(proxy.deepClone(data));
|
|
|
+ // data.dataJson = JSON.stringify(proxy.deepClone(data));
|
|
|
if (data.fileList && data.fileList.length > 0) {
|
|
|
data.fileList = data.fileList.map((item) => {
|
|
|
return {
|
|
@@ -435,7 +435,7 @@ const handleSubmit = async (_type) => {
|
|
|
};
|
|
|
});
|
|
|
} else if (flowForm.flowKey == "contract_update_flow") {
|
|
|
- data.dataJson = JSON.stringify(proxy.deepClone(data));
|
|
|
+ // data.dataJson = JSON.stringify(proxy.deepClone(data));
|
|
|
if (data.fileList && data.fileList.length > 0) {
|
|
|
data.fileList = data.fileList.map((item) => {
|
|
|
return {
|
|
@@ -472,7 +472,7 @@ const handleSubmit = async (_type) => {
|
|
|
};
|
|
|
});
|
|
|
} else if (flowForm.flowKey == "sample_flow") {
|
|
|
- data.dataJson = JSON.stringify(proxy.deepClone(data));
|
|
|
+ // data.dataJson = JSON.stringify(proxy.deepClone(data));
|
|
|
if (data.fileList && data.fileList.length > 0) {
|
|
|
data.fileList = data.fileList.map((item) => {
|
|
|
return {
|
|
@@ -509,7 +509,7 @@ const handleSubmit = async (_type) => {
|
|
|
};
|
|
|
});
|
|
|
} else if (flowForm.flowKey == "sample_update_flow") {
|
|
|
- data.dataJson = JSON.stringify(proxy.deepClone(data));
|
|
|
+ // data.dataJson = JSON.stringify(proxy.deepClone(data));
|
|
|
if (data.fileList && data.fileList.length > 0) {
|
|
|
data.fileList = data.fileList.map((item) => {
|
|
|
return {
|
|
@@ -794,7 +794,14 @@ onMounted(async () => {
|
|
|
userInfo.roles.includes("financeOfficer") ||
|
|
|
userInfo.roles.includes("approve_ accountant")) &&
|
|
|
(route.query.processType == 10 || route.query.processType == 30) &&
|
|
|
- route.query.flowKey != "after_sales_flow"
|
|
|
+ [
|
|
|
+ "contract_flow",
|
|
|
+ "contract_update_flow",
|
|
|
+ "sample_flow",
|
|
|
+ "sample_update_flow",
|
|
|
+ "ehsd_purchase_flow",
|
|
|
+ "ehsd_purchase_update_flow",
|
|
|
+ ].includes(route.query.flowKey)
|
|
|
) {
|
|
|
showChart.value = true;
|
|
|
}
|