zss
2024-01-04 d2c182e7310c30a38ec6ce0d8a1d2ce00d51ac8f
src/views/plan/manufacturingorder/productorder-form.vue
@@ -65,6 +65,7 @@
            </el-col>
            <el-col :span="6">
              <el-form-item label="零件" prop="partId">
                <el-tooltip class="item" effect="dark" :content="partStr" >
                <el-input v-model="partStr" placeholder="" readonly>
                  <el-button
                    v-if="!this.dataForm.id"
@@ -73,11 +74,12 @@
                    @click="openRoutingDialog()"
                  ></el-button>
                </el-input>
                </el-tooltip>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row :gutter="10">
            <el-col :span="3">
            <el-col :span="4">
              <el-form-item label="需求数量" prop="qtyRequired">
                <el-input
                  v-model="dataForm.qtyRequired"
@@ -86,7 +88,7 @@
                ></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="3">
            <el-col :span="4">
              <el-form-item label="完成数量" prop="qtyFinished">
                <el-input-number
                  style= "width: 90%"
@@ -126,12 +128,15 @@
                ></el-input>
              </el-form-item>
            </el-col> -->
             <el-col :span="6">
             <el-col :span="5">
              <el-form-item label="备注" prop="remark">
                <el-input v-model="dataForm.remark" placeholder=""></el-input>
                <el-tooltip class="item" effect="dark" :content="dataForm.remark">
                <el-input v-model="dataForm.remark" placeholder="">
                </el-input>
                </el-tooltip>
              </el-form-item>
            </el-col>
            <el-col :span="6">
            <el-col :span="5">
              <el-form-item label="制造属性" prop="manufactureAttr">
                <el-select
                  v-model="dataForm.manufactureAttr"
@@ -204,7 +209,7 @@
                </el-switch>
              </el-form-item>
            </el-col> -->
        </div>
        <div class="productorder-detail">
          <el-card class="productorder-list">
@@ -476,7 +481,7 @@
                          </el-table>
                        </el-card>
                      </el-tab-pane>
                      <el-tab-pane
                     <!--  <el-tab-pane
                        label="检测标准"
                        key="tb1"
                        id="tb1"
@@ -489,7 +494,7 @@
                          :moRoutingOperationId="moRoutingOperationId"
                          @refreshTestStandardInfo="refreshTestStandardInfo"
                        ></testStandardTable>
                      </el-tab-pane>
                      </el-tab-pane> -->
                      <!-- <el-tab-pane
                        label="抽检规则"
                        key="tb2"
@@ -690,13 +695,13 @@
                      label="单位"
                    />
                    <el-table-column
                    <!-- <el-table-column
                      prop="discNum"
                      width="150"
                      header-align="center"
                      align="center"
                      label="盘数(盘)"
                    />
                    /> -->
                    <!-- <el-table-column
                      prop="version"
@@ -1216,7 +1221,6 @@
    this.getBomTypeDbOptions()
    this.getManufactureAttrs('manufacture_attr_type')
    this.getSysParam(sysParam.IS_REPORT_OPERATION)
    // console.log(this.components);
  },
  watch: {
    'dataForm.partId'(newValue, oldValue) {
@@ -1231,9 +1235,6 @@
      }
    },
    components(newVal,oldVal){
      console.log("新",newVal);
      console.log("老",oldVal);
      console.log(this.components);
    },
    currentRouting(newValue, oldValue) {
      if (newValue && newValue.id) {
@@ -1284,7 +1285,6 @@
      if (newValue && newValue.id) {
        // 查询产品结构对应的组件
        getBom(newValue.id).then((response) => {
          console.log("查",this.components);
          // this.components = [response.data.data.tree]
        })
      }
@@ -2088,7 +2088,6 @@
    },
    // 新增工序
    addOperation(operation) {
      console.log('operation', operation)
    },
    insertOperation(operation) {},
    structSelectionChange(val) {