shish 3 лет назад
Родитель
Сommit
2fe1f589b8

+ 3 - 3
ghsApp/src/admin/billing/index.vue

@@ -113,7 +113,7 @@
 </view>
 </template>
 
-<script>
+<script>	
 import AppSearchModule from "@/components/module/app-search";
 import AppTabs from "@/components/plugin/tabs";
 import AppWrapperEmpty from "@/components/app-wrapper-empty";
@@ -152,8 +152,6 @@ export default {
 	},
 	onLoad () {
 
-		this.initData({requestType:'kd'})
-
 		if(this.option.customName){
 			uni.setNavigationBarTitle({ title: this.option.customName })
 		}
@@ -162,6 +160,8 @@ export default {
 			this.selectJobId = this.option.customId
 		}
 
+		this.initData({requestType:'kd'})
+
 		//提醒花材分类位置移动
 		getClassRemind().then(res=>{
 			if(res.code == 1){

+ 5 - 5
ghsApp/src/admin/breakage/index.vue

@@ -107,7 +107,7 @@ import ModalModule from "@/components/plugin/modal";
 import { COMMODITY_TYPE } from "@/utils/declare";
 import productMins from "@/mixins/product";
 export default {
-	name: "WastageBilling",
+	name: "breakageIndex",
 	components: {
 		AppTabs,
 		AppSearchModule,
@@ -131,12 +131,12 @@ export default {
 			},
 			showSubmitModel: false,
 			unitType:0,
-			showClassRemind:false
+			showClassRemind:false,
+			autoLoad: false
 		};
 	},
-	computed: {
-	},
-	onUnload() {
+	onLoad(){
+		this.initData({requestType:'break'})
 	},
 	methods: {
 		changeClass(index){

+ 3 - 1
ghsApp/src/pagesStorehouse/allot/exSelect.vue

@@ -138,13 +138,15 @@ export default {
 			isSmallCount:false,
 			customData: { bigCount: 0, smallCount: 0, userPrice:0 },
 			showSubmitModel: false,
-			showClassRemind:false
+			showClassRemind:false,
+			autoLoad: false
 		};
 	},
 	onLoad () {
 		if (!this.$util.isEmpty(this.option.inShopId)){
 			this.selectJobId = this.option.inShopId
 		}
+		this.initData({requestType:'stockOut'})
 	},
 	computed: {
 		confirmContent() {