fix bug
This commit is contained in:
@ -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,
|
||||||
|
|||||||
@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user