货品入库2
This commit is contained in:
parent
895742c594
commit
a402ba3579
|
|
@ -158,7 +158,7 @@ export default {
|
||||||
getContractInfo(){
|
getContractInfo(){
|
||||||
console.log(this.pageJson)
|
console.log(this.pageJson)
|
||||||
let param = {
|
let param = {
|
||||||
orderGoodsId:this.pageJson.orderGoodsId
|
intoId:this.pageJson.intoId
|
||||||
}
|
}
|
||||||
//查询查询食堂下拉结构
|
//查询查询食堂下拉结构
|
||||||
getWarehouseInInfoApi(param).then((response) => {
|
getWarehouseInInfoApi(param).then((response) => {
|
||||||
|
|
|
||||||
|
|
@ -279,7 +279,7 @@ export default {
|
||||||
getContractInfo(){
|
getContractInfo(){
|
||||||
console.log(this.pageJson)
|
console.log(this.pageJson)
|
||||||
let param = {
|
let param = {
|
||||||
orderGoodsId:this.pageJson.orderGoodsId
|
intoId:this.pageJson.intoId
|
||||||
}
|
}
|
||||||
//查询查询食堂下拉结构
|
//查询查询食堂下拉结构
|
||||||
getWarehouseInInfoApi(param).then((response) => {
|
getWarehouseInInfoApi(param).then((response) => {
|
||||||
|
|
@ -446,7 +446,7 @@ export default {
|
||||||
this.$modal.msgError("请添加货品!");
|
this.$modal.msgError("请添加货品!");
|
||||||
}else{
|
}else{
|
||||||
this.loadingBtn=true;
|
this.loadingBtn=true;
|
||||||
if (this.baseInfo.orderGoodsId != undefined) {
|
if (this.baseInfo.intoId != undefined) {
|
||||||
editWarehouseInApi(param).then((response) => {
|
editWarehouseInApi(param).then((response) => {
|
||||||
this.$modal.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
this.loadingBtn=false
|
this.loadingBtn=false
|
||||||
|
|
@ -506,7 +506,7 @@ export default {
|
||||||
this.$modal.msgError("请添加货品!");
|
this.$modal.msgError("请添加货品!");
|
||||||
}else{
|
}else{
|
||||||
this.loadingBtn=true;
|
this.loadingBtn=true;
|
||||||
if (this.baseInfo.orderGoodsId != undefined) {
|
if (this.baseInfo.intoId != undefined) {
|
||||||
editWarehouseInApi(param).then((response) => {
|
editWarehouseInApi(param).then((response) => {
|
||||||
this.$modal.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
this.loadingBtn=false
|
this.loadingBtn=false
|
||||||
|
|
|
||||||
|
|
@ -351,7 +351,7 @@ export default {
|
||||||
/** 删除按钮操作 */
|
/** 删除按钮操作 */
|
||||||
handleDelete(row) {
|
handleDelete(row) {
|
||||||
this.$modal.confirm('是否确认删除数据项?').then(function() {
|
this.$modal.confirm('是否确认删除数据项?').then(function() {
|
||||||
return delWarehouseInApi({orderGoodsIds:[row.orderGoodsId]});
|
return delWarehouseInApi({intoIds:[row.intoId]});
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.getList();
|
this.getList();
|
||||||
this.$modal.msgSuccess("删除成功");
|
this.$modal.msgSuccess("删除成功");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue