wms成品生产入库修改

yangwl
mengjiao 4 months ago
parent 5d567762ea
commit 6869e3d492

@ -526,6 +526,11 @@
:show-overflow-tooltip="true" /> :show-overflow-tooltip="true" />
<el-table-column label="批次" width="250" align="left" prop="batch" <el-table-column label="批次" width="250" align="left" prop="batch"
:show-overflow-tooltip="true" /> :show-overflow-tooltip="true" />
<el-table-column label="入库批次" width="250" align="left" prop="batchSK">
<template slot-scope="scope">
<el-input v-model="scope.row.batchSK" @blur="handleInput(scope.row, 'batchSK')" />
</template>
</el-table-column>
<el-table-column label="产品编码" width="350" align="center" prop="productCode" /> <el-table-column label="产品编码" width="350" align="center" prop="productCode" />
<el-table-column label="产品名称" width="350" align="center" prop="productName" /> <el-table-column label="产品名称" width="350" align="center" prop="productName" />
<el-table-column label="单位" align="center" prop="unit" /> <el-table-column label="单位" align="center" prop="unit" />
@ -1660,6 +1665,10 @@ export default {
this.pConsumeRows.map((item) => item.rspos) this.pConsumeRows.map((item) => item.rspos)
); );
const handleInput = (row, prop) => {
//
console.log(`Row: ${JSON.stringify(row)}, Prop: ${prop}`);
};
// obj // obj
for (let i = 0; i < obj.length; i++) { for (let i = 0; i < obj.length; i++) {
// objcomponentpConsumeRows // objcomponentpConsumeRows

@ -276,7 +276,8 @@
<el-table-column label="ID" align="center" prop="id" v-if="false"/> <el-table-column label="ID" align="center" prop="id" v-if="false"/>
<!-- <el-table-column label="工厂编码" align="center" prop="factoryCode" />--> <!-- <el-table-column label="工厂编码" align="center" prop="factoryCode" />-->
<el-table-column label="生产工单号" align="center" prop="productOrder" width="200px"/> <el-table-column label="生产工单号" align="center" prop="productOrder" width="200px"/>
<el-table-column label="批次" align="center" prop="batchNumber" width="200px"/> <el-table-column label="生产批次" align="center" prop="batchNumber" width="200px"/>
<el-table-column label="入库批次" align="center" prop="attr4" width="200px"/>
<el-table-column label="报工单号" align="center" prop="workOrder" width="200px"/> <el-table-column label="报工单号" align="center" prop="workOrder" width="200px"/>
<el-table-column label="仓库编码" align="center" prop="whCode" /> <el-table-column label="仓库编码" align="center" prop="whCode" />
<el-table-column label="库区编码" align="center" prop="waCode" v-if="false"/> <el-table-column label="库区编码" align="center" prop="waCode" v-if="false"/>
@ -319,24 +320,24 @@
<!-- <el-table-column label="预留字段8" align="center" prop="attr8" />--> <!-- <el-table-column label="预留字段8" align="center" prop="attr8" />-->
<!-- <el-table-column label="预留字段9" align="center" prop="attr9" />--> <!-- <el-table-column label="预留字段9" align="center" prop="attr9" />-->
<!-- <el-table-column label="预留字段10" align="center" prop="attr10" />--> <!-- <el-table-column label="预留字段10" align="center" prop="attr10" />-->
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">-->
<template slot-scope="scope"> <!-- <template slot-scope="scope">-->
<el-button <!-- <el-button-->
size="mini" <!-- size="mini"-->
type="text" <!-- type="text"-->
icon="el-icon-edit" <!-- icon="el-icon-edit"-->
@click="handleUpdate(scope.row)" <!-- @click="handleUpdate(scope.row)"-->
v-hasPermi="['wms:put:edit']" <!-- v-hasPermi="['wms:put:edit']"-->
>修改</el-button> <!-- >修改</el-button>-->
<el-button <!-- <el-button-->
size="mini" <!-- size="mini"-->
type="text" <!-- type="text"-->
icon="el-icon-delete" <!-- icon="el-icon-delete"-->
@click="handleDelete(scope.row)" <!-- @click="handleDelete(scope.row)"-->
v-hasPermi="['wms:put:remove']" <!-- v-hasPermi="['wms:put:remove']"-->
>删除</el-button> <!-- >删除</el-button>-->
</template> <!-- </template>-->
</el-table-column> <!-- </el-table-column>-->
</el-table> </el-table>
<pagination <pagination

Loading…
Cancel
Save