|
...
|
...
|
@@ -158,10 +158,10 @@ class _BookDepositPageState extends State<BookDepositPage> { |
|
|
|
Utils.showToast('请选择支付方式');
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (receiptNumberC.text.trim().length == 0) {
|
|
|
|
Utils.showToast('请输入收据编号');
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
// if (receiptNumberC.text.trim().length == 0) {
|
|
|
|
// Utils.showToast('请输入收据编号');
|
|
|
|
// return;
|
|
|
|
// }
|
|
|
|
Map<String, String> pramas = {
|
|
|
|
'sid': Provider.of<UserModel>(context, listen: false).user.sellerid,
|
|
|
|
'rid': widget.rid,
|
|
...
|
...
|
@@ -177,8 +177,9 @@ class _BookDepositPageState extends State<BookDepositPage> { |
|
|
|
.toString(),
|
|
|
|
'pay_type': payTypeIndex == null ? null : payType[payTypeIndex],
|
|
|
|
|
|
|
|
'pay_no': receiptNumberC.text,
|
|
|
|
'insert_uid':Provider.of<UserModel>(context,listen: false).user.openid
|
|
|
|
'pay_no':
|
|
|
|
receiptNumberC.text.trim().length == 0 ? null : receiptNumberC.text,
|
|
|
|
'insert_uid': Provider.of<UserModel>(context, listen: false).user.openid
|
|
|
|
};
|
|
|
|
print(feastModel.sellerManageList[collectionPIndex].title);
|
|
|
|
bool success = await detailModel.createReserveDeposit(context, pramas);
|
...
|
...
|
|