|
|
@@ -75,11 +75,8 @@ import AppSearchModule from "@/components/module/app-search"
|
|
|
import OperateModule from "@/admin/home/components/module/operate"
|
|
|
import AppWrapperEmpty from "@/components/app-wrapper-empty"
|
|
|
import ModalModule from "@/components/plugin/modal"
|
|
|
-import {categoryListB,getCategoryGoodsB} from "@/api/goods"
|
|
|
+import {categoryListB,getCategoryGoodsB,print} from "@/api/goods"
|
|
|
import { list } from "@/mixins"
|
|
|
-// #ifdef APP-PLUS
|
|
|
-const plug= uni.requireNativePlugin('Html5app-Gprinter')
|
|
|
-// #endif
|
|
|
export default {
|
|
|
name: "list",
|
|
|
components: {
|
|
|
@@ -122,7 +119,11 @@ export default {
|
|
|
success: function (respond) {
|
|
|
let index = respond.tapIndex
|
|
|
let currentNum = Number(doNum[index])
|
|
|
-
|
|
|
+ print({id:item.id,num:currentNum}).then(res=>{
|
|
|
+ if(res.code == 1){
|
|
|
+ that.$msg(res.msg)
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
},
|