|
@@ -56,7 +56,7 @@ $(document).ready(() => {
|
|
|
font: '12px 微软雅黑',
|
|
|
readOnly: readOnly,
|
|
|
imageClick: function (data, hitinfo) {
|
|
|
- if (!data || readOnly) return;
|
|
|
+ if (!data) return;
|
|
|
|
|
|
const setting = hitinfo.sheet.zh_setting;
|
|
|
if (!setting) return;
|
|
@@ -68,7 +68,7 @@ $(document).ready(() => {
|
|
|
$('#file').modal('show');
|
|
|
}
|
|
|
|
|
|
- if (col.field === 'real_time') {
|
|
|
+ if (col.field === 'real_time' && !readOnly) {
|
|
|
const pos = SpreadJsObj.getObjPos(hitinfo.sheet.getParent().qo);
|
|
|
if (!datepicker) {
|
|
|
datepicker = $('.datepicker-here').datepicker({
|