fix:采购入库、供应商退货、生产领料、生产退料和产品入库的单位名称问题解决
This commit is contained in:
parent
cda33a6177
commit
bcbd1ee603
@ -11,11 +11,11 @@
|
|||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<el-radio v-model="selectedId" :label="scope.row.lineId" @change="handleRowChange(scope.row)">{{""}}</el-radio>
|
<el-radio v-model="selectedId" :label="scope.row.lineId" @change="handleRowChange(scope.row)">{{""}}</el-radio>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="物料编码" width="120px" align="center" prop="itemCode" />
|
<el-table-column label="物料编码" width="120px" align="center" prop="itemCode" />
|
||||||
<el-table-column label="物料名称" width="150px" align="center" prop="itemName" />
|
<el-table-column label="物料名称" width="150px" align="center" prop="itemName" />
|
||||||
<el-table-column label="规格型号" align="center" prop="specification" />
|
<el-table-column label="规格型号" align="center" prop="specification" />
|
||||||
<el-table-column label="单位" align="center" prop="unitOfMeasure" />
|
<el-table-column label="单位" align="center" prop="unitName" />
|
||||||
<el-table-column label="到货数量" align="center" prop="quantityArrival" />
|
<el-table-column label="到货数量" align="center" prop="quantityArrival" />
|
||||||
<el-table-column label="是否检验" align="center" prop="iqcCheck">
|
<el-table-column label="是否检验" align="center" prop="iqcCheck">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@ -26,7 +26,7 @@
|
|||||||
<el-table-column label="检验单号" align="center" prop="iqcCode" />
|
<el-table-column label="检验单号" align="center" prop="iqcCode" />
|
||||||
<el-table-column label="备注" align="center" prop="remark" />
|
<el-table-column label="备注" align="center" prop="remark" />
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
<pagination
|
<pagination
|
||||||
v-show="total>0"
|
v-show="total>0"
|
||||||
:total="total"
|
:total="total"
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { listArrivalnoticeline} from "@/api/mes/wm/arrivalnoticeline";
|
import { listArrivalnoticeline} from "@/api/mes/wm/arrivalnoticeline";
|
||||||
export default {
|
export default {
|
||||||
@ -130,4 +130,3 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-row v-if="optType != 'view'" :gutter="10" class="mb8">
|
<el-row v-if="optType != 'view'" :gutter="10" class="mb8">
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button
|
||||||
@ -41,7 +41,7 @@
|
|||||||
<el-table-column label="产品物料编码" width="120px" align="center" prop="itemCode" />
|
<el-table-column label="产品物料编码" width="120px" align="center" prop="itemCode" />
|
||||||
<el-table-column label="产品物料名称" width="120px" align="center" prop="itemName" :show-overflow-tooltip="true"/>
|
<el-table-column label="产品物料名称" width="120px" align="center" prop="itemName" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="规格型号" align="center" prop="specification" :show-overflow-tooltip="true"/>
|
<el-table-column label="规格型号" align="center" prop="specification" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="单位" align="center" prop="unitOfMeasure" />
|
<el-table-column label="单位" align="center" prop="unitName" />
|
||||||
<el-table-column label="领料数量" align="center" prop="quantityIssued" />
|
<el-table-column label="领料数量" align="center" prop="quantityIssued" />
|
||||||
<el-table-column label="批次号" align="center" prop="batchCode" />
|
<el-table-column label="批次号" align="center" prop="batchCode" />
|
||||||
<el-table-column label="仓库名称" align="center" prop="warehouseName" />
|
<el-table-column label="仓库名称" align="center" prop="warehouseName" />
|
||||||
@ -69,7 +69,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
<pagination
|
<pagination
|
||||||
v-show="total>0"
|
v-show="total>0"
|
||||||
:total="total"
|
:total="total"
|
||||||
@ -110,8 +110,8 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="单位" prop="unitOfMeasure">
|
<el-form-item label="单位" prop="unitName">
|
||||||
<el-input v-model="form.unitOfMeasure" readonly="readonly" />
|
<el-input v-model="form.unitName" readonly="readonly" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
@ -350,7 +350,7 @@ export default {
|
|||||||
this.form.itemCode = obj.itemCode;
|
this.form.itemCode = obj.itemCode;
|
||||||
this.form.itemName = obj.itemName;
|
this.form.itemName = obj.itemName;
|
||||||
this.form.specification = obj.specification;
|
this.form.specification = obj.specification;
|
||||||
this.form.unitOfMeasure = obj.unitOfMeasure;
|
this.form.unitOfMeasure = obj.unitOfMeasure;
|
||||||
this.form.batchCode = obj.batchCode;
|
this.form.batchCode = obj.batchCode;
|
||||||
this.form.warehouseId = obj.warehouseId;
|
this.form.warehouseId = obj.warehouseId;
|
||||||
this.form.warehouseCode = obj.warehouseCode;
|
this.form.warehouseCode = obj.warehouseCode;
|
||||||
@ -363,6 +363,7 @@ export default {
|
|||||||
this.form.areaName = obj.areaName;
|
this.form.areaName = obj.areaName;
|
||||||
this.form.quantityIssued = obj.quantityOnhand;
|
this.form.quantityIssued = obj.quantityOnhand;
|
||||||
this.form.quantityMax = obj.quantityOnhand;
|
this.form.quantityMax = obj.quantityOnhand;
|
||||||
|
this.form.unitName = obj.unitName
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
<el-table-column label="物料编码" align="center" width="120px" prop="itemCode" />
|
<el-table-column label="物料编码" align="center" width="120px" prop="itemCode" />
|
||||||
<el-table-column label="物料名称" align="center" prop="itemName" :show-overflow-tooltip="true"/>
|
<el-table-column label="物料名称" align="center" prop="itemName" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="规格型号" align="center" prop="specification" :show-overflow-tooltip="true"/>
|
<el-table-column label="规格型号" align="center" prop="specification" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="单位" align="center" prop="unitOfMeasure" />
|
<el-table-column label="单位" align="center" prop="unitName" />
|
||||||
<el-table-column label="入库数量" align="center" prop="quantityRecived" />
|
<el-table-column label="入库数量" align="center" prop="quantityRecived" />
|
||||||
<el-table-column label="批次号" align="center" prop="batchCode" />
|
<el-table-column label="批次号" align="center" prop="batchCode" />
|
||||||
<el-table-column label="仓库" align="center" prop="warehouseName" />
|
<el-table-column label="仓库" align="center" prop="warehouseName" />
|
||||||
@ -84,8 +84,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="单位" prop="unitOfMeasure">
|
<el-form-item label="单位" prop="unitName">
|
||||||
<el-input v-model="form.unitOfMeasure" readonly="readonly" />
|
<el-input v-model="form.unitName" readonly="readonly" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@ -378,6 +378,7 @@ export default {
|
|||||||
this.form.itemName = obj.itemName;
|
this.form.itemName = obj.itemName;
|
||||||
this.form.specification = obj.specification;
|
this.form.specification = obj.specification;
|
||||||
this.form.unitOfMeasure = obj.unitOfMeasure;
|
this.form.unitOfMeasure = obj.unitOfMeasure;
|
||||||
|
this.form.unitName = obj.unitName
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//选择到货通知单行
|
//选择到货通知单行
|
||||||
@ -393,6 +394,7 @@ export default {
|
|||||||
this.form.specification = obj.specification;
|
this.form.specification = obj.specification;
|
||||||
this.form.unitOfMeasure = obj.unitOfMeasure;
|
this.form.unitOfMeasure = obj.unitOfMeasure;
|
||||||
this.form.quantityRecived = obj.quantityQuanlified;
|
this.form.quantityRecived = obj.quantityQuanlified;
|
||||||
|
this.form.unitName = obj.unitName
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//IQC检验单选择
|
//IQC检验单选择
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
<el-table-column label="产品物料编码" width="120px" align="center" prop="itemCode" />
|
<el-table-column label="产品物料编码" width="120px" align="center" prop="itemCode" />
|
||||||
<el-table-column label="产品物料名称" width="150px" align="center" prop="itemName" :show-overflow-tooltip="true"/>
|
<el-table-column label="产品物料名称" width="150px" align="center" prop="itemName" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="规格型号" width="120px" align="center" prop="specification" :show-overflow-tooltip="true"/>
|
<el-table-column label="规格型号" width="120px" align="center" prop="specification" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="单位" align="center" prop="unitOfMeasure" />
|
<el-table-column label="单位" align="center" prop="unitName" />
|
||||||
<el-table-column label="入库数量" align="center" prop="quantityRecived" />
|
<el-table-column label="入库数量" align="center" prop="quantityRecived" />
|
||||||
<el-table-column label="批次号" align="center" prop="batchCode" />
|
<el-table-column label="批次号" align="center" prop="batchCode" />
|
||||||
<el-table-column label="仓库名称" align="center" prop="warehouseName" />
|
<el-table-column label="仓库名称" align="center" prop="warehouseName" />
|
||||||
@ -97,8 +97,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="单位" prop="unitOfMeasure">
|
<el-form-item label="单位" prop="unitName">
|
||||||
<el-input v-model="form.unitOfMeasure" placeholder="请输入单位" />
|
<el-input v-model="form.unitName" placeholder="请输入单位" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@ -388,6 +388,7 @@ export default {
|
|||||||
this.form.batchCode = obj.batchCode;
|
this.form.batchCode = obj.batchCode;
|
||||||
this.form.quantityRecived = obj.quantityOnhand;
|
this.form.quantityRecived = obj.quantityOnhand;
|
||||||
this.form.quantityMax = obj.quantityOnhand;
|
this.form.quantityMax = obj.quantityOnhand;
|
||||||
|
this.form.unitName = obj.unitName
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//选择默认的仓库、库区、库位
|
//选择默认的仓库、库区、库位
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
<el-table-column label="物料编码" width="120px" align="center" prop="itemCode" />
|
<el-table-column label="物料编码" width="120px" align="center" prop="itemCode" />
|
||||||
<el-table-column label="物料名称" width="150px" align="center" prop="itemName" />
|
<el-table-column label="物料名称" width="150px" align="center" prop="itemName" />
|
||||||
<el-table-column label="规格型号" align="center" prop="specification" :show-overflow-tooltip="true"/>
|
<el-table-column label="规格型号" align="center" prop="specification" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="单位" align="center" prop="unitOfMeasure" />
|
<el-table-column label="单位" align="center" prop="unitName" />
|
||||||
<el-table-column label="退料数量" align="center" prop="quantityRt" />
|
<el-table-column label="退料数量" align="center" prop="quantityRt" />
|
||||||
<el-table-column label="领料批次号" width="120px" align="center" prop="batchCode" />
|
<el-table-column label="领料批次号" width="120px" align="center" prop="batchCode" />
|
||||||
<el-table-column label="仓库名称" width="100px" align="center" prop="warehouseName" />
|
<el-table-column label="仓库名称" width="100px" align="center" prop="warehouseName" />
|
||||||
@ -95,8 +95,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="单位" prop="unitOfMeasure">
|
<el-form-item label="单位" prop="unitName">
|
||||||
<el-input v-model="form.unitOfMeasure" readonly="readonly" placeholder="请输入单位" />
|
<el-input v-model="form.unitName" readonly="readonly" placeholder="请输入单位" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@ -378,6 +378,7 @@ export default {
|
|||||||
this.form.batchCode = obj.batchCode;
|
this.form.batchCode = obj.batchCode;
|
||||||
this.form.quantityRt = obj.quantityOnhand;
|
this.form.quantityRt = obj.quantityOnhand;
|
||||||
this.form.quantityMax = obj.quantityOnhand;
|
this.form.quantityMax = obj.quantityOnhand;
|
||||||
|
this.form.unitName = obj.unitName
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//选择默认的仓库、库区、库位
|
//选择默认的仓库、库区、库位
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
<el-table-column label="物料编码" width="120px" align="center" prop="itemCode" />
|
<el-table-column label="物料编码" width="120px" align="center" prop="itemCode" />
|
||||||
<el-table-column label="物料名称" width="150px" align="center" prop="itemName" :show-overflow-tooltip="true"/>
|
<el-table-column label="物料名称" width="150px" align="center" prop="itemName" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="规格型号" align="center" prop="specification" :show-overflow-tooltip="true"/>
|
<el-table-column label="规格型号" align="center" prop="specification" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="单位" align="center" prop="unitOfMeasure" />
|
<el-table-column label="单位" align="center" prop="unitName" />
|
||||||
<el-table-column label="退货数量" align="center" prop="quantityRted" />
|
<el-table-column label="退货数量" align="center" prop="quantityRted" />
|
||||||
<el-table-column label="批次号" align="center" prop="batchCode" />
|
<el-table-column label="批次号" align="center" prop="batchCode" />
|
||||||
<el-table-column label="仓库" align="center" prop="warehouseName" />
|
<el-table-column label="仓库" align="center" prop="warehouseName" />
|
||||||
@ -97,8 +97,8 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="单位" prop="unitOfMeasure">
|
<el-form-item label="单位" prop="unitName">
|
||||||
<el-input v-model="form.unitOfMeasure" readonly="readonly" />
|
<el-input v-model="form.unitName" readonly="readonly" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
@ -355,6 +355,7 @@ export default {
|
|||||||
this.form.areaName = obj.areaName;
|
this.form.areaName = obj.areaName;
|
||||||
this.form.quantityRted = obj.quantityOnhand;
|
this.form.quantityRted = obj.quantityOnhand;
|
||||||
this.form.quantityMax = obj.quantityOnhand;
|
this.form.quantityMax = obj.quantityOnhand;
|
||||||
|
this.form.unitName = obj.unitName
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user