bug
This commit is contained in:
parent
94b0dacae7
commit
399cf05de6
@ -211,21 +211,21 @@
|
||||
<el-row>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="进货单价" prop="buyingPrice">
|
||||
<el-input v-model="form.buyingPrice">
|
||||
<el-input v-model="form.buyingPrice" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
|
||||
<template slot="append">元</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="零售价" prop="retailPrice">
|
||||
<el-input v-model="form.retailPrice" @input="getPrice">
|
||||
<el-input v-model="form.retailPrice" @input="getPrice" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
|
||||
<template slot="append">元</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="会员价" prop="memberPrice">
|
||||
<el-input v-model="form.memberPrice">
|
||||
<el-input v-model="form.memberPrice" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
|
||||
<template slot="append">元</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
@ -258,7 +258,7 @@
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<el-form-item label="初始库存" prop="stock">
|
||||
<el-input v-model="form.stock" :disabled="isAdd" placeholder="0"/>
|
||||
<el-input v-model="form.stock" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" :disabled="isAdd" placeholder="0"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
@ -386,6 +386,7 @@
|
||||
let data = await getUser(id);
|
||||
result = data.data.name + "|" + data.data.mobile
|
||||
}
|
||||
console.log(result)
|
||||
return result.toString();
|
||||
},
|
||||
getVal(list,val){
|
||||
|
Loading…
Reference in New Issue
Block a user