|
@@ -215,7 +215,7 @@
|
|
|
<span>{{ parseTime(scope.row.expirationTime, "{y}-{m}-{d}") }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <!-- <el-table-column label="录入人(创建人)" align="center" prop="adminId" /> -->
|
|
|
+ <el-table-column label="剩余库存" align="center" prop="surplus" />
|
|
|
<!-- <el-table-column label="录入时间" align="center" prop="createtime" />
|
|
|
<el-table-column label="更新时间" align="center" prop="updatetime" />
|
|
|
|
|
@@ -431,12 +431,12 @@ export default {
|
|
|
// 选择防疫品
|
|
|
fangYiPingXuan(data) {
|
|
|
this.planName();
|
|
|
- // this.form.unitId = data.unitId;
|
|
|
- // this.form.durgArchivesId = data.id;
|
|
|
- // this.form.durgBrand = data.durgBrand;
|
|
|
- // this.form.specifications = data.specifications;
|
|
|
- // this.form.storeHouse = data.storeHouse;
|
|
|
- // this.form.unitName = data.unitName;
|
|
|
+ this.form.unitId = data.unitId;
|
|
|
+ this.form.durgArchivesId = data.id;
|
|
|
+ this.form.durgBrand = data.durgBrand;
|
|
|
+ this.form.specifications = data.specifications;
|
|
|
+ this.form.storeHouse = data.storeHouse;
|
|
|
+ this.form.unitName = data.unitName;
|
|
|
},
|
|
|
// 查询防疫品名称列表
|
|
|
fangYiPing() {
|
|
@@ -525,6 +525,8 @@ export default {
|
|
|
this.getList();
|
|
|
});
|
|
|
} else {
|
|
|
+ this.form.surplus = this.form.putIn;
|
|
|
+ // console.log(this.form);
|
|
|
addAntiepidemicputin(this.form).then((response) => {
|
|
|
this.$modal.msgSuccess("新增成功");
|
|
|
this.open = false;
|