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