|
|
@@ -2,6 +2,7 @@
|
|
|
<div class="ele-body">
|
|
|
<el-card shadow="never">
|
|
|
<header-title title="基本信息"> </header-title>
|
|
|
+
|
|
|
<el-form
|
|
|
:model="formData"
|
|
|
ref="formName"
|
|
|
@@ -990,7 +991,7 @@
|
|
|
packingList: {
|
|
|
handler(newVal) {
|
|
|
console.log('包装列表', newVal);
|
|
|
- console.log('当前包装列表加载页数', this.pickingPageNum);
|
|
|
+ console.log('当前包装列表加载页数7', this.pickingPageNum);
|
|
|
this.showPackingList = newVal.slice(
|
|
|
0,
|
|
|
this.pageSize * (this.pickingPageNum > 0 ? this.pickingPageNum : 1)
|
|
|
@@ -1651,6 +1652,8 @@
|
|
|
this.$message.error('请先保存所有产品信息');
|
|
|
return;
|
|
|
}
|
|
|
+ console.log('ysy_初始', this.detailList[0]);
|
|
|
+
|
|
|
// 处理包装数据
|
|
|
let _packingList = []
|
|
|
_packingList = this.packingList.map((packingItem) => {
|
|
|
@@ -1678,6 +1681,9 @@
|
|
|
});
|
|
|
this.formData.outInDetailList = this.productList;
|
|
|
let obj = deepClone(this.formData);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
// 处理物品类型assetType
|
|
|
obj.extInfo.assetType = obj.extInfo.assetType.join(',');
|
|
|
// 处理仓库id
|
|
|
@@ -1697,8 +1703,11 @@
|
|
|
});
|
|
|
obj.warehouseIds = warehouseId;
|
|
|
obj.warehouseNames = warehouseName;
|
|
|
- resolve(obj);
|
|
|
- });
|
|
|
+ console.log('yyyyy', obj)
|
|
|
+ setTimeout(() => {
|
|
|
+ resolve(obj);
|
|
|
+ }, 1000);
|
|
|
+ })
|
|
|
},
|
|
|
pickingHandleScroll() {
|
|
|
console.log('---------pickingHandleScroll------------');
|