|
@@ -101,9 +101,9 @@
|
|
handleOk(){
|
|
handleOk(){
|
|
this.$refs.form.validate(success => {
|
|
this.$refs.form.validate(success => {
|
|
if (success) {
|
|
if (success) {
|
|
- getAction('/production/safetyStock/selectOrganization',this.form).then(res=>{
|
|
|
|
|
|
+ getAction('/MRPOperationList/madeOperationList/operationSafe',this.form).then(res=>{
|
|
if(res.success){
|
|
if(res.success){
|
|
- this.handleCancel()
|
|
|
|
|
|
+ this.handleCancel()
|
|
this.$emit('ok')
|
|
this.$emit('ok')
|
|
}else{
|
|
}else{
|
|
this.$message.error(res.message);
|
|
this.$message.error(res.message);
|