change - 生产工单排产->工期保留两位小数

master
yinq 4 months ago
parent 053581c5d9
commit 04e0648979

@ -540,7 +540,7 @@ export default {
const dateObj2 = new Date(date2); const dateObj2 = new Date(date2);
// //
const timeDifference = dateObj2 - dateObj1; const timeDifference = dateObj2 - dateObj1;
return timeDifference / (1000 * 60 * 60 * 24); return (timeDifference / (1000 * 60 * 60 * 24)).toFixed(2);
}, },
/** 展开/折叠操作 */ /** 展开/折叠操作 */
toggleExpandAll() { toggleExpandAll() {

Loading…
Cancel
Save