提交 64dec31a 编写于 作者: ibizdev's avatar ibizdev

tony001 发布系统代码 [后台服务,演示应用]

上级 bff881ec
......@@ -965,9 +965,22 @@ export default class Main2Base extends Vue implements ControlInterface {
* @memberof Main2Base
*/
public resetFormData({ name, newVal, oldVal }: { name: string, newVal: any, oldVal: any }): void {
if (Object.is(name, 'IBIZuniproductname')) {
if (Object.is(name, 'IBIZordername')) {
this.onFormItemValueChange({ name: 'ibizuniproductname', value: null });
this.onFormItemValueChange({ name: 'ibizuniproductid', value: null });
}
if (Object.is(name, 'IBIZordername')) {
this.onFormItemValueChange({ name: 'unit', value: null });
}
if (Object.is(name, 'IBIZordername')) {
this.onFormItemValueChange({ name: 'unitprice', value: null });
}
if (Object.is(name, 'IBIZordername')) {
this.onFormItemValueChange({ name: 'quantity', value: null });
}
if (Object.is(name, 'IBIZordername')) {
this.onFormItemValueChange({ name: 'amount', value: null });
}
}
/**
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册