货品入库2

This commit is contained in:
zzyuan 2025-07-08 17:29:28 +08:00
parent 895742c594
commit a402ba3579
3 changed files with 5 additions and 5 deletions

View File

@ -158,7 +158,7 @@ export default {
getContractInfo(){
console.log(this.pageJson)
let param = {
orderGoodsId:this.pageJson.orderGoodsId
intoId:this.pageJson.intoId
}
//
getWarehouseInInfoApi(param).then((response) => {

View File

@ -279,7 +279,7 @@ export default {
getContractInfo(){
console.log(this.pageJson)
let param = {
orderGoodsId:this.pageJson.orderGoodsId
intoId:this.pageJson.intoId
}
//
getWarehouseInInfoApi(param).then((response) => {
@ -446,7 +446,7 @@ export default {
this.$modal.msgError("请添加货品!");
}else{
this.loadingBtn=true;
if (this.baseInfo.orderGoodsId != undefined) {
if (this.baseInfo.intoId != undefined) {
editWarehouseInApi(param).then((response) => {
this.$modal.msgSuccess("修改成功");
this.loadingBtn=false
@ -506,7 +506,7 @@ export default {
this.$modal.msgError("请添加货品!");
}else{
this.loadingBtn=true;
if (this.baseInfo.orderGoodsId != undefined) {
if (this.baseInfo.intoId != undefined) {
editWarehouseInApi(param).then((response) => {
this.$modal.msgSuccess("修改成功");
this.loadingBtn=false

View File

@ -351,7 +351,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
this.$modal.confirm('是否确认删除数据项?').then(function() {
return delWarehouseInApi({orderGoodsIds:[row.orderGoodsId]});
return delWarehouseInApi({intoIds:[row.intoId]});
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");