陈婷婷
5 天以前 d761f5ff052f6aa1dc727bdcf91a4e8cfbbf029a
src/views/scMould/basicModeling/Gy_MouldFile.vue
@@ -95,9 +95,9 @@
              </el-form-item>
            </el-col>
            <el-col :span="6">
              <el-form-item label="单位" prop="HUnitName" v-show="isHide">
              <el-form-item label="单位" prop="HUnitName" v-show="isShow">
                <el-input v-model="form.HUnitName" placeholder="请输入单位" disabled>
                  <el-button slot="append" icon="el-icon-search"></el-button>
                  <el-button slot="append" icon="el-icon-search"  @click="openDataDialog(11)"></el-button>
                </el-input>
              </el-form-item>
            </el-col>
@@ -505,6 +505,7 @@
      <GySupplier @deptEmitDb="dbEmitData" @deptEmit="emitData" :openPage="HModName" v-if="gySupplierShow" />
      <GyCustomer @deptEmitDb="dbEmitData" @deptEmit="emitData" :openPage="HModName" v-if="gyCustomerShow" />
      <GyStockPlace @deptEmitDb="dbEmitData" @deptEmit="emitData" :openPage="HModName" v-if="gyStockPlaceShow" />
      <GyUnit @deptEmitDb="dbEmitData" @deptEmit="emitData" :openPage="HModName" v-if="gyUnitShow" />
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="deptClickSub">确 定</el-button>
        <el-button @click="deptClose">取 消</el-button>
@@ -527,11 +528,12 @@
import GySupplier from '@/views/basic/gy/gySupplier.vue'
import GyCustomer from '@/views/GyCustomer'
import GyStockPlace from '@/views/basic/gyStockPlace/gyStockPlace.vue'
import GyUnit from '@/views/basic/gyUnit/gyUnit.vue'
import moment from 'moment';
export default {
  name: 'Gy_MouldFile',
  components: { Dept, Warehouse, Material, RowSettings, GyEmployee, GySource, GySupplier, GyCustomer, GyStockPlace },
  components: { Dept, Warehouse, Material, RowSettings, GyEmployee, GySource, GySupplier, GyCustomer, GyStockPlace,GyUnit },
  props: {
    OperationType: { type: Number, },
    linterid: { type: Number, },
@@ -569,6 +571,7 @@
      gySupplierShow: false,
      gyCustomerShow: false,
      gyStockPlaceShow: false,
      gyUnitShow: false,
      deptform: {},//弹窗选中数据
      openData: false,//数据弹窗
      dialogTitle: '',
@@ -856,6 +859,10 @@
          }
          this.gyStockPlaceShow = false
          this.openData = false
        } else if (num == 11){
          this.gyUnitShow= false
          this.openData = false
        }
      } else {
        this.$modal.msgError("请选择单条数据!");
@@ -1503,6 +1510,7 @@
      this.gySupplierShow = false
      this.gyCustomerShow = false
      this.gyStockPlaceShow = false
      this.gyUnitShow= false
    },
    //  打开数据列表弹窗
    openDataDialog(num, row) {
@@ -1543,6 +1551,10 @@
        this.dialogTitle = '仓位列表'
        this.gyStockPlaceShow = true
        this.openData = true
      } else if (num == 11) {
        this.dialogTitle = '单位列表'
        this.gyUnitShow = true
        this.openData = true
      }
    },
  }