Commit 4d3213e8 by 胡悦

Merge branch 'V4.56.0' of http://192.168.3.233:8090/glsx/gl_tape into V4.56.0

2 parents e69ccf6f 88f8b03e
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
placeholder-class="placeholder" placeholder-class="placeholder"
@blur="handleBlur($event, i)" @blur="handleBlur($event, i)"
:disabled="filterDisabled(isEditReport)" :disabled="filterDisabled(isEditReport)"
:maxlength="3"
> >
</template> </template>
<template v-else-if="i.type == 'picker'"> <template v-else-if="i.type == 'picker'">
...@@ -101,7 +102,7 @@ ...@@ -101,7 +102,7 @@
<template v-for="(i,ind) in filterTemplateList"> <template v-for="(i,ind) in filterTemplateList">
<view <view
:class="['form-item flex',{name:i.name}]" :class="['form-item flex',{name:i.name}]"
:key="ind" :key="`${index}_${ind}_${dateKey}`"
:id="i.refId ? `${i.refId}_${index}` : ''" :id="i.refId ? `${i.refId}_${index}` : ''"
> >
<template v-if="i.name"> <template v-if="i.name">
...@@ -115,6 +116,15 @@ ...@@ -115,6 +116,15 @@
</template> </template>
</view> </view>
<view class="value flex"> <view class="value flex">
<template v-if="filterDisabled(isEditReport) || i.disabled">
<template v-if="item[i.key] != null">
{{item[i.key] }}
</template>
<template v-else>
<view class="placeholder">{{i.inputPlaceholder || '请输入'}}</view>
</template>
</template>
<template v-else>
<input <input
class="input" class="input"
:type="i.type || 'text'" :type="i.type || 'text'"
...@@ -122,8 +132,9 @@ ...@@ -122,8 +132,9 @@
:placeholder="i.inputPlaceholder || '请输入'" :placeholder="i.inputPlaceholder || '请输入'"
placeholder-class="placeholder" placeholder-class="placeholder"
@blur="handleCarInputBlur($event, i , item)" @blur="handleCarInputBlur($event, i , item)"
:disabled="filterDisabled(isEditReport) || i.disabled" :maxlength="3"
> >
</template>
</view> </view>
</template> </template>
</view> </view>
...@@ -605,7 +616,7 @@ export default { ...@@ -605,7 +616,7 @@ export default {
let { value } = e.detail let { value } = e.detail
this.orderObj[i.value] = value this.orderObj[i.value] = value
this.orderObj[i.submitValue] = value == 1 ? 'Y' : 'N' this.orderObj[i.submitValue] = value == 1 ? 'Y' : 'N'
} },
} }
} }
</script> </script>
...@@ -676,7 +687,7 @@ export default { ...@@ -676,7 +687,7 @@ export default {
font-size: 28rpx; font-size: 28rpx;
} }
.textarea { .textarea {
width:calc(100% - 24rpx); width: calc(100% - 24rpx);
margin-left: 24rpx; margin-left: 24rpx;
text-align: right; text-align: right;
} }
......
...@@ -190,6 +190,7 @@ $uni-primary: #4673ff !default; ...@@ -190,6 +190,7 @@ $uni-primary: #4673ff !default;
.uni-calendar-item--checked { .uni-calendar-item--checked {
background-color: $uni-primary; background-color: $uni-primary;
color: #fff; color: #fff;
border-radius: 16rpx;
// opacity: 0.8; // opacity: 0.8;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!