| | |
| | | </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> |
| | |
| | | <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> |
| | |
| | | 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, }, |
| | |
| | | gySupplierShow: false, |
| | | gyCustomerShow: false, |
| | | gyStockPlaceShow: false, |
| | | gyUnitShow: false, |
| | | deptform: {},//弹窗选中数据 |
| | | openData: false,//数据弹窗 |
| | | dialogTitle: '', |
| | |
| | | } |
| | | this.gyStockPlaceShow = false |
| | | this.openData = false |
| | | } else if (num == 11){ |
| | | this.gyUnitShow= false |
| | | this.openData = false |
| | | |
| | | } |
| | | } else { |
| | | this.$modal.msgError("请选择单条数据!"); |
| | |
| | | this.gySupplierShow = false |
| | | this.gyCustomerShow = false |
| | | this.gyStockPlaceShow = false |
| | | this.gyUnitShow= false |
| | | }, |
| | | // 打开数据列表弹窗 |
| | | openDataDialog(num, row) { |
| | |
| | | this.dialogTitle = '仓位列表' |
| | | this.gyStockPlaceShow = true |
| | | this.openData = true |
| | | } else if (num == 11) { |
| | | this.dialogTitle = '单位列表' |
| | | this.gyUnitShow = true |
| | | this.openData = true |
| | | } |
| | | }, |
| | | } |