chenlu
2025-04-08 a58e903d819c65540c70a0df377ba61f9d39cf14
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/Compute.vue
@@ -22,8 +22,8 @@
    default: () => []
  }
});
// 定义响应式数据,用于绑定工程号输入框的值
const inputValue = ref(props.project.projectNumber);
@@ -41,6 +41,13 @@
const spacingLong = ref('') // 长轴间隔
const spacingWidth = ref('') // 宽轴间隔
const quantity = ref('') // 工程片数
// 定义响应式数据,用于绑定工程号输入框的值
let inputValue=ref(null)
if(props.project!==undefined){
  inputValue= ref(props.project.projectNumber);
  quantity.value=props.project.quantity
}
const gridOptions = reactive({
@@ -118,7 +125,6 @@
          spacingLong.value=formattedData[0].x_space
          spacingWidth.value=formattedData[0].y_space
          heatingTime.value=formattedData[0].tempering_time
          quantity.value=props.project.quantity
        }
      } else {
@@ -262,7 +268,7 @@
          :step="1"/>
      <span style="margin-left: 20px ; width: 35px;">{{ percentage1 }}%</span>
      <span style="float: right ; margin-left: 150px;">
            工程片数 <vxe-input size="small" disabled class="input" clearable v-model="quantity"></vxe-input>
            工程片数 <vxe-input size="small" disabled class="input"  v-model="quantity"></vxe-input>
            宽轴间隔 <vxe-input size="small" class="input" clearable v-model="spacingWidth"></vxe-input>
            炉宽(mm) <vxe-input size="small" class="input" clearable v-model="furnaceWidth"></vxe-input>
      </span>