| | |
| | | let configCode = window.localStorage.getItem('configCode') |
| | | let id = window.localStorage.getItem('id') |
| | | let page = window.localStorage.getItem('pagenumber') |
| | | if (!configValue.value) { |
| | | ElMessage.error(t('productStock.inconfigValue')) |
| | | return |
| | | } |
| | | if (isEnable.value === '' || isEnable.value === undefined || isEnable.value === null) { |
| | | ElMessage.error(t('searchOrder.choicestartstatus')); |
| | | return; |
| | | } |
| | | // if (!isEnable.value) { |
| | | // ElMessage.error(t('searchOrder.choicestartstatus')) |
| | | // return |
| | | // } |
| | | try { |
| | | const response = await request.post('/loadGlass/sys/sysConfig/updateConfig',{ |
| | | id: id, |