This commit is contained in:
wangshiming
2022-03-02 17:18:42 +08:00
parent bf14ddd7eb
commit 67e54f2a13
2 changed files with 3 additions and 4 deletions

View File

@ -459,7 +459,7 @@ export class SupplyManagementBulkComponent implements OnInit {
* 审核通过按钮 * 审核通过按钮
*/ */
handleOK(value: any) { handleOK(value: any) {
if(this.selectedRows.length <= 0) { if(this.auditMany === false) {
const params: any = { const params: any = {
id: this.auditID, id: this.auditID,
remarks: this.sfFre.value.remarks, remarks: this.sfFre.value.remarks,

View File

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