src/views/wls/salesnotice/modules/form.vue
@@ -30,7 +30,6 @@
  // 是否为编辑模式(可保存)
  ['create', 'update'].includes(formType.value),
);
const isFinish = computed(() => formType.value === 'finish'); // 是否为执行出库模式
const canSubmit = computed(
  () =>
    // 是否可提交
@@ -40,9 +39,6 @@
const getTitle = computed(() => {
  if (formType.value === 'detail') {
    return $t('ui.actionTitle.view', ['发货通知单']);
  }
  if (formType.value === 'finish') {
    return '执行出库';
  }
  return formType.value === 'update'
    ? $t('ui.actionTitle.edit', ['发货通知单'])
@@ -85,11 +81,6 @@
  } finally {
    modalApi.unlock();
  }
}
/** 执行出库(后端暂未实现,提示用户) */
function handleFinish() {
  message.info('执行出库功能暂时不支持,敬请期待!');
}
const [Modal, modalApi] = useVbenModal({
@@ -173,9 +164,6 @@
        >
          <Button type="primary">提交</Button>
        </Popconfirm>
        <Button v-if="isFinish" type="primary" @click="handleFinish">
          执行出库
        </Button>
      </div>
    </template>
  </Modal>