装箱单修改

This commit is contained in:
hedekun
2018-11-27 13:57:32 +08:00
parent 08683fbe0c
commit cc3424a2f2
7 changed files with 143 additions and 95 deletions

View File

@@ -172,6 +172,7 @@ export default {
// 4) 回调函数,必须
Vue.prototype.addTable = function(requestData, param, form, callback) {
if (type(callback) === 'function' && type(requestData) === 'function' && type(form) === 'string') {
console.log(this.$refs[form])
this.$refs[form].validate((valid) => {
if (valid) {
requestData(...param).then(response => {