代码更新
This commit is contained in:
parent
c314f49f56
commit
207e4a8e6f
|
|
@ -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
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user