Commit 4dea41b8 by 匡雅琴

修改

1 parent ab6fbc18
......@@ -221,6 +221,7 @@ export default {
...this.curTempMerchant,
...this.tempDepart
}
console.log(this.curGLData)
let flag = false
this.dataList.forEach(item => {
if (item.departmentId == this.curGLData.departmentId || item.merchantId == this.curGLData.merchantId) {
......@@ -242,6 +243,7 @@ export default {
},
// 批量关联
handleMutiGL() {
console.log(this.dataList)
if (!this.dataList.length) {
this.$message({
message: '请先选择您要关联的账户',
......@@ -289,15 +291,15 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$apis.baseInfo.toGL(para).then(res => {
if (res) {
this.$message({
message: '操作成功',
type: 'success'
})
this.$router.push({ path: '/account/index' })
}
})
// this.$apis.baseInfo.toGL(para).then(res => {
// if (res) {
// this.$message({
// message: '操作成功',
// type: 'success'
// })
// this.$router.push({ path: '/account/index' })
// }
// })
})
},
deleteLine(row) {
......
......@@ -36,11 +36,11 @@
</div>
<div class="sale-type-desc">跟进员工类型最多新增30个,已新增{{ empType.length - empTypeF.length }}个</div>
</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 :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-form-item> -->
</el-form-item>
<el-form-item style="text-align: center">
<el-button @click="onCancel" 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!