Commit f0447fae authored by renjintao's avatar renjintao

datafiling

parent d81f32a3
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
class="select-produt-name" class="select-produt-name"
@on-change="productonchange" @on-change="productonchange"
v-model="product_ID" v-model="product_ID"
@on-clear="clearOption"
clearable
> >
<!-- <Option value="" class="option_text">请选择</Option> --> <!-- <Option value="" class="option_text">请选择</Option> -->
<Option <Option
...@@ -461,6 +463,10 @@ if (checktypes.indexOf("1") > -1) { ...@@ -461,6 +463,10 @@ if (checktypes.indexOf("1") > -1) {
this.loaddata(); this.loaddata();
}); });
}, },
clearOption()
{
this.loadproduct()
},
productonchange(v) { productonchange(v) {
this.datasearch.productcode = v; this.datasearch.productcode = v;
this.loaddata(); this.loaddata();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment