| | |
| | | { |
| | | "name" : "中扬wms", |
| | | "appid" : "__UNI__DA5854D", |
| | | "appid" : "__UNI__AE0F207", |
| | | "description" : "", |
| | | "versionName" : "20250613", |
| | | "versionCode" : 100, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "nativePlugins" : { |
| | | "Hanyin-Plugin" : { |
| | | "__plugin_info__" : { |
| | | "name" : "蓝牙连接汉印便携式打印机", |
| | | "description" : "app蓝牙连接汉印便携式打印机面单打印-----测试型号: HM-A300", |
| | | "platforms" : "Android", |
| | | "url" : "https://ext.dcloud.net.cn/plugin?id=2731", |
| | | "android_package_name" : "uni.UNIDA5854D", |
| | | "ios_bundle_id" : "", |
| | | "isCloud" : true, |
| | | "bought" : 1, |
| | | "pid" : "2731", |
| | | "parameters" : {} |
| | | } |
| | | } |
| | | } |
| | | "nativePlugins" : {} |
| | | }, |
| | | /* 快应用特有相关 */ |
| | | "quickapp" : {}, |
| | |
| | | <text class='cuIcon-close text-gray margin-right-xs' v-show="barcode!==''" @click="clearCode"></text> |
| | | <text class='cuIcon-search text-blue' @click="search"></text> |
| | | </view> |
| | | |
| | | </form> |
| | | |
| | | |
| | | |
| | | <view class="cu-list det menu sm-border padding"> |
| | | <block v-for="(item, index) in list"> |
| | | <view class="cu-list det menu "> |
| | |
| | | </view> |
| | | <view class="cu-item"> |
| | | <view class="content"> |
| | | <text class="text-gray">订单号:<text class="text-black ">{{item2.asnCode}}</text></text> |
| | | <text class="text-gray">订单号:<text class="text-black ">{{item2.orderCode}}</text></text> |
| | | </view> |
| | | </view> |
| | | <view class="cu-item"> |
| | |
| | | <text class="text-gray">已拣数量:<text class="text-black ">{{item2.qty}}</text></text> |
| | | </view> |
| | | </view> |
| | | <view class="cu-item"> |
| | | <view class="content"> |
| | | <view class="cu-form-group padding-lr-0"> |
| | | <view class="title text-blue"><text |
| | | class="text-red text-xl vertical-middle">*</text>票号: </view> |
| | | <input type="input" v-model="item2.fieldsIndex" class="text-black"> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <!-- <view class="cu-item grid col-2" v-if="item2.extendFields"> |
| | | <view class="item" v-for="el in dynamicFields" :key="el.id"> |
| | | <text class="text-black">{{el.fieldsAlise}}: |
| | | <text class="text-grey ">{{item.extendFields[el.fields]}}</text></text> |
| | | </view> |
| | | </view> --> |
| | | <view class="cu-item" v-show="item2.anfme !== item2.qty"> |
| | | <view class="content"> |
| | | <view class="cu-form-group padding-lr-0"> |
| | |
| | | <text class="text-gray">本次拣货数量:<text class="text-black ">{{item.wkOrderItems.reduce((total, item) => total + (Number(item.demandQty) ||0 ) , 0)}}</text></text> |
| | | </view> |
| | | </view> |
| | | |
| | | </block> |
| | | </view> |
| | | |
| | | |
| | | |
| | | |
| | | <view class="cu-bar btn-group foot" v-show="!isconfirm"> |
| | | <button class="cu-btn text-blue line-blue shadow" @click="clear">清空</button> |
| | | <button class="cu-btn bg-blue shadow-blur" :disabled="repeatClick" @click="complete">拣货完成</button> |
| | | </view> |
| | | |
| | | |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | isconfirm: false, |
| | | barcode:'', |
| | | max: 99999999, |
| | | repeatClick:false |
| | | |
| | | repeatClick:false, |
| | | } |
| | | }, |
| | | computed: { |
| | | computed: { |
| | | ...mapState('user', ['dynamicFields']), |
| | | ...mapState('user', { |
| | | dynFields: state => state.dynamicFields |
| | | }), |
| | | allCount() { |
| | | return this.list.reduce((acc, row) => +row.receiptQty + acc, 0) |
| | | return this.list.reduce((acc, row) => + row.receiptQty + acc, 0) |
| | | }, |
| | | |
| | | }, |
| | | mounted() { |
| | | |
| | | console.log(dynamicFields); |
| | | }, |
| | | onLoad() { |
| | | let that = this |
| | |
| | | |
| | | }, |
| | | async complete() { |
| | | |
| | | let that = this |
| | | if(that.barcode === '' || that.barcode === null){ |
| | | uni.showToast({ |