|
|
@@ -49,7 +49,7 @@ export default {
|
|
|
menuWidth: 140,
|
|
|
tip: false,
|
|
|
searchShow: true,
|
|
|
- searchMenuSpan: 12,
|
|
|
+ searchMenuSpan: 18,
|
|
|
border: true,
|
|
|
index: true,
|
|
|
addBtn: false,
|
|
|
@@ -91,20 +91,6 @@ export default {
|
|
|
search: true,
|
|
|
},
|
|
|
{
|
|
|
- label: '状态',
|
|
|
- prop: 'status',
|
|
|
- overHidden: true,
|
|
|
- type: 'select',
|
|
|
- search: true,
|
|
|
- dicData: [{
|
|
|
- label: '启用',
|
|
|
- value: 0
|
|
|
- }, {
|
|
|
- label: '停用',
|
|
|
- value: 1
|
|
|
- }],
|
|
|
- },
|
|
|
- {
|
|
|
label: "制单人",
|
|
|
prop: "createUserName",
|
|
|
overHidden: true,
|
|
|
@@ -140,7 +126,7 @@ export default {
|
|
|
this.saberUserInfo = JSON.parse(localStorage.getItem('saber-userInfo')).content
|
|
|
this.option = await this.getColumnData(this.getColumnName(490), this.optionBack);
|
|
|
if (this.saberUserInfo.role_name.indexOf('admin') != -1 || this.saberUserInfo.role_name.indexOf('总部') != -1) {
|
|
|
- this.option.searchMenuSpan = 6
|
|
|
+ this.option.searchMenuSpan = 12
|
|
|
this.option.column.forEach(item => {
|
|
|
if (item.prop == 'branchId') {
|
|
|
item.search = true
|
|
|
@@ -244,7 +230,7 @@ export default {
|
|
|
*/
|
|
|
const inSave = await this.saveColumnData(this.getColumnName(code), this[option]);
|
|
|
if (this.saberUserInfo.role_name.indexOf('admin') != -1 || this.saberUserInfo.role_name.indexOf('总部') != -1) {
|
|
|
- this.option.searchMenuSpan = 6
|
|
|
+ this.option.searchMenuSpan = 12
|
|
|
this.option.column.forEach(item => {
|
|
|
if (item.prop == 'branchId') {
|
|
|
item.search = true
|
|
|
@@ -268,7 +254,7 @@ export default {
|
|
|
this[option] = this[optionBack];
|
|
|
const inSave = await this.delColumnData(this.getColumnName(code), this[optionBack]);
|
|
|
if (this.saberUserInfo.role_name.indexOf('admin') != -1 || this.saberUserInfo.role_name.indexOf('总部') != -1) {
|
|
|
- this.option.searchMenuSpan = 6
|
|
|
+ this.option.searchMenuSpan = 12
|
|
|
this.option.column.forEach(item => {
|
|
|
if (item.prop == 'branchId') {
|
|
|
item.search = true
|