|
@@ -90,7 +90,7 @@
|
|
|
},
|
|
|
{
|
|
|
label: '否',
|
|
|
- value: 0,
|
|
|
+ value: 2,
|
|
|
},
|
|
|
],
|
|
|
onChange: (val) => {
|
|
@@ -295,14 +295,16 @@
|
|
|
|
|
|
async function onDataReceive(data) {
|
|
|
resetFields();
|
|
|
+ console.log(data);
|
|
|
fileFlow.invoiceAmount = data.payAmount;
|
|
|
fileFlow.repairId = data.repairId;
|
|
|
let getData = await getInvoiceInfo({ repairId: data.repairId });
|
|
|
- handleUpShow(getData?true:false, getData && getData.invoiceType == 1 || false);
|
|
|
+ handleUpShow(getData?true:false || data.invoiceStatus != 2, getData && getData.invoiceType == 1 || false);
|
|
|
setFieldsValue({
|
|
|
...data,
|
|
|
...getData,
|
|
|
invoiceHead: data.companyName,
|
|
|
+ invoiceStatus: data.invoiceStatus || 1,
|
|
|
deviceType: t(`routes.scene.tableType.${data.cameraType}`) + ' ' + data.cameraSnCode,
|
|
|
});
|
|
|
}
|