毛坯库存盘点,包装毛坯自动扣除,物料清单查看等功能完善,需要一定时间测试,不稳定
This commit is contained in:
@@ -503,7 +503,7 @@
|
||||
<td>标签参考图片</td>
|
||||
<td>
|
||||
<span @click="openImageViewer">
|
||||
<el-image ref="elImageRef" style="width: 40px; height: 40px" :src="imageUrl" >
|
||||
<el-image ref="elImageRef" style="width: 40px; height: 40px" :src="imageUrl">
|
||||
</el-image>
|
||||
<el-image-viewer style="width: 60%;height: 80%;" v-if="showViewer" :on-close="closeImageViewer" :url-list="[imageUrl]" />
|
||||
</span>
|
||||
@@ -631,6 +631,9 @@
|
||||
import {
|
||||
GetQcQualityStatisticsFirstStartTime,
|
||||
} from '@/api/qualityManagement/firstFQC.js'
|
||||
import {
|
||||
doOutboundByWorkOrderId,
|
||||
} from '@/api/wmsManagement/wmBlankRecord.js';
|
||||
import { convertToIncomingInspectionData } from '@/api/wmsManagement/wmFgentryInspect.js'
|
||||
import ElImageViewer from 'element-ui/packages/image/src/image-viewer'
|
||||
export default {
|
||||
@@ -871,8 +874,19 @@
|
||||
this.$modal
|
||||
.confirm('是否确认完成本工单?')
|
||||
.then(() => {
|
||||
|
||||
this.$notify.success(`已完成工单${saveWorkorderInfo.clientWorkorder},即将跳转下一个工单`);
|
||||
// 毛坯库存出库
|
||||
this.$notify.success(`工单${saveWorkorderInfo.clientWorkorder},开始同步毛坯库存!`)
|
||||
const queryData = {
|
||||
workOrderId: saveWorkorderInfo.clientWorkorder
|
||||
}
|
||||
doOutboundByWorkOrderId(queryData).then(res => {
|
||||
if (res.code === 200) {
|
||||
this.$notify.success(`工单${saveWorkorderInfo.clientWorkorder},毛坯库存已扣除!`)
|
||||
}
|
||||
}).catch((err) => {
|
||||
|
||||
})
|
||||
//todo 更改这个工单状态为2
|
||||
this.getNext_current_workorder().then(() => {
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user