shish 7 månader sedan
förälder
incheckning
f57f00cd72

+ 6 - 1
ghsApp/src/pagesStorehouse/inventory/select.vue

@@ -79,7 +79,7 @@
 						<text style="font-size:35upx;font-weight:bold;color:#666666;" v-if="globalUnitType == 1">支</text>
 						<!-- #endif -->
 
-						<button v-if="selectJobType == 'inventory'" style="position:absolute;top:263upx;left:230upx;" @click="customData.bigCount=99999" class="admin-button-com middle blue">盘点为零</button>
+						<button style="position:absolute;top:263upx;left:230upx;" @click="customData.bigCount=99999" class="admin-button-com middle blue">盘点为零</button>
 
 					</view>
 				</view>
@@ -158,6 +158,11 @@ export default {
 	methods: {
 		pdInit(){
 			let pdType = this.option.pdType ? this.option.pdType: ''
+			//要区分是入库盘点还是普通盘点,不然盘点的花材会混起来
+			if(pdType == 'stockInPd'){
+				this.selectJobType = 'stockInPd'
+			}
+
 			this.initData({ type:'',pdType:pdType,status:0,version:1,requestType:'check'})
 			if(this.option.shopId){
 				this.selectJobId = this.option.shopId

+ 7 - 0
ghsApp/src/pagesStorehouse/inventory/select2.vue

@@ -148,6 +148,13 @@ export default {
 	},
 	methods: {
 		pdInit(){
+
+			let pdType = this.option.pdType ? this.option.pdType: ''
+			//要区分是入库盘点还是普通盘点,不然盘点的花材会混起来
+			if(pdType == 'stockInPd'){
+				this.selectJobType = 'stockInPd'
+			}
+
 			this.globalRequestType = 'check'
 			this.initData()
 			if(this.option.shopId){

+ 7 - 1
ghsApp/src/pagesStorehouse/inventory/update.vue

@@ -96,6 +96,13 @@ export default {
 		};
 	},
 	onLoad(option) {
+
+		let pdType = this.option.pdType ? this.option.pdType: ''
+		//要区分是入库盘点还是普通盘点,不然盘点的花材会混起来
+		if(pdType == 'stockInPd'){
+			this.selectJobType = 'stockInPd'
+		}
+
 		const { orderSn } = option;
 		if (orderSn) {
 			this.orderSn = orderSn;
@@ -111,7 +118,6 @@ export default {
 		if(this.option.shopId){
 			this.selectJobId = this.option.shopId
 		}
-
 	},
 	computed: {
 		...mapGetters(["getMerchantInfo"])