fix:采购入库、供应商退货、生产领料、生产退料和产品入库的单位名称问题解决
This commit is contained in:
parent
cda33a6177
commit
bcbd1ee603
@ -15,7 +15,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" />
|
<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">
|
||||||
@ -130,4 +130,3 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -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" />
|
||||||
@ -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">
|
||||||
@ -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