change
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
<tbody>
|
||||
<tr v-for="(item, i) in dataList" :key="i">
|
||||
<td>{{item.point_code}}</td>
|
||||
<td><span class="span1" :class="{'hightlight': item.point_type === '1'}" @tap="setpoint_type(item, '1')">入库点</span><span class="span1" :class="{'hightlight': item.point_type === '2'}" @tap="setpoint_type(item, '2')">出库点</span></td>
|
||||
<td><span class="span1" :class="{'hightlight': item.point_type === '1'}" @tap="setpoint_type(item, '1')">入库点</span><span class="span1" :class="{'hightlight': item.point_type === '2'}" @tap="setpoint_type(item, '2')">出库点</span></td>
|
||||
<!-- <uni-data-select
|
||||
v-model="item.point_type"
|
||||
:localdata="options"
|
||||
@@ -70,12 +70,13 @@
|
||||
val1: '',
|
||||
options: [{text:'入库点', value:'1'},{text:'出库点',value: '2'}],
|
||||
index: '',
|
||||
dataList: [
|
||||
{ point_code: 'P-1001', point_type: '2' },
|
||||
{ point_code: 'P-1002', point_type: '1' },
|
||||
{ point_code: 'P-1003', point_type: '2' },
|
||||
{ point_code: 'P-1004', point_type: '2' }
|
||||
],
|
||||
dataList: [],
|
||||
// dataList: [
|
||||
// { point_code: 'P-1001', point_type: '2' },
|
||||
// { point_code: 'P-1002', point_type: '1' },
|
||||
// { point_code: 'P-1003', point_type: '2' },
|
||||
// { point_code: 'P-1004', point_type: '2' }
|
||||
// ],
|
||||
disabled: false
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user