Browse Source

离线返线去掉导入导出按钮

日计划增加批次号必填项
master_hella_20240701
TengXF 6 months ago
parent
commit
3494af47da
  1. 6
      src/views/mes/orderDay/orderDay.data.ts
  2. 4
      src/views/mes/productBackline/index.vue
  3. 4
      src/views/mes/productOffline/index.vue

6
src/views/mes/orderDay/orderDay.data.ts

@ -8,9 +8,9 @@ import { Workshop } from '@/views/wms/basicDataManage/factoryModeling/workshop/w
// 表单校验
export const OrderDayRules = reactive({
// batchCode: [
// { required: false, message: '请输入一个日计划编号', trigger: 'blur' }
// ],
batchCode: [
{ required: true, message: '请输入产品批次码', trigger: 'blur' }
],
// planNoMonth: [
// { required: true, message: '请输入一个月计划编号', trigger: 'blur' }
// ],

4
src/views/mes/productBackline/index.vue

@ -106,8 +106,8 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'mes:product-backline:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'mes:product-backline:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'mes:product-backline:export'}), //
// defaultButtons.defaultImportBtn({hasPermi:'mes:product-backline:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'mes:product-backline:export'}), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //

4
src/views/mes/productOffline/index.vue

@ -106,8 +106,8 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'mes:product-offline:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'mes:product-offline:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'mes:product-offline:export'}), //
// defaultButtons.defaultImportBtn({hasPermi:'mes:product-offline:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'mes:product-offline:export'}), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //

Loading…
Cancel
Save