Browse Source

计划自动开关暂时屏蔽

master
陈薪名 1 year ago
parent
commit
d652d422f4
  1. 124
      src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts
  2. 124
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts
  3. 124
      src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts
  4. 1
      src/views/wms/productionManage/productionplan/productionMain/index.vue
  5. 124
      src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts

124
src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts

@ -15,8 +15,8 @@ const queryParams = {
pageNo:1, pageNo:1,
code:'CountPlan' code:'CountPlan'
} }
const data = await getPlansettingApi.getPlansettingPage(queryParams) // const data = await getPlansettingApi.getPlansettingPage(queryParams)
const plansettingData =data?.list[0]||{} // const plansettingData =data?.list[0]||{}
/** /**
* @returns {Array} * @returns {Array}
@ -366,66 +366,66 @@ export const CountPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
}, },
{ // {
label: '自动提交', // label: '自动提交',
field: 'autoCommit', // field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'Switch', // component: 'Switch',
value: plansettingData.autoCommit, // value: plansettingData.autoCommit,
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE', // activeValue: 'TRUE',
disabled: true // disabled: true
} // }
} // }
}, // },
{ // {
label: '自动通过', // label: '自动通过',
field: 'autoAgree', // field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'Switch', // component: 'Switch',
value: plansettingData.autoAgree, // value: plansettingData.autoAgree,
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE', // activeValue: 'TRUE',
disabled: true // disabled: true
} // }
} // }
}, // },
{ // {
label: '自动执行', // label: '自动执行',
field: 'autoExecute', // field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'Switch', // component: 'Switch',
value: plansettingData.autoExecute, // value: plansettingData.autoExecute,
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE', // activeValue: 'TRUE',
disabled: true // disabled: true
} // }
} // }
}, // },
{ {
label: '最后更新时间', label: '最后更新时间',
field: 'updateTime', field: 'updateTime',

124
src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts

@ -20,8 +20,8 @@ const queryParams = {
pageNo:1, pageNo:1,
code:'DeliverPlan' code:'DeliverPlan'
} }
const data = await getPlansettingApi.getPlansettingPage(queryParams) // const data = await getPlansettingApi.getPlansettingPage(queryParams)
const plansettingData =data?.list[0]||{} // const plansettingData =data?.list[0]||{}
/** /**
* @returns {Array} * @returns {Array}
@ -210,66 +210,66 @@ export const DeliverPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{ // {
label: '自动提交', // label: '自动提交',
field: 'autoCommit', // field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'Switch', // component: 'Switch',
value: plansettingData.autoCommit, // value: plansettingData.autoCommit,
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE', // activeValue: 'TRUE',
disabled: true // disabled: true
} // }
} // }
}, // },
{ // {
label: '自动通过', // label: '自动通过',
field: 'autoAgree', // field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'Switch', // component: 'Switch',
value: plansettingData.autoAgree, // value: plansettingData.autoAgree,
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE', // activeValue: 'TRUE',
disabled: true // disabled: true
} // }
} // }
}, // },
{ // {
label: '自动执行', // label: '自动执行',
field: 'autoExecute', // field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'Switch', // component: 'Switch',
value: plansettingData.autoExecute, // value: plansettingData.autoExecute,
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE', // activeValue: 'TRUE',
disabled: true // disabled: true
} // }
} // }
}, // },
{ {
label: '最后更新者', label: '最后更新者',
field: 'updater', field: 'updater',

124
src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts

@ -35,8 +35,8 @@ const queryParams = {
pageNo:1, pageNo:1,
code:'PreparetoissuePlan' code:'PreparetoissuePlan'
} }
const data = await getPlansettingApi.getPlansettingPage(queryParams) // const data = await getPlansettingApi.getPlansettingPage(queryParams)
const plansettingData =data?.list[0]||{} // const plansettingData =data?.list[0]||{}
/** /**
* @returns {Array} * @returns {Array}
@ -281,66 +281,66 @@ export const PreparetoissueMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isForm: false, isForm: false,
}, },
{ // {
label: '自动提交', // label: '自动提交',
field: 'autoCommit', // field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'Switch', // component: 'Switch',
value: plansettingData.autoCommit, // value: plansettingData.autoCommit,
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE', // activeValue: 'TRUE',
disabled: true // disabled: true
} // }
} // }
}, // },
{ // {
label: '自动通过', // label: '自动通过',
field: 'autoAgree', // field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'Switch', // component: 'Switch',
value: plansettingData.autoAgree, // value: plansettingData.autoAgree,
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE', // activeValue: 'TRUE',
disabled: true // disabled: true
} // }
} // }
}, // },
{ // {
label: '自动执行', // label: '自动执行',
field: 'autoExecute', // field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'Switch', // component: 'Switch',
value: plansettingData.autoExecute, // value: plansettingData.autoExecute,
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE', // activeValue: 'TRUE',
disabled: true // disabled: true
} // }
} // }
}, // },
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',

1
src/views/wms/productionManage/productionplan/productionMain/index.vue

@ -486,6 +486,7 @@ const searchFormClick = (searchData) => {
/** 初始化 **/ /** 初始化 **/
onMounted(async () => { onMounted(async () => {
console.log('11111111111111')
getList() getList()
importTemplateData.templateUrl = await ProductionMainApi.importTemplate() importTemplateData.templateUrl = await ProductionMainApi.importTemplate()
}) })

124
src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts

@ -26,8 +26,8 @@ const queryParams = {
pageNo:1, pageNo:1,
code:'ProductionPlan' code:'ProductionPlan'
} }
const data = await getPlansettingApi.getPlansettingPage(queryParams) // const data = await getPlansettingApi.getPlansettingPage(queryParams)
const plansettingData =data?.list[0]||{} // const plansettingData =data?.list[0]||{}
/** /**
* @returns {Array} * @returns {Array}
@ -284,66 +284,66 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{ // {
label: '自动提交', // label: '自动提交',
field: 'autoCommit', // field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'Switch', // component: 'Switch',
value: plansettingData.autoCommit, // value: plansettingData.autoCommit,
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE', // activeValue: 'TRUE',
disabled: true // disabled: true
} // }
} // }
}, // },
{ // {
label: '自动通过', // label: '自动通过',
field: 'autoAgree', // field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'Switch', // component: 'Switch',
value: plansettingData.autoAgree, // value: plansettingData.autoAgree,
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE', // activeValue: 'TRUE',
disabled: true // disabled: true
} // }
} // }
}, // },
{ // {
label: '自动执行', // label: '自动执行',
field: 'autoExecute', // field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'Switch', // component: 'Switch',
value: plansettingData.autoExecute, // value: plansettingData.autoExecute,
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE', // activeValue: 'TRUE',
disabled: true // disabled: true
} // }
} // }
}, // },
// { // {
// label: '开始时间', // label: '开始时间',

Loading…
Cancel
Save