优化
This commit is contained in:
@@ -37,8 +37,8 @@
|
||||
</a-form-item>
|
||||
</div>
|
||||
<div class="form-item">
|
||||
<a-form-item label="物料规格">
|
||||
<a-input v-model="formData.materialSpec" placeholder="物料规格" disabled />
|
||||
<a-form-item label="物料直径">
|
||||
<a-input v-model="formData.materialSpec" placeholder="物料直径" disabled />
|
||||
</a-form-item>
|
||||
</div>
|
||||
</div>
|
||||
@@ -291,7 +291,7 @@ const formData = reactive({
|
||||
id: '', // 物料ID
|
||||
encoding: '', // 物料编码
|
||||
materialName: '', // 物料名称
|
||||
materialSpec: '', // 物料规格
|
||||
materialSpec: '', // 物料直径
|
||||
materialProcess: '', // 物料流程
|
||||
unitWeight: 0, // 重量
|
||||
photoUrl: '', // 样图URL
|
||||
@@ -729,7 +729,7 @@ const handleNext = async () => {
|
||||
}
|
||||
|
||||
// 调用后端接口获取比对结果 // todo
|
||||
const res = await vmSend(formData.materialProcess);
|
||||
const res = await vmSend(materialCode);
|
||||
if (res.data && res.data === materialCode) {
|
||||
compareMatchResult.value = 'success'
|
||||
Message.success('比对成功')
|
||||
|
||||
Reference in New Issue
Block a user