采购验货接口对接2

This commit is contained in:
zzyuan 2025-07-03 16:13:15 +08:00
parent c8d55f8cb5
commit 42982a594e
2 changed files with 2 additions and 2 deletions

View File

@ -236,7 +236,7 @@ export default {
// //
baseRules: { baseRules: {
orderTitle: [ orderTitle: [
{ required: true, message: "菜谱名称不能为空", trigger: "blur" } { required: true, message: "采购订单标题不能为空", trigger: "blur" }
], ],
areaId: [ areaId: [
{ required: true, message: "所属区域不能为空", trigger: "change" } { required: true, message: "所属区域不能为空", trigger: "change" }

View File

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