fix bug
This commit is contained in:
@ -48,7 +48,8 @@ export class orderManagementVoucherViewComponent implements OnInit {
|
||||
this.initSF();
|
||||
}
|
||||
initSF() {
|
||||
if(this.Status === 1) {
|
||||
console.log(this.Status)
|
||||
if(this.Status == 1) {
|
||||
|
||||
this.schema = {
|
||||
properties: {
|
||||
@ -216,6 +217,7 @@ export class orderManagementVoucherViewComponent implements OnInit {
|
||||
required: ['loadingLadingBillFilePath', 'loadingPeopleVehiclesGoodsFilePath','unloadingLadingBillFilePath','unloadingPeopleVehiclesGoodsFilePath' ]
|
||||
};
|
||||
}else {
|
||||
console.log('只读')
|
||||
this.schema = {
|
||||
properties: {
|
||||
loadingLadingBillFilePath: {
|
||||
@ -383,6 +385,7 @@ export class orderManagementVoucherViewComponent implements OnInit {
|
||||
} as SFUploadWidgetSchema,
|
||||
}
|
||||
},
|
||||
required: ['loadingLadingBillFilePath', 'loadingPeopleVehiclesGoodsFilePath','unloadingLadingBillFilePath','unloadingPeopleVehiclesGoodsFilePath' ]
|
||||
};
|
||||
}
|
||||
this.ui = {
|
||||
@ -418,10 +421,7 @@ export class orderManagementVoucherViewComponent implements OnInit {
|
||||
})
|
||||
}
|
||||
sure() {
|
||||
const params = {
|
||||
id: this.i.id,
|
||||
}
|
||||
console.log(params)
|
||||
const params = [this.i.id];
|
||||
this.service.request(this.service.$api_get_billAuditPass, params).subscribe((res) => {
|
||||
if(res) {
|
||||
this.service.msgSrv.success('审核成功!')
|
||||
|
||||
Reference in New Issue
Block a user