Commit 82b10685 authored by 赵汉亭's avatar 赵汉亭

BUG修改

parent 4eec69d4
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
label="物料名称" label="物料名称"
align="center" align="center"
prop="itemName" prop="itemName"
width="120"
/> />
<el-table-column <el-table-column
label="组件数量" label="组件数量"
...@@ -43,48 +42,12 @@ ...@@ -43,48 +42,12 @@
prop="unitOfMeasure" prop="unitOfMeasure"
width="120" width="120"
/> />
<el-table-column
label="报废百分比"
align="center"
prop="scrapPercentage"
width="120"
/>
<el-table-column <el-table-column
label="替代组" label="替代组"
align="center" align="center"
prop="alternativeGroup" prop="alternativeGroup"
width="120" width="120"
/> />
<el-table-column
label="替代优先级"
align="center"
prop="alternativePriorities"
width="120"
/>
<el-table-column
label="策略"
align="center"
prop="alternativeStrategy"
width="120"
/>
<el-table-column
label="使用概率"
align="center"
prop="alternativeProbability"
width="120"
/>
<el-table-column
label="BOM行备注"
align="center"
prop="bomItemRemark"
min-width="120"
/>
<el-table-column
label="物料备注"
align="center"
prop="itemRemark"
min-width="120"
/>
<el-table-column <el-table-column
v-if="mode != 'info'" v-if="mode != 'info'"
label="操作" label="操作"
......
...@@ -79,7 +79,11 @@ ...@@ -79,7 +79,11 @@
row-key="productionMakeId" row-key="productionMakeId"
default-expand-all default-expand-all
> >
<el-table-column label="量产制作单编码" width="180" prop="productionMakeCode"> <el-table-column
label="量产制作单编码"
width="180"
prop="productionMakeCode"
>
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
...@@ -107,10 +111,19 @@ ...@@ -107,10 +111,19 @@
align="center" align="center"
prop="identifyingDate" prop="identifyingDate"
/> />
<el-table-column label="印刷正面颜色" width="120" align="center" prop="printingFrontcolorName" /> <el-table-column
<el-table-column label="印刷背面颜色" width="120" align="center" prop="printingBackcolorName" /> label="印刷正面颜色"
width="120"
align="center"
prop="printingFrontcolorName"
/>
<el-table-column
label="印刷背面颜色"
width="120"
align="center"
prop="printingBackcolorName"
/>
<el-table-column label="测试标准" align="center" prop="testStandard" /> <el-table-column label="测试标准" align="center" prop="testStandard" />
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column <el-table-column
label="制作单状态" label="制作单状态"
align="center" align="center"
...@@ -166,7 +179,6 @@ ...@@ -166,7 +179,6 @@
:limit.sync="queryParams.pageSize" :limit.sync="queryParams.pageSize"
@pagination="getList" @pagination="getList"
/> />
</div> </div>
</template> </template>
...@@ -177,14 +189,20 @@ import VendorSelect from "@/components/vendorSelect/single.vue"; ...@@ -177,14 +189,20 @@ import VendorSelect from "@/components/vendorSelect/single.vue";
import Treeselect from "@riophae/vue-treeselect"; import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css"; import "@riophae/vue-treeselect/dist/vue-treeselect.css";
// 新增js // 新增js
import { listProductionMake, getProductionMake, delProductionMake, addProductionMake, dofinish } from "@/api/mes/pro/productionMake"; import {
listProductionMake,
getProductionMake,
delProductionMake,
addProductionMake,
dofinish,
} from "@/api/mes/pro/productionMake";
export default { export default {
name: "ProductionMake", name: "ProductionMake",
dicts: [ dicts: [
"mes_order_status", "mes_order_status",
"mes_productionMake_sourcetype", "mes_productionMake_sourcetype",
"mes_productionMake_type", "mes_productionMake_type",
"mes_productionMake_status" "mes_productionMake_status",
], ],
components: { components: {
Treeselect, Treeselect,
...@@ -221,7 +239,7 @@ export default { ...@@ -221,7 +239,7 @@ export default {
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
itemName: null,// 可以查简称与英文名 itemName: null, // 可以查简称与英文名
productionMakeStatus: null, productionMakeStatus: null,
}, },
options: [ options: [
...@@ -298,7 +316,7 @@ export default { ...@@ -298,7 +316,7 @@ export default {
shoeImg: null, shoeImg: null,
prototype: null, prototype: null,
productionMakeStatus: null, productionMakeStatus: null,
remark: null remark: null,
}; };
this.resetForm("form"); this.resetForm("form");
}, },
...@@ -323,7 +341,7 @@ export default { ...@@ -323,7 +341,7 @@ export default {
this.reset(); this.reset();
const productionMakeId = row.productionMakeId || this.ids; const productionMakeId = row.productionMakeId || this.ids;
this.$router.push( this.$router.push(
"/mes/pro/productionMake/info?productionMakeId="+productionMakeId "/mes/pro/productionMake/info?productionMakeId=" + productionMakeId
); );
}, },
/** 修改按钮操作 */ /** 修改按钮操作 */
...@@ -331,13 +349,15 @@ export default { ...@@ -331,13 +349,15 @@ export default {
this.reset(); this.reset();
const productionMakeId = row.productionMakeId || this.ids; const productionMakeId = row.productionMakeId || this.ids;
this.$router.push( this.$router.push(
"/mes/pro/productionMake/edit?productionMakeId="+productionMakeId "/mes/pro/productionMake/edit?productionMakeId=" + productionMakeId
); );
}, },
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row) { handleDelete(row) {
this.$modal this.$modal
.confirm('是否确认删除编号为"' + row.productionMakeCode + '"的量产制作单?') .confirm(
'是否确认删除编号为"' + row.productionMakeCode + '"的量产制作单?'
)
.then(function () { .then(function () {
return delProductionMake(row.productionMakeId); return delProductionMake(row.productionMakeId);
}) })
...@@ -391,7 +411,6 @@ export default { ...@@ -391,7 +411,6 @@ export default {
}) })
.catch(() => {}); .catch(() => {});
}, },
}, },
}; };
</script> </script>
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
label="物料名称" label="物料名称"
align="center" align="center"
prop="itemName" prop="itemName"
width="120"
/> />
<el-table-column <el-table-column
label="组件数量" label="组件数量"
...@@ -43,48 +42,12 @@ ...@@ -43,48 +42,12 @@
prop="unitOfMeasure" prop="unitOfMeasure"
width="120" width="120"
/> />
<el-table-column
label="报废百分比"
align="center"
prop="scrapPercentage"
width="120"
/>
<el-table-column <el-table-column
label="替代组" label="替代组"
align="center" align="center"
prop="alternativeGroup" prop="alternativeGroup"
width="120" width="120"
/> />
<el-table-column
label="替代优先级"
align="center"
prop="alternativePriorities"
width="120"
/>
<el-table-column
label="策略"
align="center"
prop="alternativeStrategy"
width="120"
/>
<el-table-column
label="使用概率"
align="center"
prop="alternativeProbability"
width="120"
/>
<el-table-column
label="BOM行备注"
align="center"
prop="bomItemRemark"
min-width="120"
/>
<el-table-column
label="物料备注"
align="center"
prop="itemRemark"
min-width="120"
/>
<el-table-column <el-table-column
v-if="mode != 'info'" v-if="mode != 'info'"
label="操作" label="操作"
......
...@@ -140,34 +140,6 @@ ...@@ -140,34 +140,6 @@
/> />
<el-table-column label="工艺路线名称" align="center" prop="routeName"> <el-table-column label="工艺路线名称" align="center" prop="routeName">
</el-table-column> </el-table-column>
<el-table-column label="简称" align="center" prop="abbreviation">
</el-table-column>
<el-table-column
label="样品英文名称"
width="140"
align="center"
prop="enName"
/>
<el-table-column label="样品数量" width="120" align="center" prop="num" />
<el-table-column
label="打样形式"
width="200"
align="center"
prop="type"
:show-overflow-tooltip="true"
/>
<el-table-column
label="分配方式"
align="center"
prop="modality"
:show-overflow-tooltip="true"
/>
<el-table-column
label="表面处理"
align="center"
prop="surfaceTreatment"
/>
<el-table-column label="NG原因" align="center" prop="ngReason" />
<el-table-column <el-table-column
label="计划完成日期" label="计划完成日期"
align="center" align="center"
...@@ -204,7 +176,6 @@ ...@@ -204,7 +176,6 @@
/> />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="测试标准" align="center" prop="testStandard" />
<el-table-column label="备注" align="center" prop="remark" /> <el-table-column label="备注" align="center" prop="remark" />
<el-table-column <el-table-column
label="操作" label="操作"
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
label="物料名称" label="物料名称"
align="center" align="center"
prop="itemName" prop="itemName"
width="120"
/> />
<el-table-column <el-table-column
label="组件数量" label="组件数量"
...@@ -43,48 +42,12 @@ ...@@ -43,48 +42,12 @@
prop="unitOfMeasure" prop="unitOfMeasure"
width="120" width="120"
/> />
<el-table-column
label="报废百分比"
align="center"
prop="scrapPercentage"
width="120"
/>
<el-table-column <el-table-column
label="替代组" label="替代组"
align="center" align="center"
prop="alternativeGroup" prop="alternativeGroup"
width="120" width="120"
/> />
<el-table-column
label="替代优先级"
align="center"
prop="alternativePriorities"
width="120"
/>
<el-table-column
label="策略"
align="center"
prop="alternativeStrategy"
width="120"
/>
<el-table-column
label="使用概率"
align="center"
prop="alternativeProbability"
width="120"
/>
<el-table-column
label="BOM行备注"
align="center"
prop="bomItemRemark"
min-width="120"
/>
<el-table-column
label="物料备注"
align="center"
prop="itemRemark"
min-width="120"
/>
<el-table-column <el-table-column
v-if="mode != 'info'" v-if="mode != 'info'"
label="操作" label="操作"
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
label="物料名称" label="物料名称"
align="center" align="center"
prop="itemName" prop="itemName"
width="120"
/> />
<el-table-column <el-table-column
label="组件数量" label="组件数量"
...@@ -43,48 +42,12 @@ ...@@ -43,48 +42,12 @@
prop="unitOfMeasure" prop="unitOfMeasure"
width="120" width="120"
/> />
<el-table-column
label="报废百分比"
align="center"
prop="scrapPercentage"
width="120"
/>
<el-table-column <el-table-column
label="替代组" label="替代组"
align="center" align="center"
prop="alternativeGroup" prop="alternativeGroup"
width="120" width="120"
/> />
<el-table-column
label="替代优先级"
align="center"
prop="alternativePriorities"
width="120"
/>
<el-table-column
label="策略"
align="center"
prop="alternativeStrategy"
width="120"
/>
<el-table-column
label="使用概率"
align="center"
prop="alternativeProbability"
width="120"
/>
<el-table-column
label="BOM行备注"
align="center"
prop="bomItemRemark"
min-width="120"
/>
<el-table-column
label="物料备注"
align="center"
prop="itemRemark"
min-width="120"
/>
<el-table-column <el-table-column
v-if="mode != 'info'" v-if="mode != 'info'"
label="操作" label="操作"
......
...@@ -462,10 +462,8 @@ export default { ...@@ -462,10 +462,8 @@ export default {
this.$refs["ProogingBomRef"].tableData = data.bomList; this.$refs["ProogingBomRef"].tableData = data.bomList;
this.$refs["ProogingProcessRef"].tableData = data.processList; this.$refs["ProogingProcessRef"].tableData = data.processList;
this.prototypeRequestId = data.prototypeRequestId; this.prototypeRequestId = data.prototypeRequestId;
getPrototypeRequest(id).then(({ data }) => { getPrototypeRequest(prototypeRequestId).then(({ data }) => {
Object.assign(this.form, data); Object.assign(this.form, data);
// this.bomList = data.bomList;
// this.itemId = data.itemId;
}); });
}) })
.finally(() => { .finally(() => {
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
label="物料名称" label="物料名称"
align="center" align="center"
prop="itemName" prop="itemName"
width="120"
/> />
<el-table-column <el-table-column
label="组件数量" label="组件数量"
...@@ -43,48 +42,12 @@ ...@@ -43,48 +42,12 @@
prop="unitOfMeasure" prop="unitOfMeasure"
width="120" width="120"
/> />
<el-table-column
label="报废百分比"
align="center"
prop="scrapPercentage"
width="120"
/>
<el-table-column <el-table-column
label="替代组" label="替代组"
align="center" align="center"
prop="alternativeGroup" prop="alternativeGroup"
width="120" width="120"
/> />
<el-table-column
label="替代优先级"
align="center"
prop="alternativePriorities"
width="120"
/>
<el-table-column
label="策略"
align="center"
prop="alternativeStrategy"
width="120"
/>
<el-table-column
label="使用概率"
align="center"
prop="alternativeProbability"
width="120"
/>
<el-table-column
label="BOM行备注"
align="center"
prop="bomItemRemark"
min-width="120"
/>
<el-table-column
label="物料备注"
align="center"
prop="itemRemark"
min-width="120"
/>
<el-table-column <el-table-column
v-if="mode != 'info'" v-if="mode != 'info'"
label="操作" label="操作"
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
label="物料名称" label="物料名称"
align="center" align="center"
prop="itemName" prop="itemName"
width="500"
/> />
<el-table-column <el-table-column
label="组件数量" label="组件数量"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment