fix:玻纤物料添加追踪方式

This commit is contained in:
shijing 2024-12-18 15:09:43 +08:00
parent 9bee6af2b1
commit d2821d5e98
2 changed files with 16 additions and 2 deletions

View File

@ -90,6 +90,20 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- 玻纤 -->
<el-col :md="12" :sm="24">
<el-form-item label="追踪方式">
<el-select
v-model="form.tracking"
placeholder="追踪方式"
clearable
style="width: 100%"
>
<el-option label="批次" :value="10"></el-option>
<el-option label="单件" :value="20"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :md="12" :sm="24"> <el-col :md="12" :sm="24">
<el-form-item label="安全库存" prop="count_safe"> <el-form-item label="安全库存" prop="count_safe">
<el-input-number <el-input-number

View File

@ -222,14 +222,14 @@ export default {
}; };
}, },
mounted() { mounted() {
console.log("materialType", this.materialType); // console.log("materialType", this.materialType);
this.apiObj = this.$API.mtm.material.list; this.apiObj = this.$API.mtm.material.list;
this.$refs.table.queryData(this.query); this.$refs.table.queryData(this.query);
this.materialTemplate = this.materialTemplate+"?t=" + new Date().getTime(); this.materialTemplate = this.materialTemplate+"?t=" + new Date().getTime();
}, },
methods: { methods: {
rowClick(row) { rowClick(row) {
console.log("rowClick", row); // console.log("rowClick", row);
this.materialId = row.id; this.materialId = row.id;
this.materialName = row.full_name; this.materialName = row.full_name;
this.$emit("choseChange", row.id); this.$emit("choseChange", row.id);