wupengfei
2 天以前 b4007c6c9282ca2db3f24581ee8c3759c912bead
apps/bMiniApp/src/subpackages/task/publishTask/InnerPage.vue
@@ -13,6 +13,7 @@
          placeholder="请选择供应商"
          :value-enum="supplierEnterpriseSelect"
          :disabled="isEdit"
          @change="supplierEnterpriseChange"
        />
      </nut-form-item>
      <nut-form-item label="任务名称:" class="bole-form-item" prop="name" label-width="90px">
@@ -627,6 +628,7 @@
const { enterpriseInsuranceProductSelect } = useEnterpriseInsuranceProductSelect({
  supplierEnterpriseId: computed(() => form.supplierEnterpriseId),
  isConfiguredInsurance: computed(() => form.isConfiguredInsurance),
});
const {
@@ -695,7 +697,8 @@
    if (!form.beginTime || !form.endTime) {
      return;
    }
    if (form.billingMethod !== EnumBillingMethod.Piece && !form.needPeopleNumber) {
    if (form.billingMethod !== EnumBillingMethod.Piece || !form.needPeopleNumber) {
      return;
    }
    let params: API.CalcTaskTotalServiceFeeCommand = {
@@ -791,7 +794,7 @@
      applyBeginTime: dayjs(form.applyBeginTime).format('YYYY-MM-DD 00:00:00'),
      applyEndTime: dayjs(form.applyEndTime).format('YYYY-MM-DD 23:59:59'),
      settlementAccess: form.settlementAccess,
      insuranceProductId: form.insuranceProductId,
      insuranceProductId: form.insuranceProductId ? form.insuranceProductId : null,
    };
    if (form.billingMethod !== EnumBillingMethod.Face) {
      params.serviceFee = form.serviceFee;