|
@@ -191,7 +191,7 @@
|
|
v-for="dict in fFeeunitidOptions"
|
|
v-for="dict in fFeeunitidOptions"
|
|
:key="dict.dictValue"
|
|
:key="dict.dictValue"
|
|
:label="dict.dictLabel"
|
|
:label="dict.dictLabel"
|
|
- :value="dict.dictValue"
|
|
|
|
|
|
+ :value="parseInt(dict.dictValue)"
|
|
></el-option>
|
|
></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -300,6 +300,11 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ // 费用属性默认为仓储、计量单位默认为毛重
|
|
|
|
+ query() {
|
|
|
|
+ this.$set(this.form, "fFeetype", "1");
|
|
|
|
+ this.$set(this.form, "fFeeunitid", 1);
|
|
|
|
+ },
|
|
/** 查询费用信息列表 */
|
|
/** 查询费用信息列表 */
|
|
getList() {
|
|
getList() {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
@@ -364,6 +369,7 @@ export default {
|
|
/** 新增按钮操作 */
|
|
/** 新增按钮操作 */
|
|
handleAdd() {
|
|
handleAdd() {
|
|
this.reset();
|
|
this.reset();
|
|
|
|
+ this.query();
|
|
this.open = true;
|
|
this.open = true;
|
|
this.title = "添加费用信息";
|
|
this.title = "添加费用信息";
|
|
},
|
|
},
|