fix:登入问题
This commit is contained in:
@@ -40,7 +40,7 @@ module.exports = {
|
||||
/**
|
||||
* @description token key
|
||||
*/
|
||||
TokenKey: 'EL-ADMIN-TOEKN',
|
||||
TokenKey: 'Authorization',
|
||||
/**
|
||||
* @description 请求超时时间,毫秒(默认2分钟)
|
||||
*/
|
||||
|
||||
@@ -235,7 +235,6 @@ const defaultForm = {
|
||||
code: '',
|
||||
bill_type: '',
|
||||
status: '',
|
||||
product_area: '',
|
||||
source_form_type: '',
|
||||
source_form_id: '',
|
||||
source_form_date: '',
|
||||
@@ -337,6 +336,14 @@ export default {
|
||||
this.crud.notify('请至少选择一条明细', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
return false
|
||||
}
|
||||
if (!this.form.bill_type) {
|
||||
this.crud.notify('单据类型不能为空', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
return false
|
||||
}
|
||||
if (!this.form.form_data.product_area) {
|
||||
this.crud.notify('车间不能为空', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
return false
|
||||
}
|
||||
this.form.item = this.tableData
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user