Browse Source

修改无计划完工 2024/8/2

pull/1/head
test 4 months ago
parent
commit
b0e7fe5312
  1. 12
      src/api/request2.js
  2. 364
      src/pages/fg/coms/comNoReceiptPopup.vue
  3. 23
      src/pages/fg/receiptNoPlan.vue

12
src/api/request2.js

@ -370,6 +370,18 @@ export function getItempackagingByItemcode(itemCode) {
export function getProductionlineItem(params) { export function getProductionlineItem(params) {
return http.get("/wms/productionlineitem/page" , {params}) return http.get("/wms/productionlineitem/page" , {params})
} }
/**
* 查询生产线物料关系
* @param {*} productionLineCode 生产线code
*
*/
export function getBomVersionByProductionline(productionline) {
return request({
url: baseApi + "/wms/productionlineitem/getBomVersionByProductionline?productionline=" + productionline,
method: "get",
data: {},
});
}
/** /**
* 通过物料查询包装规格 * 通过物料查询包装规格
* @param {*} itemCode * @param {*} itemCode

364
src/pages/fg/coms/comNoReceiptPopup.vue

@ -4,76 +4,96 @@
<view class="uni-flex uni-column pop_customer"> <view class="uni-flex uni-column pop_customer">
<view class="" style="padding:10rpx"> <view class="" style="padding:10rpx">
<view class="uni-flex u-col-center uni-row space-between" style="padding: 10rpx 10rpx 20rpx 10rpx"> <view class="uni-flex u-col-center uni-row space-between" style="padding: 10rpx 10rpx 20rpx 10rpx">
<view class="" style="font-size: 35rpx"> <view class="" style="font-size: 35rpx;">
{{title}} {{title}}
</view> </view>
<image style="width: 35rpx; height: 35rpx" src="/static/icons/icons_close.svg" @click="closeRequestPopup()"></image> <image style="width: 35rpx;height: 35rpx;" src="/static/icons/icons_close.svg"
@click="closeRequestPopup()"></image>
</view> </view>
<view class="split_line"></view> <view class='split_line'></view>
<view class="uni-flex uni-column" style="background-color: white"> <view class="uni-flex uni-column" style="background-color: white; ">
<view class="uni-flex uni-column"> <view class="uni-flex uni-column">
<view class="title" style="display: flex; align-items: center; padding: 10rpx"> <view class="title " style="display: flex; align-items: center;padding: 10rpx;">
<text style="flex-shrink: 0; width: 25%">生产线</text> <text style=" flex-shrink: 0;width: 25%;">生产线</text>
<view class="customerBorder" @click="showSelectLine"> <view class="customerBorder" @click="showSelectLine">
{{productionLineName}} {{productionLineName}}
</view> </view>
<u-select v-model="showProductLineSelect" mode="mutil-column-auto" title="请选择生产线和工位" :list="productLineList" @confirm="confirmSelectLine"></u-select> <u-select v-model="showProductLineSelect" mode="mutil-column-auto"
:list="productLineList" @confirm="confirmSelectLine" title="生产线-工位"></u-select>
<view class=""> <view class="">
<image src="/static/icons/down.svg" mode="" style="width: 40rpx; height: 40rpx; margin-left: 20rpx" @click="showSelectLine"> </image> <image src="/static/icons/down.svg" mode=""
style=" width: 40rpx;height: 40rpx;margin-left: 20rpx;" @click="showSelectLine">
</image>
</view> </view>
</view> </view>
<view class="split_line"></view> <view class='split_line'></view>
<view class="title" style="display: flex; align-items: center; padding: 10rpx"> <view class="title " style="display: flex; align-items: center;padding: 10rpx;">
<text style="flex-shrink: 0; width: 25%">计划日期</text> <text style=" flex-shrink: 0;width: 25%;">计划日期</text>
<view class="customerBorder" @click="showSelectDate"> <view class="customerBorder" @click="showSelectDate">
{{planDate}} {{planDate}}
</view> </view>
<u-select v-model="showDateSelect" mode="mutil-column-auto" :list="planDateList" @confirm="confirmSelectDate"></u-select> <u-select v-model="showDateSelect" mode="mutil-column-auto" :list="planDateList"
@confirm="confirmSelectDate"></u-select>
<view class=""> <view class="">
<image src="/static/icons/down.svg" mode="" style="width: 40rpx; height: 40rpx; margin-left: 20rpx" @click="showSelectDate"> </image> <image src="/static/icons/down.svg" mode=""
style=" width: 40rpx;height: 40rpx;margin-left: 20rpx;" @click="showSelectDate">
</image>
</view> </view>
</view> </view>
<view class="split_line"></view> <view class='split_line'></view>
<view class="title" style="display: flex; align-items: center; padding: 10rpx"> <view class="title " style="display: flex;align-items: center;padding: 10rpx;">
<text style="flex-shrink: 0; width: 25%">物料代码</text> <text style=" flex-shrink: 0; width: 25%;">物料代码</text>
<view class="customerBorder"> <view class="customerBorder">
{{itemCode}} {{itemCode}}
</view> </view>
<u-select v-model="showItemCodeSelect" mode="single-column" :list="itemCodeList" @confirm="confirmSelectItem"></u-select> <view v-if="bomVersion" class="">
Bom版本{{bomVersion}}
</view>
<u-select v-model="showItemCodeSelect" mode="mutil-column-auto" :list="itemCodeList"
@confirm="confirmSelectItem" title="物料代码-Bom版本"></u-select>
<view class=""> <view class="">
<image src="/static/icons/down.svg" mode="" style="width: 40rpx; height: 40rpx; margin-left: 20rpx" @click="showSelectItemCode"> </image> <image src="/static/icons/down.svg" mode=""
style=" width: 40rpx;height: 40rpx;margin-left: 20rpx;"
@click="showSelectItemCode">
</image>
</view> </view>
</view> </view>
<view class="split_line"></view> <view class='split_line'></view>
<view class="title" style="display: flex; align-items: center; padding: 10rpx"> <view class="title " style="display: flex;align-items: center;padding: 10rpx;">
<text style="flex-shrink: 0; width: 25%">数量</text> <text style=" flex-shrink: 0; width: 25%;">数量</text>
<uni-easyinput v-model="planQty"></uni-easyinput> <uni-easyinput v-model="planQty"></uni-easyinput>
<view v-if="uom">({{getUomInfo(uom)}})</view> <view v-if="uom">({{getUomInfo(uom)}})</view>
<view class=""> <view class="">
<image src="" mode="" style="width: 40rpx; height: 40rpx; margin-left: 20rpx"> </image> <image src="" mode="" style=" width: 40rpx;height: 40rpx;margin-left: 20rpx;">
</image>
</view> </view>
</view> </view>
<view class="split_line"></view> <view class='split_line'></view>
<view class="title" style="display: flex; align-items: center; padding: 10rpx"> <view class="title " style="display: flex;align-items: center;padding: 10rpx;">
<text style="flex-shrink: 0; width: 25%">包装规格</text> <text style=" flex-shrink: 0; width: 25%;">包装规格</text>
<view class="customerBorder"> <view class="customerBorder">
{{packUnitName}} {{packUnitName}}
</view> </view>
<u-select v-model="showPackUnitSelect" mode="single-column" :list="packUnitList" @confirm="confirmSelectPackUnit"></u-select> <u-select v-model="showPackUnitSelect" mode="single-column" :list="packUnitList"
@confirm="confirmSelectPackUnit"></u-select>
<view class=""> <view class="">
<image src="/static/icons/down.svg" mode="" style="width: 40rpx; height: 40rpx; margin-left: 20rpx" @click="showSelectPackUnit"> </image> <image src="/static/icons/down.svg" mode=""
style=" width: 40rpx;height: 40rpx;margin-left: 20rpx;"
@click="showSelectPackUnit">
</image>
</view> </view>
</view> </view>
<view class="split_line"></view> <view class='split_line'></view>
<view class="title" style="display: flex; align-items: center; padding: 10rpx"> <view class="title " style="display: flex;align-items: center;padding: 10rpx;">
<text style="flex-shrink: 0; width: 25%">批次</text> <text style=" flex-shrink: 0; width: 25%;">批次</text>
<uni-easyinput v-model="batch"></uni-easyinput> <uni-easyinput v-model="batch"></uni-easyinput>
<view class=""> <view class="">
<image src="" mode="" style="width: 40rpx; height: 40rpx; margin-left: 20rpx"> </image> <image src="" mode="" style=" width: 40rpx;height: 40rpx;margin-left: 20rpx;">
</image>
</view> </view>
</view> </view>
</view> </view>
@ -90,12 +110,28 @@
</template> </template>
<script> <script>
import { getIssueJobByProductionline, getPlaneInfoByproductLine, getPackUnitByItemCode, getProductionlineAndWorkStation, getProductionlineItem } from '@/api/request2.js' import {
import { getPackUnitName, getUomInfo } from '@/common/directory.js' getIssueJobByProductionline,
getPlaneInfoByproductLine,
getPackUnitByItemCode,
getProductionlineAndWorkStation,
getBomVersionByProductionline
} from '@/api/request2.js';
import {
getPackUnitName,
getUomInfo
} from '@/common/directory.js';
import { getCurrDate, getBatch8, dateFormatData, lastThreeDays } from '@/common/basic.js' import {
getCurrDate,
getBatch8,
dateFormatData,
lastThreeDays
} from '@/common/basic.js';
import { calc } from '@/common/calc.js' import {
calc
} from '@/common/calc.js';
import uom from '@/mycomponents/qty/uom.vue' import uom from '@/mycomponents/qty/uom.vue'
import packQty from '@/mycomponents/qty/packQty.vue' import packQty from '@/mycomponents/qty/packQty.vue'
@ -107,36 +143,39 @@ export default {
uom, uom,
balanceStatus, balanceStatus,
winScanItem, winScanItem,
packQty packQty,
}, },
data() { data() {
return { return {
itemCode: '请选择物料信息', itemCode: '',
uom: '', itemName: '请选择物料信息',
uom: "",
qty: null, qty: null,
planQty: 0, planQty: 0,
goodQty: 0, goodQty: 0,
planNumber: '', planNumber: "",
productLineCode: '', productLineCode: "",
showProductLineSelect: false, showProductLineSelect: false,
productLineList: [], productLineList: [],
productionLineName: '请选择生产线', productionLineName: "请选择生产线",
productionLineCode: '', productionLineCode: "",
batch: '', batch: "",
packUnitName: '请选择包装规格', packUnitName: "请选择包装规格",
packUnit: '', packUnit: "",
packUnitList: [], packUnitList: [],
packQtyHint: '', packQtyHint: "",
packQty: 0, packQty: 0,
showPackUnitSelect: false, showPackUnitSelect: false,
itemCodeList: [], itemCodeList: [],
showItemCodeSelect: false, showItemCodeSelect: false,
workStationCode: '', workStationCode: "",
planDate: '', planDate: '',
showDateSelect: false, showDateSelect: false,
planDateList: [], planDateList: [],
fgLocationCode: '', fgLocationCode: "",
rawLocationCode: '' rawLocationCode: "",
workshop: "",
bomVersion: "",
} }
}, },
props: { props: {
@ -147,87 +186,91 @@ export default {
itemCodeTypeList: { itemCodeTypeList: {
type: Array, type: Array,
default: [] default: []
} },
}, },
methods: { methods: {
openRequestPopup() { openRequestPopup() {
this.initData() this.initData();
this.planDate = getCurrDate() this.planDate = getCurrDate()
this.batch = getBatch8() this.batch = getBatch8()
this.$refs.popup.open('bottom') this.$refs.popup.open('bottom')
}, },
initData() { initData() {
this.itemCode = '请选择物料信息' this.itemCode = '请选择物料信息';
this.uom = '' this.uom = ""
this.planQty = 0 this.planQty = 0
this.goodQty = 0 this.goodQty = 0;
this.packQty = 0 this.packQty = 0;
this.planNumber = '' this.planNumber = ""
this.productLineCode = '' this.productLineCode = ""
this.showProductLineSelect = false this.showProductLineSelect = false
this.productLineList = [] this.productLineList = []
this.productionLineName = '请选择生产线' this.productionLineName = "请选择生产线"
this.productionLineCode = '' this.productionLineCode = ""
this.batch = '' this.batch = ""
this.packUnitName = '请选择包装规格' this.packUnitName = "请选择包装规格"
;(this.packUnit = ''), (this.packQtyHint = '') this.packUnit = "",
this.packQtyHint = ""
this.showPackUnitSelect = false this.showPackUnitSelect = false
// this.packUnitList = [] // this.packUnitList = []
this.itemCodeList = [] this.itemCodeList = []
this.showItemCodeSelect = false this.showItemCodeSelect = false
this.workStationCode = '' this.workStationCode = ""
this.planDate = '' this.planDate = ""
this.showDateSelect = false this.showDateSelect = false
this.planDateList = [] this.planDateList = []
this.fgLocationCode = '' this.fgLocationCode = ""
this.rawLocationCode = '' this.rawLocationCode = ""
this.workshop=""
}, },
closeRequestPopup() { closeRequestPopup() {
this.$refs.popup.close() this.$refs.popup.close()
}, },
itemCodeLoseFocus() { itemCodeLoseFocus() {
this.itemCodeFocus = false this.itemCodeFocus = false;
}, },
confirm() { confirm() {
if (!this.planDate) { if (!this.planDate) {
this.showErrorMessage('请先选择计划日期') this.showErrorMessage('请先选择计划日期');
return return;
} }
if (this.productionLineName == '请选择生产线') { if (this.productionLineName == "请选择生产线") {
this.showErrorMessage('请选择生产线') this.showErrorMessage("请选择生产线")
return return
} }
if (!this.batch) { if (!this.batch) {
this.showErrorMessage('请输入批次例如:20200101') this.showErrorMessage("请输入批次例如:20200101")
return return
} }
if (this.itemCode == '请选择物料信息') { if (this.itemCode == "请选择物料信息") {
this.showErrorMessage('请选择物料信息') this.showErrorMessage("请选择物料信息")
return return
} }
if (this.planQty <= 0) { if (this.planQty <= 0) {
this.showErrorMessage('请输入完工数量') this.showErrorMessage("请输入完工数量")
return return
} }
if (this.packUnitName == '请选择包装规格') { if (this.packUnitName == "请选择包装规格") {
this.showErrorMessage('请选择包装规格') this.showErrorMessage("请选择包装规格")
return return
} }
this.callback() this.callback();
}, },
callback() { callback() {
const item = { let item = {
productionLineName: '', productionLineName: "",
productionLineCode: '', // 线 productionLineCode: this.productLineCode, //线
itemCode: this.itemCode, itemCode: this.itemCode,
itemName: this.itemName, itemName: this.itemName,
uom: this.getUomInfo(this.uom), uom: this.getUomInfo(this.uom),
@ -238,41 +281,45 @@ export default {
packQty: this.packQty, packQty: this.packQty,
planQty: this.planQty, planQty: this.planQty,
goodQty: this.goodQty, goodQty: this.goodQty,
planNumber: '', planNumber: "",
workStationCode: this.workStationCode, workStationCode: this.workStationCode,
fgLocationCode: this.fgLocationCode, fgLocationCode: this.fgLocationCode,
rawLocationCode: this.rawLocationCode rawLocationCode: this.rawLocationCode,
} workshop:this.workshop
this.closeRequestPopup() };
this.$emit('confirm', item) this.closeRequestPopup();
this.$emit("confirm", item);
}, },
showErrorMessage(message, type) { showErrorMessage(message, type) {
setTimeout((r) => { setTimeout(r => {
this.$refs.comMessage.showErrorMessage(message, (res) => {}) this.$refs.comMessage.showErrorMessage(message, res => {})
}) })
}, },
cancel(e) { cancel(e) {
this.closeRequestPopup() this.closeRequestPopup();
}, },
confirmSelectLine(data) { confirmSelectLine(data) {
this.productionLineName = `${data[0].label}${data[1].label}` this.productionLineName = data[0].label + "—" + data[1].label
this.productionLineCode = data[0].value this.productionLineCode = data[0].value
this.workStationCode = data[1].value this.workStationCode = data[1].value
const parent = this.productLineList.filter((res) => res.value == this.productionLineCode) var parent = this.productLineList.filter(res => res.value == this.productionLineCode)
const fgLocation = parent[0].children.filter((children) => children.value == this.workStationCode) var fgLocation = parent[0].children.filter(children => children.value == this.workStationCode)
this.fgLocationCode = fgLocation[0].fgLocationCode this.fgLocationCode = fgLocation[0].fgLocationCode;
this.workshop = parent[0].workshop;
this.clearItemCode() this.clearItemCode()
this.clearPackUnit() this.clearPackUnit()
}, },
clearItemCode() { clearItemCode() {
this.planDate = getCurrDate() this.planDate = getCurrDate()
this.itemCode = '请选择物料信息' this.itemCode = "请选择物料信息"
this.uom = '' this.uom = ""
this.planQty = 0 this.planQty = 0;
this.goodQty = 0 this.goodQty = 0
this.planNumber = '' this.planNumber = ""
}, },
confirmSelectDate(data) { confirmSelectDate(data) {
@ -280,13 +327,13 @@ export default {
}, },
showSelectDate() { showSelectDate() {
this.showDateSelect = true this.showDateSelect = true;
const list = lastThreeDays(3) var list = lastThreeDays(3);
this.planDateList = [] this.planDateList = []
list.forEach((res) => { list.forEach(res => {
this.planDateList.push({ this.planDateList.push({
label: res, label: res,
value: '' value: ""
}) })
}) })
}, },
@ -294,142 +341,135 @@ export default {
showSelectLine() { showSelectLine() {
if (this.productLineList.length == 0) { if (this.productLineList.length == 0) {
uni.showLoading({ uni.showLoading({
title: '加载中', title: "加载中",
mask: true mask: true
}) })
getProductionlineAndWorkStation() getProductionlineAndWorkStation().then(res => {
.then((res) => {
uni.hideLoading() uni.hideLoading()
if (res.data && res.data.length > 0) { if (res.data && res.data.length > 0) {
this.productLineList = res.data this.productLineList = res.data
this.showProductLineSelect = true this.showProductLineSelect = true
} else { } else {
this.showErrorMessage('未查找到生产线信息') this.showErrorMessage('未查找到生产线信息');
} }
})
.catch((error) => { }).catch(error => {
uni.hideLoading() uni.hideLoading()
this.showErrorMessage(error) this.showErrorMessage(error);
}) })
} else { } else {
this.showProductLineSelect = true this.showProductLineSelect = true
} }
}, },
showSelectItemCode() { showSelectItemCode() {
if (!this.productionLineCode) { if (!this.productionLineCode) {
this.showErrorMessage('请先选择生产线') this.showErrorMessage('请先选择生产线');
return return;
} }
uni.showLoading({ uni.showLoading({
title: '加载中', title: "加载中",
mask: true mask: true
}) })
const param = { getBomVersionByProductionline(this.productionLineCode).then(res => {
pageSize: 20,
pageNo: 1,
productionLineCode: this.productionLineCode
}
getProductionlineItem(param)
.then((res) => {
uni.hideLoading() uni.hideLoading()
if (res.data.list && res.data.list.length > 0) { if (res.data && res.data.length > 0) {
res.data.list.forEach((item) => { this.itemCodeList = res.data
item.label = item.itemCode
item.value = item
})
this.itemCodeList = res.data.list
this.showItemCodeSelect = true this.showItemCodeSelect = true
} else { } else {
this.showErrorMessage('未查找到物料信息') this.showErrorMessage('未查找到物料信息');
} }
}) }).catch(error => {
.catch((error) => {
uni.hideLoading() uni.hideLoading()
this.showErrorMessage(error) this.showErrorMessage(error);
}) })
}, },
confirmSelectItem(data) { confirmSelectItem(data) {
const itemInfo = data[0].value this.itemCode = data[0].label;
this.itemCode = itemInfo.itemCode this.bomVersion = data[1].value;
this.uom = itemInfo.uom this.uom=data[0].uom;
// this.uom = itemInfo.uom
// //
this.clearPackUnit() this.clearPackUnit();
uni.showLoading({ uni.showLoading({
title: '加载中', title: "加载中",
mask: true mask: true
}) })
getPackUnitByItemCode(this.itemCode) getPackUnitByItemCode(this.itemCode).then(res => {
.then((res) => {
uni.hideLoading() uni.hideLoading()
if (res.data && res.data.list.length > 0) { if (res.data && res.data.list.length > 0) {
res.data.list.forEach((item) => { res.data.list.forEach(item => {
item.value = item.packUnit item.value = item.packUnit
item.label = `${getPackUnitName(item.packUnit)}(${item.packQty}${this.getUomInfo(item.uom)})` item.label = getPackUnitName(item.packUnit) + "(" + item.packQty + this
.getUomInfo(item.uom) + ")";
}) })
this.packUnitList = res.data.list this.packUnitList = res.data.list
const defaultData = res.data.list.filter((item) => item.defaultPackageunit == 'TRUE') var defaultData = res.data.list.filter(item => item.defaultPackageunit == "TRUE")
this.confirmSelectPackUnit(defaultData) this.confirmSelectPackUnit(defaultData)
} }
})
.catch((error) => { }).catch(error => {
uni.hideLoading() uni.hideLoading()
}) })
}, },
clearPackUnit() { clearPackUnit() {
this.packUnitName = '请选择包装规格' this.packUnitName = "请选择包装规格"
this.packUnit = '' this.packUnit = ""
const pack = this.packUnitList.filter((r) => r.packUnit == this.packUnit) let pack = this.packUnitList.filter(r => r.packUnit == this.packUnit);
this.packQtyHint = '' this.packQtyHint = "";
this.packQty = 0 this.packQty = 0
}, },
showSelectPackUnit() { showSelectPackUnit() {
if (this.itemCode == '请选择物料信息') { if (this.itemCode == "请选择物料信息") {
this.showErrorMessage('请先选择物料') this.showErrorMessage('请先选择物料');
return return;
} }
uni.showLoading({ uni.showLoading({
title: '加载中', title: "加载中",
mask: true mask: true
}) })
getPackUnitByItemCode(this.itemCode) getPackUnitByItemCode(this.itemCode).then(res => {
.then((res) => {
uni.hideLoading() uni.hideLoading()
if (res.data && res.data.list.length > 0) { if (res.data && res.data.list.length > 0) {
res.data.list.forEach((item) => { res.data.list.forEach(item => {
item.value = item.packUnit item.value = item.packUnit
item.label = `${getPackUnitName(item.packUnit)}(${item.packQty}${this.getUomInfo(item.uom)})` item.label = getPackUnitName(item.packUnit) + "(" + item.packQty + this
.getUomInfo(item.uom) + ")";
}) })
this.packUnitList = res.data.list this.packUnitList = res.data.list
this.showPackUnitSelect = true this.showPackUnitSelect = true
} else { } else {
this.showErrorMessage('未查找到包装信息') this.showErrorMessage('未查找到包装信息');
} }
})
.catch((error) => { }).catch(error => {
uni.hideLoading() uni.hideLoading()
this.showErrorMessage(error) this.showErrorMessage(error);
}) })
}, },
confirmSelectPackUnit(data) { confirmSelectPackUnit(data) {
this.packUnitName = data[0].label this.packUnitName = data[0].label
this.packUnit = data[0].value this.packUnit = data[0].value
const pack = this.packUnitList.filter((r) => r.packUnit == this.packUnit) let pack = this.packUnitList.filter(r => r.packUnit == this.packUnit);
this.packQtyHint = `${pack[0].packQty}(${this.getUomInfo(pack[0].uom)})` this.packQtyHint = pack[0].packQty + "(" + this
.getUomInfo(pack[0].uom) + ")";
this.packQty = pack[0].packQty this.packQty = pack[0].packQty
}, },
getUomInfo(uom) { getUomInfo(uom) {
const item = getUomInfo(uom) let item = getUomInfo(uom);
if (item == '') { if (item == '') {
return uom return uom;
} } else {
return item.label return item.label
} }
},
} }
} }
</script> </script>

23
src/pages/fg/receiptNoPlan.vue

@ -6,8 +6,6 @@
<com-blank-view @goScan='openFg' v-if="!dataContent"></com-blank-view> <com-blank-view @goScan='openFg' v-if="!dataContent"></com-blank-view>
</view> </view>
<view class="" v-if="dataContent"> <view class="" v-if="dataContent">
<view class="page-header">
<view class="header-view">
<view class="cell_box uni-flex uni-row"> <view class="cell_box uni-flex uni-row">
<view class="cell_info"> <view class="cell_info">
<view class="text_lightblue">完工库位</view> <view class="text_lightblue">完工库位</view>
@ -20,14 +18,13 @@
<view>{{dataContent.planQty}}{{dataContent.uom}}</view> <view>{{dataContent.planQty}}{{dataContent.uom}}</view>
</view> </view>
</view> </view>
</view> <view class='split_line'></view>
</view>
<view class="" style="padding: 10rpx; margin-left: 10rpx;"> <view class="" style="padding-top: 10rpx; padding-bottom: 10rpx; margin-left: 10rpx;">
<item :dataContent="dataContent"></item> <item :dataContent="dataContent"></item>
</view> </view>
<view class='split_line'></view> <view class='split_line'></view>
<view class="uni-flex uni-row space-between" style="align-items: center;padding: 0 10rpx;"> <view class="uni-flex uni-row space-between" style="align-items: center">
<view style="word-break: break-all;"> <view style="word-break: break-all;">
<batch :batch="dataContent.batch"></batch> <batch :batch="dataContent.batch"></batch>
<view class="card_view "> <view class="card_view ">
@ -142,8 +139,7 @@ export default {
}; };
}, },
onShow() { onShow() {},
},
onLoad() { onLoad() {
this.options = getRemoveOption() this.options = getRemoveOption()
this.openFg(); this.openFg();
@ -193,7 +189,12 @@ export default {
packUnit: result.packUnit, packUnit: result.packUnit,
workStationCode: result.workStationCode, workStationCode: result.workStationCode,
fgLocationCode: result.fgLocationCode, fgLocationCode: result.fgLocationCode,
subList: [] subList: [],
productionLine: result.productionLineCode,
bomVersion: result.bomVersion,
workshop: result.workshop,
team: "",
shift: ""
} }
}, },
@ -467,10 +468,14 @@ page {
.header { .header {
position: fixed; position: fixed;
/* #ifdef H5 */
top: 88rpx;
/* #endif */
left: 0; left: 0;
width: 100%; width: 100%;
background-color: #fff; background-color: #fff;
z-index: 10; z-index: 10;
padding: 10rpx;
/* 确保头部在内容之上 */ /* 确保头部在内容之上 */
} }

Loading…
Cancel
Save