生活缴费

pull/1/head
章文轩 3 years ago
parent 9029953dc4
commit 7e375685c7

@ -244,7 +244,7 @@ class _LifePayPageNewState extends State<LifePayPageNew> {
Function cancel = BotToast.showLoading();
BaseModel baseModel = await NetUtil()
.post(SAASAPI.pay.createLivingExpensesOrder, params: {
"chargesBillId": total.ids,
"chargesBillIds": total.selectIds.map((e) => e.id).toList(),
"paymentAmount": total.payTotal
});
if (baseModel.success) {

@ -88,7 +88,9 @@ class _LifePayRecordPageState extends State<LifePayRecordPage> {
Widget _buildRecordCard(LifePayRecordModel model) {
return GestureDetector(
onTap: () {
Get.to(()=>LifePayBillPage(model: model,));
Get.to(() => LifePayBillPage(
model: model,
));
},
child: Column(
children: [
@ -98,13 +100,12 @@ class _LifePayRecordPageState extends State<LifePayRecordPage> {
color: Colors.black.withOpacity(0.06),
borderRadius: BorderRadius.circular(8.w),
),
child: DateUtil.formatDate(
DateTime.parse(model.createDate),
format: 'MM-dd hh-mm').text
child: DateUtil.formatDate(DateUtil.getDateTime(model.createDate),
format: 'MM-dd hh-mm')
.text
.size(24.sp)
.color(Colors.black.withOpacity(0.45))
.make(),
),
Row(
children: [
@ -114,7 +115,7 @@ class _LifePayRecordPageState extends State<LifePayRecordPage> {
.bold
.make(),
Spacer(),
'${S.of(context)!.tempPlotName} ${model.unitName+model.estateName}'
'${model.buildingName + '' + model.unitName + '单元' + model.estateName}'
.text
.size(24.sp)
.color(Color(0xFF999999))
@ -147,7 +148,6 @@ class _LifePayRecordPageState extends State<LifePayRecordPage> {
'${model.code}'.text.color(ktextPrimary).size(28.sp).make(),
],
),
Row(
children: [
'流水号'.text.color(ktextSubColor).size(28.sp).make(),
@ -155,7 +155,6 @@ class _LifePayRecordPageState extends State<LifePayRecordPage> {
'${model.code}'.text.color(ktextPrimary).size(28.sp).make(),
],
),
].sepWidget(separate: 24.w.heightBox),
)
.box

@ -237,28 +237,29 @@ class _AllApplicationPageState extends State<AllApplicationPage> {
backgroundColor: Colors.white,
elevation: 0,
leading: BeeBackButton(),
title: MaterialButton(
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
height: 72.w,
shape: StadiumBorder(),
elevation: 0,
minWidth: double.infinity,
color: Color(0xFFF3F3F3),
onPressed: () {
Get.to(() => BeeSearch());
},
child: Row(
children: [
Icon(
Icons.search,
size: 32.w,
color: Color(0xFF666666),
),
10.wb,
'搜索应用'.text.size(28.sp).color(ktextSubColor).make().expand(),
],
),
),
title: '全部应用'.text.make(),
// title: MaterialButton(
// materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
// height: 72.w,
// shape: StadiumBorder(),
// elevation: 0,
// minWidth: double.infinity,
// color: Color(0xFFF3F3F3),
// onPressed: () {
// Get.to(() => BeeSearch());
// },
// child: Row(
// children: [
// Icon(
// Icons.search,
// size: 32.w,
// color: Color(0xFF666666),
// ),
// 10.wb,
// '搜索应用'.text.size(28.sp).color(ktextSubColor).make().expand(),
// ],
// ),
// ),
),
body: Column(
children: [

Loading…
Cancel
Save