|
...
|
...
|
@@ -856,6 +856,43 @@ class _FeastDetailPageState extends State<FeastDetailPage> { |
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
/// 丢单原因
|
|
|
|
Widget lostCommentsWidget() {
|
|
|
|
return Container(
|
|
|
|
margin: EdgeInsets.only(bottom: h(26)),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
borderRadius: BorderRadius.circular(r(6)),
|
|
|
|
border: Border.all(width: w(1), color: MyColours.color_438E93)),
|
|
|
|
child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
|
|
|
|
Container(
|
|
|
|
width: double.infinity,
|
|
|
|
// height: h(31),
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: w(12), vertical: h(6)),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: MyColours.color_438E93,
|
|
|
|
borderRadius: BorderRadius.only(
|
|
|
|
topLeft: Radius.circular(r(5)),
|
|
|
|
topRight: Radius.circular(r(5)))),
|
|
|
|
child: Text(
|
|
|
|
'丢单原因',
|
|
|
|
style:
|
|
|
|
TextStyle(color: MyColours.color_F6F6F6, fontSize: font(14)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
VEmptyView(16),
|
|
|
|
Padding(
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
left: w(12), right: w(12), top: w(8), bottom: w(35)),
|
|
|
|
child: Text(
|
|
|
|
feastModel.banquetDetail.basicInfo.lost,
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
fontSize: ScreenUtil().setSp(28)),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
]));
|
|
|
|
}
|
|
|
|
|
|
|
|
/// 发票
|
|
|
|
Widget invoiceWidget() {
|
|
|
|
return Container(
|
|
...
|
...
|
@@ -1304,7 +1341,19 @@ class _FeastDetailPageState extends State<FeastDetailPage> { |
|
|
|
controller: _scrollController,
|
|
|
|
child: Column(children: [
|
|
|
|
VEmptyView(32),
|
|
|
|
baseInfoWidget(), //基本信息
|
|
|
|
Stack(children: [
|
|
|
|
baseInfoWidget(), //基本信息
|
|
|
|
if (feastModel.banquetDetail.basicInfo.lost !=
|
|
|
|
null &&
|
|
|
|
feastModel.banquetDetail.basicInfo.lost != '')
|
|
|
|
Positioned(
|
|
|
|
top: w(90),
|
|
|
|
right: w(50),
|
|
|
|
child: Image.asset(
|
|
|
|
Utils.getImgPath('lost'),
|
|
|
|
width: w(60),
|
|
|
|
))
|
|
|
|
]),
|
|
|
|
VEmptyView(52),
|
|
|
|
//场次
|
|
|
|
ListView.builder(
|
|
...
|
...
|
@@ -1326,10 +1375,15 @@ class _FeastDetailPageState extends State<FeastDetailPage> { |
|
|
|
//合同
|
|
|
|
// contractWidget(),
|
|
|
|
|
|
|
|
invoiceWidget()
|
|
|
|
invoiceWidget(),
|
|
|
|
if (feastModel.banquetDetail.basicInfo.lost != null &&
|
|
|
|
feastModel.banquetDetail.basicInfo.lost != '')
|
|
|
|
lostCommentsWidget()
|
|
|
|
]))),
|
|
|
|
),
|
|
|
|
widget.canEdit
|
|
|
|
widget.canEdit &&
|
|
|
|
(feastModel.banquetDetail.basicInfo.lost == null ||
|
|
|
|
feastModel.banquetDetail.basicInfo.lost == '')
|
|
|
|
? Row(
|
|
|
|
children: [
|
|
|
|
Expanded(
|
...
|
...
|
|