|
@@ -209,11 +209,11 @@ export default {
|
|
|
const _this = this
|
|
|
_this.$refs.ruleForm.validate(valid => {
|
|
|
if (valid) {
|
|
|
- if (this.supplierSn) {
|
|
|
- _this.$refs.table.clearTable()
|
|
|
+ if (_this.supplierSn) {
|
|
|
+ // _this.$refs.table.clearTable()
|
|
|
_this.$refs.table.refresh(true)
|
|
|
} else {
|
|
|
- this.$message.warning('请先选择供应商!')
|
|
|
+ _this.$message.warning('请先选择供应商!')
|
|
|
}
|
|
|
} else {
|
|
|
return false
|