Sfoglia il codice sorgente

2024-05-37 修改

修改

1. OP费用详情 尾款中的 尾款金额 和 其它额外费用 为不可取消选择项
zhaiy 11 mesi fa
parent
commit
33257fe3ba

+ 6 - 0
app/src/main/java/com/pan_american/android/ui/group_op/ground_convey_payment_insert/GroundConveyPaymentDetailActivity.kt

@@ -424,6 +424,12 @@ class GroundConveyPaymentDetailActivity : BaseActivity<ActivityGroundConveyPayme
 
                                 tableInitialization[position].apply {
 
+                                    //2024-05-07 尾款中的 尾款金额 和 其它额外费用为不可取消选择项
+                                    if (id == 1070 || id == 1071) {
+                                        showMessage(resources.getString(R.string.payment_type_necessary_hint))
+                                        return
+                                    }
+
                                     val oldList = ArrayList<GroundConveyTableItem>()
 
                                     for (item in showItemList) {

+ 1 - 0
app/src/main/res/values/strings.xml

@@ -624,6 +624,7 @@
     <string name="view_cost_detail">查看费用明细</string>
     <string name="payment_currency">费用币种</string>
     <string name="payment_percentage_input_hint">请输入正确的付款百分比</string>
+    <string name="payment_type_necessary_hint">该费用类型为必选项</string>
 
 
     <!-- 签证费用录入 -->