Jelajahi Sumber

加上百分号

lifanagju_citu 4 bulan lalu
induk
melakukan
a628017497
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      src/views/salary/claim/components/form.vue

+ 3 - 3
src/views/salary/claim/components/form.vue

@@ -44,7 +44,7 @@ export default {
         }
       }, {
         label: '员工分润比例',
-        prop: 'ratioShow',
+        prop: 'employeeProfitSharingRatio',
         type: 'select',
         options: {
           filterable: true,
@@ -117,7 +117,7 @@ export default {
           ]
         },
         {
-          label: '分润比例',
+          label: '分润比例(%)',
           prop: 'employeeProfitSharingRatio',
           type: 'number',
           options: {
@@ -159,7 +159,7 @@ export default {
     async open (item) {
       this.loading = true
       this.itemData = item || {}
-      if (item?.employeeProfitSharingRatio) this.itemData.ratioShow = item.employeeProfitSharingRatio * 100
+      // this.itemData.ratioShow = item?.employeeProfitSharingRatio ? item.employeeProfitSharingRatio * 100 : ''
       this.formValues = {
         serialNumber: item.serialNumber,
         customerId: item.customerId,