Commit d21311d4 authored by youjie's avatar youjie

车行 供应商 增加账户

parent 7626ef2a
...@@ -192,7 +192,8 @@ ...@@ -192,7 +192,8 @@
</el-col> </el-col>
<el-col :span="4" :gutter="35"> <el-col :span="4" :gutter="35">
<el-form-item label="供应商:" prop="SupplierName"> <el-form-item label="供应商:" prop="SupplierName">
<el-input type="text" v-model="addMsg.SupplierName"></el-input> <el-input type="text" v-model="addMsg.SupplierName"
:disabled="$route.query.FeatureType"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
...@@ -428,6 +429,15 @@ ...@@ -428,6 +429,15 @@
this.changeTitle() this.changeTitle()
}, },
methods: { methods: {
// 车系统 添加账户
getCarDatas(){
if(this.$route.query.FeatureType){
this.addMsg.ObjID = this.$route.query.ObjID
this.addMsg.ObjIdStr = this.$route.query.SupplierName
this.addMsg.SupplierName = this.$route.query.SupplierName
this.addMsg.RB_Group_Id = this.$route.query.id
}
},
//替换卡号里面的空格 //替换卡号里面的空格
replaceSpace(event) { replaceSpace(event) {
// onkeyup="value=value.replace(/[^\w\u4E00-\u9FA5]/g,'')" // onkeyup="value=value.replace(/[^\w\u4E00-\u9FA5]/g,'')"
...@@ -636,6 +646,7 @@ ...@@ -636,6 +646,7 @@
this.outerVisible = true this.outerVisible = true
this.dialogTitle = this.$t('ground.xinzengzhanghu') this.dialogTitle = this.$t('ground.xinzengzhanghu')
this.resetForm('addMsg') this.resetForm('addMsg')
this.getCarDatas()
}, },
changeTitle() { changeTitle() {
if (this.addMsg.AccountClassify == 1) { if (this.addMsg.AccountClassify == 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment