|
|
@ -161,8 +161,10 @@
|
|
|
|
<dict-tag :options="dict.type.report_type" :value="scope.row.reportType"/>
|
|
|
|
<dict-tag :options="dict.type.report_type" :value="scope.row.reportType"/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="生产工单编码" align="center" prop="workorderCode" width="200"/>
|
|
|
|
<el-table-column label="工单编码" align="center" prop="workorderCode" width="130"/>
|
|
|
|
<el-table-column label="产品编码" align="center" prop="productCode" width="200"/>
|
|
|
|
<el-table-column label="产品编码" align="center" prop="productCode" width="130"
|
|
|
|
|
|
|
|
:formatter="productCodeFormate"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<el-table-column label="产品名称" align="center" prop="productName" width="200"/>
|
|
|
|
<el-table-column label="产品名称" align="center" prop="productName" width="200"/>
|
|
|
|
<el-table-column label="规格型号" align="center" prop="spec" />
|
|
|
|
<el-table-column label="规格型号" align="center" prop="spec" />
|
|
|
|
<el-table-column label="排产数量(母)" align="center" prop="quantity" width="100"/>
|
|
|
|
<el-table-column label="排产数量(母)" align="center" prop="quantity" width="100"/>
|
|
|
@ -457,6 +459,11 @@ export default {
|
|
|
|
this.getDate();
|
|
|
|
this.getDate();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
//产品编码格式化
|
|
|
|
|
|
|
|
productCodeFormate(row, column, cellValue){
|
|
|
|
|
|
|
|
return cellValue.slice(7,18); //返回值
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
/**获取默认查询时间段**/
|
|
|
|
/**获取默认查询时间段**/
|
|
|
|
getDate() {
|
|
|
|
getDate() {
|
|
|
|
let start = this.Fungetdate (0)
|
|
|
|
let start = this.Fungetdate (0)
|
|
|
|