schangxiang@126.com
2024-09-06 b5bcf90f2dfc8972090d7ab8e6a350bd74b460c8
yiqi_pda/pages/outBoundWorkPieceInfoCount/index.vue
@@ -1,5 +1,5 @@
<template>
   <default-header-page-layout ref="page" title="工件出库统计" >
   <default-header-page-layout ref="page" title="工件入库统计" >
      <view class="page-frame with-action-user-row" :style="{height:pageBodyHeight+'px'}" v-if="pageBodyHeight">
         <action-user-row />
         <view class="with-action-user-row-page-content">
@@ -13,8 +13,8 @@
               @clear="onClearContainter"
            /> -->
            <u-form :model="form"  ref="uForm" label-width="65" labelAlign="right">
            <u-form-item required label="出库日期:" prop="planTime">
               <u-input :readonly="true" placeholder="请选择出库日期" v-model="form.planTime"
            <u-form-item required label="入库日期:" prop="planTime">
               <u-input :readonly="true" placeholder="请选择入库日期" v-model="form.planTime"
                     @click.native="timeShow = true"></u-input>
            </u-form-item>
                           
@@ -28,7 +28,7 @@
            <!-- 详情 -->
            <view>
               <!-- 基础信息 -->
               <bar-content v-for="item in list" :title="'出库人:' + item.workPieceOutboundUserName" :content="item" :propArr="detailArr" :key="item.workPieceOutboundUserName"></bar-content>
               <bar-content v-for="item in list" :title="'入库人:' + item.workPieceOutboundUserName" :content="item" :propArr="detailArr" :key="item.workPieceOutboundUserName"></bar-content>
            </view>
         </view>
      </view>
@@ -82,7 +82,7 @@
   onLoad() {
      // this.barDetail = {special: "SAE1041(0.80%~1.10%Mn)",barType: "高碳钢",barSpec: "70号",material: "229-255HBS",status: 1};
      // this.statusArr = [{code: 1,title: '不合格'},{code: 2,title: '合格'},{code: 3,title: '疑似'}]
      this.detailArr = [{code: "count",title: '出库数量'}]
      this.detailArr = [{code: "count",title: '入库数量'}]
      this.mode = 'date'
      var date=new Date();
      this.form.planTime = moment(date).format('YYYY-MM-DD')
@@ -108,7 +108,7 @@
      onSearchContainter() {
         if(this.form.planTime == '') {
            return uni.showModal({
               title:'出库日期不能为空',
               title:'入库日期不能为空',
               showCancel: false
            })
         }