zhongtianhaoyuan 3 yıl önce
ebeveyn
işleme
91d451e455

+ 2 - 2
pages/erp/exWarehousing/exWarehousing.vue

@@ -26,14 +26,14 @@
 				<view class="right">{{detailData.goodsName ? detailData.goodsName : "选择合同,自动获取"}}
 				</view>
 			</view>
-			<view class="row">
+			<!-- <view class="row">
 				<view class="left">类型</view>
 				<view @click='show1=true'>{{detailData.type}}</view>
 				<u-picker :range="typeList" range-key="type" @confirm='typePicker($event)' v-model="show1"
 					mode="selector">
 					<view class="">{{detailData.type}}</view>
 				</u-picker>
-			</view>
+			</view> -->
 			<view class="row row-bottom">
 				<view class="left">毛重(吨)</view>
 				<input type="digit" @input='calculate' v-model='detailData.grossWeight' class="right-bottom"

+ 2 - 2
pages/erp/improvedExWaehousing/improvedExWaehousingDetail.vue

@@ -22,13 +22,13 @@
 				<view class="right">{{detailData.goodsName ? detailData.goodsName : "选择合同,自动获取"}}
 				</view>
 			</view>
-			<view class="row">
+			<!-- <view class="row">
 				<view class="left">类型</view>
 				<view @click='show1=true'>{{detailData.type}}</view>
 				<u-picker :range="typeList" range-key="type" @confirm='typePicker($event)' v-model="show1"
 					mode="selector">
 				</u-picker>
-			</view>
+			</view> -->
 			<view class="row row-bottom">
 				<view class="left">毛重(吨)</view>
 				<input type="digit" @input='calculate' v-model='detailData.grossWeight' class="right-bottom"

+ 11 - 0
pages/erpbusiness/jjsendCommand.vue

@@ -160,6 +160,17 @@
 				var canvasHeight = that.canvasHeight
 				var command = esc.jpPrinter.createNew()
 				command.init()
+				//编号
+				command.bold(3); //加粗
+				command.setFontSize(36); //字体大小
+				command.setSelectJustification(1) //居中
+				command.rowSpace(10);
+				// command.rowSpace(10);
+				command.setText(that.gridList.number.substring(that.gridList.number.length - 3));
+				command.setPrint();
+				command.rowSpace(60);
+				command.bold(0); //取消加粗
+				command.setFontSize(0); //正常字体
 				// 标题
 				command.bold(1); //加粗
 				command.setFontSize(16); //字体大小

+ 11 - 0
pages/erpbusiness/sendCommand.vue

@@ -162,6 +162,17 @@
 				var canvasHeight = that.canvasHeight
 				var command = esc.jpPrinter.createNew()
 				command.init()
+				//编号
+				command.bold(3); //加粗
+				command.setFontSize(36); //字体大小
+				command.setSelectJustification(1) //居中
+				command.rowSpace(200);
+				// command.rowSpace(10);
+				command.setText(that.gridList.qualityNo.substring(that.gridList.qualityNo.length - 3));
+				command.setPrint();
+				command.rowSpace(60);
+				command.bold(0); //取消加粗
+				command.setFontSize(0); //正常字体
 				// 标题
 				command.bold(1); //加粗
 				command.setFontSize(16); //字体大小