|
|
|
@ -265,10 +265,11 @@ |
|
|
|
fixed="right" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="80" |
|
|
|
width="100" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-link style="cursor: pointer" @click="getAlternativePart(scope.row)">替代料</el-link> |
|
|
|
<el-link style="cursor: pointer;margin-left: 5px;" type="danger" @click="deleteNotifyMaterial(scope.row)">删除</el-link> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
@ -317,76 +318,76 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="删除记录" name="change"> |
|
|
|
<el-table |
|
|
|
:data="dataList5" |
|
|
|
:height="height" |
|
|
|
border |
|
|
|
v-loading="dataListLoading" |
|
|
|
style="width: 100%; "> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- header-align="center"--> |
|
|
|
<!-- align="center"--> |
|
|
|
<!-- width="80"--> |
|
|
|
<!-- fixed="left"--> |
|
|
|
<!-- label="操作">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <a type="text" size="small" @click="printLabel(scope.row)">打印标签</a>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<el-table-column |
|
|
|
v-for="(item,index) in columnList5" :key="index" |
|
|
|
:sortable="item.columnSortable" |
|
|
|
:prop="item.columnProp" |
|
|
|
:header-align="item.headerAlign" |
|
|
|
:show-overflow-tooltip="item.showOverflowTooltip" |
|
|
|
:align="item.align" |
|
|
|
:fixed="item.fixed==''?false:item.fixed" |
|
|
|
:min-width="item.columnWidth" |
|
|
|
:label="item.columnLabel"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="!item.columnHidden"> {{ scope.row[item.columnProp] }}</span> |
|
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" |
|
|
|
style="width: 100px; height: 80px"/></span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="关闭记录" name="close"> |
|
|
|
<el-table |
|
|
|
:data="dataList6" |
|
|
|
:height="height" |
|
|
|
border |
|
|
|
v-loading="dataListLoading" |
|
|
|
style="width: 100%; "> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- header-align="center"--> |
|
|
|
<!-- align="center"--> |
|
|
|
<!-- width="80"--> |
|
|
|
<!-- fixed="left"--> |
|
|
|
<!-- label="操作">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <a type="text" size="small" @click="printLabel(scope.row)">打印标签</a>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<el-table-column |
|
|
|
v-for="(item,index) in columnList6" :key="index" |
|
|
|
:sortable="item.columnSortable" |
|
|
|
:prop="item.columnProp" |
|
|
|
:header-align="item.headerAlign" |
|
|
|
:show-overflow-tooltip="item.showOverflowTooltip" |
|
|
|
:align="item.align" |
|
|
|
:fixed="item.fixed==''?false:item.fixed" |
|
|
|
:min-width="item.columnWidth" |
|
|
|
:label="item.columnLabel"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="!item.columnHidden"> {{ scope.row[item.columnProp] }}</span> |
|
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" |
|
|
|
style="width: 100px; height: 80px"/></span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-tab-pane> |
|
|
|
<!-- <el-tab-pane label="删除记录" name="change">--> |
|
|
|
<!-- <el-table--> |
|
|
|
<!-- :data="dataList5"--> |
|
|
|
<!-- :height="height"--> |
|
|
|
<!-- border--> |
|
|
|
<!-- v-loading="dataListLoading"--> |
|
|
|
<!-- style="width: 100%; ">--> |
|
|
|
<!-- <!– <el-table-column–>--> |
|
|
|
<!-- <!– header-align="center"–>--> |
|
|
|
<!-- <!– align="center"–>--> |
|
|
|
<!-- <!– width="80"–>--> |
|
|
|
<!-- <!– fixed="left"–>--> |
|
|
|
<!-- <!– label="操作">–>--> |
|
|
|
<!-- <!– <template slot-scope="scope">–>--> |
|
|
|
<!-- <!– <a type="text" size="small" @click="printLabel(scope.row)">打印标签</a>–>--> |
|
|
|
<!-- <!– </template>–>--> |
|
|
|
<!-- <!– </el-table-column>–>--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- v-for="(item,index) in columnList5" :key="index"--> |
|
|
|
<!-- :sortable="item.columnSortable"--> |
|
|
|
<!-- :prop="item.columnProp"--> |
|
|
|
<!-- :header-align="item.headerAlign"--> |
|
|
|
<!-- :show-overflow-tooltip="item.showOverflowTooltip"--> |
|
|
|
<!-- :align="item.align"--> |
|
|
|
<!-- :fixed="item.fixed==''?false:item.fixed"--> |
|
|
|
<!-- :min-width="item.columnWidth"--> |
|
|
|
<!-- :label="item.columnLabel">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <span v-if="!item.columnHidden"> {{ scope.row[item.columnProp] }}</span>--> |
|
|
|
<!-- <span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"--> |
|
|
|
<!-- style="width: 100px; height: 80px"/></span>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- </el-table>--> |
|
|
|
<!-- </el-tab-pane>--> |
|
|
|
<!-- <el-tab-pane label="关闭记录" name="close">--> |
|
|
|
<!-- <el-table--> |
|
|
|
<!-- :data="dataList6"--> |
|
|
|
<!-- :height="height"--> |
|
|
|
<!-- border--> |
|
|
|
<!-- v-loading="dataListLoading"--> |
|
|
|
<!-- style="width: 100%; ">--> |
|
|
|
<!-- <!– <el-table-column–>--> |
|
|
|
<!-- <!– header-align="center"–>--> |
|
|
|
<!-- <!– align="center"–>--> |
|
|
|
<!-- <!– width="80"–>--> |
|
|
|
<!-- <!– fixed="left"–>--> |
|
|
|
<!-- <!– label="操作">–>--> |
|
|
|
<!-- <!– <template slot-scope="scope">–>--> |
|
|
|
<!-- <!– <a type="text" size="small" @click="printLabel(scope.row)">打印标签</a>–>--> |
|
|
|
<!-- <!– </template>–>--> |
|
|
|
<!-- <!– </el-table-column>–>--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- v-for="(item,index) in columnList6" :key="index"--> |
|
|
|
<!-- :sortable="item.columnSortable"--> |
|
|
|
<!-- :prop="item.columnProp"--> |
|
|
|
<!-- :header-align="item.headerAlign"--> |
|
|
|
<!-- :show-overflow-tooltip="item.showOverflowTooltip"--> |
|
|
|
<!-- :align="item.align"--> |
|
|
|
<!-- :fixed="item.fixed==''?false:item.fixed"--> |
|
|
|
<!-- :min-width="item.columnWidth"--> |
|
|
|
<!-- :label="item.columnLabel">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <span v-if="!item.columnHidden"> {{ scope.row[item.columnProp] }}</span>--> |
|
|
|
<!-- <span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"--> |
|
|
|
<!-- style="width: 100px; height: 80px"/></span>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- </el-table>--> |
|
|
|
<!-- </el-tab-pane>--> |
|
|
|
</el-tabs> |
|
|
|
|
|
|
|
<el-dialog title="关闭原因" :close-on-click-modal="false" v-drag :visible.sync="closeModalFlag" width="450px"> |
|
|
|
@ -976,7 +977,7 @@ |
|
|
|
<el-dialog title="新增材料明细" :close-on-click-modal="false" v-drag :visible.sync="addMaterialModalFlag" width="525px"> |
|
|
|
<el-form :inline="true" label-position="top" :model="newMaterialData" style="margin-left: 7px;margin-top: -5px;"> |
|
|
|
<el-form-item> |
|
|
|
<span style="cursor: pointer" slot="label" @click="getBaseList(508)"><a href="#">材料</a></span> |
|
|
|
<span style="cursor: pointer" slot="label" @click="getBaseList(508)"><a href="#">物料信息</a></span> |
|
|
|
<el-input v-model="newMaterialData.componentPartNo" @change="partBlur(508)" style="width: 120px"></el-input> |
|
|
|
<el-input v-model="newMaterialData.partDesc" disabled style="width: 362px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
@ -1124,7 +1125,8 @@ |
|
|
|
firstInspectionQty: 0, |
|
|
|
standardDosage: 0, |
|
|
|
bomSeqNo: '', |
|
|
|
warehouseId: '' |
|
|
|
warehouseId: '', |
|
|
|
qtyToIssueOriginal: '' |
|
|
|
}, |
|
|
|
alternativePartsModalFlag: false, |
|
|
|
alternativePartsList: [], |
|
|
|
@ -2706,27 +2708,30 @@ |
|
|
|
this.dataList3 = []; |
|
|
|
} |
|
|
|
}); |
|
|
|
}else if(this.activeName==='change'){ |
|
|
|
searchNotifyLog(this.currentRow).then(({data}) => { |
|
|
|
//区分请求成功和失败的状况 |
|
|
|
if (data && data.code == 0) { |
|
|
|
this.dataList5 = data.rows |
|
|
|
|
|
|
|
} else { |
|
|
|
this.dataList5 = []; |
|
|
|
} |
|
|
|
}); |
|
|
|
}else if(this.activeName==='close'){ |
|
|
|
searchNotifyLogClose(this.currentRow).then(({data}) => { |
|
|
|
//区分请求成功和失败的状况 |
|
|
|
if (data && data.code == 0) { |
|
|
|
this.dataList6 = data.rows |
|
|
|
|
|
|
|
} else { |
|
|
|
this.dataList6 = []; |
|
|
|
} |
|
|
|
}); |
|
|
|
}else { |
|
|
|
// else if(this.activeName==='change'){ |
|
|
|
// searchNotifyLog(this.currentRow).then(({data}) => { |
|
|
|
// //区分请求成功和失败的状况 |
|
|
|
// if (data && data.code == 0) { |
|
|
|
// this.dataList5 = data.rows |
|
|
|
// |
|
|
|
// } else { |
|
|
|
// this.dataList5 = []; |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// } |
|
|
|
// else if(this.activeName==='close'){ |
|
|
|
// searchNotifyLogClose(this.currentRow).then(({data}) => { |
|
|
|
// //区分请求成功和失败的状况 |
|
|
|
// if (data && data.code == 0) { |
|
|
|
// this.dataList6 = data.rows |
|
|
|
// |
|
|
|
// } else { |
|
|
|
// this.dataList6 = []; |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// } |
|
|
|
else { |
|
|
|
searchSumNotifyMaterialList(this.currentRow).then(({data}) => { |
|
|
|
//区分请求成功和失败的状况 |
|
|
|
if (data && data.code == 0) { |
|
|
|
@ -3701,7 +3706,8 @@ |
|
|
|
firstInspectionQty: 0, |
|
|
|
standardDosage: 0, |
|
|
|
bomSeqNo: '', |
|
|
|
warehouseId: '' |
|
|
|
warehouseId: '', |
|
|
|
qtyToIssueOriginal: 0 |
|
|
|
}; |
|
|
|
// 加载生产订单选项 |
|
|
|
this.loadOrderOptions(); |
|
|
|
|