diff --git a/public/assets/js/backend/oa/custom_schedule.js b/public/assets/js/backend/oa/custom_schedule.js index 26af232..fdc857e 100644 --- a/public/assets/js/backend/oa/custom_schedule.js +++ b/public/assets/js/backend/oa/custom_schedule.js @@ -47,7 +47,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'editable'], function emptytext: '_', pk: 1, source: [ - {value: '0', text: ''}, + {value: '', text: ''}, {value: '1', text: '早班'}, {value: '2', text: '中班'}, {value: '3', text: '晚班'}, @@ -58,7 +58,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'editable'], function return false; } else { const map = { - '0': '', + '': '', '1': '早班', '2': '中班', '3': '晚班', @@ -113,7 +113,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'editable'], function emptytext: '_', pk: 1, source: [ - {value: '0', text: ''}, + {value: '', text: ''}, {value: '1', text: '早班'}, {value: '2', text: '中班'}, {value: '3', text: '晚班'}, @@ -124,7 +124,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'editable'], function return false; } else { const map = { - '0': '', + '': '', '1': '早班', '2': '中班', '3': '晚班',