Browse Source

完善存放地点变更

zhanglei
yunuo970428 3 years ago
parent
commit
d7f33f1812
  1. 32
      anrui-scm/anrui-scm-ui/src/views/supplychain/cunfangdidianbiangeng/cunfangdidianbiangeng.vue
  2. 35
      anrui-scm/anrui-scm-ui/src/views/supplychain/cunfangdidianbiangeng/cunfangdidianbiangengAdd.vue
  3. 9
      anrui-scm/anrui-scm-ui/src/views/supplychain/cunfangdidianbiangeng/cunfangdidianbiangengInfo.vue
  4. 9
      anrui-scm/anrui-scm-ui/src/views/workFlow/cunfangdidianbiangengFlow/cunfangdidianbiangeng.vue
  5. 33
      anrui-scm/anrui-scm-ui/src/views/workFlow/cunfangdidianbiangengFlow/cunfangdidianbiangengEdit.vue
  6. 9
      anrui-scm/anrui-scm-ui/src/views/workFlow/cunfangdidianbiangengFlow/cunfangdidianbiangengInfo.vue

32
anrui-scm/anrui-scm-ui/src/views/supplychain/cunfangdidianbiangeng/cunfangdidianbiangeng.vue

@ -107,7 +107,7 @@
<el-col :span="3">
<span>日期:</span>
</el-col>
<el-col :span="9">
<el-col :span="5">
<el-form-item>
<span>{{ formList.date }}</span>
</el-form-item>
@ -115,11 +115,19 @@
<el-col :span="3">
<span>申请人:</span>
</el-col>
<el-col :span="9">
<el-col :span="5">
<el-form-item>
<span>{{ formList.applyName }}</span>
</el-form-item>
</el-col>
<el-col :span="3">
<span>合同编号</span>
</el-col>
<el-col :span="5">
<el-form-item>
<span>{{ formList.contractNo }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="3">
@ -131,11 +139,11 @@
</el-form-item>
</el-col>
<el-col :span="3">
<span>合同编号</span>
<span>台数</span>
</el-col>
<el-col :span="9">
<el-form-item>
<span>{{ formList.contractNo }}</span>
<span>{{ formList.num }}</span>
</el-form-item>
</el-col>
</el-row>
@ -143,19 +151,11 @@
<el-col :span="3">
<span>车型名称</span>
</el-col>
<el-col :span="9">
<el-col :span="21">
<el-form-item>
<span>{{ formList.modelName }}</span>
</el-form-item>
</el-col>
<el-col :span="3">
<span>台数</span>
</el-col>
<el-col :span="9">
<el-form-item>
<span>{{ formList.num }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="3">
@ -447,20 +447,18 @@ export default {
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
})
// const sids = this.sids.join()
deleteCarTransfer(this.sids).then(resp => {
if (resp.success) {
loading.close()
_this.$message({type: 'success', message: resp.msg, showClose: true})
_this.$message({ type: 'success', message: resp.msg, showClose: true })
_this.loadList()
} else {
loading.close()
}
}).catch(e => {
}).catch(() => {
loading.close()
})
}).catch(() => {
loading.close()
})
},
handleEdit(row) {

35
anrui-scm/anrui-scm-ui/src/views/supplychain/cunfangdidianbiangeng/cunfangdidianbiangengAdd.vue

@ -115,7 +115,7 @@
<div><span>车辆列表</span></div>
<div><el-button size="mini" type="primary" icon="el-icon-plus" @click="selectVinNo" class="btntopblueline">选择</el-button></div>
</div>
<el-table :key="vinKey" :data="temp.vins" :index="index" border style="width: 100%">
<el-table :key="vinKey" :data="temp.scmVehicleGressionVehs" :index="index" border style="width: 100%">
<el-table-column fixed width="80px" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column fixed prop="name" label="操作" width="100px" align="center" header-align="center">
<template slot-scope="scope">
@ -125,7 +125,12 @@
</el-table-column>
<el-table-column label="车架号" align="center">
<template slot-scope="scope">
<span>{{ scope.row }}</span>
<span>{{ scope.row.vehVin }}</span>
</template>
</el-table-column>
<el-table-column label="买断状态" align="center">
<template slot-scope="scope">
<span>{{ scope.row.settlementStatusValue }}</span>
</template>
</el-table-column>
</el-table>
@ -223,9 +228,8 @@ export default {
proCardStateKey: '',
temporaryCard: '',
policyImage: [],
vins: []
scmVehicleGressionVehs: []
}, //
dialogFormVisible: false, //
dialogFormShowVisible: false, //
dialogStatus: '', //
//
@ -368,7 +372,13 @@ export default {
//
handlevinNo() {
this.vinNoList.current = 1
this.vinNoList.params.vins = this.temp.vins
const aa = []
if (this.temp.scmVehicleGressionVehs.length > 0) {
this.temp.scmVehicleGressionVehs.forEach((e) => {
aa.push(e.vehVin)
})
}
this.vinNoList.params.vins = aa
this.getvinNoList()
},
//
@ -387,7 +397,11 @@ export default {
handleSelectionvinNo(row) {
const aa = []
row.forEach((element) => {
aa.push(element.vin)
aa.push({
vehVin: element.vin,
settlementStatus: element.settlementStatus,
settlementStatusValue: element.settlementStatusValue
})
})
this.vinNoChoice = aa
},
@ -400,7 +414,7 @@ export default {
type: 'error'
})
} else {
this.temp.vins = this.vinNoChoice
this.temp.scmVehicleGressionVehs = this.vinNoChoice
this.vinNoVisible = false
}
},
@ -411,7 +425,7 @@ export default {
return pageindex
},
dataDelete(index) {
this.temp.vins.splice(index, 1)
this.temp.scmVehicleGressionVehs.splice(index, 1)
},
// ------------------------------------------------------
//
@ -440,7 +454,7 @@ export default {
proCardStateKey: '',
temporaryCard: '',
policyImage: [],
vins: []
scmVehicleGressionVehs: []
}
this.vinNo_list = []
this.$emit('doback')
@ -468,8 +482,7 @@ export default {
//
saveCarTransferInfo(this.temp).then((response) => {
this.FormLoading = false
if (response.code === '200') {
this.dialogFormVisible = false
if (response.success) {
this.handleReturn('true')
}
})

9
anrui-scm/anrui-scm-ui/src/views/supplychain/cunfangdidianbiangeng/cunfangdidianbiangengInfo.vue

@ -106,11 +106,16 @@
<div class="title">
<span>车辆列表</span>
</div>
<el-table :key="vinKey" :data="temp.vins" :index="index" border style="width: 100%">
<el-table :key="vinKey" :data="temp.scmVehicleGressionVehs" :index="index" border style="width: 100%">
<el-table-column fixed width="80px" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column label="车架号" align="center">
<template slot-scope="scope">
<span>{{ scope.row }}</span>
<span>{{ scope.row.vehVin }}</span>
</template>
</el-table-column>
<el-table-column label="买断状态" align="center">
<template slot-scope="scope">
<span>{{ scope.row.settlementStatusValue }}</span>
</template>
</el-table-column>
</el-table>

9
anrui-scm/anrui-scm-ui/src/views/workFlow/cunfangdidianbiangengFlow/cunfangdidianbiangeng.vue

@ -109,11 +109,16 @@
<div class="title">
<span>车辆列表</span>
</div>
<el-table :key="vinKey" :data="temp.vins" :index="index" border style="width: 100%">
<el-table :key="vinKey" :data="temp.scmVehicleGressionVehs" :index="index" border style="width: 100%">
<el-table-column fixed width="80px" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column label="车架号" align="center">
<template slot-scope="scope">
<span>{{ scope.row }}</span>
<span>{{ scope.row.vehVin }}</span>
</template>
</el-table-column>
<el-table-column label="买断状态" align="center">
<template slot-scope="scope">
<span>{{ scope.row.settlementStatusValue }}</span>
</template>
</el-table-column>
</el-table>

33
anrui-scm/anrui-scm-ui/src/views/workFlow/cunfangdidianbiangengFlow/cunfangdidianbiangengEdit.vue

@ -3,8 +3,8 @@
<div class="tab-header webtop">
<div>{{ viewTitle }}</div>
<div>
<el-button type="primary" size="small" :disabled="disabled" @click="handleCreate()">保存</el-button>
<el-button type="primary" size="small" :disabled="disabled" @click="handleSubmit()">提交</el-button>
<el-button type="primary" size="small" @click="handleCreate()">保存</el-button>
<el-button type="primary" size="small" @click="handleSubmit()">提交</el-button>
</div>
</div>
<div class="">
@ -114,7 +114,7 @@
<div><span>车辆列表</span></div>
<div><el-button size="mini" type="primary" icon="el-icon-plus" @click="selectVinNo" class="btntopblueline">选择</el-button></div>
</div>
<el-table :key="vinKey" :data="temp.vins" :index="index" border style="width: 100%">
<el-table :key="vinKey" :data="temp.scmVehicleGressionVehs" :index="index" border style="width: 100%">
<el-table-column fixed width="80px" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column fixed prop="name" label="操作" width="100px" align="center" header-align="center">
<template slot-scope="scope">
@ -124,7 +124,12 @@
</el-table-column>
<el-table-column label="车架号" align="center">
<template slot-scope="scope">
<span>{{ scope.row }}</span>
<span>{{ scope.row.vehVin }}</span>
</template>
</el-table-column>
<el-table-column align="center" label="买断状态">
<template slot-scope="scope">
<span>{{ scope.row.settlementStatusValue }}</span>
</template>
</el-table-column>
</el-table>
@ -222,7 +227,7 @@ export default {
proCardStateKey: '',
temporaryCard: '',
policyImage: [],
vins: []
scmVehicleGressionVehs: []
}, //
dialogFormVisible: false, //
dialogFormShowVisible: false, //
@ -384,7 +389,13 @@ export default {
//
handlevinNo() {
this.vinNoList.current = 1
this.vinNoList.params.vins = this.temp.vins
const aa = []
if (this.temp.scmVehicleGressionVehs.length > 0) {
this.temp.scmVehicleGressionVehs.forEach((e) => {
aa.push(e.vehVin)
})
}
this.vinNoList.params.vins = aa
this.getvinNoList()
},
//
@ -403,7 +414,11 @@ export default {
handleSelectionvinNo(row) {
const aa = []
row.forEach((element) => {
aa.push(element.vin)
aa.push({
vehVin: element.vin,
settlementStatus: element.settlementStatus,
settlementStatusValue: element.settlementStatusValue
})
})
this.vinNoChoice = aa
},
@ -416,7 +431,7 @@ export default {
type: 'error'
})
} else {
this.temp.vins = this.vinNoChoice
this.temp.scmVehicleGressionVehs = this.vinNoChoice
this.vinNoVisible = false
}
},
@ -427,7 +442,7 @@ export default {
return pageindex
},
dataDelete(index) {
this.temp.vins.splice(index, 1)
this.temp.scmVehicleGressionVehs.splice(index, 1)
},
// ------------------------------------------------------
//

9
anrui-scm/anrui-scm-ui/src/views/workFlow/cunfangdidianbiangengFlow/cunfangdidianbiangengInfo.vue

@ -106,11 +106,16 @@
<div class="title">
<span>车辆列表</span>
</div>
<el-table :key="vinKey" :data="temp.vins" :index="index" border style="width: 100%">
<el-table :key="vinKey" :data="temp.scmVehicleGressionVehs" :index="index" border style="width: 100%">
<el-table-column fixed width="80px" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column label="车架号" align="center">
<template slot-scope="scope">
<span>{{ scope.row }}</span>
<span>{{ scope.row.vehVin }}</span>
</template>
</el-table-column>
<el-table-column label="买断状态" align="center">
<template slot-scope="scope">
<span>{{ scope.row.settlementStatusValue }}</span>
</template>
</el-table-column>
</el-table>

Loading…
Cancel
Save