Commit 4dea41b8 by 匡雅琴

修改

1 parent ab6fbc18
...@@ -221,6 +221,7 @@ export default { ...@@ -221,6 +221,7 @@ export default {
...this.curTempMerchant, ...this.curTempMerchant,
...this.tempDepart ...this.tempDepart
} }
console.log(this.curGLData)
let flag = false let flag = false
this.dataList.forEach(item => { this.dataList.forEach(item => {
if (item.departmentId == this.curGLData.departmentId || item.merchantId == this.curGLData.merchantId) { if (item.departmentId == this.curGLData.departmentId || item.merchantId == this.curGLData.merchantId) {
...@@ -242,6 +243,7 @@ export default { ...@@ -242,6 +243,7 @@ export default {
}, },
// 批量关联 // 批量关联
handleMutiGL() { handleMutiGL() {
console.log(this.dataList)
if (!this.dataList.length) { if (!this.dataList.length) {
this.$message({ this.$message({
message: '请先选择您要关联的账户', message: '请先选择您要关联的账户',
...@@ -289,15 +291,15 @@ export default { ...@@ -289,15 +291,15 @@ export default {
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.$apis.baseInfo.toGL(para).then(res => { // this.$apis.baseInfo.toGL(para).then(res => {
if (res) { // if (res) {
this.$message({ // this.$message({
message: '操作成功', // message: '操作成功',
type: 'success' // type: 'success'
}) // })
this.$router.push({ path: '/account/index' }) // this.$router.push({ path: '/account/index' })
} // }
}) // })
}) })
}, },
deleteLine(row) { deleteLine(row) {
......
...@@ -36,11 +36,11 @@ ...@@ -36,11 +36,11 @@
</div> </div>
<div class="sale-type-desc">跟进员工类型最多新增30个,已新增{{ empType.length - empTypeF.length }}个</div> <div class="sale-type-desc">跟进员工类型最多新增30个,已新增{{ empType.length - empTypeF.length }}个</div>
</el-form-item> </el-form-item>
<!-- <el-form-item label="负责的业务类型" v-if="typeIndex != 2 && typeIndex != 4"> <el-form-item label="负责的业务类型" v-if="typeIndex != 2 && typeIndex != 4">
<el-checkbox-group v-model="selectBusiness" @change="selectType"> <el-checkbox-group v-model="selectBusiness" @change="selectType">
<el-checkbox :disabled="(typeIndex == 0 && item.id != 1) || (typeIndex == 1 && item.id == 1)" v-for="item in businessType" :key="item" :label="item.id">{{ item.businessName }}</el-checkbox> <el-checkbox :disabled="(typeIndex == 0 && item.id != 1) || (typeIndex == 1 && item.id == 1)" v-for="item in businessType" :key="item" :label="item.id">{{ item.businessName }}</el-checkbox>
</el-checkbox-group> </el-checkbox-group>
</el-form-item> --> </el-form-item>
<el-form-item style="text-align: center"> <el-form-item style="text-align: center">
<el-button @click="onCancel" size="small">取消</el-button> <el-button @click="onCancel" size="small">取消</el-button>
<el-button type="primary" @click="onSubmit" size="small">确定</el-button> <el-button type="primary" @click="onSubmit" size="small">确定</el-button>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!