|
@@ -104,7 +104,7 @@
|
|
|
}} {{ item[0].label }}
|
|
|
</span>
|
|
|
<span v-else style="color: #1e9fff">{{ item[0].label
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</span>
|
|
|
<span v-if="item[0].type == 'button'"></span>
|
|
|
<!--<el-button v-if="item[0].type == 'button'" :disabled="detailData.seeDisabled || item[0].disabled"-->
|
|
@@ -2038,10 +2038,12 @@ export default {
|
|
|
editCustomer(status) {
|
|
|
this.$refs.form.validate((valid) => {
|
|
|
if (valid) {
|
|
|
- for (let item of this.columnforfun('accDeptName').dicData) {
|
|
|
- if (this.form.accDeptName == item.title) {
|
|
|
- if (item.hasChildren) {
|
|
|
- return this.$message.error('请选择末级部门')
|
|
|
+ if (this.business == 1) {
|
|
|
+ for (let item of this.columnforfun('accDeptName').dicData) {
|
|
|
+ if (this.form.accDeptName == item.title) {
|
|
|
+ if (item.hasChildren) {
|
|
|
+ return this.$message.error('请选择末级部门')
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -2656,9 +2658,9 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
copyCreateAndAdd(id, type) {
|
|
|
- console.log(id,1234556)
|
|
|
- let obj={
|
|
|
- id:id
|
|
|
+ console.log(id, 1234556)
|
|
|
+ let obj = {
|
|
|
+ id: id
|
|
|
}
|
|
|
const loading = this.$loading({
|
|
|
lock: true,
|