24h,设备

This commit is contained in:
helloDy
2023-11-15 14:30:28 +08:00
parent e6158cd59b
commit 952490f0d4
12 changed files with 230 additions and 120 deletions

View File

@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-11-18 14:16:25
* @LastEditors: DY
* @LastEditTime: 2023-11-04 17:57:18
* @LastEditTime: 2023-11-15 10:32:19
* @Description:
-->
<template>
@@ -326,9 +326,15 @@ export default {
// 获取产品详情
this.urlOptions.infoURL(id).then(response => {
this.dataForm = response.data
this.dataForm.unit = String(this.dataForm.unit)
this.dataForm.materialType = String(this.dataForm.materialType)
this.dataForm.productType = String(this.dataForm.productType)
if (this.dataForm.unit !== undefined) {
this.dataForm.unit = String(this.dataForm.unit)
}
if (this.dataForm.materialType !== undefined) {
this.dataForm.materialType = String(this.dataForm.materialType)
}
if (this.dataForm.productType !== undefined) {
this.dataForm.productType = String(this.dataForm.productType)
}
});
// 获取产品属性列表
this.getList();