还原测试
This commit is contained in:
@@ -476,7 +476,7 @@ const workOrderResp = ref<WorkOrderResp>({
|
||||
// 称重登记页面数据
|
||||
const inputQuantity = ref()
|
||||
// todo
|
||||
const ahDeviceWeight = ref('100')
|
||||
const ahDeviceWeight = ref('')
|
||||
const calculatedWeight = ref('')
|
||||
const weighingCount = ref(1)
|
||||
|
||||
@@ -644,11 +644,8 @@ const handleNext = async () => {
|
||||
|
||||
// 调用后端接口获取比对结果 // todo
|
||||
const res = await vmSend(materialCode);
|
||||
// compareMatchResult.value = res.data || '';
|
||||
compareMatchResult.value = 'success'
|
||||
|
||||
if (compareMatchResult.value === 'success') {
|
||||
// 比对成功,按钮变为下一步
|
||||
if (res.data && res.data == materialCode) {
|
||||
compareMatchResult.value === 'success';
|
||||
Message.success('比对成功')
|
||||
} else {
|
||||
// 比对失败,提示错误
|
||||
@@ -711,7 +708,7 @@ const handleBackToFirst = () => {
|
||||
// 重置称重登记页面数据
|
||||
inputQuantity.value = ''
|
||||
// todo
|
||||
ahDeviceWeight.value = '100'
|
||||
ahDeviceWeight.value = ''
|
||||
calculatedWeight.value = ''
|
||||
weighingCount.value = 1
|
||||
// 清空称重列表
|
||||
@@ -798,7 +795,7 @@ const handleConfirm = async () => {
|
||||
// 重置输入(让用户能继续输入)
|
||||
inputQuantity.value = ''
|
||||
// todo
|
||||
ahDeviceWeight.value = '100'
|
||||
ahDeviceWeight.value = ''
|
||||
calculatedWeight.value = ''
|
||||
weighingCount.value = weighingList.value.length + 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user