采购验货接口对接2
This commit is contained in:
parent
c8d55f8cb5
commit
42982a594e
|
|
@ -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" }
|
||||||
|
|
|
||||||
|
|
@ -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("删除成功");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue