优化
This commit is contained in:
@@ -126,7 +126,6 @@ const columns: ColumnItem[] = reactive([
|
||||
type: 'image',
|
||||
savePath: 'material/',
|
||||
span: 24,
|
||||
required: true,
|
||||
},
|
||||
])
|
||||
|
||||
|
||||
@@ -803,7 +803,7 @@ const handleNext = async () => {
|
||||
workOrderResp.value.totalCount = res.data?.totalCount || ''
|
||||
workOrderResp.value.materialName = formData.materialName || ''
|
||||
workOrderResp.value.encoding = formData.encoding || ''
|
||||
|
||||
|
||||
// 格式化生产日期为 yyyyMMddHHmm 格式
|
||||
const now = new Date()
|
||||
const formattedDate = now.getFullYear().toString() +
|
||||
@@ -871,10 +871,10 @@ const handleNext = async () => {
|
||||
}
|
||||
|
||||
// 调用后端接口获取比对结果 // todo
|
||||
// const res = await vmSend(materialCode);
|
||||
const res = {
|
||||
data: 'success',
|
||||
};
|
||||
const res = await vmSend(materialCode);
|
||||
// const res = {
|
||||
// data: 'success',
|
||||
// };
|
||||
if (res.data) {
|
||||
compareMatchResult.value = res.data
|
||||
if (res.data === 'success') {
|
||||
|
||||
Reference in New Issue
Block a user