fix bug
This commit is contained in:
@ -459,7 +459,7 @@ export class SupplyManagementBulkComponent implements OnInit {
|
||||
* 审核通过按钮
|
||||
*/
|
||||
handleOK(value: any) {
|
||||
if(this.selectedRows.length <= 0) {
|
||||
if(this.auditMany === false) {
|
||||
const params: any = {
|
||||
id: this.auditID,
|
||||
remarks: this.sfFre.value.remarks,
|
||||
|
||||
@ -227,9 +227,7 @@ export class SupplyManagementVehicleComponent implements OnInit {
|
||||
* 审核通过按钮
|
||||
*/
|
||||
handleOK(value: any) {
|
||||
console.log(this.sfFre.valid);
|
||||
console.log(this.sfFre.value);
|
||||
if (this.selectedRows.length <= 0) {
|
||||
if (this.auditMany === false) {
|
||||
const params: any = {
|
||||
id: this.auditID,
|
||||
remarks: this.sfFre.value.remarks
|
||||
@ -239,6 +237,7 @@ export class SupplyManagementVehicleComponent implements OnInit {
|
||||
} else {
|
||||
params.auditStatus = 3;
|
||||
}
|
||||
console.log('999');
|
||||
console.log(params);
|
||||
this.service.request(this.service.$api_goodsResourceAudit, params).subscribe(res => {
|
||||
if (res === true) {
|
||||
|
||||
Reference in New Issue
Block a user