|
|
@@ -281,19 +281,17 @@
|
|
|
}
|
|
|
});
|
|
|
if (productData.length) {
|
|
|
- this.$alert(
|
|
|
+ this.$confirm(
|
|
|
`物料${productData.join(',')}没有维护供应商,${
|
|
|
productData.length > 1 ? '会合并下发为一个采购订单,' : ''
|
|
|
}是否继续下发!`,
|
|
|
{
|
|
|
- confirmButtonText: '确定',
|
|
|
- callback: (action) => {
|
|
|
- if (action == 'confirm') {
|
|
|
- this.issuePurchaseOrderFn();
|
|
|
- }
|
|
|
- }
|
|
|
+ confirmButtonText: '是',
|
|
|
+ cancelButtonText: '否'
|
|
|
}
|
|
|
- );
|
|
|
+ ).then(() => {
|
|
|
+ this.issuePurchaseOrderFn();
|
|
|
+ });
|
|
|
} else {
|
|
|
this.issuePurchaseOrderFn();
|
|
|
}
|