|
|
@@ -332,7 +332,7 @@
|
|
|
this.infoData = infoData;
|
|
|
this.tableData = [];
|
|
|
// console.log('wqwq', this.infoData.assetCode);
|
|
|
- this.formData = { pageNum: 1, size: 10 };
|
|
|
+ this.formData = { pageNum: 1, size: 10, type: infoData.type };
|
|
|
if (this.infoData.bizTypes == 3) {
|
|
|
this.formData.code = this.infoData.assetCode;
|
|
|
}
|
|
|
@@ -430,6 +430,10 @@
|
|
|
} else {
|
|
|
this.formData.procurementTime = this.formData.productTime;
|
|
|
}
|
|
|
+ // if (!this.infoData.id) {
|
|
|
+ // this.$message.warning('数据异常,当前物品id为空!');
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
const res = await outin.getoutDetail({
|
|
|
...this.formData,
|
|
|
categoryId: this.infoData.id
|