|
@@ -487,9 +487,10 @@ export default {
|
|
const { id } = this.goodsInventoryAddForm
|
|
const { id } = this.goodsInventoryAddForm
|
|
const params = this.MixinClone(this.goodsInventoryAddForm)
|
|
const params = this.MixinClone(this.goodsInventoryAddForm)
|
|
/* params.inventory_type = params.inventory_type.id */
|
|
/* params.inventory_type = params.inventory_type.id */
|
|
- if (params.dept_id) {
|
|
|
|
|
|
+ /* if (params.dept_id) {
|
|
|
|
+ console.log(this.deptListAll);
|
|
params.dept_name = this.deptListAll.find(dept => dept.id === params.dept_id).name
|
|
params.dept_name = this.deptListAll.find(dept => dept.id === params.dept_id).name
|
|
- }
|
|
|
|
|
|
+ } */
|
|
if (params.warehouse_id) {
|
|
if (params.warehouse_id) {
|
|
params.warehouse_name = this.warehouseList.find(ware => ware.id === params.warehouse_id).name
|
|
params.warehouse_name = this.warehouseList.find(ware => ware.id === params.warehouse_id).name
|
|
}
|
|
}
|