|
@@ -27,7 +27,8 @@
|
|
|
<el-button size="small" type="primary" @click="GetClientWord">导出客户报表</el-button>
|
|
|
<el-button size="small" type="primary" @click="GetGroupCostExcel">导出成本</el-button>
|
|
|
<!-- <el-button type="primary">一键复制</el-button> -->
|
|
|
- <el-button size="small" type="primary" @click="GroupIsShare">成本通知</el-button>
|
|
|
+ <el-button v-if="isShare==1" size="small" type="info" @click="GroupIsShare">取消成本通知</el-button>
|
|
|
+ <el-button v-if="isShare==0" size="small" type="primary" @click="GroupIsShare">成本通知</el-button>
|
|
|
<el-button size="small" type="primary" @click="save">保存设置</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -2644,6 +2645,7 @@ export default {
|
|
|
autoSave: null,
|
|
|
acconarr:[],
|
|
|
acconarrs:[],
|
|
|
+ isShare:0,
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
@@ -3156,6 +3158,8 @@ export default {
|
|
|
var acostvalue = resp.data.data.groupCostParameter.filter(x => x.costType == 'A')[0];
|
|
|
if (acostvalue != undefined) {
|
|
|
that.AGroupCostParameter = acostvalue;
|
|
|
+ that.isShare=that.AGroupCostParameter.isShare;//是否通知
|
|
|
+ console.log(that.AGroupCostParameter)
|
|
|
var result = Number(that.AGroupCostParameter.currency);
|
|
|
if (isNaN(result)) {
|
|
|
|
|
@@ -4537,6 +4541,7 @@ export default {
|
|
|
}).then(resp => {
|
|
|
////console.log(resp.data.data, '------------------------------------');
|
|
|
if (resp.data.code == 200) {
|
|
|
+ this.isShare=resp.data.data.isShare;
|
|
|
this.$message({
|
|
|
message: '操作成功!' + resp.data.msg,
|
|
|
type: 'success'
|