This commit is contained in:
wangshiming
2022-02-10 16:43:47 +08:00
parent 969c75f4d7
commit ac1138c8d8
2 changed files with 8 additions and 8 deletions

View File

@ -214,7 +214,7 @@ export class SupplyManagementBulkComponent implements OnInit {
}, },
} }
}; };
this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } }; this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 16 } } };
} }
/** /**
* 初始化数据列表 * 初始化数据列表
@ -303,22 +303,22 @@ export class SupplyManagementBulkComponent implements OnInit {
{ {
text: '货源审核', text: '货源审核',
click: (_record) => this.audit(_record, 1), click: (_record) => this.audit(_record, 1),
iif: item => item.auditStatus == 1, iif: item => item.resourceStatus == 1,
}, },
{ {
text: '二维码 ', text: '二维码 ',
click: (_record) => this.assignedQrcode(_record), click: (_record) => this.assignedQrcode(_record),
iif: item => item.auditStatus == 1 || item.auditStatus == 2, iif: item => item.resourceStatus == 1,
}, },
{ {
text: '修改单价', text: '修改单价',
click: (_record) => this.modification(_record), click: (_record) => this.modification(_record),
iif: item => item.auditStatus == 1 || item.auditStatus == 2, iif: item => item.resourceStatus == 1 ,
}, },
{ {
text: '取消货源', text: '取消货源',
click: (_record) => this.delOne(_record), click: (_record) => this.delOne(_record),
iif: item => item.auditStatus == 1 || item.auditStatus == 2, iif: item => item.resourceStatus == 1,
}, },
{ {
text: '再下一单', text: '再下一单',

View File

@ -88,13 +88,13 @@ export class SupplyManagementVehicleComponent implements OnInit {
maxLength: 50, maxLength: 50,
ui: { ui: {
placeholder: '请输入备注', placeholder: '请输入备注',
widget: 'textarea' widget: 'textarea',
} }
} }
}, },
require: ['remarks'] require: ['remarks']
}; };
this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } }; this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 16 } } };
} }
add(): void { add(): void {
@ -540,7 +540,7 @@ export class SupplyManagementVehicleComponent implements OnInit {
{ {
text: '货源审核', text: '货源审核',
click: _record => this.audit(_record, 1), click: _record => this.audit(_record, 1),
iif: item => item.auditStatus === '1' iif: item => item.resourceStatus === '1'
}, },
{ {
text: '修改货源', text: '修改货源',