| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="日期" prop="HDate"> |
| | | <el-date-picker v-model="form.HDate" type="date" placeholder="选择日期" value-format="yyyy-MM-ddT"> |
| | | <el-date-picker v-model="form.HDate" type="date" placeholder="选择日期" value-format="yyyy-MM-dd"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="往来类型" prop="HSupTypeID"> |
| | | <el-select v-model="form.HSupTypeID" placeholder="请选择往来类型"> |
| | | <el-select v-model="form.HSupTypeID" placeholder="请选择往来类型" @change="form.HSupName='',form.HSupId=0"> |
| | | <el-option v-for="(item, index) in hSupTypeList" :key="index" :label="item.name" :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | |
| | | </el-table-column> |
| | | <el-table-column align="center" label="规格型号" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.HMaterSpec }}</span> |
| | | <span>{{ scope.row.HMaterModel }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column align="center" label="计量单位代码" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.HUnitCode }}</span> |
| | | <span>{{ scope.row.HUnitNumber }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column align="center" label="计量单位" width="120"> |
| | |
| | | </el-table-column> |
| | | <el-table-column align="center" label="仓位代码" width="120"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.HSPCode" placeholder="请输入" @keyup.native.f7="openDataDialog(9, scope.row)" |
| | | <el-input v-model="scope.row.HSPNumber" placeholder="请输入" @keyup.native.f7="openDataDialog(9, scope.row)" |
| | | @dblclick.native="openDataDialog(9, scope.row)" /> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | this.form.HSupTypeID = data.HSupTypeID |
| | | this.form.HSupID = data.HSupID |
| | | this.form.HSupName = data.HSupName |
| | | this.form.HEmpID = data.HEmpID |
| | | this.form.HEmpName = data.HEmpName |
| | | this.form.HManagerID = data.HManagerID |
| | | this.form.HManagerName = data.HManagerName |
| | | this.form.HKeeperID = data.HKeeperID |
| | | this.form.HKeeperName = data.HKeeperName |
| | | this.form.HSecManagerId = data.HSecManagerID |
| | | this.form.HSecManagerName = data.HSecManagerName |
| | | this.form.HDeptID = data.HDeptID |
| | |
| | | this.openData = false |
| | | } else if (num == 9){ |
| | | this.editData[this.zbIndex].HSPID = deptRow.HMainID |
| | | this.editData[this.zbIndex].HSPCode = deptRow.仓位代码 |
| | | this.editData[this.zbIndex].HSPNumber = deptRow.仓位代码 |
| | | this.editData[this.zbIndex].HSPName = deptRow.仓位名称 |
| | | this.gyStockPlaceShow = false |
| | | this.openData = false |
| | |
| | | //新增获取单据号 |
| | | this.getHBillNo() |
| | | let date = new Date() |
| | | this.form.HDate = moment(date).format('YYYY-MM-DDTHH:mm:ss') |
| | | this.form.HDate = moment(date).format('YYYY-MM-DD') |
| | | if (this.OperationType == 1) { |
| | | this.handleAddSysZb() |
| | | } |
| | |
| | | //新增获取单据号 |
| | | this.getHBillNo() |
| | | let date = new Date() |
| | | this.form.HDate = moment(date).format('YYYY-MM-DDTHH:mm:ss') |
| | | this.form.HDate = moment(date).format('YYYY-MM-DD') |
| | | |
| | | //设置源单类型 |
| | | this.form.HSourceBillType = this.HSouceBillType |
| | |
| | | if (this.copyType == 1) { |
| | | this.getHBillNo() |
| | | let date = new Date() |
| | | this.form.HDate = moment(date).format('YYYY-MM-DDTHH:mm:ss') |
| | | this.form.HDate = moment(date).format('YYYY-MM-DD') |
| | | } else { |
| | | if (data[0].HSourceInterID != "0") { |
| | | this.ifOrganizationEdit = true |