12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <template>
- <view>
- <uni-forms :modelValue="basicFrom">
- <uni-forms-item label="车牌号:" name="CarPlate" label-align="right" label-width="120px">
- <uni-easyinput type="text" v-model.trim="basicFrom.CarPlate" :clear="false"/>
- </uni-forms-item>
- <uni-forms-item label="车辆识别码:" name="CarVin" label-align="right" label-width="120px">
- <uni-easyinput type="text" v-model.trim="basicFrom.CarVin" />
- </uni-forms-item>
- <uni-forms-item label="电池距离:" name="CarDistance" label-align="right" label-width="120px">
- <uni-easyinput type="text" v-model.trim="basicFrom.CarDistance" :clear="false" />
- </uni-forms-item>
- <uni-forms-item label="FRID:" name="rfidEpc" label-align="right" label-width="120px">
- <uni-easyinput type="text" v-model.trim="basicFrom.rfidEpc" :clear="false" />
- <uni-button style="margin-top: 10px;" @click="redHandle">读取</uni-button>
- </uni-forms-item>
- <uni-forms-item label="FRID:" name="epcFour" label-align="right" label-width="120px">
- <uni-easyinput type="text" v-model.trim="basicFrom.epcFour" placeholder="请输入FRID后四位再次验证" :clear="false" />
- </uni-forms-item>
-
- <!-- <uni-forms-item label="状态:" name="state" label-align="right" label-width="120px">
- <uni-data-select v-model.trim="basicFrom.state" :localdata="range"
- :clear="false"></uni-data-select>
- </uni-forms-item> -->
- </uni-forms>
- </view>
- <!-- 剩个已充时长和落座信号没有对字段 -->
- </template>
- <script>
- export default {
- name: 'BasicDrawer',
- props: ['basicFrom','range'],
- data() {
- return {
- // getbasicFrom:{}
- dataForm: {}
- }
- },
- watch: {
- basicFrom: {
- deep: true,
- handler(val) {
- console.log(val, 'val')
- this.dataForm = val
- }
- }
- },
- methods:{
- changeId(e) {
-
- },
- //读取frid
- redHandle() {
- this.$emit('redHandle')
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- ::v-deep .uni-forms-item__content {
- background: rgba(255, 255, 255, 0);
- // border-radius: 2px 2px 2px 2px;
- // border: 1px solid #263042;
- .uni-easyinput__content {
- background: none !important;
- border: none !important;
- color: #fff;
- }
- }
- ::v-deep .uni-forms-item {
- width: 100% !important;
- }
- ::v-deep .uni-icons{
- display: none;
- }
- .button {
- width: 40px;
-
- }
- </style>
|