|
@@ -95,6 +95,7 @@ const files = ref([]);
|
|
const formData = reactive({
|
|
const formData = reactive({
|
|
key: '',
|
|
key: '',
|
|
deviceNo: '',
|
|
deviceNo: '',
|
|
|
|
+ deviceModel: '',
|
|
supplierName: '',
|
|
supplierName: '',
|
|
deviceStatus: '',
|
|
deviceStatus: '',
|
|
scanCount: null,
|
|
scanCount: null,
|
|
@@ -174,6 +175,7 @@ const imgChange = (fileRes) => {
|
|
formData.basePhotoPath = fileRes.length ? fileRes[0].url : '';
|
|
formData.basePhotoPath = fileRes.length ? fileRes[0].url : '';
|
|
};
|
|
};
|
|
const deviceChange = (val, { option }) => {
|
|
const deviceChange = (val, { option }) => {
|
|
|
|
+ formData.deviceModel = option.deviceModel;
|
|
formData.supplierName = option.supplierName;
|
|
formData.supplierName = option.supplierName;
|
|
formData.deviceStatus = option.deviceStatus;
|
|
formData.deviceStatus = option.deviceStatus;
|
|
formData.deviceBrand = option.deviceBrand;
|
|
formData.deviceBrand = option.deviceBrand;
|