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) {
if(this.selectedRows.length <= 0) {
if(this.auditMany === false) {
const params: any = {
id: this.auditID,
remarks: this.sfFre.value.remarks,

View File

@ -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) {