账单详细页基本完成

release
赵鹏 2 years ago
parent fab78b6e3c
commit 3304898697

@ -30,6 +30,12 @@ function Detail() {
useEffect(() => {
console.info("Detail.useEffect: " + GMDSN + "/" + GSN);
defaultShow();
}, [GMDSN, GSN]);
function defaultShow(){
setDataLoading(true);
invoiceStore.fetchInvoiceDetail(GMDSN, GSN)
.then((json) => {
@ -85,12 +91,6 @@ function Detail() {
.finally(() => {
setDataLoading(false);
});
}, [GMDSN, GSN]);
function defaultShow(json){
}
const fileList = toJS(invoicekImages);
@ -201,7 +201,9 @@ function Detail() {
runInAction(() => {
invoiceStore.invoiceFormData = {'info_money':0,'info_Currency':'','info_date':'','info_gmdsn':GMDSN};
});
});
}).finally(()=>{
defaultShow();
})
}
function addButton(check) {
@ -273,7 +275,7 @@ function Detail() {
<Row key={data.GMD_SN} gutter={16} style={{ backgroundColor: "#f6f7f9", width: "100%", padding: "20px 40px" }} >
<Col span={4}></Col>
<Col span={18} >
<Form name="invoice_submit" onFinish={onFinish} labelCol={{ span: 5 }} form={form}>
<Form name="invoice_submit" onFinish={onFinish} labelCol={{ span: 5 }} form={form} style={{backgroundColor:"#fff" , padding:"20px"}}>
<Divider orientation="left">上传照片</Divider>
<Form.Item>
<Upload

Loading…
Cancel
Save