licp
2024-04-12 26bda7475ed2fa2f5a017993a1d3b195838ad9e4
src/views/plan/customerorder/index.vue
@@ -11,7 +11,6 @@
        :toolbarMaxLength="4"
        :paramArr="type"
        ref="customerOrderTable"
        :expandRowKeys="expandRowKeys"
      >
        <template #toolbar>
          <el-dropdown
@@ -415,7 +414,6 @@
        selectTime: null,
        exportTime: null,
      },
      expandRowKeys: [],
      dataRule: {
        exportTime: [
          { required: true, message: '导出日期不能为空', trigger: 'change' },
@@ -1201,8 +1199,9 @@
      this.getData()
    },
    getData() {
      this.$refs.customerOrderTable.getDataList()
    async getData() {
      await this.$refs.customerOrderTable.getDataList()
      this.$refs.customerOrderTable.toggleRowExpansion()
    },
    // 获取数据列表去除已完成状态的
    handleDataList(command) {
@@ -1282,7 +1281,6 @@
          this.$refs.addSampleForm.init(row ? row.contractNo : null)
        })
      }
      this.expandRowKeys=[row.id]
    },
    // 新增样品订单
    addSampleCustomerOrder() {