更新
This commit is contained in:
@@ -538,8 +538,12 @@ public class HfStationDeviceDriver extends AbstractOpcDeviceDriver implements De
|
|||||||
if (inspect_in_stocck.toString().equals("true")) {
|
if (inspect_in_stocck.toString().equals("true")) {
|
||||||
json.put("is_first", "true");
|
json.put("is_first", "true");
|
||||||
}
|
}
|
||||||
|
String prx = "00";
|
||||||
|
if (barcode < 10){
|
||||||
|
prx = "000";
|
||||||
|
}
|
||||||
json.put("device_code", device_code);
|
json.put("device_code", device_code);
|
||||||
json.put("barcode", barcode);
|
json.put("barcode", prx + barcode);
|
||||||
HttpResponse result = acsToWmsService.updateBarcode(json);
|
HttpResponse result = acsToWmsService.updateBarcode(json);
|
||||||
if (ObjectUtil.isNotEmpty(result)) {
|
if (ObjectUtil.isNotEmpty(result)) {
|
||||||
if (result.getStatus() == 200) {
|
if (result.getStatus() == 200) {
|
||||||
|
|||||||
@@ -97,9 +97,9 @@
|
|||||||
|
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="关联设备" prop="device_code">
|
<el-form-item label="取货位" prop="device_code">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="form.link_device_code"
|
v-model="form.link_get_device_code"
|
||||||
filterable
|
filterable
|
||||||
multiple
|
multiple
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
@@ -114,11 +114,12 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="关联三色灯" prop="device_code" label-width="100px">
|
<el-form-item label="放货位" prop="device_code" label-width="100px">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="form.link_three_lamp"
|
v-model="form.link_put_device_code"
|
||||||
filterable
|
filterable
|
||||||
clearable
|
clearable
|
||||||
|
multiple
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
@@ -297,7 +298,8 @@ export default {
|
|||||||
manual_create_task: true,
|
manual_create_task: true,
|
||||||
is_pickup: true,
|
is_pickup: true,
|
||||||
is_release: true,
|
is_release: true,
|
||||||
link_device_code: []
|
link_put_device_code: [],
|
||||||
|
link_get_device_code: []
|
||||||
},
|
},
|
||||||
rules: {}
|
rules: {}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user