|
|
@ -0,0 +1,448 @@
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
|
|
|
<view>
|
|
|
|
|
|
|
|
<u-popup
|
|
|
|
|
|
|
|
v-model="isShow"
|
|
|
|
|
|
|
|
mode="left"
|
|
|
|
|
|
|
|
:border-radius="10"
|
|
|
|
|
|
|
|
:closeable="true"
|
|
|
|
|
|
|
|
@close="fnCancel"
|
|
|
|
|
|
|
|
width="100%"
|
|
|
|
|
|
|
|
height="100%"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<u-row gutter="12">
|
|
|
|
|
|
|
|
<u-col span="12">
|
|
|
|
|
|
|
|
<view
|
|
|
|
|
|
|
|
:style="{ textAlign: 'center', height: '60px', lineHeight: '60px' }"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<text
|
|
|
|
|
|
|
|
:style="{ fontSize: '40rpx', fontWeight: 500, color: '#1D2129' }"
|
|
|
|
|
|
|
|
>报工确认</text
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-col>
|
|
|
|
|
|
|
|
<u-col span="3" :style="{ padding: '5px', textAlign: 'right' }">
|
|
|
|
|
|
|
|
<text>机采数量:</text>
|
|
|
|
|
|
|
|
</u-col>
|
|
|
|
|
|
|
|
<u-col span="9" :style="{ padding: '5px' }">
|
|
|
|
|
|
|
|
<text>{{ dataItem.isConfirmNums }}</text>
|
|
|
|
|
|
|
|
</u-col>
|
|
|
|
|
|
|
|
<u-col span="3" :style="{ padding: '5px', textAlign: 'right' }">
|
|
|
|
|
|
|
|
<text>合格数量:</text>
|
|
|
|
|
|
|
|
</u-col>
|
|
|
|
|
|
|
|
<u-col span="9" :style="{ padding: '5px' }">
|
|
|
|
|
|
|
|
<u-input
|
|
|
|
|
|
|
|
v-model="dataItem.defectiveNum"
|
|
|
|
|
|
|
|
type="number"
|
|
|
|
|
|
|
|
:border="true"
|
|
|
|
|
|
|
|
height="100%"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</u-col>
|
|
|
|
|
|
|
|
<u-col span="3" :style="{ padding: '5px', textAlign: 'right' }">
|
|
|
|
|
|
|
|
<text>次品数量:</text>
|
|
|
|
|
|
|
|
</u-col>
|
|
|
|
|
|
|
|
<u-col span="9" :style="{ padding: '5px' }">
|
|
|
|
|
|
|
|
<u-input
|
|
|
|
|
|
|
|
v-model="dataItem.qualifiedNum"
|
|
|
|
|
|
|
|
type="number"
|
|
|
|
|
|
|
|
:border="true"
|
|
|
|
|
|
|
|
height="100%"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</u-col>
|
|
|
|
|
|
|
|
<u-col span="3" :style="{ padding: '5px', textAlign: 'right' }">
|
|
|
|
|
|
|
|
<text>报工班组:</text>
|
|
|
|
|
|
|
|
</u-col>
|
|
|
|
|
|
|
|
<u-col span="9" :style="{ padding: '5px' }">
|
|
|
|
|
|
|
|
<text>{{ dataItem.groupName }}</text>
|
|
|
|
|
|
|
|
</u-col>
|
|
|
|
|
|
|
|
<u-col
|
|
|
|
|
|
|
|
v-if="dataItem.groupType == '1'"
|
|
|
|
|
|
|
|
span="12"
|
|
|
|
|
|
|
|
:style="{ padding: '5px' }"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<view
|
|
|
|
|
|
|
|
:style="{
|
|
|
|
|
|
|
|
color: '#0D0D26',
|
|
|
|
|
|
|
|
fontWeight: 'bloder',
|
|
|
|
|
|
|
|
textAlign: 'center',
|
|
|
|
|
|
|
|
padding: '10px',
|
|
|
|
|
|
|
|
}"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<text>报工成员(生成线报工)</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view>
|
|
|
|
|
|
|
|
<u-table>
|
|
|
|
|
|
|
|
<u-tr class="u-tr">
|
|
|
|
|
|
|
|
<u-th>
|
|
|
|
|
|
|
|
<view class="u-th">
|
|
|
|
|
|
|
|
<text>姓名</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-th>
|
|
|
|
|
|
|
|
<u-th>
|
|
|
|
|
|
|
|
<view class="u-th">
|
|
|
|
|
|
|
|
<text>报工数量</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-th>
|
|
|
|
|
|
|
|
<u-th>
|
|
|
|
|
|
|
|
<view class="u-th">
|
|
|
|
|
|
|
|
<text>补偿工时</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-th>
|
|
|
|
|
|
|
|
<u-th>
|
|
|
|
|
|
|
|
<view class="u-th">
|
|
|
|
|
|
|
|
<u-icon
|
|
|
|
|
|
|
|
name="plus-circle"
|
|
|
|
|
|
|
|
color="green"
|
|
|
|
|
|
|
|
size="36"
|
|
|
|
|
|
|
|
@click="fnProdReportItemAdd"
|
|
|
|
|
|
|
|
></u-icon>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-th>
|
|
|
|
|
|
|
|
</u-tr>
|
|
|
|
|
|
|
|
<u-tr
|
|
|
|
|
|
|
|
class="u-tr"
|
|
|
|
|
|
|
|
v-for="(
|
|
|
|
|
|
|
|
prodReportItem, prodReportIndex
|
|
|
|
|
|
|
|
) in dataItem.prodReportList"
|
|
|
|
|
|
|
|
:key="prodReportIndex"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<u-td>
|
|
|
|
|
|
|
|
<view class="u-td">
|
|
|
|
|
|
|
|
<text>{{ prodReportItem.reportMember }}</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-td>
|
|
|
|
|
|
|
|
<u-td>
|
|
|
|
|
|
|
|
<view class="u-td">
|
|
|
|
|
|
|
|
<text>{{ dataItem.defectiveNum }}</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-td>
|
|
|
|
|
|
|
|
<u-td>
|
|
|
|
|
|
|
|
<view class="u-td">
|
|
|
|
|
|
|
|
<u-input
|
|
|
|
|
|
|
|
v-model="prodReportItem.compensatoryHour"
|
|
|
|
|
|
|
|
type="number"
|
|
|
|
|
|
|
|
:border="true"
|
|
|
|
|
|
|
|
height="100%"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-td>
|
|
|
|
|
|
|
|
<u-td>
|
|
|
|
|
|
|
|
<view class="u-td">
|
|
|
|
|
|
|
|
<u-icon name="minus-circle" color="red" size="36"></u-icon>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-td>
|
|
|
|
|
|
|
|
</u-tr>
|
|
|
|
|
|
|
|
</u-table>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-col>
|
|
|
|
|
|
|
|
<u-col
|
|
|
|
|
|
|
|
v-else-if="dataItem.groupType == '2'"
|
|
|
|
|
|
|
|
span="12"
|
|
|
|
|
|
|
|
:style="{ padding: '5px' }"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<view
|
|
|
|
|
|
|
|
:style="{
|
|
|
|
|
|
|
|
color: '#0D0D26',
|
|
|
|
|
|
|
|
fontWeight: 'bloder',
|
|
|
|
|
|
|
|
textAlign: 'center',
|
|
|
|
|
|
|
|
padding: '10px',
|
|
|
|
|
|
|
|
}"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<text>报工成员(包装线报工)</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view>
|
|
|
|
|
|
|
|
<u-table>
|
|
|
|
|
|
|
|
<u-tr class="u-tr">
|
|
|
|
|
|
|
|
<u-th>
|
|
|
|
|
|
|
|
<view class="u-th">
|
|
|
|
|
|
|
|
<text>姓名</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-th>
|
|
|
|
|
|
|
|
<u-th>
|
|
|
|
|
|
|
|
<view class="u-th">
|
|
|
|
|
|
|
|
<text>报工数量</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-th>
|
|
|
|
|
|
|
|
<u-th>
|
|
|
|
|
|
|
|
<view class="u-th">
|
|
|
|
|
|
|
|
<text>补偿工时</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-th>
|
|
|
|
|
|
|
|
<u-th>
|
|
|
|
|
|
|
|
<view class="u-th">
|
|
|
|
|
|
|
|
<u-icon
|
|
|
|
|
|
|
|
name="plus-circle"
|
|
|
|
|
|
|
|
color="green"
|
|
|
|
|
|
|
|
size="36"
|
|
|
|
|
|
|
|
@click="fnPackageReportItemAdd"
|
|
|
|
|
|
|
|
></u-icon>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-th>
|
|
|
|
|
|
|
|
</u-tr>
|
|
|
|
|
|
|
|
<u-tr
|
|
|
|
|
|
|
|
class="u-tr"
|
|
|
|
|
|
|
|
v-for="(
|
|
|
|
|
|
|
|
packageReportItem, packageReportIndex
|
|
|
|
|
|
|
|
) in dataItem.packageReportList"
|
|
|
|
|
|
|
|
:key="packageReportIndex"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<u-td>
|
|
|
|
|
|
|
|
<view class="u-td">{{ packageReportItem.reportMember }}</view>
|
|
|
|
|
|
|
|
</u-td>
|
|
|
|
|
|
|
|
<u-td>
|
|
|
|
|
|
|
|
<view class="u-td">{{ dataItem.defectiveNum }}</view>
|
|
|
|
|
|
|
|
</u-td>
|
|
|
|
|
|
|
|
<u-td>
|
|
|
|
|
|
|
|
<view class="u-td">
|
|
|
|
|
|
|
|
<u-input
|
|
|
|
|
|
|
|
v-model="packageReportItem.compensatoryHour"
|
|
|
|
|
|
|
|
type="number"
|
|
|
|
|
|
|
|
:border="true"
|
|
|
|
|
|
|
|
height="100%"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-td>
|
|
|
|
|
|
|
|
<u-td>
|
|
|
|
|
|
|
|
<view class="u-td">
|
|
|
|
|
|
|
|
<u-icon name="minus-circle" color="red" size="36"></u-icon>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-td>
|
|
|
|
|
|
|
|
</u-tr>
|
|
|
|
|
|
|
|
</u-table>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-col>
|
|
|
|
|
|
|
|
<u-col span="12" :style="{ padding: '5px' }">
|
|
|
|
|
|
|
|
<view
|
|
|
|
|
|
|
|
:style="{
|
|
|
|
|
|
|
|
color: '#0D0D26',
|
|
|
|
|
|
|
|
fontWeight: 'bloder',
|
|
|
|
|
|
|
|
textAlign: 'center',
|
|
|
|
|
|
|
|
padding: '10px',
|
|
|
|
|
|
|
|
}"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<text>领料上报</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view>
|
|
|
|
|
|
|
|
<u-table>
|
|
|
|
|
|
|
|
<u-tr class="u-tr">
|
|
|
|
|
|
|
|
<u-th>
|
|
|
|
|
|
|
|
<view class="u-th">
|
|
|
|
|
|
|
|
<text>材料名称</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-th>
|
|
|
|
|
|
|
|
<u-th>
|
|
|
|
|
|
|
|
<view class="u-th">
|
|
|
|
|
|
|
|
<text>当班领用</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-th>
|
|
|
|
|
|
|
|
<u-th>
|
|
|
|
|
|
|
|
<view class="u-th">
|
|
|
|
|
|
|
|
<text>本班结存</text>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-th>
|
|
|
|
|
|
|
|
<u-th>
|
|
|
|
|
|
|
|
<view class="u-th">
|
|
|
|
|
|
|
|
<u-icon
|
|
|
|
|
|
|
|
name="plus-circle"
|
|
|
|
|
|
|
|
color="green"
|
|
|
|
|
|
|
|
size="36"
|
|
|
|
|
|
|
|
@click="fnRequisitionReportItemAdd"
|
|
|
|
|
|
|
|
></u-icon>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-th>
|
|
|
|
|
|
|
|
</u-tr>
|
|
|
|
|
|
|
|
<u-tr
|
|
|
|
|
|
|
|
class="u-tr"
|
|
|
|
|
|
|
|
v-for="(
|
|
|
|
|
|
|
|
requisitionReportItem, requisitionReportIndex
|
|
|
|
|
|
|
|
) in dataItem.requisitionReportList"
|
|
|
|
|
|
|
|
:key="requisitionReportIndex"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<u-td class="u-td">{{
|
|
|
|
|
|
|
|
requisitionReportItem.materialCode
|
|
|
|
|
|
|
|
}}</u-td>
|
|
|
|
|
|
|
|
<u-td class="u-td">
|
|
|
|
|
|
|
|
<u-input
|
|
|
|
|
|
|
|
v-model="requisitionReportItem.duty"
|
|
|
|
|
|
|
|
type="number"
|
|
|
|
|
|
|
|
:border="true"
|
|
|
|
|
|
|
|
height="100%"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</u-td>
|
|
|
|
|
|
|
|
<u-td class="u-td">
|
|
|
|
|
|
|
|
<u-input
|
|
|
|
|
|
|
|
v-model="requisitionReportItem.classBalance"
|
|
|
|
|
|
|
|
type="number"
|
|
|
|
|
|
|
|
:border="true"
|
|
|
|
|
|
|
|
height="100%"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</u-td>
|
|
|
|
|
|
|
|
<u-td class="u-td"
|
|
|
|
|
|
|
|
><u-icon name="minus-circle" color="red" size="36"></u-icon
|
|
|
|
|
|
|
|
></u-td>
|
|
|
|
|
|
|
|
</u-tr>
|
|
|
|
|
|
|
|
</u-table>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-col>
|
|
|
|
|
|
|
|
<u-col span="12">
|
|
|
|
|
|
|
|
<view :style="{ textAlign: 'center', margin: '25rpx 0rpx' }">
|
|
|
|
|
|
|
|
<u-button
|
|
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
|
|
shape="circle"
|
|
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
|
|
:custom-style="{
|
|
|
|
|
|
|
|
margin: '5px 20px',
|
|
|
|
|
|
|
|
padding: '5px 20px',
|
|
|
|
|
|
|
|
}"
|
|
|
|
|
|
|
|
@click="fnOk"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
报工确认
|
|
|
|
|
|
|
|
</u-button>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</u-col>
|
|
|
|
|
|
|
|
</u-row>
|
|
|
|
|
|
|
|
</u-popup>
|
|
|
|
|
|
|
|
<u-top-tips ref="uTips"></u-top-tips>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
import MescrollMixin from "@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js";
|
|
|
|
|
|
|
|
import { mapGetters } from "vuex";
|
|
|
|
|
|
|
|
import { toProd } from "@/api/yys/materialProcurementOrder.js";
|
|
|
|
|
|
|
|
import { userList } from "@/api/yys/dayWork.js";
|
|
|
|
|
|
|
|
import dayjs from "dayjs";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
|
|
|
components: {},
|
|
|
|
|
|
|
|
mixins: [],
|
|
|
|
|
|
|
|
data() {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
isShow: false,
|
|
|
|
|
|
|
|
productionNumber: undefined,
|
|
|
|
|
|
|
|
dataItem: {},
|
|
|
|
|
|
|
|
productionTime: dayjs().format("YYYY-MM-DD HH:mm:ss"),
|
|
|
|
|
|
|
|
isShowPickerA: false,
|
|
|
|
|
|
|
|
pickerParams: {
|
|
|
|
|
|
|
|
year: true,
|
|
|
|
|
|
|
|
month: true,
|
|
|
|
|
|
|
|
day: true,
|
|
|
|
|
|
|
|
hour: true,
|
|
|
|
|
|
|
|
minute: true,
|
|
|
|
|
|
|
|
second: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
prodReportItemO: {
|
|
|
|
|
|
|
|
reportMember: undefined,
|
|
|
|
|
|
|
|
compensatoryHour: undefined,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
packageReportItemO: {
|
|
|
|
|
|
|
|
reportMember: undefined,
|
|
|
|
|
|
|
|
compensatoryHour: undefined,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
requisitionReportItemO: {
|
|
|
|
|
|
|
|
materialCode: undefined,
|
|
|
|
|
|
|
|
duty: undefined,
|
|
|
|
|
|
|
|
classBalance: undefined,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
watch: {},
|
|
|
|
|
|
|
|
computed: {},
|
|
|
|
|
|
|
|
onLoad(params) {},
|
|
|
|
|
|
|
|
onUnload() {},
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
init(dataItem) {
|
|
|
|
|
|
|
|
if (!dataItem.prodReportList) {
|
|
|
|
|
|
|
|
dataItem.prodReportList = [];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!dataItem.packageReportList) {
|
|
|
|
|
|
|
|
dataItem.packageReportList = [];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!dataItem.requisitionReportList) {
|
|
|
|
|
|
|
|
dataItem.requisitionReportList = [];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
this.fnUserList();
|
|
|
|
|
|
|
|
this.dataItem = dataItem;
|
|
|
|
|
|
|
|
this.productionNumber = undefined;
|
|
|
|
|
|
|
|
this.productionTime = dayjs().format("YYYY-MM-DD HH:mm:ss");
|
|
|
|
|
|
|
|
this.isShow = true;
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
fnCancel() {
|
|
|
|
|
|
|
|
this.dataItem = {};
|
|
|
|
|
|
|
|
this.isShow = false;
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
fnOk() {
|
|
|
|
|
|
|
|
if (!this.productionNumber) {
|
|
|
|
|
|
|
|
this.$refs.uTips.show({
|
|
|
|
|
|
|
|
title: "数量不能为空",
|
|
|
|
|
|
|
|
type: "error",
|
|
|
|
|
|
|
|
duration: "2300",
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
console.log(this.productionNumber);
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
let _params = {
|
|
|
|
|
|
|
|
orderNumber: this.dataItem.orderNumber,
|
|
|
|
|
|
|
|
productionTime: dayjs(this.productionTime),
|
|
|
|
|
|
|
|
productionNumber: this.productionNumber,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
toProd(_params)
|
|
|
|
|
|
|
|
.then((res) => {
|
|
|
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
|
|
|
this.$emit("evtRefresh");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.catch((err) => {
|
|
|
|
|
|
|
|
console.log(err);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
this.fnCancel();
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
fnShowPickerA() {
|
|
|
|
|
|
|
|
this.isShowPickerA = true;
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
fnProductionTime(timeObj) {
|
|
|
|
|
|
|
|
this.productionTime =
|
|
|
|
|
|
|
|
timeObj.year +
|
|
|
|
|
|
|
|
"-" +
|
|
|
|
|
|
|
|
timeObj.month +
|
|
|
|
|
|
|
|
"-" +
|
|
|
|
|
|
|
|
timeObj.day +
|
|
|
|
|
|
|
|
" " +
|
|
|
|
|
|
|
|
timeObj.hour +
|
|
|
|
|
|
|
|
":" +
|
|
|
|
|
|
|
|
timeObj.minute +
|
|
|
|
|
|
|
|
":" +
|
|
|
|
|
|
|
|
timeObj.second;
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
fnUserList() {
|
|
|
|
|
|
|
|
userList()
|
|
|
|
|
|
|
|
.then((res) => {
|
|
|
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
|
|
|
console.log(res);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.catch((err) => {
|
|
|
|
|
|
|
|
console.log(err);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
fnProdReportItemAdd() {
|
|
|
|
|
|
|
|
this.dataItem.prodReportList.push(this.prodReportItemO);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
fnPackageReportItemAdd() {
|
|
|
|
|
|
|
|
this.dataItem.packageReportList.push(this.packageReportItemO);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
fnRequisitionReportItemAdd() {
|
|
|
|
|
|
|
|
this.dataItem.requisitionReportList.push(this.requisitionReportItemO);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
|
|
/deep/.u-th {
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
height: 32px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/deep/.u-td {
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
height: 32px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|