| | |
| | | params, |
| | | }); |
| | | } |
| | | |
| | | // 未选择仓库时的库存查询,查所有仓库 |
| | | export function warehouseAllSelectNumber(params) { |
| | | return request({ |
| | | url: '/pc/base/warehouse/select/in/warehouse/num', |
| | | method: 'get', |
| | | params, |
| | | }); |
| | | } |
| | | // 库存 |
| | | export function tenantUserQueryUser(params) { |
| | | return request({ |
| | |
| | | </template> |
| | | <script> |
| | | import {getParentTenant, queryWarehouseGoods, transferAdd} from '@/api/stock/transfer'; |
| | | import {getCategorySelectTree, goodsModel, warehouseSelectNumber} from '@/api/baseSetting/finsystenant'; |
| | | import {getCategorySelectTree, goodsModel, warehouseAllSelectNumber, warehouseSelectNumber} from '@/api/baseSetting/finsystenant'; |
| | | import MyButton from '@/components/myButton/myButton'; |
| | | import winMd from '@/components/win/win-md'; |
| | | import upload from '@/components/upload/index'; |
| | |
| | | for (let item of e) { |
| | | if (str.indexOf(item) == -1) { |
| | | let temp = this.goodsModelAll.find((v) => v.id == item); |
| | | let num = await warehouseSelectNumber({ |
| | | let num = await warehouseAllSelectNumber({ |
| | | baseGoodsModelsId: item, |
| | | warehouseType: 0, |
| | | states: 1, |
| | |
| | | this.loading = true; |
| | | transferDetail({id: this.setting.id}).then((res) => { |
| | | this.detail = res; |
| | | this.fileList = this.detail.doc ? JSON.parse(this.detail.doc) : []; |
| | | this.fileList = this.detail.procureDoc ? JSON.parse(this.detail.procureDoc) : []; |
| | | this.loading = false; |
| | | this.$nextTick(() => { |
| | | this.initPreviewImg(); |
| | |
| | | * 出库手续 |
| | | */ |
| | | @ApiModelProperty(value = "出库手续") |
| | | private String procureDoc; |
| | | private String doc; |
| | | /** |
| | | * 记录物品信息和规格型号 |
| | | */ |
| | |
| | | lWhFormOutput.setOperatorName(sysInfo.getUserName()); |
| | | lWhFormOutput.setDealTime(param.getDealTime()); |
| | | lWhFormOutput.setStates(OutPutStatesType.OUT_PENDING.getValue()); |
| | | lWhFormOutput.setOutputDoc(param.getProcureDoc()); |
| | | lWhFormOutput.setOutputDoc(param.getDoc()); |
| | | int flag1 = this.insert(lWhFormOutput); |
| | | if (flag1 == 0) { |
| | | log.error("新增出库单记录"); |