|
@@ -163,8 +163,8 @@ function menu_type_change() {
|
|
|
}
|
|
|
|
|
|
function handleAddModalShow() {
|
|
|
- const { companyNo, platform_type } = ruleForm.value;
|
|
|
- if (!companyNo) return ElMessage.warning("请选择销售公司抬头");
|
|
|
+ const { companyNo, buyNo ,platform_type } = ruleForm.value;
|
|
|
+ if (!companyNo || !buyNo) return ElMessage.warning("请选择销售公司抬头和购买方公司抬头");
|
|
|
if (!platform_type) return ElMessage.warning("请选择平台类型");
|
|
|
modelRef.value.show(companyNo, platform_type);
|
|
|
}
|