zck 1 tahun lalu
induk
melakukan
e429dc56fb

+ 1 - 1
src/view/performance/12-orderAccounting/componets/gdcjstj.vue

@@ -105,7 +105,7 @@ const handlePrint1 = async() => {
       'total6': data['total']['loss'],
       'total7': data['total']['reward'],
       'table': data['gy_data'].map(item => ({
-        'gxmc': `${item.Gy0_yjno}${item.Gy0_gxh === '' ? '' : '-' + item.Gy0_gxh}${item.Gy0_gxmc === '' ? '' : '-' + item.Gy0_gxmc}${item.Add_gxmc === '' ? '' : '-' + item.Add_gxmc}`.substring(0, 20),
+        'gxmc': `${item.Gy0_yjno}${item.Gy0_gxh === '' ? '' : '-' + item.Gy0_gxh}${item.Gy0_gxmc === '' ? '' : '-' + item.Gy0_gxmc}`.substring(0, 20),
         'jhcl': item['Gy0_计划接货数'],
         'jhsh': item['Gy0_计划损耗'],
         'zcf': item['total_fp'],

File diff ditekan karena terlalu besar
+ 0 - 0
src/view/performance/12-orderAccounting/componets/template-bz.json


File diff ditekan karena terlalu besar
+ 0 - 0
src/view/performance/12-orderAccounting/componets/template-gx.json


+ 3 - 3
src/view/performance/chejianbaogong.vue

@@ -5370,9 +5370,9 @@ const fpsum = ref();
 //自动计算分配系数和
 function updateTotal() {
 	//机台班组维护中分配系数字段
-  const relevantKeys = ['percentage1', 'percentage2', 'percentage3', 'percentage4', 'percentage5', 'percentage6', 'percentage7',];  
-  const values = relevantKeys.map(key => Math.round(parseFloat(formDatas.value[key], 10) * 100) || 0); // 转换为整数
-  const sum = values.reduce((sum, value) => sum + value, 0); 
+  const relevantKeys = ['percentage1', 'percentage2', 'percentage3', 'percentage4', 'percentage5', 'percentage6', 'percentage7'];  
+  const values = relevantKeys.map(key => parseFloat(formDatas.value[key], 10) * 100 || 0); // 转换为百分比
+  const sum = values.reduce((sum, value) => sum + value, 0);
   fpsum.value = Math.round(sum * 100) / 10000; // 四舍五入到2位小数
 }
 

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini