chenrui
2025-03-07 b9dc397ec24875d6aeeefa77f7605b75b23365e1
bug修复
已修改2个文件
16 ■■■■ 文件已修改
src/views/business/productOrder/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/business/rawMaterialInspection/index.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/business/productOrder/index.vue
@@ -763,7 +763,7 @@
      }
      const params = { ...this.entity, state: this.tabList[this.tabIndex].value }
      this.tableLoading = true
      selectInsOrderParameter(params).then(res => {
      selectInsOrderParameter({...this.page,...params}).then(res => {
        this.upIndex++
        this.tableLoading = false
        if (res.code === 200) {
src/views/business/rawMaterialInspection/index.vue
@@ -94,7 +94,7 @@
    </el-dialog>
    <!-- 确认报检 -->
    <el-dialog :close-on-click-modal="false" :title="declareType === 'add' ? '新增报检信息' : '原材料报检'"
      :visible.sync="declareDialogVisible" width="800px" @close="resetForm">
      :visible.sync="declareDialogVisible" width="800px" @close="resetFormData">
      <el-form ref="declareObj" :inline="true" :model="declareObj" :rules="declareObjRules" label-width="130px"
        label-position="right">
        <el-form-item class="declareObj-form-item" label="订单号:" prop="orderNo">
@@ -446,7 +446,7 @@
        partNo: null,
        partDesc: null,
        supplierName: null,
        date: '',
        date: null,
        entrustCode: '',
        inspectStatus: '',
      },
@@ -560,6 +560,10 @@
    // 已完成部查询
    getIfsByFinishList() {
      this.tableLoading1 = true
      if(null != this.componentData.date){
        this.componentData.beginDeclareDate = this.componentData.date[0]
        this.componentData.endDeclareDate = this.componentData.date[1]
      }
      getIfsByFinish({ ...this.componentData, ...this.page1 }).then(res => {
        this.tableLoading1 = false
        if (res.code === 200) {
@@ -573,6 +577,10 @@
    // 全部查询
    getIfsByAllList() {
      this.tableLoading1 = true
      if(null != this.componentData.date){
        this.componentData.beginDeclareDate = this.componentData.date[0]
        this.componentData.endDeclareDate = this.componentData.date[1]
      }
      getIfsByAll({ ...this.componentData, ...this.page1 }).then(res => {
        this.tableLoading1 = false
        if (res.code === 200) {
@@ -748,7 +756,7 @@
        });
      }
    },
    resetForm() {
    resetFormData() {
      this.$refs['declareObj'].resetFields();
      this.declareDialogVisible = false
    },