|
|
@@ -181,7 +181,7 @@
|
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
|
@click="handleRevenue(scope.row)"
|
|
|
- v-hasPermi="['company:company:revenue']"
|
|
|
+ v-hasPermi="['his:companyDivConfig:set']"
|
|
|
>分账配置</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -828,7 +828,7 @@ export default {
|
|
|
...response.data,
|
|
|
companyId: companyId,
|
|
|
companyName: row.companyName,
|
|
|
- isAdd: 1
|
|
|
+ isAdd: 0 // 已有配置,设置为更新操作
|
|
|
}
|
|
|
if(response.data.acctInfos == null){
|
|
|
this.revenueForm.acctInfos = []
|