代码更新

This commit is contained in:
梁州 2024-08-02 15:01:48 +08:00
parent c314f49f56
commit 207e4a8e6f
3 changed files with 12 additions and 1 deletions

View File

@ -1,7 +1,7 @@
import axios from 'axios'
const request = axios.create({
baseURL: 'http://localhost:12315/wms',
baseURL: 'http://192.168.8.93:12315/wms',
timeout: 5000
})

View File

@ -34,6 +34,15 @@
</div>
</el-form-item>
</el-col>
<!-- 开关 -->
<el-col :span="12" :offset="1" v-if="config.configType == '3'">
<el-form-item :label="config.configName">
<div>
<el-switch v-model="config.configValue" class="ml-2" active-value="1"
inactive-value="0" :before-change="updateCurrentConfig(config)" />
</div>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>

View File

@ -149,6 +149,8 @@ export default {
})
},
addTempTask() {
this.workFormEntity.vehicleId = this.workFormEntity.vehicleId.replace('€', '')
this.workFormEntity.goodsId = this.workFormEntity.goodsId.replace('€', '')
if (this.workFormEntity.vehicleId != '' && this.workFormEntity.goodsId != '' && this.workFormEntity.goodsNum != null && this.workFormEntity.goodsNum > 0) {
if (this.currentVehicleId != '' && this.currentVehicleId != this.workFormEntity.vehicleId) {
ElMessage({