| | |
| | | }) |
| | | productName+="}" |
| | | |
| | | let materialStore={ |
| | | id:ruleForm.value.id, |
| | | type:value.value, |
| | | json:productName, |
| | | width:BasicData.value[0].Type, |
| | | height:BasicData.value[1].Type |
| | | let materialStore |
| | | |
| | | if(value.value==='原片'){ |
| | | materialStore={ |
| | | id:ruleForm.value.id, |
| | | type:value.value, |
| | | json:productName, |
| | | width:BasicData.value[0].Type, |
| | | height:BasicData.value[1].Type |
| | | } |
| | | }else if(value.value==='辅料'){ |
| | | materialStore={ |
| | | id:ruleForm.value.id, |
| | | type:value.value, |
| | | json:productName, |
| | | } |
| | | } |
| | | |
| | | |
| | | console.log(materialStore) |
| | | if(isBool){ |
| | | request.post("/MaterialStore/saveMaterialStore", materialStore).then((res) => { |