diff --git a/src/api/system/notify/template/index.ts b/src/api/system/notify/template/index.ts
index cd0e12238..b7ce8a2f3 100644
--- a/src/api/system/notify/template/index.ts
+++ b/src/api/system/notify/template/index.ts
@@ -5,6 +5,7 @@ export interface NotifyTemplateVO {
name: string
nickname: string
code: string
+ roleIds: []
content: string
type: number
params: string
diff --git a/src/api/wms/supplierinvoiceRequestMain/index.ts b/src/api/wms/supplierinvoiceRequestMain/index.ts
index c0bd6ec7a..b3e752a7b 100644
--- a/src/api/wms/supplierinvoiceRequestMain/index.ts
+++ b/src/api/wms/supplierinvoiceRequestMain/index.ts
@@ -88,3 +88,4 @@ export const exportSupplierinvoiceRequestMain = async (params) => {
return await request.download({ url: `/wms/supplierinvoice-request-main/export-excel`, params })
}
}
+
diff --git a/src/utils/dict.ts b/src/utils/dict.ts
index 97d17d36b..237ab67ab 100644
--- a/src/utils/dict.ts
+++ b/src/utils/dict.ts
@@ -281,4 +281,7 @@ export enum DICT_TYPE {
MES_WORKBILL_MODEL='mes_workbill_model',// 工单模式 单工单(根据产品数量生成多个工单)、批量工单(一个产品一个工单)
MES_TASK_MODE='mes_task_mode', //生产模式 派工方式、领工方式
MES_PLANDO_STATUS='mes_plando_status' //计划执行状态
+ PLAN_PRODUCTION_TYPE = "plan_production_type", // 生产计划类型
+ DELIVER_TYPE="deliver_type",//发货类型
+ BILL_TYPE="bill_type", // 发票类型
}
diff --git a/src/views/mes/jobcalendar/index.vue b/src/views/mes/jobcalendar/index.vue
new file mode 100644
index 000000000..ac7716f24
--- /dev/null
+++ b/src/views/mes/jobcalendar/index.vue
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/system/notify/template/NotifyTemplateForm.vue b/src/views/system/notify/template/NotifyTemplateForm.vue
index 919c6549f..30399a481 100644
--- a/src/views/system/notify/template/NotifyTemplateForm.vue
+++ b/src/views/system/notify/template/NotifyTemplateForm.vue
@@ -16,6 +16,11 @@
+
+
+
+ />
+
@@ -54,12 +59,15 @@
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
import * as NotifyTemplateApi from '@/api/system/notify/template'
import { CommonStatusEnum } from '@/utils/constants'
+import * as RoleApi from '@/api/system/role'
const message = useMessage() // 消息弹窗
const dialogVisible = ref(false) // 弹窗的是否展示
const dialogTitle = ref('') // 弹窗的标题
const formLoading = ref(false) // 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用
const formType = ref('') // 表单的类型
+const roleList = ref([]) // 角色的列表
+
const formData = ref({
id: null,
name: '',
@@ -67,6 +75,7 @@ const formData = ref({
code: '',
content: '',
type: null,
+ roleIds: [],
params: '',
status: CommonStatusEnum.ENABLE,
remark: ''
@@ -76,6 +85,7 @@ const formRules = reactive({
status: [{ required: true, message: '开启状态不能为空', trigger: 'blur' }],
code: [{ required: true, message: '模板编码不能为空', trigger: 'blur' }],
name: [{ required: true, message: '模板名称不能为空', trigger: 'blur' }],
+ roleIds: [{ required: true, message: '角色不能为空', trigger: 'blur' }],
nickname: [{ required: true, message: '发件人姓名不能为空', trigger: 'blur' }],
content: [{ required: true, message: '模板内容不能为空', trigger: 'blur' }]
})
@@ -96,6 +106,8 @@ const open = async (type: string, id?: number) => {
formLoading.value = false
}
}
+ // 获得角色列表
+ roleList.value = await RoleApi.getSimpleRoleList()
}
defineExpose({ open }) // 提供 open 方法,用于打开弹窗
diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue
index 62d683655..7d81aadaa 100644
--- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue
+++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue
@@ -1,14 +1,18 @@
-
+
-
+
@@ -28,28 +32,48 @@
-
+
-
+ :apiDelete="SupplierinvoiceRequestDetailApi.deleteSupplierinvoiceRequestDetail"
+ :Echo="Echo"
+ />
+