|
|
@@ -102,6 +102,14 @@
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
|
|
|
+ <el-form-item label="拼音缩写" prop="py">
|
|
|
+ <el-input
|
|
|
+ v-model="replaceForm.py"
|
|
|
+ placeholder="拼音缩写"
|
|
|
+ size="small"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
<el-form-item label="别名" prop="alias">
|
|
|
<el-input
|
|
|
v-model="replaceForm.alias"
|
|
|
@@ -238,6 +246,7 @@ export default {
|
|
|
addDialog: false,
|
|
|
replaceForm: {
|
|
|
name: '',
|
|
|
+ py:'',
|
|
|
alias: '',
|
|
|
classId: '',
|
|
|
className: '',
|
|
|
@@ -353,7 +362,8 @@ export default {
|
|
|
addPrice:'',
|
|
|
className:'',
|
|
|
weight:'',
|
|
|
- ratio:''
|
|
|
+ ratio:'',
|
|
|
+ py:''
|
|
|
}
|
|
|
}else{
|
|
|
this.$service.item.getDetail({id:id}).then(async res => {
|
|
|
@@ -372,6 +382,7 @@ export default {
|
|
|
this.replaceForm.weight = res.weight
|
|
|
this.replaceForm.ratio = res.ratio
|
|
|
this.replaceForm.classId = res.classId
|
|
|
+ this.replaceForm.py = res.py
|
|
|
this.replaceForm.className = this.itemClassList[index].name
|
|
|
this.$forceUpdate()
|
|
|
|