Commit 8a0d882c authored by 黄媛媛's avatar 黄媛媛

账户类型修改

parent 643cba91
......@@ -109,7 +109,7 @@
<img :src=" scope.row.ImageList[0]" alt="" style="width: 60px; height: 60px;">
<div style="margin-left:5px">
<span>{{scope.row.Name}}</span>
<div>
<div style="width:400px">
<span>
商品分类:
<span v-for="(item,index3) in scope.row.GoodsCategoryList" :key="index3" >{{item}} </span>
......@@ -294,6 +294,7 @@
this.loading = false
if(res.data.resultCode==1){
this.Success(res.data.message);
this.getList()
}else{
this.Info(res.data.message);
}
......
......@@ -196,7 +196,7 @@
<el-form :model="addMsg" :rules="rules" ref="addMsg" label-width="90px" style="width:50%">
<el-form-item label="账户类型" prop="IsPublic">
<el-select v-model="addMsg.IsPublic" placeholder="请选择" size="small" filterable>
<el-option :label="item.Name" :value="item.Id" v-for="(item,index) in AccountList" :key="index"></el-option>
<el-option :label="item.Name" :value="item.ID" v-for="(item,index) in AccountList" :key="index"></el-option>
</el-select>
</el-form-item>
<el-form-item label="供应商" prop="SupplierId">
......@@ -415,7 +415,7 @@
goodsId: 0,
total: 0,
total2: 0,
AccountList: [],
AccountList: [ {'ID':0,'Name':'私帐'},{'ID':1,'Name':'公帐'},{'ID':2,'Name':'人民币现金'},{'ID':3,'Name':'外币现金'},{'ID':4,'Name':'资金池'},],
options: [],
options2:[
{'ID':1,'Name':'未入库'}, {'ID':2,'Name':'部分入库'}, {'ID':3,'Name':'已入库'}
......@@ -475,11 +475,11 @@
})
},
// 账户类型
getAccount() {
this.apipost("/api/finance/GetAccountTypeList", {}, res => {
this.AccountList = res.data.data;
})
},
// getAccount() {
// this.apipost("/api/finance/GetAccountTypeList", {}, res => {
// this.AccountList = res.data.data;
// })
// },
//供应商
getSupplierList() {
this.apipost("/api/Supplier/GetSupplierAllList", {}, res => {
......@@ -725,7 +725,7 @@
},
mounted() {
this.getList();
this.getAccount()
// this.getAccount()
this.getSupplierList();
this.getWareHouse()
}
......
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