bug
This commit is contained in:
@@ -81,6 +81,7 @@
|
||||
<td>{{e.material_spec}}</td>
|
||||
<td>{{e.material_model}}</td>
|
||||
<td>{{e.quality_time_day}}</td>
|
||||
<td>{{e.execution_stand}}</td>
|
||||
<td>{{['', '待检', '合格', '不合格'][Number(e.quality_type)]}}</td>
|
||||
<td>{{e.bake_num}}</td>
|
||||
</tr>
|
||||
@@ -91,7 +92,7 @@
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-5 button-default" @tap="toEmpty">清空</button>
|
||||
<button class="zd-col-18 button-primary" :class="{'button-info': JSON.stringify(deviceData) === '{}' || (!materialInfo && qty) || (materialInfo && !qty)}" :disabled="disabled" @tap="_deliveryBox">确认组箱</button>
|
||||
<button class="zd-col-18 button-primary" :class="{'button-info': JSON.stringify(deviceData) === '{}'}" :disabled="disabled" @tap="_deliveryBox">确认组箱</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -160,7 +161,7 @@
|
||||
},
|
||||
async _deliveryBox () {
|
||||
this.disabled = true
|
||||
if (JSON.stringify(this.deviceData) === '{}' || (!this.materialInfo && this.qty) || (this.materialInfo && !this.qty)) {
|
||||
if (JSON.stringify(this.deviceData) === '{}') {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<span class="filter_label filter_input_disabled">当前站点</span>
|
||||
</view>
|
||||
<view class="zd-col-18">
|
||||
<input type="text" v-model="currentData.point_cdoe" class="filter_input filter_input_disabled" disabled>
|
||||
<input type="text" v-model="currentData.point_code" class="filter_input filter_input_disabled" disabled>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
@@ -39,13 +39,13 @@
|
||||
<span class="filter_label filter_input_disabled">起点</span>
|
||||
</view>
|
||||
<view class="zd-col-8">
|
||||
<input type="text" v-model="currentData.point_cdoe1" class="filter_input filter_input_disabled" disabled>
|
||||
<input type="text" v-model="currentData.point_code1" class="filter_input filter_input_disabled" disabled>
|
||||
</view>
|
||||
<view class="zd-col-4">
|
||||
<span class="filter_label filter_input_disabled">终点</span>
|
||||
</view>
|
||||
<view class="zd-col-8">
|
||||
<input type="text" v-model="currentData.point_cdoe2" class="filter_input filter_input_disabled" disabled>
|
||||
<input type="text" v-model="currentData.point_code2" class="filter_input filter_input_disabled" disabled>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user