@ -132,6 +132,7 @@ class _FinishReportPageState extends State<FinishReportPage> {
onChanged: (value) {
_photos = value;
}),
20.h.heightBox,
],
),
)
@ -150,7 +150,6 @@ class _ReportProgressState extends State<ReportProgress> {
BotToast.showText(text: '请输入具体需求');
return false;
}
return true;
@ -76,7 +76,7 @@ class WorkOrderFuc {
///完成工单
static Future<bool> finish(WorkOrderSubmitModel model) async {
BaseModel baseModel = await NetUtil().get(SAASAPI.workOrder.finish,
BaseModel baseModel = await NetUtil().post(SAASAPI.workOrder.finish,
params: model.toJson(), showMessage: true);
return baseModel.success;
@ -89,7 +89,7 @@ class WorkOrderFinishCostDTOList {
Map<String, dynamic> toJson() => _$WorkOrderFinishCostDTOListToJson(this);
static WorkOrderFinishCostDTOList get init =>
WorkOrderFinishCostDTOList(costType: 0, name: '', num: 0, price: 0);
WorkOrderFinishCostDTOList(costType: 2, name: '', num: 0, price: 0);
//<editor-fold desc="Data Methods">