主子表的物料添加修改

master
maxw@mesnac.com 1 month ago
parent e291d1c00c
commit 00d981595e

@ -188,7 +188,7 @@
/>
</el-select>
</el-form-item> -->
<el-form-item label="仓库ID" prop="warehouseId">
<el-form-item label="仓库" prop="warehouseId">
<el-select v-model="dialogForm.warehouseId" placeholder="请选择所属仓库">
<el-option
v-for="item in baseStoreList"
@ -222,16 +222,33 @@
</el-select>
</template>
</el-table-column>
<el-table-column label="物料名称" prop="materialId">
<el-table-column label="物料编码" prop="materialId">
<template #default="scope">
<el-select
v-model="scope.row.materialId"
placeholder="选择物料"
style="width: 240px"
>
<el-option
v-for="i in materialList"
:label="i.materialCode +'('+ i.materialName+')'"
:value="i.materialId"
:key="i.materialId"
/>
</el-select>
</template>
</el-table-column>
<el-table-column label="物料名称">
<template #default="scope">
<el-select
v-model="scope.row.materialId"
placeholder="选择物料"
style="width: 240px"
:disabled="true"
>
<el-option
v-for="i in materialList"
:label="i.materialCode"
:label="i.materialName"
:value="i.materialId"
:key="i.materialId"
/>

@ -213,7 +213,7 @@
</el-select>
</template>
</el-table-column>
<el-table-column label="物料名称" prop="materialId">
<el-table-column label="物料code" prop="materialId">
<template #default="scope">
<el-select
v-model="scope.row.materialId"
@ -222,7 +222,24 @@
>
<el-option
v-for="i in materialList"
:label="i.materialCode"
:label="i.materialCode+'('+i.materialName+')'"
:value="i.materialId"
:key="i.materialId"
/>
</el-select>
</template>
</el-table-column>
<el-table-column label="物料名称">
<template #default="scope">
<el-select
v-model="scope.row.materialId"
placeholder="选择物料"
style="width: 240px"
:disabled="true"
>
<el-option
v-for="i in materialList"
:label="i.materialName"
:value="i.materialId"
:key="i.materialId"
/>

@ -195,7 +195,7 @@
</el-row>
<el-table :data="dialogtable" style="width: 100%">
<el-table-column label="物料大类" prop="materialCategories">
<el-select v-model="dialogForm.materialCategories" placeholder="" :disabled="true">
<el-select v-model="dialogForm.materialCategories" placeholder="" :disabled="true" style="width: 200px;">
<el-option
v-for="dict in material_mategories"
:key="dict.value"
@ -204,7 +204,7 @@
></el-option>
</el-select>
</el-table-column>
<el-table-column label="物料名称" prop="materialId">
<el-table-column label="物料code" prop="materialId">
<template #default="scope">
<el-select
v-model="scope.row.materialId"
@ -213,7 +213,24 @@
>
<el-option
v-for="i in materialList"
:label="i.materialCode"
:label="i.materialCode+'('+i.materialName+')'"
:value="i.materialId"
:key="i.materialId"
/>
</el-select>
</template>
</el-table-column>
<el-table-column label="物料名称">
<template #default="scope">
<el-select
v-model="scope.row.materialId"
placeholder="选择物料"
style="width: 240px"
:disabled="true"
>
<el-option
v-for="i in materialList"
:label="i.materialName"
:value="i.materialId"
:key="i.materialId"
/>
@ -222,7 +239,7 @@
</el-table-column>
<el-table-column label="出库数量" prop="outstockQty">
<template #default="scope">
<el-input v-model="scope.row.outstockQty" placeholder="请输入出库数量" />
<el-input v-model="scope.row.outstockQty" placeholder="请输入出库数量" style="width: 200px;"/>
</template>
</el-table-column>
<el-table-column label="操作" fixed="right" width="200">

Loading…
Cancel
Save