|
|
@@ -2317,7 +2317,8 @@ import {
|
|
|
getTimelist,
|
|
|
JPmachineDetail,
|
|
|
JpChanliangEdit,
|
|
|
- JpUploade
|
|
|
+ JpUploade,
|
|
|
+ getRejectRate
|
|
|
} from '@/api/jixiaoguanli/jitairibaobiao'
|
|
|
import{
|
|
|
AccountingParameter,
|
|
|
@@ -3302,11 +3303,16 @@ const JPdialogSelectVisible_LXedit = ref(false)
|
|
|
const JPtableDataedit = ref([
|
|
|
{ name: '废品版', type: '废品版' },
|
|
|
{ name: '正品版', type: '正品版' },
|
|
|
+ { name: '次品版', type: '次品版' },
|
|
|
])
|
|
|
|
|
|
const JPhandleRowClickedit = async (row) => {
|
|
|
JPformdataedit['检验类别'] = row['name']
|
|
|
JPdialogSelectVisible_LXedit.value = false
|
|
|
+ const fplxs = await getRejectRate({order:JPformdataedit['工单编号'],yjno:JPformdataedit['印件号'],gxh:JPformdataedit['工序号'],type:JPformdataedit['检验类别']})
|
|
|
+ if (fplxs.code === 0) {
|
|
|
+ JPformdataedit['废品率系数'] = fplxs.data
|
|
|
+ }
|
|
|
}
|
|
|
//工单编号回车事件
|
|
|
const JPgetCPMCsubmitedit = () => {
|
|
|
@@ -3724,11 +3730,16 @@ const JPdialogSelectVisible_LX = ref(false)
|
|
|
const JPtableData = ref([
|
|
|
{ name: '废品版', type: '废品版' },
|
|
|
{ name: '正品版', type: '正品版' },
|
|
|
+ { name: '次品版', type: '次品版' },
|
|
|
])
|
|
|
|
|
|
const JPhandleRowClick = async (row) => {
|
|
|
JPformdata['检验类别'] = row['name']
|
|
|
JPdialogSelectVisible_LX.value = false
|
|
|
+ const fplxs = await getRejectRate({order:JPformdata['工单编号'],yjno:JPformdata['印件号'],gxh:JPformdata['工序号'],type:JPformdata['检验类别']})
|
|
|
+ if (fplxs.code === 0) {
|
|
|
+ JPformdata['废品率系数'] = fplxs.data
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|