| | |
| | | <el-col :span="6"> |
| | | <el-form-item label="选单号" prop="HSourceBillNo"> |
| | | <el-input v-model="form.HSourceBillNo" placeholder="请输入选单号" disabled> |
| | | <el-button class="input-search-btn" slot="append" icon="el-icon-search" @click="openDataDialog(null)"></el-button> |
| | | <el-button class="input-search-btn" slot="append" icon="el-icon-search" |
| | | @click="openDataDialog(null)"></el-button> |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | </el-table-column> |
| | | <el-table-column align="center" label="物料代码" prop="HMaterNumber" width="120" |
| | | show-overflow-tooltip> |
| | | <template slot-scope="scope"><el-input v-model="scope.row.HMaterNumber" /></template> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.HMaterNumber" |
| | | @keyup.native.f7="openDataDialog(3, scope.row)" |
| | | @dblclick.native="openDataDialog(3, scope.row)" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column align="center" label="物料名称" prop="HMaterName" width="120" |
| | | show-overflow-tooltip> |
| | |
| | | </el-tab-pane> |
| | | <el-tab-pane label="条码信息" name="tiaoma"> |
| | | <el-table :data="editTmData" style="width: 100%" height="480" width="100%" ref="tbzbTable" |
| | | @selection-change="handleTableWlxxZbEdit" :row-class-name="tiaomaZbIndex" border v-if="editTmData.length>0"> |
| | | @selection-change="handleTableWlxxZbEdit" :row-class-name="tiaomaZbIndex" border |
| | | v-if="editTmData.length > 0"> |
| | | <el-table-column align="center" label="序号" type="index" width="80" fixed /> |
| | | <template v-for="(item, index) in tmBtList"> |
| | | <el-table-column align="center" :prop="item.field" :label="item.title" :width="item.width" |
| | |
| | | </el-tab-pane> |
| | | <el-tab-pane label="档案列表" name="dangan"> |
| | | <el-table :data="editDaData" style="width: 100%" height="480" width="100%" ref="dazbTable" |
| | | @selection-change="handleTableDangan" :row-class-name="danganZbIndex" border v-if="editDaData.length>0"> |
| | | @selection-change="handleTableDangan" :row-class-name="danganZbIndex" border |
| | | v-if="editDaData.length > 0"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column align="center" label="序号" type="index" width="80" fixed /> |
| | | <template v-for="(item, index) in daBtList"> |
| | |
| | | <el-dialog :title="dialogTitle" :visible.sync="openData" width="1280px" append-to-body @close="closeBill"> |
| | | <HSourceReportHtml @deptEmitDb="dbEmitData" @deptEmit="emitData" :openPage="HModName" |
| | | :HOrgID='this.form.HOrgID' :HSouceBillType="HSouceBillType" v-if="ScICMOBillShow" /> |
| | | |
| | | <GyProperty |
| | | @deptEmitDb="dbEmitData" |
| | | @deptEmit="emitData" |
| | | :openPage="HModName" |
| | | v-if="propertyShow" |
| | | /> |
| | | <Material @deptEmitDb="dbEmitData" @deptEmit="emitData" :openPage="HModName" v-if="materialShow" /> |
| | | <GyProperty @deptEmitDb="dbEmitData" @deptEmit="emitData" :openPage="HModName" v-if="propertyShow" /> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="deptClickSub">确 定</el-button> |
| | | <el-button @click="deptClose">取 消</el-button> |
| | |
| | | import PrintList from "@/views/component/printList"; |
| | | import moment from 'moment'; |
| | | import GyProperty from "@/views/basic/gyProperty/gyPropertyList.vue"; |
| | | import Material from '@/views/gyMaterial/GyMaterial.vue' |
| | | |
| | | export default { |
| | | name: 'Gy_BarCodeBill', |
| | | components: { HSourceReportHtml, PrintList, GyProperty }, |
| | | components: { HSourceReportHtml, PrintList, GyProperty, Material }, |
| | | props: { |
| | | OperationType: { type: Number, }, |
| | | linterid: { type: Number, }, |
| | |
| | | this.editWlxxData[this.zbIndex]["HAuxPropNumber"] = deptRow["辅助属性代码"]; |
| | | this.propertyShow = false; |
| | | this.openData = false; |
| | | } else if (num == 3) { |
| | | this.editWlxxData[this.zbIndex].HMaterID = deptRow.HItemID; |
| | | this.editWlxxData[this.zbIndex].HMaterNumber = deptRow.物料代码; |
| | | this.editWlxxData[this.zbIndex].HMaterName = deptRow.物料名称; |
| | | this.editWlxxData[this.zbIndex].HMaterModel = deptRow.规格型号 |
| | | this.editWlxxData[this.zbIndex].HUnitID = deptRow.HUnitID; |
| | | this.editWlxxData[this.zbIndex].HUnitName = deptRow.计量单位名称 |
| | | this.editWlxxData[this.zbIndex].HUnitNumber = deptRow.计量单位代码 |
| | | this.materialShow = false |
| | | this.openData = false |
| | | } |
| | | |
| | | return |
| | | } |
| | | console.log(deptRow) |
| | |
| | | this.danganSelList = selection |
| | | }, |
| | | showReset() { |
| | | this.materialShow = false |
| | | this.ScICMOBillShow = false |
| | | }, |
| | | // 打开数据列表弹窗 |
| | |
| | | this.propertyShow = true |
| | | this.openData = true |
| | | ;break; |
| | | case 3: |
| | | this.dialogTitle = '物料列表' |
| | | this.materialShow = true |
| | | this.openData = true |
| | | break; |
| | | } |
| | | }else { |
| | | this.showReset() |