|
@@ -97,6 +97,7 @@ const files = ref([]);
|
|
|
const formData = reactive({
|
|
|
key: '',
|
|
|
deviceNo: '',
|
|
|
+ serialNo: '',
|
|
|
deviceModel: '',
|
|
|
supplierName: '',
|
|
|
deviceStatus: '',
|
|
@@ -169,7 +170,7 @@ const getDeviceOptions = async () => {
|
|
|
.map((item) => ({
|
|
|
...item,
|
|
|
value: item.deviceNo,
|
|
|
- label: item.deviceNo + '_' + item.deviceModel + '_' + item.supplierName,
|
|
|
+ label: item.deviceNo + '_' + item.serialNo + '_' + item.deviceBrand,
|
|
|
}));
|
|
|
};
|
|
|
|
|
@@ -183,6 +184,7 @@ const deviceChange = (val, { option }) => {
|
|
|
formData.deviceBrand = option.deviceBrand;
|
|
|
formData.scanCount = option.scanCount;
|
|
|
formData.location = option.location;
|
|
|
+ formData.serialNo = option.serialNo;
|
|
|
if (!props.isOutType) {
|
|
|
formData.address = option.supplierName;
|
|
|
} else {
|