|
@@ -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,
|