小小儁爺
2024-08-08 e3d5394e07c6e7dc24cf620bd16f07d78ff96e03
src/views/statistic/workOrderProcess.vue
@@ -15,6 +15,11 @@
          style="display: flex;"
        >
          <div class="elForm">
            <el-form-item label="销售单号" style=" display: flex;">
              <el-input v-model="form.socode" placeholder="请输入" style="width: 200px"/>
            </el-form-item>
            <el-form-item label="车间名称" style=" display: flex;">
              <el-select
                v-model="form.wkshopcode"
@@ -48,7 +53,7 @@
            <!--            <el-form-item label="车间名称" style=" display: flex;">-->
            <!--              <el-input v-model="form.wkshopname" placeholder="请输入" style="width: 200px" />-->
            <!--            </el-form-item>-->
            <el-form-item label="产品编码" style=" display: flex;">
            <el-form-item label="产品编码" v-show="isExpandForm" style=" display: flex;">
              <el-input v-model="form.partcode" placeholder="请输入" style="width: 200px" />
            </el-form-item>
            <el-form-item v-show="isExpandForm" label="产品名称" style=" display: flex;">
@@ -139,6 +144,13 @@
            prop="wo_code"
            label="工单编号"
            width="155"
            show-tooltip-when-overflow
            sortable="custom"
          />
          <el-table-column
            prop="saleOrderCode"
            label="销售单号"
            width="135"
            show-tooltip-when-overflow
            sortable="custom"
          />
@@ -289,6 +301,7 @@
      mainHeight: 0,
      tableHeight: 0,
      form: {
        socode: '',//销售单号
        status: '', // 工单状态
        wocode: '', // 工单编号
        wkshopcode: '', // 工艺路线编码
@@ -334,6 +347,7 @@
        tempDate = handleDatetime(tempDate[0]) + '~' + handleDatetime(tempDate[1])
      }
      const data = {
        socode: this.form.socode,
        status: this.form.status,
        wocode: this.form.wocode,
        wkshopcode: this.form.wkshopcode,
@@ -360,6 +374,7 @@
        tempDate = handleDatetime(tempDate[0]) + '~' + handleDatetime(tempDate[1])
      }
      const data = {
        socode: this.form.socode,
        status: this.form.status,
        wocode: this.form.wocode,
        wkshopcode: this.form.wkshopcode,
@@ -393,6 +408,7 @@
    },
    // 重置
    reset() {
      this.form.socode=''
      this.form.status = ''
      this.form.wocode = ''
      this.form.wkshopcode = ''