Browse Source

Merge remote-tracking branch 'origin/master'

master
dimengzhe 3 years ago
parent
commit
09d759114a
  1. 2
      anrui-buscenter/anrui-buscenter-ui/src/views/login/login.vue
  2. 15
      anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/relation/vehiclelibraryconfiguration.vue
  3. 1
      anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmapplyinbound/ScmApplyInboundService.java
  4. 2
      anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/yancheguanli.vue
  5. 20
      anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/yancheguanliAdd.vue

2
anrui-buscenter/anrui-buscenter-ui/src/views/login/login.vue

@ -51,7 +51,7 @@
</template>
<script>
import { login, imgCode } from '@/api/user1.js'
// import { login, imgCode } from '@/api/user1.js'
import user from '@/api/User/login.js'
import { setToken, getToken, setSession } from '@/utils/auth'
import imgCodeRole from '@/components/imgCodeRole/index.vue'

15
anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/relation/vehiclelibraryconfiguration.vue

@ -125,7 +125,9 @@
:limit.sync="listQuery.size" class="pagination" @pagination="getList"/>
</div>
<div class="">
<el-table :key="tableKey" v-loading="listLoading" :data="list" border style="width: 100%">
<el-table :key="tableKey" ref="multipleTable" v-loading="listLoading" :data="list" border style="width: 100%"
@selection-change="handleSelectionChange">
<el-table-column type="selection" align="center" width="50"/>
<el-table-column width="80px" label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column label="常用配置" align="center">
<template slot-scope="scope"> <!---->
@ -472,15 +474,16 @@ export default {
if (this.peiZhiList.length > 0) {
var modelData = new Object()
this.peiZhiList.forEach((element) => {
console.log('element', element)
modelData = {
brandName: this.row.brandName,
brandSid: this.row.brandSid,
config: element.configName, //
guildPrice: element.guidedPrice, //
modelConfig: this.row.modelName, //
modelConfigSid: element.sid, //sid
modelName:this.row.vehicleAlias, //
modelSid: this.row.sid, //sid
guildPrice: element.price, //
modelConfig: element.configName, //
modelConfigSid: element.configSid, //sid
modelName:this.row.modelName, //
modelSid: this.row.modelSid, //sid
moreConfig: element.otherConfig, //
}
})

1
anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmapplyinbound/ScmApplyInboundService.java

@ -363,6 +363,7 @@ public class ScmApplyInboundService extends MybatisBaseService<ScmApplyInboundMa
scmEntryVehicleExamineDto.setUserSid(dto.getUserSid());
scmEntryVehicleExamineDto.setVinNo(scmApplyInboundVehicleDto.getVinNo());
scmEntryVehicleExamineDto.setInspectionResult("1");
scmEntryVehicleExamineDto.setDepartureDate(dto.getDepartureDate());
ResultBean resultBean = scmVehicleExamineService.saveEntryCarInspectedInfo(scmEntryVehicleExamineDto);
if (!resultBean.getSuccess()){
return rb.setMsg("验车业务模块的数据推送失败!");

2
anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/yancheguanli.vue

@ -204,7 +204,7 @@ export default {
if (this.dataList[i].inspectedType == '1') {
this.dataList[i].inspectedType = '待验车'
} else {
this.dataList[i].inspectedType = '验车'
this.dataList[i].inspectedType = '验车'
}
}
})

20
anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/yancheguanliAdd.vue

@ -55,6 +55,7 @@
placeholder="请输入洗车费"
class="addinputw"
clearable
@keyup.native="temp.price = oninput(temp.price,2)"
/>
</el-form-item>
</el-col>
@ -135,6 +136,25 @@ export default {
}
},
methods: {
//
oninput(val, limit = 0) {
val = val.replace(/[^\d.]/g, '') //
val = val.replace(/^00/, '0.') //0
val = val.replace(/^\./g, '0.') //0.
val = val.replace(/\.{2,}/g, '.') //
val = val.replace('.', '$#$').replace(/\./g, '').replace('$#$', '.'); //
/^0\d+/.test(val) ? val = val.slice(1) : '' //0
const str = '^(\\d+)\\.(\\d{' + limit + '}).*$'
const reg = new RegExp(str)
if (limit === 0) {
//
val = val.replace(reg, '$1')
} else {
//
val = val.replace(reg, '$1.$2')
}
return val
},
showAdd(row) {
this.$nextTick(() => {
this.$refs['dataForm'].clearValidate()

Loading…
Cancel
Save