货品入库2
This commit is contained in:
parent
895742c594
commit
a402ba3579
|
|
@ -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) => {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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("删除成功");
|
||||
|
|
|
|||
Loading…
Reference in New Issue