| | |
| | | <div style=" margin-bottom: 10px; border-bottom: 1px solid #f6f6f6;"> |
| | | <el-button type="primary" @click="handleAdd(OperationType = 1)" v-if="addBtnShow">新增</el-button> |
| | | <el-button type="primary" @click="submitForm" :disabled="subDisabled">保 存</el-button> |
| | | <el-button type="primary" @click="set_CheckBill(0, form)">审 核</el-button> |
| | | <!-- <el-button type="primary" @click="set_CheckBill(0, form)">审 核</el-button> --> |
| | | <el-button type="primary" @click="close">退 出</el-button> |
| | | <!-- <el-button @click="cancel">取 消</el-button> --> |
| | | </div> |
| | |
| | | <span>{{ scope.row.规格型号 }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column align="center" label="HUnitID" width="120"> |
| | | <!-- <el-table-column align="center" label="HUnitID" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.HUnitID }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table-column> --> |
| | | <el-table-column align="center" label="计量单位" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.计量单位 }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column align="center" label="HPropertyID" width="120"> |
| | | <!-- <el-table-column align="center" label="HPropertyID" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.HPropertyID }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table-column> --> |
| | | <el-table-column align="center" label="辅助属性" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.辅助属性 }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column align="center" label="换算率" width="120"> |
| | | <!-- <el-table-column align="center" label="换算率" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.HSecUnitRate }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table-column> --> |
| | | <el-table-column align="center" label="应发数量" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.HQtyMust }}</span> |
| | |
| | | controls-position="right"></el-input-number> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column align="center" label="单价" width="140"> |
| | | <!-- <el-table-column align="center" label="单价" width="140"> |
| | | <template slot-scope="scope"> |
| | | <el-input-number v-model="scope.row.HPrice" :min="0" style="width: 120px;" |
| | | controls-position="right"></el-input-number> |
| | |
| | | <template slot-scope="scope"> |
| | | <span>{{scope.row.HOutMoney = scope.row.HOutPrice * scope.row.HQty }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table-column>--> |
| | | <el-table-column align="center" label="HWHID" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span>{{scope.row.HWHID}}</span> |
| | |
| | | HSecManagerName: "", |
| | | HKeeperID: 0, |
| | | HKeeperName: "", |
| | | HDeptID: 0, |
| | | HDeptName: "", |
| | | HDeptID: sessionStorage["HDeptID"], |
| | | HDeptName: sessionStorage["HDept"], |
| | | HManagerID: 0, |
| | | HMangerName: "", |
| | | HEmpID: 0, |
| | | HEmpName: "", |
| | | HEmpID: sessionStorage["HEmpID"], |
| | | HEmpName: sessionStorage["HEmpName"], |
| | | HSourceBillType: "", |
| | | HExplanation :"", |
| | | HRemark: "", |
| | |
| | | this.gySupplierShow = true |
| | | this.openData = true |
| | | } else if (num == 9) { |
| | | this.openPageData.HWHName = '' |
| | | this.$nextTick() |
| | | if(this.HSPType==1){ |
| | | if(this.editData[this.zbIndex].HWHName){ |
| | | this.dialogTitle = '仓位列表' |
| | |
| | | this.gyEmployeeShow = false |
| | | this.gySupplierShow = false |
| | | this.Kf_MoveStockRequestBillShow = false |
| | | this.gyStockPlaceShow = false |
| | | }, |
| | | //#endregion |
| | | //#endregion |
| | |
| | | this.form.HWHName = deptRow.仓库名称 |
| | | this.form.HWHID = deptRow.HItemID |
| | | this.form.HWHNumber = deptRow.仓库代码 |
| | | this.form.HSPID = 1 |
| | | this.form.HSPName = '' |
| | | for (let i = 0; i < this.editData.length; i++) { |
| | | this.editData[i].HWHID = deptRow.HItemID |
| | | this.editData[i].HWHNumber = deptRow.仓库代码 |
| | | this.editData[i].HWHName = deptRow.仓库名称 |
| | | this.editData[i].HSPID = 1 |
| | | this.editData[i].HSPName = '' |
| | | } |
| | | }else if(this.eHWHType == 2){ |
| | | this.form.HSCWHName = deptRow.仓库名称 |
| | | this.form.HSCWHID = deptRow.HItemID |
| | | this.form.HSCWHNumber = deptRow.仓库代码 |
| | | this.form.HSCSPID = 1 |
| | | this.form.HSCSPName = '' |
| | | for (let i = 0; i < this.editData.length; i++) { |
| | | this.editData[i].HSCWHID = deptRow.HItemID |
| | | this.editData[i].HSCWHNumber = deptRow.仓库代码 |
| | | this.editData[i].HSCWHName = deptRow.仓库名称 |
| | | this.editData[i].HSCSPID = 1 |
| | | this.editData[i].HSCSPName = '' |
| | | } |
| | | }else if(this.eHWHType == 3){ |
| | | this.editData[this.zbIndex].HWHID = deptRow.HItemID |
| | | this.editData[this.zbIndex].HWHNumber = deptRow.仓库代码 |
| | | this.editData[this.zbIndex].HWHName = deptRow.仓库名称 |
| | | this.editData[this.zbIndex].HSPID = 1 |
| | | this.editData[this.zbIndex].HSPName = '' |
| | | }else if(this.eHWHType == 4){ |
| | | this.editData[this.zbIndex].HSCWHID = deptRow.HItemID |
| | | this.editData[this.zbIndex].HSCWHNumber = deptRow.仓库代码 |
| | | this.editData[this.zbIndex].HSCWHName = deptRow.仓库名称 |
| | | this.editData[this.zbIndex].HSCSPID = 1 |
| | | this.editData[this.zbIndex].HSCSPName = '' |
| | | } |
| | | this.warehouseShow = false |
| | | this.openData = false |
| | |
| | | if (response.data.count == 1) { |
| | | this.subDisabled = true//设置保存按钮不可用 |
| | | this.$modal.msgSuccess(response.data.Message); |
| | | this.get_MAXNum_Task(1);//设置流水号增加 |
| | | // this.get_MAXNum_Task(1);//设置流水号增加 |
| | | if (response.data.Verify == "Y") //自动审核 |
| | | { |
| | | this.set_CheckBill(0, this.form); //审核 |
| | |
| | | 规格型号: '', |
| | | HUnitID: 0, |
| | | 计量单位: '', |
| | | HQtyMust: 1, |
| | | HQty: 1, |
| | | HQtyMust: 0, |
| | | HQty: 0, |
| | | HPieceQty: 0, |
| | | HPrice: 0, |
| | | HTaxPrice: 0, |
| | |
| | | HWHID: 0, |
| | | 发货仓库: '', |
| | | HRemark: '', |
| | | HQty_Full: 0, |
| | | HQty_Full:0, |
| | | HQty_Empty: 0, |
| | | HQty_Back: 0, |
| | | HCostPrice: 0, |