This commit is contained in:
2025-09-11 14:52:52 +08:00
parent ebfcbdd82f
commit fe0dbbf8ac
5 changed files with 15 additions and 13 deletions

View File

@@ -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
};
},