diff --git a/fuintAdmin/src/views/oilConfig/oilGun/list.vue b/fuintAdmin/src/views/oilConfig/oilGun/list.vue index efb217949..3e5bb64ac 100644 --- a/fuintAdmin/src/views/oilConfig/oilGun/list.vue +++ b/fuintAdmin/src/views/oilConfig/oilGun/list.vue @@ -100,12 +100,12 @@ - + - + - - + + - + @@ -172,22 +172,22 @@ v-model="gunForm.deviceId" clearable placeholder="" - style="width: 300px" + style="width: 100%" > - -
+ +
请确保输入的集线器正确的枪号,否则出现设备显示屏与一件加油页面显示数据不一致。例如:0001,0002···
- +
取 消 - 确 定 - + 保 存 +
@@ -278,6 +278,9 @@ export default { tankId: [ {required: true, message: '请选择所属油罐', trigger: 'change'} ], + numberId: [ + {required: true, message: '请选择关联油品油号', trigger: 'change'} + ], } } }, @@ -297,6 +300,18 @@ export default { } }, methods: { + changeTank(){ + // 查询numberId + for (let tankListKey in this.tankList) { + if (parseInt(this.gunForm.tankId) === parseInt(this.tankList[tankListKey].id)) { + this.gunForm.numberId = parseInt(this.tankList[tankListKey].numberId); + } + } + }, + changeNumber(numberId){ + this.gunForm.tankId = '' + this.selectTankByNumber(numberId) + }, getOilNameList() { var this_ = this getOilNameListApi().then(response => { diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/entity/FleetLinesChange.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/entity/FleetLinesChange.java index 12aadacfe..5ee7df868 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/entity/FleetLinesChange.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/entity/FleetLinesChange.java @@ -67,6 +67,9 @@ public class FleetLinesChange implements Serializable { @ApiModelProperty(value = "被调整额度的用户id") private Integer userId; + @ApiModelProperty(value = "订单号") + private String orderNo; + }