fix:物料照片用img字段
This commit is contained in:
parent
84c96748c3
commit
90f717c625
|
@ -58,7 +58,7 @@
|
|||
style="width: 100%"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in cateOptions"
|
||||
v-for="item in mCateEnum.list"
|
||||
:key="item"
|
||||
:label="item"
|
||||
:value="item"
|
||||
|
@ -165,8 +165,8 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :md="12" :sm="24" v-if="form.type==10||form.type==20||(form.type==40&&project_code == 'gx')">
|
||||
<el-form-item label="产品图纸">
|
||||
<sc-upload v-model="form.photo" :modelValue="form.photo" title="产品图纸"></sc-upload>
|
||||
<el-form-item label="物料照片">
|
||||
<sc-upload v-model="form.img" :modelValue="form.img" title="物料照片"></sc-upload>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
@ -180,10 +180,12 @@
|
|||
</el-dialog>
|
||||
</template>
|
||||
<script>
|
||||
import { mCateEnum } from "@/utils/enum.js";
|
||||
export default {
|
||||
emits: ["success", "closed"],
|
||||
data() {
|
||||
return {
|
||||
mCateEnum,
|
||||
loading: false,
|
||||
mode: "add",
|
||||
titleMap: {
|
||||
|
@ -245,7 +247,6 @@ export default {
|
|||
{ id: 30, name: "主要原料" },
|
||||
// { id: 40, name: "辅助材料" },
|
||||
],
|
||||
cateOptions: ['主要辅材','办公辅料','设备维护辅料','包装辅材','标识辅材','防护辅材','其他辅材'],
|
||||
handle_user: [],
|
||||
selectionFilters: [],
|
||||
materialOptions: [],
|
||||
|
|
Loading…
Reference in New Issue