|
|
|
@ -574,7 +574,9 @@ const handleMatCode = async (scope, matid) => {
|
|
|
|
|
scope.row.rgId = matVo.rgId
|
|
|
|
|
scope.row.pnId = matVo.pnId
|
|
|
|
|
scope.row.matRest = matVo.matRest
|
|
|
|
|
scope.row.storageOkQty = matVo.storageOkQty
|
|
|
|
|
scope.row.lotNo = matVo.lotNo
|
|
|
|
|
scope.row.description = matVo.description
|
|
|
|
|
|
|
|
|
|
const queryParamsRPn = reactive({
|
|
|
|
|
pageNo: 1,
|
|
|
|
@ -585,7 +587,19 @@ const handleMatCode = async (scope, matid) => {
|
|
|
|
|
const dataPn = await PnApi.getPnPage(queryParamsRPn)
|
|
|
|
|
scope.row.pnlist = dataPn.list
|
|
|
|
|
} else {
|
|
|
|
|
scope.row = matLastData.value.find((item) => item.matId === matid)
|
|
|
|
|
scope.row.matId = ''
|
|
|
|
|
scope.row.matName = ''
|
|
|
|
|
scope.row.matCode = ''
|
|
|
|
|
scope.row.matSpec = ''
|
|
|
|
|
scope.row.matType = ''
|
|
|
|
|
scope.row.matUnit = ''
|
|
|
|
|
scope.row.rgId = ''
|
|
|
|
|
scope.row.pnId = ''
|
|
|
|
|
scope.row.matRest = ''
|
|
|
|
|
scope.row.storageOkQty = ''
|
|
|
|
|
scope.row.lotNo = ''
|
|
|
|
|
scope.row.description = ''
|
|
|
|
|
scope.row.pnlist = []
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -724,4 +738,5 @@ onMounted(async () => {
|
|
|
|
|
a {
|
|
|
|
|
color: #409eff;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}</style>
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|