| | |
| | | </div> |
| | | </view> |
| | | |
| | | |
| | | <scan-code></scan-code> |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | import { |
| | | EqpPermissions |
| | | } from '../../config/api.js'; |
| | | import scanCode from '@/components/scan-code/scan-code.vue' |
| | | export default { |
| | | onLoad(option) {}, |
| | | components: { |
| | | scanCode |
| | | }, |
| | | onLoad(option) { |
| | | const _this = this |
| | | uni.$off('scancodedate') // 每次进来先 移除全局自定义事件监听器 |
| | | uni.$on('scancodedate', function(content) { |
| | | console.log("扫描到的内容为:", content) |
| | | _this.changeInputBoxValue(content) |
| | | }) |
| | | }, |
| | | |
| | | onPullDownRefresh() { |
| | | setTimeout(() => { |
| | |
| | | uni.stopPullDownRefresh(); |
| | | }, |
| | | changeInputBoxValue(val) { |
| | | this.inputBoxValue = val |
| | | |
| | | this.purchorderArr = this.purchorderArrAll.filter((p) => { |
| | | return p.code.indexOf(val) !== -1 |
| | | }) |
| | |
| | | </div> |
| | | </view> |
| | | |
| | | |
| | | <scan-code></scan-code> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | import { |
| | | EqpPermissions |
| | | } from '../../config/api.js'; |
| | | import scanCode from '@/components/scan-code/scan-code.vue' |
| | | export default { |
| | | onLoad(option) {}, |
| | | components: { |
| | | scanCode |
| | | }, |
| | | onLoad(option) { |
| | | const _this = this |
| | | uni.$off('scancodedate') // 每次进来先 移除全局自定义事件监听器 |
| | | uni.$on('scancodedate', function(content) { |
| | | console.log("扫描到的内容为:", content) |
| | | _this.changeInputBoxValue(content) |
| | | }) |
| | | }, |
| | | |
| | | onPullDownRefresh() { |
| | | setTimeout(() => { |
| | |
| | | uni.stopPullDownRefresh(); |
| | | }, |
| | | changeInputBoxValue(val) { |
| | | |
| | | this.inputBoxValue = val |
| | | this.purchorderArr = this.purchorderArrAll.filter((p) => { |
| | | return p.code.indexOf(val) !== -1 |
| | | }) |
| | |
| | | <view class="head_left"> |
| | | <view class="head_bar"></view> |
| | | <view class="head_title"> |
| | | 扫描维修工位 |
| | | <!-- 扫描维修工位 --> |
| | | 维修工位 |
| | | </view> |
| | | </view> |
| | | |
| | | <!-- |
| | | <view class="marginRight20"> |
| | | <u-icon name="scan" @click="topScanClick" color="red" size="28"></u-icon> |
| | | </view> |
| | | </view> --> |
| | | |
| | | </view> |
| | | |
| | |
| | | </div> |
| | | </view> |
| | | |
| | | |
| | | <scan-code></scan-code> |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | import { |
| | | EqpPermissions |
| | | } from '../../config/api.js'; |
| | | import scanCode from '@/components/scan-code/scan-code.vue' |
| | | export default { |
| | | onLoad(option) {}, |
| | | components: { |
| | | scanCode |
| | | }, |
| | | onLoad(option) { |
| | | const _this = this |
| | | uni.$off('scancodedate') // 每次进来先 移除全局自定义事件监听器 |
| | | uni.$on('scancodedate', function(content) { |
| | | console.log("扫描到的内容为:", content) |
| | | _this.changeInputBoxValue(content) |
| | | }) |
| | | }, |
| | | |
| | | |
| | | onPullDownRefresh() { |
| | | setTimeout(() => { |
| | |
| | | uni.stopPullDownRefresh(); |
| | | }, |
| | | changeInputBoxValue(val) { |
| | | this.inputBoxValue = val |
| | | |
| | | this.purchorderArr = this.purchorderArrAll.filter((p) => { |
| | | return p.code.indexOf(val) !== -1 |
| | | }) |
| | |
| | | <view class="head_left"> |
| | | <view class="head_bar"></view> |
| | | <view class="head_title"> |
| | | 扫描维修工位 |
| | | <!-- 扫描维修工位 --> |
| | | 维修工位 |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="marginRight20"> |
| | | <!-- <view class="marginRight20"> |
| | | <u-icon name="scan" @click="topScanClick" color="red" size="28"></u-icon> |
| | | </view> |
| | | </view> --> |
| | | |
| | | </view> |
| | | |
| | |
| | | <u-steps-item :title="it.code+'/'+it.name"></u-steps-item> |
| | | <view class="" style="width: 100px;"> |
| | | <u-line-progress |
| | | :percentage="parseFloat((parseFloat(it.goodqty)+parseFloat(it.ngqty)+parseFloat(it.laborbadqty)+parseFloat(it.materielbadqty)*100/it.planqty).toFixed(2))" |
| | | :percentage="parseFloat(((parseFloat(it.goodqty)+parseFloat(it.ngqty)+parseFloat(it.laborbadqty)+parseFloat(it.materielbadqty))*100/it.planqty).toFixed(2))" |
| | | inactiveColor="#d1d6f5" height="10" activeColor="#0659ff"></u-line-progress> |
| | | </view> |
| | | <view style="width: 30%;text-align: right;"> |
| | |
| | | <u-steps-item :title="it.code+'/'+it.name"></u-steps-item> |
| | | <view class="" style="width: 100px;"> |
| | | <u-line-progress |
| | | :percentage="parseFloat((parseFloat(it.goodqty)+parseFloat(it.ngqty)+parseFloat(it.laborbadqty)+parseFloat(it.materielbadqty)*100/it.planqty).toFixed(2))" |
| | | :percentage="parseFloat(((parseFloat(it.goodqty)+parseFloat(it.ngqty)+parseFloat(it.laborbadqty)+parseFloat(it.materielbadqty))*100/it.planqty).toFixed(2))" |
| | | inactiveColor="#d1d6f5" height="10" activeColor="#0659ff"></u-line-progress> |
| | | </view> |
| | | <view style="width: 30%;text-align: right;"> |
| | |
| | | <u-steps-item :title="it.code+'/'+it.name"></u-steps-item> |
| | | <view class="" style="width: 100px;"> |
| | | <u-line-progress |
| | | :percentage="parseFloat((parseFloat(it.goodqty)+parseFloat(it.ngqty)+parseFloat(it.laborbadqty)+parseFloat(it.materielbadqty)*100/it.planqty).toFixed(2))" |
| | | :percentage="parseFloat(((parseFloat(it.goodqty)+parseFloat(it.ngqty)+parseFloat(it.laborbadqty)+parseFloat(it.materielbadqty))*100/it.planqty).toFixed(2))" |
| | | inactiveColor="#d1d6f5" height="10" activeColor="#0659ff"></u-line-progress> |
| | | </view> |
| | | <view style="width: 30%;text-align: right;"> |
| | |
| | | <u-steps-item :title="it.code+'/'+it.name"></u-steps-item> |
| | | <view class="" style="width: 100px;"> |
| | | <u-line-progress |
| | | :percentage="parseFloat((parseFloat(it.goodqty)+parseFloat(it.ngqty)+parseFloat(it.laborbadqty)+parseFloat(it.materielbadqty)*100/it.planqty).toFixed(2))" |
| | | :percentage="parseFloat(((parseFloat(it.goodqty)+parseFloat(it.ngqty)+parseFloat(it.laborbadqty)+parseFloat(it.materielbadqty))*100/it.planqty).toFixed(2))" |
| | | inactiveColor="#d1d6f5" height="10" activeColor="#0659ff"></u-line-progress> |
| | | </view> |
| | | <view style="width: 30%;text-align: right;"> |