商品信息管理 所属护理站修改
This commit is contained in:
parent
b391b29d3e
commit
67108d8e0c
@ -40,7 +40,7 @@
|
|||||||
@keyup.enter.native="handleQuery"
|
@keyup.enter.native="handleQuery"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="商品用途" prop="goodsPurpose">
|
<el-form-item label="商品用途" prop="goodsPurpose">
|
||||||
<el-select v-model="queryParams.goodsPurpose" placeholder="请选择商品用途">
|
<el-select v-model="queryParams.goodsPurpose" placeholder="请选择商品用途">
|
||||||
<el-option
|
<el-option
|
||||||
@ -431,7 +431,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
style="width: 15px; height: 15px"
|
style="width: 15px; height: 15px"
|
||||||
v-if="nurseStationId == scope.row.id"
|
v-if="form.nurseStationId == scope.row.id"
|
||||||
circle
|
circle
|
||||||
@click="nurseclick(scope.row)"
|
@click="nurseclick(scope.row)"
|
||||||
></el-button>
|
></el-button>
|
||||||
@ -588,7 +588,9 @@ export default {
|
|||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
},
|
},
|
||||||
// 表单参数
|
// 表单参数
|
||||||
form: {},
|
form: {
|
||||||
|
nurseStationId:null,
|
||||||
|
},
|
||||||
// 表单校验
|
// 表单校验
|
||||||
rules: {
|
rules: {
|
||||||
goodsName: [
|
goodsName: [
|
||||||
@ -597,7 +599,7 @@ export default {
|
|||||||
goodsCategoryId: [
|
goodsCategoryId: [
|
||||||
{ required: true, message: "请选择商品分类名称", trigger: "blur" },
|
{ required: true, message: "请选择商品分类名称", trigger: "blur" },
|
||||||
],
|
],
|
||||||
|
|
||||||
goodsPurpose: [
|
goodsPurpose: [
|
||||||
{ required: true, message: "请选择商品用途", trigger: "blur" },
|
{ required: true, message: "请选择商品用途", trigger: "blur" },
|
||||||
],
|
],
|
||||||
@ -730,7 +732,7 @@ export default {
|
|||||||
nurseclick(row) {
|
nurseclick(row) {
|
||||||
// console.log(this.form);
|
// console.log(this.form);
|
||||||
console.log(row);
|
console.log(row);
|
||||||
this.nurseStationId = row.id;
|
this.form.nurseStationId = row.id;
|
||||||
this.StationName = row.nurseStationName;
|
this.StationName = row.nurseStationName;
|
||||||
this.innerVisible = false;
|
this.innerVisible = false;
|
||||||
},
|
},
|
||||||
@ -839,7 +841,7 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.nurseStationId = row.id;
|
// this.nurseStationId = row.id;
|
||||||
this.reset();
|
this.reset();
|
||||||
const id = row.goodsInfoId || this.ids;
|
const id = row.goodsInfoId || this.ids;
|
||||||
this.StationName = row.nurseStationName;
|
this.StationName = row.nurseStationName;
|
||||||
@ -962,6 +964,7 @@ export default {
|
|||||||
this.total2 = res.total;
|
this.total2 = res.total;
|
||||||
this.nurseStationlist = res.rows;
|
this.nurseStationlist = res.rows;
|
||||||
this.queryParams.nurseStationId = res.rows[0].id;
|
this.queryParams.nurseStationId = res.rows[0].id;
|
||||||
|
this.form.nurseStationId = res.rows[0].id;
|
||||||
this.handleQuery();
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user