hyingbo
昨天 296852209ae0880056ba52345090f835e0781231
src/views/tms/modules/baseTools/ParaHoleToolsModal.vue
@@ -418,6 +418,18 @@
            </a-form-model-item>
          </a-col>
        </a-row>
        <a-row>
           <a-col :span="6">
            <a-form-model-item label="导向长度" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="guidanceLength">
              <a-input v-model="model.guidanceLength" :placeholder="disableSubmit?'':'请输入导向长度'" :disabled="disableSubmit" ></a-input>
            </a-form-model-item>
          </a-col>
          <a-col :span="6">
            <a-form-model-item label="导向直径" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="guidanceDiameter">
              <a-input v-model="model.guidanceDiameter" :placeholder="disableSubmit?'':'请输入导向直径'" :disabled="disableSubmit" ></a-input>
            </a-form-model-item>
          </a-col>
        </a-row>
        <a-row :gutter="24">
          <a-col :span="24">
            <a-form-model-item :labelCol="labelColLong" :wrapperCol="wrapperColLong" prop="remark" label="备注">
@@ -517,6 +529,7 @@
      url: {
        add: '/tms/baseTools/add',
        edit: '/tms/baseTools/edit',
        queryParaByToolCode: '/tms/baseTools/queryByToolCode',
      },
      locationCodeOptions:[],
      chineseNameChange1:'',
@@ -553,6 +566,15 @@
    edit(record) {
      this.editable = true;
      this.model = Object.assign({}, record)
      //通过id查询管理参数和参数数据
      getAction(this.url.queryParaByToolCode, {
        toolCode: record.toolCodeId,
        paraTypeFlag: record.paraTypeFlag,
      }).then((res) => {
        if (res.success) {
          this.model = Object.assign({}, res.result)
        }
      })
      this.visible = true
    },
    close() {