修改白胚入库问题
This commit is contained in:
parent
4bfd13fa08
commit
a4afafb601
@ -27,9 +27,7 @@ import { getAction, postAction } from '../../common/http';
|
||||
list.value=[]
|
||||
postAction('/rawFabric/preview',arr).then((res:any)=>{
|
||||
if(res.code==200){
|
||||
for(let i in res.data){
|
||||
list.value.push({name:i,ps:res.data[i]})
|
||||
}
|
||||
list.value=res.data
|
||||
}
|
||||
})
|
||||
}
|
||||
@ -71,12 +69,14 @@ import { getAction, postAction } from '../../common/http';
|
||||
<view class="grid-container">
|
||||
<view class="grid-item">面料名称</view>
|
||||
<view class="grid-item">面料匹数</view>
|
||||
<view class="grid-item">面料米数</view>
|
||||
<view class="grid-item">操作</view>
|
||||
</view>
|
||||
<view class="content">
|
||||
<view class="grid-container" v-for="(item,index) in list" :key="index" @click="toDetile(item)">
|
||||
<view class="grid-item">{{item.name}}</view>
|
||||
<view class="grid-item">{{item.ps}}</view>
|
||||
<view class="grid-item">{{item.category}}</view>
|
||||
<view class="grid-item">{{item.count}}</view>
|
||||
<view class="grid-item">{{item.len}}</view>
|
||||
<view class="grid-item">查看</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -98,6 +98,7 @@ import { getAction, postAction } from '../../common/http';
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
overflow: hidden;
|
||||
|
||||
.van-nav-bar {
|
||||
width: 100%;
|
||||
@ -105,7 +106,7 @@ import { getAction, postAction } from '../../common/http';
|
||||
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 1.6fr 1fr;
|
||||
grid-template-columns: 2fr 1.6fr 1.6fr 1fr;
|
||||
padding: 0 15rpx;
|
||||
|
||||
.grid-item {
|
||||
@ -119,6 +120,7 @@ import { getAction, postAction } from '../../common/http';
|
||||
|
||||
.content {
|
||||
flex: 1;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -116,12 +116,14 @@ const delItem = (item:any) =>{
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
overflow: hidden;
|
||||
.van-nav-bar{
|
||||
width: 100%;
|
||||
}
|
||||
.content{
|
||||
flex: 1;
|
||||
padding: 0 10px;
|
||||
overflow-y: scroll;
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 3fr 2fr;
|
||||
|
@ -51,11 +51,21 @@
|
||||
})
|
||||
init()
|
||||
})
|
||||
|
||||
//动态获取数据
|
||||
const onLoad = () => {
|
||||
if (list.value.length < total.value) {
|
||||
currentPage.value++
|
||||
init()
|
||||
} else {
|
||||
finished.value = true
|
||||
}
|
||||
};
|
||||
const init = () => {
|
||||
getAction('/shelves', { page: currentPage.value, size: 10, }).then((res : any) => {
|
||||
if (res.code === 200) {
|
||||
list.value = res.data.record
|
||||
res.data.record.forEach((l:any)=>{
|
||||
list.value.push(l)
|
||||
})
|
||||
total.value = res.data.total
|
||||
loading.value = false;
|
||||
finished.value = false
|
||||
@ -71,7 +81,8 @@
|
||||
showPop.value = true
|
||||
}
|
||||
const edit = (item : any) => {
|
||||
form.value = item
|
||||
form.value = JSON.parse(JSON.stringify(item))
|
||||
form.value.active=item.active?'true':'false'
|
||||
showPop.value = true
|
||||
}
|
||||
const onSubmit = () => {
|
||||
@ -80,6 +91,8 @@
|
||||
if (res.code === 200) {
|
||||
showToast('编辑成功!')
|
||||
showPop.value = false
|
||||
list.value=[]
|
||||
currentPage.value=1
|
||||
init()
|
||||
}
|
||||
})
|
||||
@ -88,6 +101,8 @@
|
||||
if (res.code === 200) {
|
||||
showToast('提交成功!')
|
||||
showPop.value = false
|
||||
list.value=[]
|
||||
currentPage.value=1
|
||||
init()
|
||||
}
|
||||
})
|
||||
@ -102,6 +117,8 @@
|
||||
let url = '/shelves/' + item.id
|
||||
deleteAction(url).then((res : any) => {
|
||||
if (res.code === 200) {
|
||||
list.value=[]
|
||||
currentPage.value=1
|
||||
init()
|
||||
showToast('删除成功!')
|
||||
}
|
||||
@ -209,16 +226,6 @@
|
||||
const finished = ref(false)
|
||||
const loading = ref(false);
|
||||
|
||||
//动态获取数据
|
||||
const onLoad = () => {
|
||||
if (list.value.length < total.value) {
|
||||
currentPage.value++
|
||||
init()
|
||||
} else {
|
||||
finished.value = true
|
||||
}
|
||||
};
|
||||
|
||||
const kwh = computed(() => {
|
||||
if (barcode.value) {
|
||||
let a = barcode.value.split('-')
|
||||
@ -314,18 +321,11 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<van-popup v-model:show="showPop" style="width: 80%" round>
|
||||
<van-popup v-model:show="showPop" style="width: 90%" round>
|
||||
<view>
|
||||
<h3 style="text-align: center">{{form.id?'编辑':'新增'}}</h3>
|
||||
<van-form @submit="onSubmit">
|
||||
<van-cell-group inset>
|
||||
<!-- <van-field v-model="form.shelve" name="货架号" label="货架号" colon class="bor-b" label-width="6em"
|
||||
:rules="[{ required: true, message: '请填写' }]" />
|
||||
<van-field v-model="form.column" name="列号" label="列号" colon class="bor-b" label-width="6em"
|
||||
:rules="[{ required: true, message: '请填写' }]" />
|
||||
<van-field v-model="form.row" name="层号" label="层号" colon class="bor-b" label-width="6em"
|
||||
:rules="[{ required: true, message: '请填写' }]" /> -->
|
||||
|
||||
<van-field v-model="kwh" name="库位号" label="库位号" class="nonBom" colon readonly label-width="6em">
|
||||
<template #button>
|
||||
<van-button type="primary" @click="scanCode">扫一扫</van-button>
|
||||
@ -341,7 +341,7 @@
|
||||
<view style="display: flex;align-items: center;justify-content: center;">
|
||||
<p style="text-align: center;">{{item.fabricName}} {{item.color}}
|
||||
</p>
|
||||
<van-icon name="cross" style="margin-left: 20rpx;"
|
||||
<van-icon name="add" color="red" size="28" style="margin-left: 20rpx;"
|
||||
@click.stop="form.recommend.splice(index)"/>
|
||||
</view>
|
||||
</template>
|
||||
@ -413,6 +413,7 @@
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
overflow: hidden;
|
||||
|
||||
.van-nav-bar {
|
||||
width: 100%;
|
||||
@ -421,6 +422,7 @@
|
||||
.content {
|
||||
flex: 1;
|
||||
padding: 0 10px;
|
||||
overflow-y: scroll;
|
||||
|
||||
.grid-container {
|
||||
display: grid;
|
||||
|
@ -11,9 +11,25 @@
|
||||
const showDialog = ref(false)
|
||||
const listItem = ref({} as any)
|
||||
const manualDelivery = ref(false)
|
||||
const gysList = ref([])
|
||||
const djList = ref([])
|
||||
const total = ref(0)
|
||||
const currentPage = ref(1)
|
||||
const finished = ref(false)
|
||||
const loading = ref(false);
|
||||
|
||||
onMounted(() => {
|
||||
init()
|
||||
getAction('/suppliers',{page:1,size:100}).then((res:any)=>{
|
||||
if(res.code===200){
|
||||
gysList.value=res.data.record
|
||||
}
|
||||
})
|
||||
getAction('/rawFabricLevels',{page:1,size:100}).then((res:any)=>{
|
||||
if(res.code===200){
|
||||
djList.value=res.data.record
|
||||
}
|
||||
})
|
||||
getAction('/fabric/info/all').then((res : any) => {
|
||||
if (res.code === 200) {
|
||||
res.data.forEach((l : any) => {
|
||||
@ -40,18 +56,29 @@
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
//动态获取数据
|
||||
const onLoad = () => {
|
||||
if (list.value.length < total.value) {
|
||||
currentPage.value++
|
||||
init()
|
||||
} else {
|
||||
finished.value = true
|
||||
}
|
||||
};
|
||||
|
||||
watch(form.value, () => {
|
||||
if (timer.value) {
|
||||
clearTimeout(timer.value)
|
||||
}
|
||||
timer.value = setTimeout(() => {
|
||||
currentPage.value = 1
|
||||
list.value=[]
|
||||
currentPage.value = 1
|
||||
init()
|
||||
}, 1000)
|
||||
}, 100)
|
||||
})
|
||||
|
||||
const msps = ref({})
|
||||
|
||||
const init = () => {
|
||||
let a = {}
|
||||
for (let i in form.value) {
|
||||
@ -61,16 +88,17 @@
|
||||
}
|
||||
let param = {
|
||||
page: currentPage.value,
|
||||
size: 10,
|
||||
size: 30,
|
||||
...a
|
||||
}
|
||||
getAction('/rawFabric/search', param).then((res : any) => {
|
||||
if (res.code === 200) {
|
||||
res.data.record.forEach((l : any) => {
|
||||
if (res.code == 200) {
|
||||
res.data.page.record.forEach((l : any) => {
|
||||
list.value.push(l)
|
||||
})
|
||||
total.value = res.data.total
|
||||
loading.value = false;
|
||||
msps.value = res.data
|
||||
total.value = res.data.page.total
|
||||
loading.value = false
|
||||
finished.value = false
|
||||
}
|
||||
})
|
||||
@ -90,6 +118,9 @@
|
||||
url:'/pages/whiteEmbryo/warehouse-in-out'
|
||||
})
|
||||
}
|
||||
const onClickLeft1 = () =>{
|
||||
history.back()
|
||||
}
|
||||
const chooseDate = (val : any) => {
|
||||
show.value = true
|
||||
dataType.value = val
|
||||
@ -119,22 +150,6 @@
|
||||
show.value = false
|
||||
}
|
||||
|
||||
const total = ref(0)
|
||||
const currentPage = ref(1)
|
||||
const finished = ref(false)
|
||||
const loading = ref(false);
|
||||
|
||||
//动态获取数据
|
||||
const onLoad = () => {
|
||||
if (list.value.length < total.value) {
|
||||
currentPage.value++
|
||||
init()
|
||||
} else {
|
||||
finished.value = true
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
const pickerList = ref([])//面料数据
|
||||
const pickerContainerList = ref([])
|
||||
const showPickerList = ref(false)
|
||||
@ -142,8 +157,9 @@
|
||||
const searchIndex = ref(0)//查询到的数组
|
||||
const mlList = ref([])
|
||||
//选择面料
|
||||
const selectChoose = () => {
|
||||
const selectChoose = (type:any) => {
|
||||
showPickerList.value = true
|
||||
dataType.value=type
|
||||
}
|
||||
//面料开启
|
||||
const mlmcOpen = () => {
|
||||
@ -206,25 +222,59 @@
|
||||
}, 800)
|
||||
}
|
||||
const onConfirm = (val : any) => {
|
||||
form.value.category = val.selectedValues[2] + '/' + val.selectedValues[0] + val.selectedValues[1]
|
||||
if(dataType.value=='form'){
|
||||
form.value.category = val.selectedValues[2] + '/' + val.selectedValues[0] + val.selectedValues[1]
|
||||
}else if(dataType.value=='listItem'){
|
||||
listItem.value.category = val.selectedValues[2] + '/' + val.selectedValues[0] + val.selectedValues[1]
|
||||
}
|
||||
pickerCancel()
|
||||
}
|
||||
const showPicker = ref(false)
|
||||
const popuList = ref([{ text: '配货进厂', value: '配货进厂' }, { text: '做本白', value: '做本白' }] as any[])
|
||||
const popuList = ref([] as any[])
|
||||
const searchVal = ref()
|
||||
const selectValue = ref()
|
||||
//选择框事件
|
||||
const choosePic = () => {
|
||||
const choosePic = (type:any) => {
|
||||
showPicker.value = true
|
||||
dataType.value=type
|
||||
searchVal.value=''
|
||||
}
|
||||
//选择框确认
|
||||
const pickerConfirm = (val : any) => {
|
||||
listItem.value.czyy = val.selectedValues[0]
|
||||
listItem.value[dataType.value] = val.selectedValues[0]
|
||||
showPickerCancel()
|
||||
}
|
||||
//取消
|
||||
const showPickerCancel = () => {
|
||||
showPicker.value = false
|
||||
}
|
||||
|
||||
//弹窗开启事件
|
||||
const handleOpen = () =>{
|
||||
if(dataType.value==='supplier'){
|
||||
popuList.value=gysList.value.map(l=>({text:l.name,value:l.name}))
|
||||
}else if(dataType.value==='level'){
|
||||
popuList.value=djList.value.map(l=>({text:l.level,value:l.level}))
|
||||
}else if(dataType.value==='czyy'){
|
||||
popuList.value=[{ text: '配货进厂', value: '配货进厂' }, { text: '做本白', value: '做本白' }]
|
||||
}
|
||||
}
|
||||
|
||||
const searchPop = () =>{
|
||||
if (timer.value) {
|
||||
clearTimeout(timer.value)
|
||||
}
|
||||
timer.value = setTimeout(() => {
|
||||
getSeach()
|
||||
}, 800)
|
||||
}
|
||||
function getSeach(){
|
||||
let reg = new RegExp(searchVal.value)
|
||||
let a=popuList.value.find((l:any)=>reg.test(l.text))
|
||||
if(a){
|
||||
selectValue.value=[a.text]
|
||||
}
|
||||
}
|
||||
|
||||
const h5ScanCode = ref(false);
|
||||
function scanCode() {
|
||||
// #ifdef H5
|
||||
@ -248,6 +298,7 @@
|
||||
function handleSuccess(res : any) {
|
||||
manualDelivery.value = true
|
||||
h5ScanCode.value = false;
|
||||
if(res.length!=9) return showToast('请扫描正确的面料码!')
|
||||
listItem.value.mlbh = res
|
||||
}
|
||||
function handleFail(err : any) {
|
||||
@ -286,23 +337,26 @@
|
||||
|
||||
<template>
|
||||
<view class="flex">
|
||||
<van-nav-bar title="白胚列表" left-text="扫码出库" right-text="出入库记录" @click-left="onClickLeft"
|
||||
<van-nav-bar title="白胚列表" left-text="返回" left-arrow right-text="出入库记录" @click-left="onClickLeft1"
|
||||
@click-right="onClickRight" />
|
||||
<van-cell-group inset style="display: flex;">
|
||||
<van-cell-group style="display: flex;">
|
||||
<van-field v-model="form.startDate" name="开始时间" label="开始时间" colon class="bor" label-width="5em" readonly
|
||||
@click="chooseDate('startDate')" :rules="[{ required: true, message: '请填写' }]" />
|
||||
<van-field v-model="form.endDate" name="截止时间" label="截止时间" colon class="bor" label-width="5em" readonly
|
||||
@click="chooseDate('endDate')" />
|
||||
</van-cell-group>
|
||||
<van-cell-group inset style="display: flex;">
|
||||
<van-cell-group style="display: flex;">
|
||||
<van-field v-model="form.category" name="面料名称" label="面料名称" colon class="bor" label-width="5em" readonly
|
||||
@click="selectChoose" />
|
||||
@click="selectChoose('form')" />
|
||||
<van-field v-model="form.barcode" name="面料编号" label="面料编号" colon class="bor-a" label-width="5em" />
|
||||
</van-cell-group>
|
||||
<van-cell-group inset style="display: flex;">
|
||||
<van-cell-group style="display: flex;">
|
||||
<van-field v-model="form.len" name="面料米数" label="面料米数" colon class="bor-a" label-width="5em" />
|
||||
<van-field v-model="form.location" name="面料位置" label="面料位置" colon class="bor-a" label-width="5em" />
|
||||
</van-cell-group>
|
||||
<view style="text-align: end;margin: 10rpx;">
|
||||
<van-button type="primary" @click="onClickLeft">扫码出库</van-button>
|
||||
</view>
|
||||
|
||||
<view class="grid-container">
|
||||
<view class="grid-item">面料名称</view>
|
||||
@ -320,6 +374,12 @@
|
||||
</view>
|
||||
</van-list>
|
||||
</view>
|
||||
<view class="floot">
|
||||
<view style="display: flex;align-items: center;justify-content: space-around;">
|
||||
<p>总匹数:{{msps.count}} 匹</p>
|
||||
<p>总米数:{{msps.len}} 米</p>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<cshaptx4869-scancode v-if="h5ScanCode" @success="handleSuccess" @fail="handleFail"
|
||||
@close="handleClose"></cshaptx4869-scancode>
|
||||
@ -329,12 +389,12 @@
|
||||
<van-cell-group inset>
|
||||
<van-field v-model="listItem.checkDate" name="质检时间" label="质检时间" colon label-width="5em" readonly />
|
||||
<van-field v-model="listItem.checkUser" name="质检人员" label="质检人员" colon label-width="5em" readonly />
|
||||
<van-field v-model="listItem.supplier" name="供应商名" label="供应商名" colon label-width="5em"/>
|
||||
<van-field v-model="listItem.category" name="面料名称" label="面料名称" colon label-width="5em"/>
|
||||
<van-field v-model="listItem.supplier" name="供应商名" label="供应商名" colon label-width="5em" readonly class="bor" @click="choosePic('supplier')"/>
|
||||
<van-field v-model="listItem.category" name="面料名称" label="面料名称" colon label-width="5em" readonly class="bor" @click="selectChoose('listItem')"/>
|
||||
<van-field v-model="listItem.barcode" name="面料编号" label="面料编号" colon label-width="5em" readonly />
|
||||
<van-field v-model="listItem.len" name="面料米数" label="面料米数" colon label-width="5em" type="number"/>
|
||||
<van-field v-model="listItem.inboundUser" name="入库人" label="入库人" colon label-width="5em" readonly />
|
||||
<van-field v-model="listItem.level" name="白胚等级" label="白胚等级" colon label-width="5em"/>
|
||||
<van-field v-model="listItem.level" name="白胚等级" label="白胚等级" colon label-width="5em" readonly class="bor" @click="choosePic('level')"/>
|
||||
<van-field v-model="listItem.location" name="面料位置" label="面料位置" colon label-width="5em" readonly />
|
||||
<van-field v-model="listItem.inboundDate" name="入库时间" label="入库时间" colon label-width="5em" readonly />
|
||||
</van-cell-group>
|
||||
@ -356,7 +416,7 @@
|
||||
<div>
|
||||
<van-cell-group inset>
|
||||
<van-field v-model="listItem.czyy" name="操作原因" label="操作原因" colon label-width="5em" readonly class="bor"
|
||||
@click="choosePic" />
|
||||
@click="choosePic('czyy')" />
|
||||
<van-field v-model="listItem.mlbh" name="面料编号" label="面料编号" colon label-width="5em" readonly>
|
||||
<template #button>
|
||||
<van-button type="primary" @click="scanCode">扫一扫</van-button>
|
||||
@ -409,9 +469,22 @@
|
||||
:max-date="new Date(2050, 0, 31)" />
|
||||
|
||||
<!--选择框-->
|
||||
<van-popup v-model:show="showPicker" round position="bottom">
|
||||
<van-picker show-toolbar :columns="popuList" @confirm="pickerConfirm" @cancel="showPickerCancel"
|
||||
ref="pickerRef" />
|
||||
<van-popup v-model:show="showPicker" round position="bottom" @open="handleOpen">
|
||||
<view class="ck-box">
|
||||
<van-picker
|
||||
show-toolbar
|
||||
:columns="popuList"
|
||||
@confirm="pickerConfirm"
|
||||
@cancel="showPickerCancel"
|
||||
v-model="selectValue"
|
||||
ref="pickerRef"
|
||||
/>
|
||||
<view class="ck">
|
||||
<view class="ck-a">
|
||||
<van-search v-model="searchVal" label="搜索:" background="#ffffff" @input="searchPop()" :clearable="false"/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</van-popup>
|
||||
</template>
|
||||
|
||||
@ -421,6 +494,7 @@
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
overflow-y: hidden;
|
||||
|
||||
.van-nav-bar {
|
||||
width: 100%;
|
||||
@ -442,6 +516,7 @@
|
||||
|
||||
.content {
|
||||
flex: 1;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
}
|
||||
|
||||
@ -452,6 +527,28 @@
|
||||
::v-deep .van-field {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.floot{
|
||||
padding: 20rpx;
|
||||
}
|
||||
|
||||
.ck-box{
|
||||
position: relative;
|
||||
.ck{
|
||||
position: absolute;
|
||||
top: 80rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 999;
|
||||
}
|
||||
.ck-a{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.bor {
|
||||
::v-deep .van-field__control {
|
||||
@ -483,6 +580,10 @@
|
||||
::v-deep .van-field__control {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.floot{
|
||||
|
||||
}
|
||||
|
||||
.footer-button {
|
||||
margin: 20px;
|
||||
|
@ -1,168 +1,210 @@
|
||||
<template>
|
||||
<view>
|
||||
<van-nav-bar
|
||||
title="扫码入库"
|
||||
left-text="返回"
|
||||
left-arrow
|
||||
right-text="扫一扫"
|
||||
@click-left="onClickLeft"
|
||||
@click-right="onClickRight"
|
||||
/>
|
||||
<view style="text-align: center;margin-top: 20px;">请扫描库位码</view>
|
||||
<cshaptx4869-scancode
|
||||
v-if="h5ScanCode"
|
||||
@success="handleSuccess"
|
||||
@fail="handleFail"
|
||||
@close="handleClose"
|
||||
></cshaptx4869-scancode>
|
||||
<view class="flex">
|
||||
<van-nav-bar title="扫码入库" left-text="返回" left-arrow @click-left="onClickLeft" />
|
||||
<view class="btn" @click="onClickRight">扫描库位码</view>
|
||||
<view style="margin: 20rpx 50rpx;">当前库位码:{{location}}</view>
|
||||
<view class="btn" @click="scanCode" v-if="location">扫描面料编号</view>
|
||||
<cshaptx4869-scancode v-if="h5ScanCode" @success="handleSuccess" @fail="handleFail"
|
||||
@close="handleClose"></cshaptx4869-scancode>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { showConfirmDialog, showToast } from 'vant';
|
||||
import { onMounted, ref } from 'vue';
|
||||
import { getAction, putAction } from '../../common/http';
|
||||
import { showConfirmDialog, showToast } from 'vant';
|
||||
import { onMounted, ref } from 'vue';
|
||||
import { getAction, putAction } from '../../common/http';
|
||||
|
||||
onMounted(()=>{
|
||||
})
|
||||
onMounted(() => {
|
||||
})
|
||||
|
||||
const onClickLeft = () =>{
|
||||
window.history.back()
|
||||
}
|
||||
const onClickRight=()=>{
|
||||
scanCode()
|
||||
}
|
||||
const onClickLeft = () => {
|
||||
window.history.back()
|
||||
}
|
||||
const onClickRight = () => {
|
||||
scanCode()
|
||||
}
|
||||
const h5ScanCode = ref(false);
|
||||
function scanCode() {
|
||||
// #ifdef H5
|
||||
h5ScanCode.value = true;
|
||||
// #endif
|
||||
// #ifndef H5
|
||||
uni.scanCode({
|
||||
success: (res) => {
|
||||
uni.showToast({
|
||||
icon: "none",
|
||||
title: res.result,
|
||||
});
|
||||
},
|
||||
faile: (err) => {
|
||||
console.log("err", err);
|
||||
location.value=''
|
||||
barcode.value=''
|
||||
},
|
||||
});
|
||||
// #endif
|
||||
// #ifdef H5
|
||||
h5ScanCode.value = true;
|
||||
// #endif
|
||||
// #ifndef H5
|
||||
uni.scanCode({
|
||||
success: (res) => {
|
||||
uni.showToast({
|
||||
icon: "none",
|
||||
title: res.result,
|
||||
});
|
||||
},
|
||||
faile: (err:any) => {
|
||||
console.log("err", err);
|
||||
location.value = ''
|
||||
barcode.value = ''
|
||||
},
|
||||
});
|
||||
// #endif
|
||||
}
|
||||
const barcode = ref()
|
||||
const location = ref()
|
||||
function handleSuccess(res:any) {
|
||||
h5ScanCode.value = false;
|
||||
if(location.value){
|
||||
barcode.value=res
|
||||
putAction('/rawFabric/sign',{barcode:barcode.value,location:location.value},{'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'}).then((res1:any)=>{
|
||||
if(res1.code===7778){//已经入库
|
||||
let data=JSON.parse(res1.msg)
|
||||
let html=`
|
||||
<p>面料编号为<span style="color:red;font-size:18px">${barcode.value}</span>的<span style="color:red;font-size:18px">${data.category}</span>已放置在<span style="color:red;font-size:18px">${data.location}</span>,是否将面料移动到<span style="color:red;font-size:18px">${location.value}</span>?</p>
|
||||
`
|
||||
showConfirmDialog({
|
||||
message: html,
|
||||
allowHtml:true,
|
||||
confirmButtonText:'确认',
|
||||
})
|
||||
.then(() => {
|
||||
putAction('/rawFabric/sign',{barcode:barcode.value,location:location.value,force:true},{'Content-Type':'application/x-www-form-urlencoded;charset=UTF-8'}).then((res2:any)=>{
|
||||
if(res2.code===200){
|
||||
showToast('入货架成功!')
|
||||
}else{
|
||||
showToast(res2.msg)
|
||||
}
|
||||
})
|
||||
})
|
||||
.catch(() => {
|
||||
location.value=''
|
||||
barcode.value=''
|
||||
});
|
||||
}else if(res1.code===7777){
|
||||
//暂存
|
||||
let data=JSON.parse(res1.msg)
|
||||
let html=`
|
||||
function handleSuccess(res : any) {
|
||||
h5ScanCode.value = false;
|
||||
if (location.value) {
|
||||
barcode.value = res
|
||||
putAction('/rawFabric/sign', { barcode: barcode.value, location: location.value }, { 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8' }).then((res1 : any) => {
|
||||
if (res1.code === 7778) {//已经入库
|
||||
let data = JSON.parse(res1.msg)
|
||||
if(data.location==location.value){
|
||||
showConfirmDialog({
|
||||
message: '该面料已放置在'+data.location+',请勿重复扫码',
|
||||
allowHtml: true,
|
||||
confirmButtonText: '扫一扫',
|
||||
})
|
||||
.then(() => {
|
||||
scanCode()
|
||||
})
|
||||
.catch(() => {
|
||||
location.value = ''
|
||||
barcode.value = ''
|
||||
});
|
||||
}else{
|
||||
let html = `
|
||||
<div style="text-align: left">
|
||||
<p>面料编号:<span style="color:red;font-size:18px">${barcode.value}</span></p>
|
||||
<p>面料名称:<span style="color:red;font-size:18px">${data.category}</span></p>
|
||||
<p>面料位置:<span style="color:red;font-size:18px">${data.location}</span></p>
|
||||
<p style="margin-top:8px">是否将面料移动到<span style="color:red;font-size:18px">${location.value}</span>?</p>
|
||||
</div>
|
||||
|
||||
`
|
||||
showConfirmDialog({
|
||||
title:'扫码成功!',
|
||||
message: html,
|
||||
allowHtml: true,
|
||||
confirmButtonText: '确认',
|
||||
})
|
||||
.then(() => {
|
||||
putAction('/rawFabric/sign', { barcode: barcode.value, location: location.value, force: true }, { 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8' }).then((res2 : any) => {
|
||||
if (res2.code === 200) {
|
||||
showToast('入货架成功!')
|
||||
} else {
|
||||
showToast(res2.msg)
|
||||
}
|
||||
})
|
||||
})
|
||||
.catch(() => {
|
||||
location.value = ''
|
||||
barcode.value = ''
|
||||
});
|
||||
}
|
||||
} else if (res1.code === 7777) {
|
||||
//暂存
|
||||
let data = JSON.parse(res1.msg)
|
||||
let html = `
|
||||
<p>面料编号为<span style="color:red;font-size:18px">${barcode.value}</span>的<span style="color:red;font-size:18px">${data.category}</span>被暂存在检验室,是否确认移动到<span style="color:red;font-size:18px">${location.value}</span>?</p>
|
||||
`
|
||||
showConfirmDialog({
|
||||
message: html,
|
||||
allowHtml:true,
|
||||
confirmButtonText:'确认',
|
||||
showConfirmDialog({
|
||||
message: html,
|
||||
allowHtml: true,
|
||||
confirmButtonText: '确认',
|
||||
})
|
||||
.then(() => {
|
||||
putAction('/rawFabric/sign',{barcode:barcode.value,location:location.value,force:true},{'Content-Type':'application/x-www-form-urlencoded;charset=UTF-8'}).then((res2:any)=>{
|
||||
if(res2.code===200){
|
||||
showToast('入货架成功!')
|
||||
}else{
|
||||
showToast(res2.msg)
|
||||
}
|
||||
})
|
||||
})
|
||||
.catch(() => {
|
||||
location.value=''
|
||||
barcode.value=''
|
||||
});
|
||||
}else if(res1.code===200) {
|
||||
showConfirmDialog({
|
||||
title: '扫码成功,请扫描面料编号',
|
||||
message:'货架号:'+location.value,
|
||||
confirmButtonText:'扫一扫',
|
||||
.then(() => {
|
||||
putAction('/rawFabric/sign', { barcode: barcode.value, location: location.value, force: true }, { 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8' }).then((res2 : any) => {
|
||||
if (res2.code === 200) {
|
||||
showToast('入货架成功!')
|
||||
} else {
|
||||
showToast(res2.msg)
|
||||
}
|
||||
})
|
||||
})
|
||||
.catch(() => {
|
||||
location.value = ''
|
||||
barcode.value = ''
|
||||
});
|
||||
} else if (res1.code === 200) {
|
||||
let html = `
|
||||
<p>面料编号:<span style="color:red;font-size:18px">${barcode.value}</span></p>
|
||||
<p>面料名称:<span style="color:red;font-size:18px">${res1.data}</span></p>
|
||||
`
|
||||
showConfirmDialog({
|
||||
title: '扫码成功!',
|
||||
message: html,
|
||||
allowHtml: true,
|
||||
confirmButtonText: '扫一扫',
|
||||
})
|
||||
.then(() => {
|
||||
scanCode()
|
||||
})
|
||||
.catch(() => {
|
||||
location.value=''
|
||||
barcode.value=''
|
||||
});
|
||||
}else{
|
||||
showToast(res1.msg)
|
||||
}
|
||||
})
|
||||
}else{
|
||||
getAction('/shelves/isActive?code='+res).then((res1:any)=>{
|
||||
if(res1.code===200){
|
||||
if(res1.data){
|
||||
location.value=res
|
||||
showConfirmDialog({
|
||||
title: '扫码成功,请扫描面料编号',
|
||||
message:'货架号:'+location.value,
|
||||
confirmButtonText:'扫一扫',
|
||||
})
|
||||
.then(() => {
|
||||
scanCode()
|
||||
})
|
||||
.catch(() => {
|
||||
location.value=''
|
||||
barcode.value=''
|
||||
});
|
||||
}else{
|
||||
showToast('该库位码已被禁用,请联系管理员')
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
.then(() => {
|
||||
scanCode()
|
||||
})
|
||||
.catch(() => {
|
||||
location.value = ''
|
||||
barcode.value = ''
|
||||
});
|
||||
} else {
|
||||
showToast(res1.msg)
|
||||
}
|
||||
})
|
||||
} else {
|
||||
getAction('/shelves/isActive?code=' + res).then((res1 : any) => {
|
||||
if (res1.code === 200) {
|
||||
if (res1.data.active) {
|
||||
location.value = res
|
||||
let html=``
|
||||
res1.data.recommend.forEach((l:any)=>{
|
||||
html+=`
|
||||
<div>${l.fabricName}</div>
|
||||
`
|
||||
})
|
||||
html+=`
|
||||
<div>货架号:<span style="color:red;font-size:18px">${location.value}</span></div>
|
||||
`
|
||||
showConfirmDialog({
|
||||
title: '扫码成功,推荐放置面料',
|
||||
message: html,
|
||||
allowHtml: true,
|
||||
confirmButtonText: '扫一扫',
|
||||
})
|
||||
.then(() => {
|
||||
scanCode()
|
||||
})
|
||||
.catch(() => {
|
||||
location.value = ''
|
||||
barcode.value = ''
|
||||
});
|
||||
} else {
|
||||
showToast('该库位码已被禁用,请联系管理员')
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
function handleFail(err) {
|
||||
uni.showModal({
|
||||
title: err.errName,
|
||||
content: err.errMsg,
|
||||
complete: () => {
|
||||
h5ScanCode.value = false;
|
||||
},
|
||||
});
|
||||
uni.showModal({
|
||||
title: err.errName,
|
||||
content: err.errMsg,
|
||||
complete: () => {
|
||||
h5ScanCode.value = false;
|
||||
},
|
||||
});
|
||||
}
|
||||
function handleClose() {
|
||||
h5ScanCode.value = false;
|
||||
h5ScanCode.value = false;
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
.btn {
|
||||
padding: 15px 0;
|
||||
margin: 10px 50rpx;
|
||||
background-color: #35a5f7;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
|
||||
.flex {
|
||||
font-size: 16px;
|
||||
}
|
||||
::v-deep .van-dialog__message{
|
||||
white-space:normal;
|
||||
|
||||
}
|
||||
</style>
|
@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
|
||||
import { onMounted, ref } from 'vue'
|
||||
import { onMounted, ref, watch } from 'vue'
|
||||
import { deleteAction, getAction, postAction, putAction } from '../../common/http';
|
||||
import { showToast } from 'vant';
|
||||
|
||||
@ -14,13 +14,17 @@ onMounted(()=>{
|
||||
})
|
||||
|
||||
const init=()=>{
|
||||
getAction('/suppliers',{page:1,size:100}).then((res:any)=>{
|
||||
getAction('/suppliers',{page:1,size:100,name:name.value}).then((res:any)=>{
|
||||
if(res.code===200){
|
||||
list.value=res.data.record
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
watch(name,()=>{
|
||||
init()
|
||||
})
|
||||
|
||||
const onClickLeft = () =>{
|
||||
history.back()
|
||||
}
|
||||
@ -140,12 +144,14 @@ const del=(item:any)=>{
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
overflow-y: hidden;
|
||||
.van-nav-bar{
|
||||
width: 100%;
|
||||
}
|
||||
.content{
|
||||
flex: 1;
|
||||
padding: 0 10px;
|
||||
overflow-y: scroll;
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 3fr 1.5fr 2fr;
|
||||
|
@ -48,6 +48,7 @@ const onClickRight=()=>{
|
||||
}
|
||||
const edit = (item:any) =>{
|
||||
form.value=JSON.parse(JSON.stringify(item))
|
||||
form.value.active=item.active?'true':'false'
|
||||
form.value.addressInfo=item.provence?item.provence+'/'+item.city+'/'+item.district:''
|
||||
showPop.value=true
|
||||
}
|
||||
@ -168,8 +169,8 @@ const cancel = () =>{
|
||||
class="nonBom">
|
||||
<template #input>
|
||||
<van-radio-group v-model="form.active" direction="horizontal">
|
||||
<van-radio :name="true">启用</van-radio>
|
||||
<van-radio :name="false">禁用</van-radio>
|
||||
<van-radio name="true">启用</van-radio>
|
||||
<van-radio name="false">禁用</van-radio>
|
||||
</van-radio-group>
|
||||
</template>
|
||||
</van-field>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -58,7 +58,7 @@
|
||||
}
|
||||
let param = {
|
||||
page: currentPage.value,
|
||||
size: 10,
|
||||
size: 20,
|
||||
...a
|
||||
}
|
||||
getAction('/rawFabricLog', param).then((res : any) => {
|
||||
@ -182,18 +182,18 @@
|
||||
<template>
|
||||
<view class="flex">
|
||||
<van-nav-bar title="白胚出入库记录" left-text="返回" left-arrow @click-left="onClickLeft"/>
|
||||
<van-cell-group inset style="display: flex;">
|
||||
<van-cell-group style="display: flex;">
|
||||
<van-field v-model="form.startDate" name="开始时间" label="开始时间" colon class="bor" label-width="5em" readonly
|
||||
@click="chooseDate('startDate')" :rules="[{ required: true, message: '请填写' }]" />
|
||||
<van-field v-model="form.endDate" name="截止时间" label="截止时间" colon class="bor" label-width="5em" readonly
|
||||
@click="chooseDate('endDate')" />
|
||||
</van-cell-group>
|
||||
<van-cell-group inset style="display: flex;">
|
||||
<van-cell-group style="display: flex;">
|
||||
<van-field v-model="form.fabricName" name="面料名称" label="面料名称" colon class="bor" label-width="5em" readonly
|
||||
@click="selectChoose" />
|
||||
<van-field v-model="form.barcode" name="面料编号" label="面料编号" colon class="bor-a" label-width="5em" />
|
||||
</van-cell-group>
|
||||
<van-cell-group inset style="display: flex;">
|
||||
<van-cell-group style="display: flex;">
|
||||
<van-field v-model="form.len" name="面料米数" label="面料米数" colon class="bor-a" label-width="5em" />
|
||||
<van-field v-model="form.flow" name="面料位置" label="面料位置" colon class="bor-a" label-width="5em" />
|
||||
</van-cell-group>
|
||||
@ -201,7 +201,7 @@
|
||||
<view class="grid-container">
|
||||
<view class="grid-item">操作时间<br>操作人</view>
|
||||
<view class="grid-item">面料名称<br>面料编号</view>
|
||||
<view class="grid-item">面料米数</view>
|
||||
<view class="grid-item">操作米数</view>
|
||||
<view class="grid-item">操作<br>流向</view>
|
||||
</view>
|
||||
<view class="content">
|
||||
@ -251,28 +251,28 @@
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
overflow-y: hidden;
|
||||
|
||||
.van-nav-bar {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 1.6fr 1.3fr 1.5fr;
|
||||
padding: 0 15rpx;
|
||||
|
||||
.grid-item {
|
||||
border: 1rpx solid #f2f2f2;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 5rpx;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
flex: 1;
|
||||
}
|
||||
.content {
|
||||
flex: 1;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 1.6fr 1.3fr 1.5fr;
|
||||
padding: 0 15rpx;
|
||||
|
||||
.grid-item {
|
||||
border: 1rpx solid #f2f2f2;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 5rpx;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -120,11 +120,11 @@
|
||||
></div>
|
||||
</template>
|
||||
</template>
|
||||
<template v-else>
|
||||
<!-- <template v-else>
|
||||
<div class="load-container">
|
||||
<div class="box-loading"></div>
|
||||
</div>
|
||||
</template>
|
||||
</template> -->
|
||||
</qrcode-stream>
|
||||
</div>
|
||||
</template>
|
||||
|
BIN
unpackage/dist/build/web.zip
vendored
BIN
unpackage/dist/build/web.zip
vendored
Binary file not shown.
1
unpackage/dist/build/web/assets/cshaptx4869-scancode-B27kGdJz.css
vendored
Normal file
1
unpackage/dist/build/web/assets/cshaptx4869-scancode-B27kGdJz.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.cshaptx4869-scancode[data-v-3e3ca6b0]{position:fixed;top:0;bottom:0;left:0;right:0;z-index:999}.cshaptx4869-scancode .closebtn[data-v-3e3ca6b0]{position:absolute;top:1.25rem;left:.9375rem;z-index:99}.cshaptx4869-scancode .camera[data-v-3e3ca6b0]{position:absolute;top:1.25rem;right:.9375rem;z-index:99}.cshaptx4869-scancode .flashlight[data-v-3e3ca6b0]{position:absolute;bottom:3.125rem;left:50%;transform:translate(-50%);z-index:99}.cshaptx4869-scancode .scanline[data-v-3e3ca6b0]{height:100%;width:100%;background:linear-gradient(180deg,rgba(0,255,51,0) 43%,#06ae57 211%);animation:scan-3e3ca6b0 2s linear infinite}@keyframes scan-3e3ca6b0{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.cshaptx4869-scancode .load-container[data-v-3e3ca6b0]{position:relative;width:100%;height:100%;background-color:#fff}.cshaptx4869-scancode .load-container .box-loading[data-v-3e3ca6b0]{width:3.125rem;height:3.125rem;margin:auto;position:absolute;left:0;right:0;top:0;bottom:0}.cshaptx4869-scancode .load-container .box-loading[data-v-3e3ca6b0]:before{content:"";width:3.125rem;height:.3125rem;background:#000;opacity:.1;position:absolute;top:3.6875rem;left:0;border-radius:50%;animation:shadow-3e3ca6b0 .5s linear infinite}.cshaptx4869-scancode .load-container .box-loading[data-v-3e3ca6b0]:after{content:"";width:3.125rem;height:3.125rem;background:#06ae57;animation:animate-3e3ca6b0 .5s linear infinite;position:absolute;top:0;left:0;border-radius:.1875rem}@keyframes animate-3e3ca6b0{17%{border-bottom-right-radius:.1875rem}25%{transform:translateY(.5625rem) rotate(22.5deg)}50%{transform:translateY(1.125rem) scaleY(.9) rotate(45deg);border-bottom-right-radius:2.5rem}75%{transform:translateY(.5625rem) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@keyframes shadow-3e3ca6b0{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}
|
@ -1 +0,0 @@
|
||||
.cshaptx4869-scancode[data-v-d79efdb8]{position:fixed;top:0;bottom:0;left:0;right:0;z-index:999}.cshaptx4869-scancode .closebtn[data-v-d79efdb8]{position:absolute;top:1.25rem;left:.9375rem;z-index:99}.cshaptx4869-scancode .camera[data-v-d79efdb8]{position:absolute;top:1.25rem;right:.9375rem;z-index:99}.cshaptx4869-scancode .flashlight[data-v-d79efdb8]{position:absolute;bottom:3.125rem;left:50%;transform:translate(-50%);z-index:99}.cshaptx4869-scancode .scanline[data-v-d79efdb8]{height:100%;width:100%;background:linear-gradient(180deg,rgba(0,255,51,0) 43%,#06ae57 211%);animation:scan-d79efdb8 2s linear infinite}@keyframes scan-d79efdb8{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.cshaptx4869-scancode .load-container[data-v-d79efdb8]{position:relative;width:100%;height:100%;background-color:#fff}.cshaptx4869-scancode .load-container .box-loading[data-v-d79efdb8]{width:3.125rem;height:3.125rem;margin:auto;position:absolute;left:0;right:0;top:0;bottom:0}.cshaptx4869-scancode .load-container .box-loading[data-v-d79efdb8]:before{content:"";width:3.125rem;height:.3125rem;background:#000;opacity:.1;position:absolute;top:3.6875rem;left:0;border-radius:50%;animation:shadow-d79efdb8 .5s linear infinite}.cshaptx4869-scancode .load-container .box-loading[data-v-d79efdb8]:after{content:"";width:3.125rem;height:3.125rem;background:#06ae57;animation:animate-d79efdb8 .5s linear infinite;position:absolute;top:0;left:0;border-radius:.1875rem}@keyframes animate-d79efdb8{17%{border-bottom-right-radius:.1875rem}25%{transform:translateY(.5625rem) rotate(22.5deg)}50%{transform:translateY(1.125rem) scaleY(.9) rotate(45deg);border-bottom-right-radius:2.5rem}75%{transform:translateY(.5625rem) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@keyframes shadow-d79efdb8{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{Y as o,Z as l,_ as t,$ as e,k as n,a0 as s,a1 as a}from"./index-BmnJ93Po.js";let c;let r=o({},{title:"",width:"",theme:null,message:"",overlay:!0,callback:null,teleport:"body",className:"",allowHtml:!1,lockScroll:!0,transition:void 0,beforeClose:null,overlayClass:"",overlayStyle:void 0,messageAlign:"",cancelButtonText:"",cancelButtonColor:null,cancelButtonDisabled:!1,confirmButtonText:"",confirmButtonColor:null,confirmButtonDisabled:!1,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1});function i(i){return l?new Promise(((l,u)=>{c||function(){const o={setup(){const{state:o,toggle:l}=e();return()=>n(a,s(o,{"onUpdate:show":l}),null)}};({instance:c}=t(o))}(),c.open(o({},r,i,{callback:o=>{("confirm"===o?l:u)(o)}}))})):Promise.resolve(void 0)}const u=l=>i(o({showCancelButton:!0},l));export{u as s};
|
||||
import{Y as o,Z as l,_ as t,$ as e,k as n,a0 as s,a1 as a}from"./index-D2NElrYl.js";let c;let r=o({},{title:"",width:"",theme:null,message:"",overlay:!0,callback:null,teleport:"body",className:"",allowHtml:!1,lockScroll:!0,transition:void 0,beforeClose:null,overlayClass:"",overlayStyle:void 0,messageAlign:"",cancelButtonText:"",cancelButtonColor:null,cancelButtonDisabled:!1,confirmButtonText:"",confirmButtonColor:null,confirmButtonDisabled:!1,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1});function i(i){return l?new Promise(((l,u)=>{c||function(){const o={setup(){const{state:o,toggle:l}=e();return()=>n(a,s(o,{"onUpdate:show":l}),null)}};({instance:c}=t(o))}(),c.open(o({},r,i,{callback:o=>{("confirm"===o?l:u)(o)}}))})):Promise.resolve(void 0)}const u=l=>i(o({showCancelButton:!0},l));export{u as s};
|
File diff suppressed because one or more lines are too long
25
unpackage/dist/build/web/assets/index-D2NElrYl.js
vendored
Normal file
25
unpackage/dist/build/web/assets/index-D2NElrYl.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{O as a,P as e,Q as t,H as s,R as r,a as o,q as i}from"./index-BmnJ93Po.js";const d="/api",c="",n="/mes",l="/mes";function u(u,f,p={},m={}){return new Promise(((g,h)=>{const T=a("token"),E={"Content-Type":"application/json;charset=UTF-8",Authorization:"Bearer "+T},P=Object.assign({},E,m);let b="";b=u.includes("/v1")?c:"/fabric/info/all"===u||"/color/list"===u||u.includes("/fabric/info/craftPrice")?n:u.includes("fabric/craft")?l:d,"/upload"===u?e({url:b+u,file:p,header:{Authorization:"Bearer "+T},success:a=>{let e=JSON.parse(a.data);g(e)}}):t({url:b+u,method:f,data:p,header:P,success:a=>{var e;a.data&&200===a.data.code?g(a.data):a.data&&401===a.data.code?(s({icon:"error",title:"登录过期!"}),r(),o({url:"/pages/login/login"}),h(new Error("请求失败: "+(a.data&&(null==(e=a.data)?void 0:e.message)||"未知错误")))):a.data&&401===a.data.code?s({icon:"error",title:"暂无权限!"}):7778===a.data.code||7777===a.data.code?g(a.data):i(a.data.msg)},fail:a=>{h(a)}})}))}const f=(a,e={},t={})=>u(a,"POST",e,t),p=(a,e={},t={})=>u(a,"GET",e,t),m=(a,e={},t={})=>u(a,"PUT",e,t),g=(a,e={},t={})=>u(a,"DELETE",e,t),h=(a,e={})=>u(a,"",e);export{m as a,g as d,p as g,f as p,h as u};
|
||||
import{O as a,P as e,Q as t,H as s,R as r,a as o,q as i}from"./index-D2NElrYl.js";const d="/api",c="",n="/mes",l="/mes";function u(u,f,p={},m={}){return new Promise(((g,h)=>{const T=a("token"),E={"Content-Type":"application/json;charset=UTF-8",Authorization:"Bearer "+T},P=Object.assign({},E,m);let b="";b=u.includes("/v1")?c:"/fabric/info/all"===u||"/color/list"===u||u.includes("/fabric/info/craftPrice")?n:u.includes("fabric/craft")?l:d,"/upload"===u?e({url:b+u,file:p,header:{Authorization:"Bearer "+T},success:a=>{let e=JSON.parse(a.data);g(e)}}):t({url:b+u,method:f,data:p,header:P,success:a=>{var e;a.data&&200===a.data.code?g(a.data):a.data&&401===a.data.code?(s({icon:"error",title:"登录过期!"}),r(),o({url:"/pages/login/login"}),h(new Error("请求失败: "+(a.data&&(null==(e=a.data)?void 0:e.message)||"未知错误")))):a.data&&401===a.data.code?s({icon:"error",title:"暂无权限!"}):7778===a.data.code||7777===a.data.code?g(a.data):i(a.data.msg)},fail:a=>{h(a)}})}))}const f=(a,e={},t={})=>u(a,"POST",e,t),p=(a,e={},t={})=>u(a,"GET",e,t),m=(a,e={},t={})=>u(a,"PUT",e,t),g=(a,e={},t={})=>u(a,"DELETE",e,t),h=(a,e={})=>u(a,"",e);export{m as a,g as d,p as g,f as p,h as u};
|
@ -1 +0,0 @@
|
||||
.flex[data-v-5d61d7a9]{display:flex;flex-direction:column;height:100vh;width:100vw}.flex .van-nav-bar[data-v-5d61d7a9]{width:100%}.flex .grid-container[data-v-5d61d7a9]{display:grid;grid-template-columns:2fr 1.6fr 1fr;padding:0 .46875rem}.flex .grid-container .grid-item[data-v-5d61d7a9]{border:.03125rem solid #f2f2f2;display:flex;align-items:center;justify-content:center;padding:.15625rem}.flex .content[data-v-5d61d7a9]{flex:1}[data-v-5d61d7a9] .van-cell{padding:5px!important}[data-v-5d61d7a9] .van-field{font-size:16px}.bor[data-v-5d61d7a9] .van-field__control{border:1px solid #d7d7d7;text-align:center}.bor[data-v-5d61d7a9] .van-field__label{margin:0}.bor-a[data-v-5d61d7a9] .van-field__control{border-bottom:1px solid #d7d7d7;text-align:center}.bor-a[data-v-5d61d7a9] .van-field__label{margin:0}[data-v-5d61d7a9] .van-button--normal{padding:5px 8px;height:30px}[data-v-5d61d7a9] .van-field__control{text-align:center}.footer-button[data-v-5d61d7a9]{margin:20px;display:flex;justify-content:space-around}
|
1
unpackage/dist/build/web/assets/listSearch-Cmk9SYLC.css
vendored
Normal file
1
unpackage/dist/build/web/assets/listSearch-Cmk9SYLC.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.flex[data-v-88630125]{display:flex;flex-direction:column;height:100vh;width:100vw;overflow:hidden}.flex .van-nav-bar[data-v-88630125]{width:100%}.flex .grid-container[data-v-88630125]{display:grid;grid-template-columns:2fr 1.6fr 1.6fr 1fr;padding:0 .46875rem}.flex .grid-container .grid-item[data-v-88630125]{border:.03125rem solid #f2f2f2;display:flex;align-items:center;justify-content:center;padding:.15625rem}.flex .content[data-v-88630125]{flex:1;overflow-y:scroll}[data-v-88630125] .van-cell{padding:5px!important}[data-v-88630125] .van-field{font-size:16px}.bor[data-v-88630125] .van-field__control{border:1px solid #d7d7d7;text-align:center}.bor[data-v-88630125] .van-field__label{margin:0}.bor-a[data-v-88630125] .van-field__control{border-bottom:1px solid #d7d7d7;text-align:center}.bor-a[data-v-88630125] .van-field__label{margin:0}[data-v-88630125] .van-button--normal{padding:5px 8px;height:30px}[data-v-88630125] .van-field__control{text-align:center}.footer-button[data-v-88630125]{margin:20px;display:flex;justify-content:space-around}
|
1
unpackage/dist/build/web/assets/pages-Delivery-Delivery.CS7z32R2.js
vendored
Normal file
1
unpackage/dist/build/web/assets/pages-Delivery-Delivery.CS7z32R2.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/assets/pages-colorBlank-colorBlank.BOd9f-rH.js
vendored
Normal file
1
unpackage/dist/build/web/assets/pages-colorBlank-colorBlank.BOd9f-rH.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{d as e,r as a,o as l,j as t,b as s,e as n,k as i,w as u,m as d,F as o,f as r,l as c,t as m,q as f,i as v,c as p}from"./index-BmnJ93Po.js";import{g as _,a as h,p as g,d as b}from"./index.BXTZ2GXu.js";import{s as y}from"./function-call.BxuSyXbr.js";import{_ as k}from"./_plugin-vue_export-helper.BCo6x5W8.js";const x=k(e({__name:"defect",setup(e){const k=a(!1),x=a([]),w=a({});l((()=>{C()}));const C=()=>{_("/blemish",{page:1,size:100}).then((e=>{200===e.code&&(x.value=e.data.record)}))},j=()=>{history.back()},S=()=>{w.value={},k.value=!0},V=()=>{w.value.id?h("/blemish",w.value).then((e=>{200===e.code&&(C(),k.value=!1,f("提交成功!"))})):g("/blemish",w.value).then((e=>{200===e.code&&(C(),k.value=!1,f("提交成功!"))}))};return(e,a)=>{const l=t("van-nav-bar"),_=v,h=t("van-field"),g=t("van-cell-group"),q=t("van-button"),I=t("van-form"),J=t("van-popup");return s(),n(o,null,[i(_,{class:"flex"},{default:u((()=>[i(l,{title:"色胚质检瑕疵维护","left-text":"返回","left-arrow":"","right-text":"新增",onClickLeft:j,onClickRight:S}),i(_,{class:"content"},{default:u((()=>[i(_,{class:"grid-container"},{default:u((()=>[i(_,{class:"grid-item"},{default:u((()=>[d("编号")])),_:1}),i(_,{class:"grid-item"},{default:u((()=>[d("瑕疵名称")])),_:1}),i(_,{class:"grid-item"},{default:u((()=>[d("操作")])),_:1})])),_:1}),(s(!0),n(o,null,r(x.value,((e,a)=>(s(),p(_,{class:"grid-container",key:a},{default:u((()=>[i(_,{class:"grid-item"},{default:u((()=>[d(m(e.id),1)])),_:2},1024),i(_,{class:"grid-item"},{default:u((()=>[d(m(e.name),1)])),_:2},1024),i(_,{class:"grid-item"},{default:u((()=>[c("span",{style:{color:"#35a5f7"},onClick:a=>(e=>{w.value=JSON.parse(JSON.stringify(e)),k.value=!0})(e)},"编辑",8,["onClick"]),d(" "),c("span",{style:{color:"red"},onClick:a=>(e=>{y({title:"提示",message:"是否确认删除?"}).then((()=>{let a="/blemish/"+e.id;b(a).then((e=>{200===e.code&&(C(),f("删除成功!"))}))})).catch((()=>{}))})(e)},"删除 ",8,["onClick"])])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1}),i(J,{show:k.value,"onUpdate:show":a[2]||(a[2]=e=>k.value=e),style:{width:"80%"},round:""},{default:u((()=>[i(_,null,{default:u((()=>[c("h3",{style:{"text-align":"center"}},m(w.value.id?"编辑":"新增"),1),i(I,{onSubmit:V},{default:u((()=>[i(g,{inset:""},{default:u((()=>[i(h,{modelValue:w.value.name,"onUpdate:modelValue":a[0]||(a[0]=e=>w.value.name=e),name:"瑕疵名称",label:"瑕疵名称",colon:"","label-width":"5em",rules:[{required:!0,message:"请填写"}]},null,8,["modelValue"])])),_:1}),i(_,{class:"a-c"},{default:u((()=>[i(q,{type:"danger",onClick:a[1]||(a[1]=e=>k.value=!1)},{default:u((()=>[d("取消")])),_:1}),i(q,{type:"primary","native-type":"submit"},{default:u((()=>[d("确认")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},8,["show"])],64)}}}),[["__scopeId","data-v-a1352a28"]]);export{x as default};
|
||||
import{d as e,r as a,o as l,j as t,b as s,e as n,k as i,w as u,m as d,F as o,f as r,l as c,t as m,q as f,i as v,c as p}from"./index-D2NElrYl.js";import{g as _,a as h,p as g,d as b}from"./index.Cv2D9Hyi.js";import{s as y}from"./function-call.DSHj1ZhI.js";import{_ as k}from"./_plugin-vue_export-helper.BCo6x5W8.js";const x=k(e({__name:"defect",setup(e){const k=a(!1),x=a([]),w=a({});l((()=>{C()}));const C=()=>{_("/blemish",{page:1,size:100}).then((e=>{200===e.code&&(x.value=e.data.record)}))},j=()=>{history.back()},S=()=>{w.value={},k.value=!0},V=()=>{w.value.id?h("/blemish",w.value).then((e=>{200===e.code&&(C(),k.value=!1,f("提交成功!"))})):g("/blemish",w.value).then((e=>{200===e.code&&(C(),k.value=!1,f("提交成功!"))}))};return(e,a)=>{const l=t("van-nav-bar"),_=v,h=t("van-field"),g=t("van-cell-group"),q=t("van-button"),I=t("van-form"),J=t("van-popup");return s(),n(o,null,[i(_,{class:"flex"},{default:u((()=>[i(l,{title:"色胚质检瑕疵维护","left-text":"返回","left-arrow":"","right-text":"新增",onClickLeft:j,onClickRight:S}),i(_,{class:"content"},{default:u((()=>[i(_,{class:"grid-container"},{default:u((()=>[i(_,{class:"grid-item"},{default:u((()=>[d("编号")])),_:1}),i(_,{class:"grid-item"},{default:u((()=>[d("瑕疵名称")])),_:1}),i(_,{class:"grid-item"},{default:u((()=>[d("操作")])),_:1})])),_:1}),(s(!0),n(o,null,r(x.value,((e,a)=>(s(),p(_,{class:"grid-container",key:a},{default:u((()=>[i(_,{class:"grid-item"},{default:u((()=>[d(m(e.id),1)])),_:2},1024),i(_,{class:"grid-item"},{default:u((()=>[d(m(e.name),1)])),_:2},1024),i(_,{class:"grid-item"},{default:u((()=>[c("span",{style:{color:"#35a5f7"},onClick:a=>(e=>{w.value=JSON.parse(JSON.stringify(e)),k.value=!0})(e)},"编辑",8,["onClick"]),d(" "),c("span",{style:{color:"red"},onClick:a=>(e=>{y({title:"提示",message:"是否确认删除?"}).then((()=>{let a="/blemish/"+e.id;b(a).then((e=>{200===e.code&&(C(),f("删除成功!"))}))})).catch((()=>{}))})(e)},"删除 ",8,["onClick"])])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1}),i(J,{show:k.value,"onUpdate:show":a[2]||(a[2]=e=>k.value=e),style:{width:"80%"},round:""},{default:u((()=>[i(_,null,{default:u((()=>[c("h3",{style:{"text-align":"center"}},m(w.value.id?"编辑":"新增"),1),i(I,{onSubmit:V},{default:u((()=>[i(g,{inset:""},{default:u((()=>[i(h,{modelValue:w.value.name,"onUpdate:modelValue":a[0]||(a[0]=e=>w.value.name=e),name:"瑕疵名称",label:"瑕疵名称",colon:"","label-width":"5em",rules:[{required:!0,message:"请填写"}]},null,8,["modelValue"])])),_:1}),i(_,{class:"a-c"},{default:u((()=>[i(q,{type:"danger",onClick:a[1]||(a[1]=e=>k.value=!1)},{default:u((()=>[d("取消")])),_:1}),i(q,{type:"primary","native-type":"submit"},{default:u((()=>[d("确认")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},8,["show"])],64)}}}),[["__scopeId","data-v-a1352a28"]]);export{x as default};
|
@ -1 +1 @@
|
||||
import{d as e,r as a,o as l,j as t,b as n,c as o,w as s,k as d,e as i,f as u,F as r,m as c,q as m,i as p}from"./index-BmnJ93Po.js";import{g as f,a as _}from"./index.BXTZ2GXu.js";import{_ as g}from"./_plugin-vue_export-helper.BCo6x5W8.js";const y=g(e({__name:"physical",setup(e){const g=a([]);function y(){f("/extraOption").then((e=>{200===e.code&&(g.value=JSON.parse(e.data.payload))}))}l((()=>{y()}));const V=()=>{history.back()},v=()=>{g.value.push({options:[{}]})},h=()=>{let e={id:1,payload:JSON.stringify(g.value)};_("/extraOption",e).then((e=>{200===e.code&&(m("提交成功!"),y())}))};return(e,a)=>{const l=t("van-nav-bar"),m=t("van-icon"),f=t("van-field"),_=t("van-button"),y=p,k=t("van-radio"),x=t("van-radio-group"),b=t("van-cell-group"),U=t("van-checkbox");return n(),o(y,{class:"flex"},{default:s((()=>[d(l,{title:"理化报告维护","left-text":"返回","left-arrow":"","right-text":"新增",onClickLeft:V,onClickRight:v}),d(y,{class:"content"},{default:s((()=>[(n(!0),i(r,null,u(g.value,((e,a)=>(n(),o(y,{class:"card",key:a},{default:s((()=>[d(b,{inset:""},{default:s((()=>[d(y,{class:"a-b"},{default:s((()=>[d(m,{name:"clear",color:"red",size:"25",onClick:e=>g.value.splice(a,1)},null,8,["onClick"]),d(f,{modelValue:e.name,"onUpdate:modelValue":a=>e.name=a,name:"项目名称",label:"项目名称",colon:"",class:"a-c","label-width":"6em",rules:[{required:!0,message:"请填写"}]},null,8,["modelValue","onUpdate:modelValue"]),d(_,{type:"primary",onClick:a=>(e=>{e.options.push({})})(e)},{default:s((()=>[c("新增选项")])),_:2},1032,["onClick"])])),_:2},1024),d(y,{style:{display:"flex","align-items":"center",margin:"10px 0"}},{default:s((()=>[d(y,{style:{width:"80%"}},{default:s((()=>[d(f,{modelValue:e.name1,"onUpdate:modelValue":a=>e.name1=a,name:"标准值",label:"标准值",colon:"",class:"a-c","label-width":"3.5em",rules:[{required:!0,message:"请填写"}]},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),d(f,{name:"是否必填",label:"是否必填",colon:"","label-width":"4.5em"},{input:s((()=>[d(x,{modelValue:e.necessary,"onUpdate:modelValue":a=>e.necessary=a,direction:"horizontal"},{default:s((()=>[d(k,{name:!0},{default:s((()=>[c("是")])),_:1}),d(k,{name:!1},{default:s((()=>[c("否")])),_:1})])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:2},1024)])),_:2},1024)])),_:2},1024),d(y,{class:"grid-container"},{default:s((()=>[d(y,{class:"grid-item"}),d(y,{class:"grid-item"},{default:s((()=>[c("内容")])),_:1}),d(y,{class:"grid-item"},{default:s((()=>[c("是否符合")])),_:1}),d(y,{class:"grid-item"},{default:s((()=>[c("操作")])),_:1})])),_:1}),(n(!0),i(r,null,u(e.options,((a,l)=>(n(),o(y,{class:"grid-container",key:l},{default:s((()=>[d(y,{class:"grid-item"},{default:s((()=>[c("选项")])),_:1}),d(y,{class:"grid-item"},{default:s((()=>[d(f,{modelValue:a.name,"onUpdate:modelValue":e=>a.name=e},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),d(y,{class:"grid-item",style:{display:"flex","align-items":"center","justify-content":"center"}},{default:s((()=>[d(U,{modelValue:a.default,"onUpdate:modelValue":e=>a.default=e,name:!0},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),d(y,{class:"grid-item",style:{color:"red"},onClick:a=>e.options.splice(l,1)},{default:s((()=>[c("删除")])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:2},1024)))),128))])),_:1}),d(_,{type:"primary",style:{margin:"10rpx"},onClick:h},{default:s((()=>[c("提交")])),_:1})])),_:1})}}}),[["__scopeId","data-v-587a8c3b"]]);export{y as default};
|
||||
import{d as e,r as a,o as l,j as t,b as n,c as o,w as s,k as d,e as i,f as u,F as r,m as c,q as m,i as p}from"./index-D2NElrYl.js";import{g as f,a as _}from"./index.Cv2D9Hyi.js";import{_ as g}from"./_plugin-vue_export-helper.BCo6x5W8.js";const y=g(e({__name:"physical",setup(e){const g=a([]);function y(){f("/extraOption").then((e=>{200===e.code&&(g.value=JSON.parse(e.data.payload))}))}l((()=>{y()}));const V=()=>{history.back()},v=()=>{g.value.push({options:[{}]})},h=()=>{let e={id:1,payload:JSON.stringify(g.value)};_("/extraOption",e).then((e=>{200===e.code&&(m("提交成功!"),y())}))};return(e,a)=>{const l=t("van-nav-bar"),m=t("van-icon"),f=t("van-field"),_=t("van-button"),y=p,k=t("van-radio"),x=t("van-radio-group"),b=t("van-cell-group"),U=t("van-checkbox");return n(),o(y,{class:"flex"},{default:s((()=>[d(l,{title:"理化报告维护","left-text":"返回","left-arrow":"","right-text":"新增",onClickLeft:V,onClickRight:v}),d(y,{class:"content"},{default:s((()=>[(n(!0),i(r,null,u(g.value,((e,a)=>(n(),o(y,{class:"card",key:a},{default:s((()=>[d(b,{inset:""},{default:s((()=>[d(y,{class:"a-b"},{default:s((()=>[d(m,{name:"clear",color:"red",size:"25",onClick:e=>g.value.splice(a,1)},null,8,["onClick"]),d(f,{modelValue:e.name,"onUpdate:modelValue":a=>e.name=a,name:"项目名称",label:"项目名称",colon:"",class:"a-c","label-width":"6em",rules:[{required:!0,message:"请填写"}]},null,8,["modelValue","onUpdate:modelValue"]),d(_,{type:"primary",onClick:a=>(e=>{e.options.push({})})(e)},{default:s((()=>[c("新增选项")])),_:2},1032,["onClick"])])),_:2},1024),d(y,{style:{display:"flex","align-items":"center",margin:"10px 0"}},{default:s((()=>[d(y,{style:{width:"80%"}},{default:s((()=>[d(f,{modelValue:e.name1,"onUpdate:modelValue":a=>e.name1=a,name:"标准值",label:"标准值",colon:"",class:"a-c","label-width":"3.5em",rules:[{required:!0,message:"请填写"}]},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),d(f,{name:"是否必填",label:"是否必填",colon:"","label-width":"4.5em"},{input:s((()=>[d(x,{modelValue:e.necessary,"onUpdate:modelValue":a=>e.necessary=a,direction:"horizontal"},{default:s((()=>[d(k,{name:!0},{default:s((()=>[c("是")])),_:1}),d(k,{name:!1},{default:s((()=>[c("否")])),_:1})])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:2},1024)])),_:2},1024)])),_:2},1024),d(y,{class:"grid-container"},{default:s((()=>[d(y,{class:"grid-item"}),d(y,{class:"grid-item"},{default:s((()=>[c("内容")])),_:1}),d(y,{class:"grid-item"},{default:s((()=>[c("是否符合")])),_:1}),d(y,{class:"grid-item"},{default:s((()=>[c("操作")])),_:1})])),_:1}),(n(!0),i(r,null,u(e.options,((a,l)=>(n(),o(y,{class:"grid-container",key:l},{default:s((()=>[d(y,{class:"grid-item"},{default:s((()=>[c("选项")])),_:1}),d(y,{class:"grid-item"},{default:s((()=>[d(f,{modelValue:a.name,"onUpdate:modelValue":e=>a.name=e},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),d(y,{class:"grid-item",style:{display:"flex","align-items":"center","justify-content":"center"}},{default:s((()=>[d(U,{modelValue:a.default,"onUpdate:modelValue":e=>a.default=e,name:!0},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),d(y,{class:"grid-item",style:{color:"red"},onClick:a=>e.options.splice(l,1)},{default:s((()=>[c("删除")])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:2},1024)))),128))])),_:1}),d(_,{type:"primary",style:{margin:"10rpx"},onClick:h},{default:s((()=>[c("提交")])),_:1})])),_:1})}}}),[["__scopeId","data-v-587a8c3b"]]);export{y as default};
|
@ -1 +1 @@
|
||||
import{d as e,r as a,o as l,j as t,b as o,c as n,w as d,k as s,e as u,f as i,F as m,m as r,q as c,i as p,h as f}from"./index-BmnJ93Po.js";import{g as _,a as y}from"./index.BXTZ2GXu.js";import{_ as V}from"./_plugin-vue_export-helper.BCo6x5W8.js";const g=V(e({__name:"quality",setup(e){const V=a([]);function g(){_("/testItem").then((e=>{200===e.code&&(V.value=JSON.parse(e.data.payload))}))}l((()=>{g()}));const h=()=>{history.back()},b=()=>{V.value.push({options:[{}]})},k=()=>{let e={id:1,payload:JSON.stringify(V.value)};y("/testItem",e).then((e=>{200===e.code&&(c("提交成功!"),g())}))};return(e,a)=>{const l=t("van-nav-bar"),c=t("van-icon"),_=t("van-field"),y=t("van-button"),g=p,v=t("van-radio"),x=t("van-radio-group"),U=t("van-cell-group"),C=t("van-checkbox"),w=t("van-checkbox-group");return o(),n(g,{class:"flex"},{default:d((()=>[s(l,{title:"色胚质检项维护","left-text":"返回","left-arrow":"","right-text":"新增",onClickLeft:h,onClickRight:b}),s(g,{class:"content"},{default:d((()=>[(o(!0),u(m,null,i(V.value,((e,a)=>(o(),n(g,{class:"card",key:a},{default:d((()=>[s(U,{inset:""},{default:d((()=>[s(g,{class:"a-b"},{default:d((()=>[s(c,{name:"clear",color:"red",size:"25",onClick:e=>V.value.splice(a,1)},null,8,["onClick"]),s(_,{modelValue:e.name,"onUpdate:modelValue":a=>e.name=a,name:"质检项名称",label:"质检项名称",colon:"",class:"a-c","label-width":"6em",rules:[{required:!0,message:"请填写"}]},null,8,["modelValue","onUpdate:modelValue"]),s(y,{type:"primary",onClick:a=>(e=>{e.options.push({})})(e)},{default:d((()=>[r("新增选项")])),_:2},1032,["onClick"])])),_:2},1024),s(_,{label:" ","label-width":"7.5em",style:{margin:"15rpx 0"}},{input:d((()=>[s(x,{modelValue:e.type,"onUpdate:modelValue":a=>e.type=a,direction:"horizontal"},{default:d((()=>[s(v,{name:"Text"},{default:d((()=>[r("填空")])),_:1}),s(v,{name:"Select"},{default:d((()=>[r("选择")])),_:1})])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:2},1024),s(_,{name:"是否必填",label:"是否必填",colon:"","label-width":"7.5em"},{input:d((()=>[s(x,{modelValue:e.necessary,"onUpdate:modelValue":a=>e.necessary=a,direction:"horizontal"},{default:d((()=>[s(v,{name:!0},{default:d((()=>[r("是")])),_:1}),s(v,{name:!1},{default:d((()=>[r("否")])),_:1})])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:2},1024)])),_:2},1024),"Select"==e.type?(o(),n(g,{key:0},{default:d((()=>[s(g,{class:"grid-container"},{default:d((()=>[s(g,{class:"grid-item"}),s(g,{class:"grid-item"},{default:d((()=>[r("内容")])),_:1}),s(g,{class:"grid-item"},{default:d((()=>[r("是否默认")])),_:1}),s(g,{class:"grid-item"},{default:d((()=>[r("操作")])),_:1})])),_:1}),(o(!0),u(m,null,i(e.options,((a,l)=>(o(),n(g,{class:"grid-container",key:l},{default:d((()=>[s(g,{class:"grid-item"},{default:d((()=>[r("选项")])),_:1}),s(g,{class:"grid-item"},{default:d((()=>[s(_,{modelValue:a.name,"onUpdate:modelValue":e=>a.name=e},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),s(g,{class:"grid-item",style:{display:"flex","align-items":"center","justify-content":"center"}},{default:d((()=>[s(C,{modelValue:a.default,"onUpdate:modelValue":e=>a.default=e,name:!0},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),s(g,{class:"grid-item",style:{color:"red"},onClick:a=>e.options.splice(l,1)},{default:d((()=>[r("删除")])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:2},1024)):f("",!0),"Text"==e.type?(o(),n(g,{key:1,style:{"margin-top":"15rpx"}},{default:d((()=>[s(_,{name:"填写内容",label:"填写内容",colon:"","label-width":"7.5em"},{input:d((()=>[s(w,{modelValue:e.contentType,"onUpdate:modelValue":a=>e.contentType=a,direction:"horizontal",shape:"square"},{default:d((()=>[s(C,{name:"Text"},{default:d((()=>[r("文字")])),_:1}),s(C,{name:"File"},{default:d((()=>[r("图片")])),_:1})])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:2},1024)])),_:2},1024)):f("",!0)])),_:2},1024)))),128))])),_:1}),s(y,{type:"primary",style:{margin:"10rpx"},onClick:k},{default:d((()=>[r("提交")])),_:1})])),_:1})}}}),[["__scopeId","data-v-17bbb34c"]]);export{g as default};
|
||||
import{d as e,r as a,o as l,j as t,b as o,c as n,w as d,k as s,e as u,f as i,F as m,m as r,q as c,i as p,h as f}from"./index-D2NElrYl.js";import{g as _,a as y}from"./index.Cv2D9Hyi.js";import{_ as V}from"./_plugin-vue_export-helper.BCo6x5W8.js";const g=V(e({__name:"quality",setup(e){const V=a([]);function g(){_("/testItem").then((e=>{200===e.code&&(V.value=JSON.parse(e.data.payload))}))}l((()=>{g()}));const h=()=>{history.back()},b=()=>{V.value.push({options:[{}]})},k=()=>{let e={id:1,payload:JSON.stringify(V.value)};y("/testItem",e).then((e=>{200===e.code&&(c("提交成功!"),g())}))};return(e,a)=>{const l=t("van-nav-bar"),c=t("van-icon"),_=t("van-field"),y=t("van-button"),g=p,v=t("van-radio"),x=t("van-radio-group"),U=t("van-cell-group"),C=t("van-checkbox"),w=t("van-checkbox-group");return o(),n(g,{class:"flex"},{default:d((()=>[s(l,{title:"色胚质检项维护","left-text":"返回","left-arrow":"","right-text":"新增",onClickLeft:h,onClickRight:b}),s(g,{class:"content"},{default:d((()=>[(o(!0),u(m,null,i(V.value,((e,a)=>(o(),n(g,{class:"card",key:a},{default:d((()=>[s(U,{inset:""},{default:d((()=>[s(g,{class:"a-b"},{default:d((()=>[s(c,{name:"clear",color:"red",size:"25",onClick:e=>V.value.splice(a,1)},null,8,["onClick"]),s(_,{modelValue:e.name,"onUpdate:modelValue":a=>e.name=a,name:"质检项名称",label:"质检项名称",colon:"",class:"a-c","label-width":"6em",rules:[{required:!0,message:"请填写"}]},null,8,["modelValue","onUpdate:modelValue"]),s(y,{type:"primary",onClick:a=>(e=>{e.options.push({})})(e)},{default:d((()=>[r("新增选项")])),_:2},1032,["onClick"])])),_:2},1024),s(_,{label:" ","label-width":"7.5em",style:{margin:"15rpx 0"}},{input:d((()=>[s(x,{modelValue:e.type,"onUpdate:modelValue":a=>e.type=a,direction:"horizontal"},{default:d((()=>[s(v,{name:"Text"},{default:d((()=>[r("填空")])),_:1}),s(v,{name:"Select"},{default:d((()=>[r("选择")])),_:1})])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:2},1024),s(_,{name:"是否必填",label:"是否必填",colon:"","label-width":"7.5em"},{input:d((()=>[s(x,{modelValue:e.necessary,"onUpdate:modelValue":a=>e.necessary=a,direction:"horizontal"},{default:d((()=>[s(v,{name:!0},{default:d((()=>[r("是")])),_:1}),s(v,{name:!1},{default:d((()=>[r("否")])),_:1})])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:2},1024)])),_:2},1024),"Select"==e.type?(o(),n(g,{key:0},{default:d((()=>[s(g,{class:"grid-container"},{default:d((()=>[s(g,{class:"grid-item"}),s(g,{class:"grid-item"},{default:d((()=>[r("内容")])),_:1}),s(g,{class:"grid-item"},{default:d((()=>[r("是否默认")])),_:1}),s(g,{class:"grid-item"},{default:d((()=>[r("操作")])),_:1})])),_:1}),(o(!0),u(m,null,i(e.options,((a,l)=>(o(),n(g,{class:"grid-container",key:l},{default:d((()=>[s(g,{class:"grid-item"},{default:d((()=>[r("选项")])),_:1}),s(g,{class:"grid-item"},{default:d((()=>[s(_,{modelValue:a.name,"onUpdate:modelValue":e=>a.name=e},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),s(g,{class:"grid-item",style:{display:"flex","align-items":"center","justify-content":"center"}},{default:d((()=>[s(C,{modelValue:a.default,"onUpdate:modelValue":e=>a.default=e,name:!0},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),s(g,{class:"grid-item",style:{color:"red"},onClick:a=>e.options.splice(l,1)},{default:d((()=>[r("删除")])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:2},1024)):f("",!0),"Text"==e.type?(o(),n(g,{key:1,style:{"margin-top":"15rpx"}},{default:d((()=>[s(_,{name:"填写内容",label:"填写内容",colon:"","label-width":"7.5em"},{input:d((()=>[s(w,{modelValue:e.contentType,"onUpdate:modelValue":a=>e.contentType=a,direction:"horizontal",shape:"square"},{default:d((()=>[s(C,{name:"Text"},{default:d((()=>[r("文字")])),_:1}),s(C,{name:"File"},{default:d((()=>[r("图片")])),_:1})])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:2},1024)])),_:2},1024)):f("",!0)])),_:2},1024)))),128))])),_:1}),s(y,{type:"primary",style:{margin:"10rpx"},onClick:k},{default:d((()=>[r("提交")])),_:1})])),_:1})}}}),[["__scopeId","data-v-17bbb34c"]]);export{g as default};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{d as e,r as a,q as l,j as t,b as n,c as s,w as o,k as d,e as u,f as r,F as i,i as m,E as c,m as p,t as f,l as v,h as b}from"./index-BmnJ93Po.js";import{a as y}from"./uni-app.es.C4qf4Coy.js";import{g as V}from"./index.BXTZ2GXu.js";import{_ as h}from"./_plugin-vue_export-helper.BCo6x5W8.js";const w=h(e({__name:"history",props:{item:{}},setup(e){const h=a(),w=a({}),_=a([]);y((async e=>{if(e)try{if(h.value=JSON.parse(e.item),"门店"!==h.value.sd||h.value.processes)w.value=h.value.processes;else{let e=await V("/flowBind");if(200===e.code){let a=e.data.find((e=>e.craftName===h.value.craft)).flows.find((e=>"仅现货"===e.bind));if(a){let e="/craftFlows/byName?name="+a.name,t=await V(e);200===t.code?w.value=t.data:l("暂无此工艺!")}else l("暂无此工艺!")}}V("/tracking/getLog?id="+h.value.id).then((e=>{if(200===e.code){w.value.processes.forEach((a=>{if(!a.id){let l=e.data.find((e=>e.details.zt==a.name));l&&(a.rq=l.details.form.czrq,e.data=e.data.concat(l.details.trackingLog))}})),w.value.processes.forEach((a=>{let l=e.data.find((e=>e.details.zt==a.name));l&&(a.rq=l.details.form.czrq,_.value=_.value.concat(l.details.list))}));let a=e.data.find((e=>"待出厂"===e.details.zt));w.value.processes[w.value.processes.length-1].rq=a.details.form.czrq;let l=e.data.find((e=>"已出厂"===e.details.zt));_.value=_.value.concat(a.details.list).concat(l.details.list),_.value.map((e=>{e.pic&&(e.pic=[{url:e.pic}]),e.blank&&(e.contentType=e.blank)}))}}))}catch(a){console.error("Failed to parse item JSON:",a)}}));const g=()=>{window.history.back()};return(e,a)=>{const l=t("van-nav-bar"),y=t("van-field"),V=m,k=t("van-cell-group"),q=t("van-uploader");return n(),s(V,{class:"flex"},{default:o((()=>[d(l,{title:"工序详情","left-text":"返回","left-arrow":"",onClickLeft:g}),d(V,{class:"content"},{default:o((()=>[d(k,{inset:""},{default:o((()=>[d(y,{modelValue:h.value.craft,"onUpdate:modelValue":a[0]||(a[0]=e=>h.value.craft=e),name:"工艺名称",label:"工艺名称",colon:"","label-width":"5em",readonly:""},null,8,["modelValue"]),d(y,{modelValue:h.value.craftCmt.name,"onUpdate:modelValue":a[1]||(a[1]=e=>h.value.craftCmt.name=e),name:"工艺要求",label:"工艺要求",colon:"","label-width":"5em",readonly:""},null,8,["modelValue"]),d(y,{modelValue:h.value.innerComment,"onUpdate:modelValue":a[2]||(a[2]=e=>h.value.innerComment=e),name:"内部备注",label:"内部备注",colon:"","label-width":"5em",readonly:""},null,8,["modelValue"]),d(y,{name:"工艺流程",label:"工艺流程",colon:"","label-width":"5em",readonly:""}),d(V,{class:"grid-container"},{default:o((()=>[(n(!0),u(i,null,r(w.value.processes,((e,a)=>(n(),s(V,{class:"grid-item",key:a},{default:o((()=>[d(V,{class:c(e.id?"btn1":"btn2")},{default:o((()=>[p(f(e.name),1)])),_:2},1032,["class"]),v("p",null,f(e.rq),1)])),_:2},1024)))),128))])),_:1})])),_:1}),d(k,{inset:""},{default:o((()=>[(n(!0),u(i,null,r(_.value,((e,a)=>(n(),s(V,{key:a},{default:o((()=>["Select"===e.type?(n(),s(y,{key:0,modelValue:e.value,"onUpdate:modelValue":a=>e.value=a,name:e.name,label:e.name,colon:"",class:"bor","label-width":"5em",readonly:"",rules:e.necessary?[{required:!0,message:"请选择"}]:[]},null,8,["modelValue","onUpdate:modelValue","name","label","rules"])):b("",!0),"Input"===e.type?(n(),u(i,{key:1},[e.contentType.find((e=>"Text"==e))?(n(),s(y,{key:0,modelValue:e.value,"onUpdate:modelValue":a=>e.value=a,name:e.name,label:e.name,colon:"",class:"bor-n","label-width":"5em",readonly:"",rules:e.necessary?[{required:!0,message:"请填写"}]:[]},null,8,["modelValue","onUpdate:modelValue","name","label","rules"])):b("",!0),e.contentType.find((e=>"File"==e))?(n(),s(y,{key:1,name:"uploader",label:e.name,"label-width":"5em",colon:"",rules:e.necessary?[{required:!0,message:"请上传"}]:[]},{input:o((()=>[d(q,{modelValue:e.pic,"onUpdate:modelValue":a=>e.pic=a,multiple:"","max-count":1,readonly:"",deletable:!1},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1032,["label","rules"])):b("",!0)],64)):b("",!0)])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1})}}}),[["__scopeId","data-v-96ffc2be"]]);export{w as default};
|
||||
import{d as e,r as a,q as l,j as t,b as n,c as s,w as o,k as d,e as u,f as r,F as i,i as m,E as c,m as p,t as f,l as v,h as b}from"./index-D2NElrYl.js";import{a as y}from"./uni-app.es.CyjALRV_.js";import{g as V}from"./index.Cv2D9Hyi.js";import{_ as h}from"./_plugin-vue_export-helper.BCo6x5W8.js";const w=h(e({__name:"history",props:{item:{}},setup(e){const h=a(),w=a({}),_=a([]);y((async e=>{if(e)try{if(h.value=JSON.parse(e.item),"门店"!==h.value.sd||h.value.processes)w.value=h.value.processes;else{let e=await V("/flowBind");if(200===e.code){let a=e.data.find((e=>e.craftName===h.value.craft)).flows.find((e=>"仅现货"===e.bind));if(a){let e="/craftFlows/byName?name="+a.name,t=await V(e);200===t.code?w.value=t.data:l("暂无此工艺!")}else l("暂无此工艺!")}}V("/tracking/getLog?id="+h.value.id).then((e=>{if(200===e.code){w.value.processes.forEach((a=>{if(!a.id){let l=e.data.find((e=>e.details.zt==a.name));l&&(a.rq=l.details.form.czrq,e.data=e.data.concat(l.details.trackingLog))}})),w.value.processes.forEach((a=>{let l=e.data.find((e=>e.details.zt==a.name));l&&(a.rq=l.details.form.czrq,_.value=_.value.concat(l.details.list))}));let a=e.data.find((e=>"待出厂"===e.details.zt));w.value.processes[w.value.processes.length-1].rq=a.details.form.czrq;let l=e.data.find((e=>"已出厂"===e.details.zt));_.value=_.value.concat(a.details.list).concat(l.details.list),_.value.map((e=>{e.pic&&(e.pic=[{url:e.pic}]),e.blank&&(e.contentType=e.blank)}))}}))}catch(a){console.error("Failed to parse item JSON:",a)}}));const g=()=>{window.history.back()};return(e,a)=>{const l=t("van-nav-bar"),y=t("van-field"),V=m,k=t("van-cell-group"),q=t("van-uploader");return n(),s(V,{class:"flex"},{default:o((()=>[d(l,{title:"工序详情","left-text":"返回","left-arrow":"",onClickLeft:g}),d(V,{class:"content"},{default:o((()=>[d(k,{inset:""},{default:o((()=>[d(y,{modelValue:h.value.craft,"onUpdate:modelValue":a[0]||(a[0]=e=>h.value.craft=e),name:"工艺名称",label:"工艺名称",colon:"","label-width":"5em",readonly:""},null,8,["modelValue"]),d(y,{modelValue:h.value.craftCmt.name,"onUpdate:modelValue":a[1]||(a[1]=e=>h.value.craftCmt.name=e),name:"工艺要求",label:"工艺要求",colon:"","label-width":"5em",readonly:""},null,8,["modelValue"]),d(y,{modelValue:h.value.innerComment,"onUpdate:modelValue":a[2]||(a[2]=e=>h.value.innerComment=e),name:"内部备注",label:"内部备注",colon:"","label-width":"5em",readonly:""},null,8,["modelValue"]),d(y,{name:"工艺流程",label:"工艺流程",colon:"","label-width":"5em",readonly:""}),d(V,{class:"grid-container"},{default:o((()=>[(n(!0),u(i,null,r(w.value.processes,((e,a)=>(n(),s(V,{class:"grid-item",key:a},{default:o((()=>[d(V,{class:c(e.id?"btn1":"btn2")},{default:o((()=>[p(f(e.name),1)])),_:2},1032,["class"]),v("p",null,f(e.rq),1)])),_:2},1024)))),128))])),_:1})])),_:1}),d(k,{inset:""},{default:o((()=>[(n(!0),u(i,null,r(_.value,((e,a)=>(n(),s(V,{key:a},{default:o((()=>["Select"===e.type?(n(),s(y,{key:0,modelValue:e.value,"onUpdate:modelValue":a=>e.value=a,name:e.name,label:e.name,colon:"",class:"bor","label-width":"5em",readonly:"",rules:e.necessary?[{required:!0,message:"请选择"}]:[]},null,8,["modelValue","onUpdate:modelValue","name","label","rules"])):b("",!0),"Input"===e.type?(n(),u(i,{key:1},[e.contentType.find((e=>"Text"==e))?(n(),s(y,{key:0,modelValue:e.value,"onUpdate:modelValue":a=>e.value=a,name:e.name,label:e.name,colon:"",class:"bor-n","label-width":"5em",readonly:"",rules:e.necessary?[{required:!0,message:"请填写"}]:[]},null,8,["modelValue","onUpdate:modelValue","name","label","rules"])):b("",!0),e.contentType.find((e=>"File"==e))?(n(),s(y,{key:1,name:"uploader",label:e.name,"label-width":"5em",colon:"",rules:e.necessary?[{required:!0,message:"请上传"}]:[]},{input:o((()=>[d(q,{modelValue:e.pic,"onUpdate:modelValue":a=>e.pic=a,multiple:"","max-count":1,readonly:"",deletable:!1},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1032,["label","rules"])):b("",!0)],64)):b("",!0)])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1})}}}),[["__scopeId","data-v-96ffc2be"]]);export{w as default};
|
@ -1 +1 @@
|
||||
import{d as e,r as a,o as t,a as n,s as r,g as o,b as s,c as i,w as p,e as m,f as l,F as c,i as h,t as y,h as u,n as d}from"./index-BmnJ93Po.js";import{g as w}from"./index.BXTZ2GXu.js";import{_ as f}from"./_plugin-vue_export-helper.BCo6x5W8.js";const b=f(e({__name:"index",setup(e){const f=a([{path:"../whiteEmbryo/listSearch",name:"白胚库存列表",type:"rawFabric"},{path:"../maintenance/processOldzmd",name:"工艺维护",type:"flowBind"},{path:"../maintenance/m-flow",name:"工艺流程维护",type:"craftFlow"},{path:"../maintenance/m-process",name:"工序项维护",type:"process"},{path:"../maintenance/m-requirements",name:"工艺要求维护",type:"craftRequire"},{path:"../maintenance/m-factory",name:"工厂维护",type:"factory"},{path:"../maintenance/m-other",name:"其他要求项维护",type:"extraOption"},{path:"../whiteEmbryo/w-warehousing",name:"白胚入库",type:"rawFabric"},{path:"../whiteEmbryo/w-level",name:"白胚等级维护",type:"rawFabricLevel"},{path:"../whiteEmbryo/w-suppliers",name:"供应商维护",type:"supplier"},{path:"../whiteEmbryo/w-scanCode",name:"白胚扫码放货架",type:"rawFabric"},{path:"../whiteEmbryo/w-warehouse",name:"仓库维护",type:"warehouse"},{path:"../whiteEmbryo/w-libraryLocation",name:"库位号维护",type:"shelves"},{path:"../whiteEmbryo/w-list",name:"白胚列表",type:"rawFabric"},{path:"../spot/list",name:"需求单列表",type:"interOrder"},{path:"../customOrder/list",name:"定做单列表",type:"customOrder"},{path:"../distribution/distribution",name:"待配货列表",type:"tribute"},{path:"../documentary/documentary",name:"跟单列表",type:"tracking"},{path:"../colorBlank/colorBlank",name:"色胚质检列表",type:"stockroom"},{path:"../colorBlank/defect",name:"色胚质检瑕疵维护",type:"blemish"}]),b=a([]);t((()=>{w("/v1/auth/info").then((e=>{200===e.code?(localStorage.setItem("info",JSON.stringify(e.data)),e.data.permissions.forEach((e=>{f.value.forEach((a=>{if(e.includes(a.type)){b.value.find((e=>e.path==a.path))||b.value.push(a)}}))}))):(n({url:"/pages/login/login"}),r(e.msg))})),o({key:"token",success:function(e){e.data||n({url:"/pages/login/login"})},fail:function(e){n({url:"/pages/login/login"})}})}));return(e,a)=>{const t=h;return s(),i(t,{class:"content"},{default:p((()=>[(s(!0),m(c,null,l(b.value,((e,a)=>(s(),i(t,{key:a},{default:p((()=>[e.name?(s(),m("p",{key:0,class:"btn",onClick:a=>(e=>{d({url:e.path})})(e)},y(e.name),9,["onClick"])):u("",!0)])),_:2},1024)))),128))])),_:1})}}}),[["__scopeId","data-v-6898fd11"]]);export{b as default};
|
||||
import{d as e,r as a,o as t,a as n,s as r,g as o,b as s,c as i,w as p,e as m,f as l,F as c,i as h,t as y,h as u,n as d}from"./index-D2NElrYl.js";import{g as w}from"./index.Cv2D9Hyi.js";import{_ as f}from"./_plugin-vue_export-helper.BCo6x5W8.js";const b=f(e({__name:"index",setup(e){const f=a([{path:"../whiteEmbryo/listSearch",name:"白胚库存列表",type:"rawFabric"},{path:"../maintenance/processOldzmd",name:"工艺维护",type:"flowBind"},{path:"../maintenance/m-flow",name:"工艺流程维护",type:"craftFlow"},{path:"../maintenance/m-process",name:"工序项维护",type:"process"},{path:"../maintenance/m-requirements",name:"工艺要求维护",type:"craftRequire"},{path:"../maintenance/m-factory",name:"工厂维护",type:"factory"},{path:"../maintenance/m-other",name:"其他要求项维护",type:"extraOption"},{path:"../whiteEmbryo/w-warehousing",name:"白胚入库",type:"rawFabric"},{path:"../whiteEmbryo/w-level",name:"白胚等级维护",type:"rawFabricLevel"},{path:"../whiteEmbryo/w-suppliers",name:"供应商维护",type:"supplier"},{path:"../whiteEmbryo/w-scanCode",name:"白胚扫码放货架",type:"rawFabric"},{path:"../whiteEmbryo/w-warehouse",name:"仓库维护",type:"warehouse"},{path:"../whiteEmbryo/w-libraryLocation",name:"库位号维护",type:"shelves"},{path:"../whiteEmbryo/w-list",name:"白胚列表",type:"rawFabric"},{path:"../spot/list",name:"需求单列表",type:"interOrder"},{path:"../customOrder/list",name:"定做单列表",type:"customOrder"},{path:"../distribution/distribution",name:"待配货列表",type:"tribute"},{path:"../documentary/documentary",name:"跟单列表",type:"tracking"},{path:"../colorBlank/colorBlank",name:"色胚质检列表",type:"stockroom"},{path:"../colorBlank/defect",name:"色胚质检瑕疵维护",type:"blemish"}]),b=a([]);t((()=>{w("/v1/auth/info").then((e=>{200===e.code?(localStorage.setItem("info",JSON.stringify(e.data)),e.data.permissions.forEach((e=>{f.value.forEach((a=>{if(e.includes(a.type)){b.value.find((e=>e.path==a.path))||b.value.push(a)}}))}))):(n({url:"/pages/login/login"}),r(e.msg))})),o({key:"token",success:function(e){e.data||n({url:"/pages/login/login"})},fail:function(e){n({url:"/pages/login/login"})}})}));return(e,a)=>{const t=h;return s(),i(t,{class:"content"},{default:p((()=>[(s(!0),m(c,null,l(b.value,((e,a)=>(s(),i(t,{key:a},{default:p((()=>[e.name?(s(),m("p",{key:0,class:"btn",onClick:a=>(e=>{d({url:e.path})})(e)},y(e.name),9,["onClick"])):u("",!0)])),_:2},1024)))),128))])),_:1})}}}),[["__scopeId","data-v-6898fd11"]]);export{b as default};
|
@ -1 +1 @@
|
||||
import{d as e,o as a,r as l,j as s,b as t,e as o,k as n,w as r,l as u,m as d,p,a as m,s as i}from"./index-BmnJ93Po.js";import{p as v}from"./index.BXTZ2GXu.js";import{_ as c}from"./_plugin-vue_export-helper.BCo6x5W8.js";const f=c(e({__name:"login",setup(e){a((()=>{}));const c=l(""),f=l(""),g=()=>{let e={username:c.value,password:f.value};v("/v1/auth/login",e,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((e=>{if(200===e.code){const a=e.data;localStorage.setItem("token",a),p("登录成功!"),setTimeout((()=>{m({url:"/pages/index/index"})}),500)}else i(e.msg)}))};return(e,a)=>{const l=s("van-field"),p=s("van-cell-group"),m=s("van-button"),i=s("van-form");return t(),o("div",{style:{"margin-top":"30vh"}},[n(i,{onSubmit:g},{default:r((()=>[n(p,{inset:""},{default:r((()=>[n(l,{style:{"font-size":"16px"},modelValue:c.value,"onUpdate:modelValue":a[0]||(a[0]=e=>c.value=e),name:"用户名",label:"用户名",placeholder:"用户名",rules:[{required:!0,message:"请填写用户名"}]},null,8,["modelValue"]),n(l,{style:{"font-size":"16px"},modelValue:f.value,"onUpdate:modelValue":a[1]||(a[1]=e=>f.value=e),type:"password",name:"密码",label:"密码",placeholder:"密码",rules:[{required:!0,message:"请填写密码"}]},null,8,["modelValue"])])),_:1}),u("div",{style:{margin:"16px"}},[n(m,{round:"",block:"",type:"primary","native-type":"submit"},{default:r((()=>[d(" 登录 ")])),_:1})])])),_:1})])}}}),[["__scopeId","data-v-7381730b"]]);export{f as default};
|
||||
import{d as e,o as a,r as l,j as s,b as t,e as o,k as n,w as r,l as u,m as d,p,a as m,s as i}from"./index-D2NElrYl.js";import{p as v}from"./index.Cv2D9Hyi.js";import{_ as c}from"./_plugin-vue_export-helper.BCo6x5W8.js";const f=c(e({__name:"login",setup(e){a((()=>{}));const c=l(""),f=l(""),g=()=>{let e={username:c.value,password:f.value};v("/v1/auth/login",e,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((e=>{if(200===e.code){const a=e.data;localStorage.setItem("token",a),p("登录成功!"),setTimeout((()=>{m({url:"/pages/index/index"})}),500)}else i(e.msg)}))};return(e,a)=>{const l=s("van-field"),p=s("van-cell-group"),m=s("van-button"),i=s("van-form");return t(),o("div",{style:{"margin-top":"30vh"}},[n(i,{onSubmit:g},{default:r((()=>[n(p,{inset:""},{default:r((()=>[n(l,{style:{"font-size":"16px"},modelValue:c.value,"onUpdate:modelValue":a[0]||(a[0]=e=>c.value=e),name:"用户名",label:"用户名",placeholder:"用户名",rules:[{required:!0,message:"请填写用户名"}]},null,8,["modelValue"]),n(l,{style:{"font-size":"16px"},modelValue:f.value,"onUpdate:modelValue":a[1]||(a[1]=e=>f.value=e),type:"password",name:"密码",label:"密码",placeholder:"密码",rules:[{required:!0,message:"请填写密码"}]},null,8,["modelValue"])])),_:1}),u("div",{style:{margin:"16px"}},[n(m,{round:"",block:"",type:"primary","native-type":"submit"},{default:r((()=>[d(" 登录 ")])),_:1})])])),_:1})])}}}),[["__scopeId","data-v-7381730b"]]);export{f as default};
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{d as e,r as a,o as l,j as s,b as o,e as t,k as n,w as u,m as d,F as r,f as c,l as i,q as m,i as p,c as v,t as f,h as _}from"./index-BmnJ93Po.js";import{g as h,a as g,p as k,d as y}from"./index.BXTZ2GXu.js";import{s as b}from"./function-call.BxuSyXbr.js";import{_ as w}from"./_plugin-vue_export-helper.BCo6x5W8.js";const C=w(e({__name:"m-flow",setup(e){const w=a(!1),C=a([]),V=a({}),x=a([]);l((()=>{U(),h("/process").then((e=>{200===e.code&&(x.value=e.data.map((e=>({text:e.name,value:e.id}))))}))}));const U=()=>{h("/craftFlows").then((e=>{200===e.code&&(C.value=e.data)}))},j=()=>{history.back()},F=()=>{V.value={processes:[{}]},w.value=!0},O=()=>{V.value.id?g("/craftFlows",V.value).then((e=>{200===e.code&&(U(),w.value=!1,m("提交成功!"))})):k("/craftFlows",V.value).then((e=>{200===e.code&&(U(),w.value=!1,m("提交成功!"))}))},q=a(!1),z=a(),S=a([]),I=e=>{V.value.processes[z.value].id=e.selectedOptions[0].value,V.value.processes[z.value].name=e.selectedOptions[0].text,J()},J=()=>{q.value=!1},N=()=>{S.value=x.value};return(e,a)=>{const l=s("van-nav-bar"),h=p,g=s("van-field"),k=s("van-radio"),x=s("van-radio-group"),R=s("van-icon"),D=s("van-checkbox"),E=s("van-cell-group"),L=s("van-button"),A=s("van-form"),B=s("van-popup"),G=s("van-picker");return o(),t(r,null,[n(h,{class:"flex"},{default:u((()=>[n(l,{title:"工艺流程维护","left-text":"返回","left-arrow":"","right-text":"新增",onClickLeft:j,onClickRight:F}),n(h,{class:"content"},{default:u((()=>[n(h,{class:"grid-container"},{default:u((()=>[n(h,{class:"grid-item"},{default:u((()=>[d("工艺流程名称")])),_:1}),n(h,{class:"grid-item"},{default:u((()=>[d("操作")])),_:1})])),_:1}),(o(!0),t(r,null,c(C.value,((e,a)=>(o(),v(h,{class:"grid-container",key:a},{default:u((()=>[n(h,{class:"grid-item"},{default:u((()=>[d(f(e.name),1)])),_:2},1024),n(h,{class:"grid-item"},{default:u((()=>[i("span",{style:{color:"#35a5f7"},onClick:a=>(e=>{V.value=JSON.parse(JSON.stringify(e)),w.value=!0})(e)},"编辑",8,["onClick"]),d(" "),i("span",{style:{color:"red"},onClick:a=>(e=>{b({title:"提示",message:"是否确认删除?"}).then((()=>{let a="/craftFlows/"+e.id;y(a).then((e=>{200===e.code&&(U(),m("删除成功!"))}))})).catch((()=>{}))})(e)},"删除 ",8,["onClick"])])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1}),n(B,{show:w.value,"onUpdate:show":a[4]||(a[4]=e=>w.value=e),style:{width:"90%"},round:""},{default:u((()=>[n(h,null,{default:u((()=>[i("h3",{style:{"text-align":"center"}},"新增工艺流程"),n(A,{onSubmit:O},{default:u((()=>[n(E,{inset:""},{default:u((()=>[n(g,{modelValue:V.value.name,"onUpdate:modelValue":a[0]||(a[0]=e=>V.value.name=e),name:"工艺流程名称",label:"工艺流程名称",colon:"","label-width":"7em",rules:[{required:!0,message:"请填写"}]},null,8,["modelValue"]),n(g,{name:"工序流程类型",label:"工序流程类型",colon:"","label-width":"7em",class:"b-a",rules:[{required:!0,message:"请填写"}]},{input:u((()=>[n(x,{modelValue:V.value.type,"onUpdate:modelValue":a[1]||(a[1]=e=>V.value.type=e),direction:"horizontal"},{default:u((()=>[n(k,{name:"常规"},{default:u((()=>[d("常规")])),_:1}),n(k,{name:"回修"},{default:u((()=>[d("回修")])),_:1})])),_:1},8,["modelValue"])])),_:1}),i("p",null,"请选择对应工序"),(o(!0),t(r,null,c(V.value.processes,((e,l)=>(o(),v(h,{key:l,class:"a-b"},{default:u((()=>[0===l?(o(),v(R,{key:0,name:"add",color:"red",size:"25",onClick:a[2]||(a[2]=e=>V.value.processes.push({}))})):_("",!0),0!=l?(o(),v(R,{key:1,name:"clear",color:"red",size:"25",onClick:e=>V.value.processes.splice(l,1)},null,8,["onClick"])):_("",!0),n(g,{modelValue:e.name,"onUpdate:modelValue":a=>e.name=a,name:"工序",label:"工序","label-align":"right",readonly:"",colon:"","label-width":"2.5em",class:"bor",onClick:e=>(e=>{q.value=!0,z.value=e})(l),rules:[{required:!0,message:"请填写"}]},null,8,["modelValue","onUpdate:modelValue","onClick"]),n(D,{modelValue:e.necessary,"onUpdate:modelValue":a=>e.necessary=a,name:!1,style:{"margin-left":"15rpx"}},{default:u((()=>[d("不可跳过")])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:2},1024)))),128))])),_:1}),n(h,{class:"a-c"},{default:u((()=>[n(L,{type:"danger",onClick:a[3]||(a[3]=e=>w.value=!1)},{default:u((()=>[d("取消")])),_:1}),n(L,{type:"primary","native-type":"submit"},{default:u((()=>[d("确认")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},8,["show"]),n(B,{show:q.value,"onUpdate:show":a[5]||(a[5]=e=>q.value=e),round:"",position:"bottom",onOpen:N},{default:u((()=>[n(G,{"show-toolbar":"",columns:S.value,onConfirm:I,onCancel:J,ref:"pickerRef"},null,8,["columns"])])),_:1},8,["show"])],64)}}}),[["__scopeId","data-v-d28aaded"]]);export{C as default};
|
||||
import{d as e,r as a,o as l,j as s,b as o,e as t,k as n,w as u,m as d,F as r,f as c,l as i,q as m,i as p,c as v,t as f,h as _}from"./index-D2NElrYl.js";import{g as h,a as g,p as k,d as y}from"./index.Cv2D9Hyi.js";import{s as b}from"./function-call.DSHj1ZhI.js";import{_ as w}from"./_plugin-vue_export-helper.BCo6x5W8.js";const C=w(e({__name:"m-flow",setup(e){const w=a(!1),C=a([]),V=a({}),x=a([]);l((()=>{U(),h("/process").then((e=>{200===e.code&&(x.value=e.data.map((e=>({text:e.name,value:e.id}))))}))}));const U=()=>{h("/craftFlows").then((e=>{200===e.code&&(C.value=e.data)}))},j=()=>{history.back()},F=()=>{V.value={processes:[{}]},w.value=!0},O=()=>{V.value.id?g("/craftFlows",V.value).then((e=>{200===e.code&&(U(),w.value=!1,m("提交成功!"))})):k("/craftFlows",V.value).then((e=>{200===e.code&&(U(),w.value=!1,m("提交成功!"))}))},q=a(!1),z=a(),S=a([]),I=e=>{V.value.processes[z.value].id=e.selectedOptions[0].value,V.value.processes[z.value].name=e.selectedOptions[0].text,J()},J=()=>{q.value=!1},N=()=>{S.value=x.value};return(e,a)=>{const l=s("van-nav-bar"),h=p,g=s("van-field"),k=s("van-radio"),x=s("van-radio-group"),R=s("van-icon"),D=s("van-checkbox"),E=s("van-cell-group"),L=s("van-button"),A=s("van-form"),B=s("van-popup"),G=s("van-picker");return o(),t(r,null,[n(h,{class:"flex"},{default:u((()=>[n(l,{title:"工艺流程维护","left-text":"返回","left-arrow":"","right-text":"新增",onClickLeft:j,onClickRight:F}),n(h,{class:"content"},{default:u((()=>[n(h,{class:"grid-container"},{default:u((()=>[n(h,{class:"grid-item"},{default:u((()=>[d("工艺流程名称")])),_:1}),n(h,{class:"grid-item"},{default:u((()=>[d("操作")])),_:1})])),_:1}),(o(!0),t(r,null,c(C.value,((e,a)=>(o(),v(h,{class:"grid-container",key:a},{default:u((()=>[n(h,{class:"grid-item"},{default:u((()=>[d(f(e.name),1)])),_:2},1024),n(h,{class:"grid-item"},{default:u((()=>[i("span",{style:{color:"#35a5f7"},onClick:a=>(e=>{V.value=JSON.parse(JSON.stringify(e)),w.value=!0})(e)},"编辑",8,["onClick"]),d(" "),i("span",{style:{color:"red"},onClick:a=>(e=>{b({title:"提示",message:"是否确认删除?"}).then((()=>{let a="/craftFlows/"+e.id;y(a).then((e=>{200===e.code&&(U(),m("删除成功!"))}))})).catch((()=>{}))})(e)},"删除 ",8,["onClick"])])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1}),n(B,{show:w.value,"onUpdate:show":a[4]||(a[4]=e=>w.value=e),style:{width:"90%"},round:""},{default:u((()=>[n(h,null,{default:u((()=>[i("h3",{style:{"text-align":"center"}},"新增工艺流程"),n(A,{onSubmit:O},{default:u((()=>[n(E,{inset:""},{default:u((()=>[n(g,{modelValue:V.value.name,"onUpdate:modelValue":a[0]||(a[0]=e=>V.value.name=e),name:"工艺流程名称",label:"工艺流程名称",colon:"","label-width":"7em",rules:[{required:!0,message:"请填写"}]},null,8,["modelValue"]),n(g,{name:"工序流程类型",label:"工序流程类型",colon:"","label-width":"7em",class:"b-a",rules:[{required:!0,message:"请填写"}]},{input:u((()=>[n(x,{modelValue:V.value.type,"onUpdate:modelValue":a[1]||(a[1]=e=>V.value.type=e),direction:"horizontal"},{default:u((()=>[n(k,{name:"常规"},{default:u((()=>[d("常规")])),_:1}),n(k,{name:"回修"},{default:u((()=>[d("回修")])),_:1})])),_:1},8,["modelValue"])])),_:1}),i("p",null,"请选择对应工序"),(o(!0),t(r,null,c(V.value.processes,((e,l)=>(o(),v(h,{key:l,class:"a-b"},{default:u((()=>[0===l?(o(),v(R,{key:0,name:"add",color:"red",size:"25",onClick:a[2]||(a[2]=e=>V.value.processes.push({}))})):_("",!0),0!=l?(o(),v(R,{key:1,name:"clear",color:"red",size:"25",onClick:e=>V.value.processes.splice(l,1)},null,8,["onClick"])):_("",!0),n(g,{modelValue:e.name,"onUpdate:modelValue":a=>e.name=a,name:"工序",label:"工序","label-align":"right",readonly:"",colon:"","label-width":"2.5em",class:"bor",onClick:e=>(e=>{q.value=!0,z.value=e})(l),rules:[{required:!0,message:"请填写"}]},null,8,["modelValue","onUpdate:modelValue","onClick"]),n(D,{modelValue:e.necessary,"onUpdate:modelValue":a=>e.necessary=a,name:!1,style:{"margin-left":"15rpx"}},{default:u((()=>[d("不可跳过")])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:2},1024)))),128))])),_:1}),n(h,{class:"a-c"},{default:u((()=>[n(L,{type:"danger",onClick:a[3]||(a[3]=e=>w.value=!1)},{default:u((()=>[d("取消")])),_:1}),n(L,{type:"primary","native-type":"submit"},{default:u((()=>[d("确认")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},8,["show"]),n(B,{show:q.value,"onUpdate:show":a[5]||(a[5]=e=>q.value=e),round:"",position:"bottom",onOpen:N},{default:u((()=>[n(G,{"show-toolbar":"",columns:S.value,onConfirm:I,onCancel:J,ref:"pickerRef"},null,8,["columns"])])),_:1},8,["show"])],64)}}}),[["__scopeId","data-v-d28aaded"]]);export{C as default};
|
@ -1 +1 @@
|
||||
import{d as e,r as a,o as l,j as t,b as o,c as n,w as s,k as d,e as i,f as u,F as r,m as c,q as m,i as p}from"./index-BmnJ93Po.js";import{g as f,a as _}from"./index.BXTZ2GXu.js";import{_ as g}from"./_plugin-vue_export-helper.BCo6x5W8.js";const y=g(e({__name:"m-other",setup(e){const g=a([]);function y(){f("/extraOption").then((e=>{200===e.code&&(g.value=JSON.parse(e.data.payload))}))}l((()=>{y()}));const v=()=>{history.back()},V=()=>{g.value.push({options:[{}]})},k=()=>{let e={id:1,payload:JSON.stringify(g.value)};_("/extraOption",e).then((e=>{200===e.code&&(m("提交成功!"),y())}))};return(e,a)=>{const l=t("van-nav-bar"),m=t("van-icon"),f=t("van-field"),_=t("van-button"),y=p,h=t("van-radio"),x=t("van-radio-group"),b=t("van-cell-group"),C=t("van-checkbox");return o(),n(y,{class:"flex"},{default:s((()=>[d(l,{title:"其他要求项维护","left-text":"返回","left-arrow":"","right-text":"新增",onClickLeft:v,onClickRight:V}),d(y,{class:"content"},{default:s((()=>[(o(!0),i(r,null,u(g.value,((e,a)=>(o(),n(y,{class:"card",key:a},{default:s((()=>[d(b,{inset:""},{default:s((()=>[d(y,{class:"a-b"},{default:s((()=>[d(m,{name:"clear",color:"red",size:"25",onClick:e=>g.value.splice(a,1)},null,8,["onClick"]),d(f,{modelValue:e.name,"onUpdate:modelValue":a=>e.name=a,name:"要求项名称",label:"要求项名称",colon:"",class:"a-c","label-width":"6em",rules:[{required:!0,message:"请填写"}]},null,8,["modelValue","onUpdate:modelValue"]),d(_,{type:"primary",onClick:a=>(e=>{e.options.push({})})(e)},{default:s((()=>[c("新增选项")])),_:2},1032,["onClick"])])),_:2},1024),d(f,{name:"是否必填",label:"是否必填",colon:"","label-width":"7.5em"},{input:s((()=>[d(x,{modelValue:e.necessary,"onUpdate:modelValue":a=>e.necessary=a,direction:"horizontal"},{default:s((()=>[d(h,{name:!0},{default:s((()=>[c("是")])),_:1}),d(h,{name:!1},{default:s((()=>[c("否")])),_:1})])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:2},1024)])),_:2},1024),d(y,{class:"grid-container"},{default:s((()=>[d(y,{class:"grid-item"}),d(y,{class:"grid-item"},{default:s((()=>[c("内容")])),_:1}),d(y,{class:"grid-item"},{default:s((()=>[c("是否默认")])),_:1}),d(y,{class:"grid-item"},{default:s((()=>[c("操作")])),_:1})])),_:1}),(o(!0),i(r,null,u(e.options,((a,l)=>(o(),n(y,{class:"grid-container",key:l},{default:s((()=>[d(y,{class:"grid-item"},{default:s((()=>[c("选项")])),_:1}),d(y,{class:"grid-item"},{default:s((()=>[d(f,{modelValue:a.name,"onUpdate:modelValue":e=>a.name=e},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),d(y,{class:"grid-item",style:{display:"flex","align-items":"center","justify-content":"center"}},{default:s((()=>[d(C,{modelValue:a.default,"onUpdate:modelValue":e=>a.default=e,name:!0},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),d(y,{class:"grid-item",style:{color:"red"},onClick:a=>e.options.splice(l,1)},{default:s((()=>[c("删除")])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:2},1024)))),128))])),_:1}),d(_,{type:"primary",style:{margin:"10rpx"},onClick:k},{default:s((()=>[c("提交")])),_:1})])),_:1})}}}),[["__scopeId","data-v-03469636"]]);export{y as default};
|
||||
import{d as e,r as a,o as l,j as t,b as o,c as n,w as s,k as d,e as i,f as u,F as r,m as c,q as m,i as p}from"./index-D2NElrYl.js";import{g as f,a as _}from"./index.Cv2D9Hyi.js";import{_ as g}from"./_plugin-vue_export-helper.BCo6x5W8.js";const y=g(e({__name:"m-other",setup(e){const g=a([]);function y(){f("/extraOption").then((e=>{200===e.code&&(g.value=JSON.parse(e.data.payload))}))}l((()=>{y()}));const v=()=>{history.back()},V=()=>{g.value.push({options:[{}]})},k=()=>{let e={id:1,payload:JSON.stringify(g.value)};_("/extraOption",e).then((e=>{200===e.code&&(m("提交成功!"),y())}))};return(e,a)=>{const l=t("van-nav-bar"),m=t("van-icon"),f=t("van-field"),_=t("van-button"),y=p,h=t("van-radio"),x=t("van-radio-group"),b=t("van-cell-group"),C=t("van-checkbox");return o(),n(y,{class:"flex"},{default:s((()=>[d(l,{title:"其他要求项维护","left-text":"返回","left-arrow":"","right-text":"新增",onClickLeft:v,onClickRight:V}),d(y,{class:"content"},{default:s((()=>[(o(!0),i(r,null,u(g.value,((e,a)=>(o(),n(y,{class:"card",key:a},{default:s((()=>[d(b,{inset:""},{default:s((()=>[d(y,{class:"a-b"},{default:s((()=>[d(m,{name:"clear",color:"red",size:"25",onClick:e=>g.value.splice(a,1)},null,8,["onClick"]),d(f,{modelValue:e.name,"onUpdate:modelValue":a=>e.name=a,name:"要求项名称",label:"要求项名称",colon:"",class:"a-c","label-width":"6em",rules:[{required:!0,message:"请填写"}]},null,8,["modelValue","onUpdate:modelValue"]),d(_,{type:"primary",onClick:a=>(e=>{e.options.push({})})(e)},{default:s((()=>[c("新增选项")])),_:2},1032,["onClick"])])),_:2},1024),d(f,{name:"是否必填",label:"是否必填",colon:"","label-width":"7.5em"},{input:s((()=>[d(x,{modelValue:e.necessary,"onUpdate:modelValue":a=>e.necessary=a,direction:"horizontal"},{default:s((()=>[d(h,{name:!0},{default:s((()=>[c("是")])),_:1}),d(h,{name:!1},{default:s((()=>[c("否")])),_:1})])),_:2},1032,["modelValue","onUpdate:modelValue"])])),_:2},1024)])),_:2},1024),d(y,{class:"grid-container"},{default:s((()=>[d(y,{class:"grid-item"}),d(y,{class:"grid-item"},{default:s((()=>[c("内容")])),_:1}),d(y,{class:"grid-item"},{default:s((()=>[c("是否默认")])),_:1}),d(y,{class:"grid-item"},{default:s((()=>[c("操作")])),_:1})])),_:1}),(o(!0),i(r,null,u(e.options,((a,l)=>(o(),n(y,{class:"grid-container",key:l},{default:s((()=>[d(y,{class:"grid-item"},{default:s((()=>[c("选项")])),_:1}),d(y,{class:"grid-item"},{default:s((()=>[d(f,{modelValue:a.name,"onUpdate:modelValue":e=>a.name=e},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),d(y,{class:"grid-item",style:{display:"flex","align-items":"center","justify-content":"center"}},{default:s((()=>[d(C,{modelValue:a.default,"onUpdate:modelValue":e=>a.default=e,name:!0},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),d(y,{class:"grid-item",style:{color:"red"},onClick:a=>e.options.splice(l,1)},{default:s((()=>[c("删除")])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:2},1024)))),128))])),_:1}),d(_,{type:"primary",style:{margin:"10rpx"},onClick:k},{default:s((()=>[c("提交")])),_:1})])),_:1})}}}),[["__scopeId","data-v-03469636"]]);export{y as default};
|
@ -1 +1 @@
|
||||
import{d as s,r as a,j as e,b as t,c as l,w as i,k as r,m as c,e as o,f as n,F as d,n as m,i as u,t as f,q as p}from"./index-BmnJ93Po.js";import{o as _}from"./uni-app.es.C4qf4Coy.js";import{g,d as h}from"./index.BXTZ2GXu.js";import{s as k}from"./function-call.BxuSyXbr.js";import{_ as x}from"./_plugin-vue_export-helper.BCo6x5W8.js";const j=x(s({__name:"m-process",setup(s){const x=a([]);_((()=>{j()}));const j=()=>{g("/process").then((s=>{200===s.code&&(x.value=s.data)}))},v=()=>{history.back()},C=()=>{m({url:"/pages/maintenance/p-details"})};return(s,a)=>{const m=e("van-nav-bar"),_=u;return t(),l(_,{class:"flex"},{default:i((()=>[r(m,{title:"工序项维护","left-text":"返回","left-arrow":"","right-text":"新增",onClickLeft:v,onClickRight:C}),r(_,{class:"content"},{default:i((()=>[r(_,{class:"grid-container"},{default:i((()=>[r(_,{class:"grid-item"},{default:i((()=>[c("工序")])),_:1}),r(_,{class:"grid-item"},{default:i((()=>[c("序号")])),_:1}),r(_,{class:"grid-item"},{default:i((()=>[c("操作")])),_:1})])),_:1}),(t(!0),o(d,null,n(x.value,((s,a)=>(t(),l(_,{class:"grid-container",key:a},{default:i((()=>[r(_,{class:"grid-item"},{default:i((()=>[c(f(s.name),1)])),_:2},1024),r(_,{class:"grid-item"},{default:i((()=>[c(f(s.serialNum),1)])),_:2},1024),r(_,{class:"grid-item",style:{color:"red"},onClick:a=>(s=>{k({title:"提示",message:"是否确认删除?"}).then((()=>{let a="/process/"+s.id;h(a).then((s=>{200===s.code&&(j(),p("删除成功!"))}))})).catch((()=>{}))})(s)},{default:i((()=>[c("删除")])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:1})])),_:1})}}}),[["__scopeId","data-v-cc7e6479"]]);export{j as default};
|
||||
import{d as s,r as a,j as e,b as t,c as l,w as i,k as r,m as c,e as o,f as n,F as d,n as m,i as u,t as f,q as p}from"./index-D2NElrYl.js";import{o as _}from"./uni-app.es.CyjALRV_.js";import{g,d as h}from"./index.Cv2D9Hyi.js";import{s as k}from"./function-call.DSHj1ZhI.js";import{_ as x}from"./_plugin-vue_export-helper.BCo6x5W8.js";const j=x(s({__name:"m-process",setup(s){const x=a([]);_((()=>{j()}));const j=()=>{g("/process").then((s=>{200===s.code&&(x.value=s.data)}))},v=()=>{history.back()},C=()=>{m({url:"/pages/maintenance/p-details"})};return(s,a)=>{const m=e("van-nav-bar"),_=u;return t(),l(_,{class:"flex"},{default:i((()=>[r(m,{title:"工序项维护","left-text":"返回","left-arrow":"","right-text":"新增",onClickLeft:v,onClickRight:C}),r(_,{class:"content"},{default:i((()=>[r(_,{class:"grid-container"},{default:i((()=>[r(_,{class:"grid-item"},{default:i((()=>[c("工序")])),_:1}),r(_,{class:"grid-item"},{default:i((()=>[c("序号")])),_:1}),r(_,{class:"grid-item"},{default:i((()=>[c("操作")])),_:1})])),_:1}),(t(!0),o(d,null,n(x.value,((s,a)=>(t(),l(_,{class:"grid-container",key:a},{default:i((()=>[r(_,{class:"grid-item"},{default:i((()=>[c(f(s.name),1)])),_:2},1024),r(_,{class:"grid-item"},{default:i((()=>[c(f(s.serialNum),1)])),_:2},1024),r(_,{class:"grid-item",style:{color:"red"},onClick:a=>(s=>{k({title:"提示",message:"是否确认删除?"}).then((()=>{let a="/process/"+s.id;h(a).then((s=>{200===s.code&&(j(),p("删除成功!"))}))})).catch((()=>{}))})(s)},{default:i((()=>[c("删除")])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:1})])),_:1})}}}),[["__scopeId","data-v-cc7e6479"]]);export{j as default};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{d as e,r as a,o as l,j as o,b as t,e as n,k as s,w as u,m as d,F as i,f,l as c,q as r,i as m,c as v,t as p,h as w}from"./index-BmnJ93Po.js";import{g as _,a as h,p as k}from"./index.BXTZ2GXu.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";const g=b(e({__name:"processOldzmd",setup(e){const b=a(!1),g=a([]),C=a(!1),y=a({flows:[{}]}),x=a();a([]),a([]);const V=()=>{if(y.value.id){let e={id:y.value.id,craftName:y.value.name,flows:y.value.flows};h("/flowBind",e).then((e=>{200===e.code&&(O(),b.value=!1,r("修改成功!"))}))}else{let e={craftName:y.value.name,flows:y.value.flows};k("/flowBind",e).then((e=>{200===e.code&&(O(),b.value=!1,r("修改成功!"))}))}},U=()=>{b.value=!1},j=()=>{history.back()},N=()=>{b.value=!0},O=()=>{g.value=[],_("/fabric/craft/info").then((e=>{200===e.code&&_("/flowBind").then((a=>{200===a.code&&e.data.forEach((e=>{let l=a.data.find((a=>a.craftName===e.name));l?g.value.push({id:l.id,name:l.craftName,flows:l.flows}):g.value.push({name:e.name,flows:[{bind:"通用"}]})}))}))}))},z=a(),B=e=>{y.value.flows[z.value].id=e.selectedOptions[0].value,y.value.flows[z.value].name=e.selectedOptions[0].text,E()},E=()=>{C.value=!1},R=()=>{q.value=F.value},q=a([]),F=a([]);return l((()=>{O(),_("/craftFlows").then((e=>{200===e.code&&(F.value=e.data.map((e=>({text:e.name,value:e.id}))))}))})),(e,a)=>{const l=o("van-nav-bar"),r=m,_=o("van-icon"),h=o("van-field"),k=o("van-radio"),O=o("van-radio-group"),F=o("van-cell-group"),L=o("van-form"),D=o("van-button"),I=o("van-popup"),A=o("van-picker");return t(),n(i,null,[s(r,{class:"flex"},{default:u((()=>[s(l,{title:"工艺维护","left-text":"返回","left-arrow":"",onClickLeft:j,onClickRight:N}),s(r,{class:"grid-container"},{default:u((()=>[s(r,{class:"grid-item"},{default:u((()=>[d("工艺名称")])),_:1}),s(r,{class:"grid-item"},{default:u((()=>[d("操作")])),_:1})])),_:1}),s(r,{class:"content"},{default:u((()=>[(t(!0),n(i,null,f(g.value,((e,a)=>(t(),v(r,{class:"grid-container",key:a},{default:u((()=>[s(r,{class:"grid-item"},{default:u((()=>[d(p(e.name),1)])),_:2},1024),s(r,{class:"grid-item",onClick:a=>(e=>{y.value=e,b.value=!0})(e),style:{color:"#02a7f0"}},{default:u((()=>[d("编辑")])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:1})])),_:1}),s(I,{show:b.value,"onUpdate:show":a[1]||(a[1]=e=>b.value=e),style:{width:"100%"}},{default:u((()=>[s(r,{class:"flex"},{default:u((()=>[s(l,{title:"工艺维护","left-text":"返回","left-arrow":"",onClickLeft:U}),s(r,{class:"content"},{default:u((()=>[s(L,{ref_key:"formRef",ref:x,required:"auto"},{default:u((()=>[s(F,null,{default:u((()=>[c("p",null,"绑定工序流程"),(t(!0),n(i,null,f(y.value.flows,((e,l)=>(t(),v(r,{key:l,class:"a-b"},{default:u((()=>[0===l?(t(),v(_,{key:0,name:"add",color:"red",size:"25",onClick:a[0]||(a[0]=e=>y.value.flows.push({bind:"通用"}))})):w("",!0),0!=l?(t(),v(_,{key:1,name:"clear",color:"red",size:"25",onClick:e=>y.value.flows.splice(l,1)},null,8,["onClick"])):w("",!0),s(h,{modelValue:e.name,"onUpdate:modelValue":a=>e.name=a,name:"工序流程",label:"工序流程","label-align":"right",readonly:"",colon:"","label-width":"5em",class:"bor",onClick:e=>(e=>{C.value=!0,z.value=e})(l)},null,8,["modelValue","onUpdate:modelValue","onClick"]),s(O,{modelValue:e.bind,"onUpdate:modelValue":a=>e.bind=a,onClick:e=>(e=>{y.value.flows.forEach(((a,l)=>{a.bind=l!=e?"通用":"仅现货"}))})(l)},{default:u((()=>[s(k,{name:"仅现货"},{default:u((()=>[d("现货单使用")])),_:1})])),_:2},1032,["modelValue","onUpdate:modelValue","onClick"])])),_:2},1024)))),128))])),_:1})])),_:1},512)])),_:1}),s(r,{style:{display:"flex","justify-content":"space-between",padding:"0 30px","margin-top":"15px"}},{default:u((()=>[s(D,{type:"primary",block:"",onClick:V},{default:u((()=>[d("保存")])),_:1})])),_:1})])),_:1})])),_:1},8,["show"]),s(I,{show:C.value,"onUpdate:show":a[2]||(a[2]=e=>C.value=e),round:"",position:"bottom",onOpen:R},{default:u((()=>[s(A,{"show-toolbar":"",columns:q.value,onConfirm:B,onCancel:E,ref:"pickerRef"},null,8,["columns"])])),_:1},8,["show"])],64)}}}),[["__scopeId","data-v-40105d94"]]);export{g as default};
|
||||
import{d as e,r as a,o as l,j as o,b as t,e as n,k as s,w as u,m as d,F as i,f,l as c,q as r,i as m,c as v,t as p,h as w}from"./index-D2NElrYl.js";import{g as _,a as h,p as k}from"./index.Cv2D9Hyi.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";const g=b(e({__name:"processOldzmd",setup(e){const b=a(!1),g=a([]),C=a(!1),y=a({flows:[{}]}),x=a();a([]),a([]);const V=()=>{if(y.value.id){let e={id:y.value.id,craftName:y.value.name,flows:y.value.flows};h("/flowBind",e).then((e=>{200===e.code&&(O(),b.value=!1,r("修改成功!"))}))}else{let e={craftName:y.value.name,flows:y.value.flows};k("/flowBind",e).then((e=>{200===e.code&&(O(),b.value=!1,r("修改成功!"))}))}},U=()=>{b.value=!1},j=()=>{history.back()},N=()=>{b.value=!0},O=()=>{g.value=[],_("/fabric/craft/info").then((e=>{200===e.code&&_("/flowBind").then((a=>{200===a.code&&e.data.forEach((e=>{let l=a.data.find((a=>a.craftName===e.name));l?g.value.push({id:l.id,name:l.craftName,flows:l.flows}):g.value.push({name:e.name,flows:[{bind:"通用"}]})}))}))}))},z=a(),B=e=>{y.value.flows[z.value].id=e.selectedOptions[0].value,y.value.flows[z.value].name=e.selectedOptions[0].text,E()},E=()=>{C.value=!1},R=()=>{q.value=F.value},q=a([]),F=a([]);return l((()=>{O(),_("/craftFlows").then((e=>{200===e.code&&(F.value=e.data.map((e=>({text:e.name,value:e.id}))))}))})),(e,a)=>{const l=o("van-nav-bar"),r=m,_=o("van-icon"),h=o("van-field"),k=o("van-radio"),O=o("van-radio-group"),F=o("van-cell-group"),L=o("van-form"),D=o("van-button"),I=o("van-popup"),A=o("van-picker");return t(),n(i,null,[s(r,{class:"flex"},{default:u((()=>[s(l,{title:"工艺维护","left-text":"返回","left-arrow":"",onClickLeft:j,onClickRight:N}),s(r,{class:"grid-container"},{default:u((()=>[s(r,{class:"grid-item"},{default:u((()=>[d("工艺名称")])),_:1}),s(r,{class:"grid-item"},{default:u((()=>[d("操作")])),_:1})])),_:1}),s(r,{class:"content"},{default:u((()=>[(t(!0),n(i,null,f(g.value,((e,a)=>(t(),v(r,{class:"grid-container",key:a},{default:u((()=>[s(r,{class:"grid-item"},{default:u((()=>[d(p(e.name),1)])),_:2},1024),s(r,{class:"grid-item",onClick:a=>(e=>{y.value=e,b.value=!0})(e),style:{color:"#02a7f0"}},{default:u((()=>[d("编辑")])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:1})])),_:1}),s(I,{show:b.value,"onUpdate:show":a[1]||(a[1]=e=>b.value=e),style:{width:"100%"}},{default:u((()=>[s(r,{class:"flex"},{default:u((()=>[s(l,{title:"工艺维护","left-text":"返回","left-arrow":"",onClickLeft:U}),s(r,{class:"content"},{default:u((()=>[s(L,{ref_key:"formRef",ref:x,required:"auto"},{default:u((()=>[s(F,null,{default:u((()=>[c("p",null,"绑定工序流程"),(t(!0),n(i,null,f(y.value.flows,((e,l)=>(t(),v(r,{key:l,class:"a-b"},{default:u((()=>[0===l?(t(),v(_,{key:0,name:"add",color:"red",size:"25",onClick:a[0]||(a[0]=e=>y.value.flows.push({bind:"通用"}))})):w("",!0),0!=l?(t(),v(_,{key:1,name:"clear",color:"red",size:"25",onClick:e=>y.value.flows.splice(l,1)},null,8,["onClick"])):w("",!0),s(h,{modelValue:e.name,"onUpdate:modelValue":a=>e.name=a,name:"工序流程",label:"工序流程","label-align":"right",readonly:"",colon:"","label-width":"5em",class:"bor",onClick:e=>(e=>{C.value=!0,z.value=e})(l)},null,8,["modelValue","onUpdate:modelValue","onClick"]),s(O,{modelValue:e.bind,"onUpdate:modelValue":a=>e.bind=a,onClick:e=>(e=>{y.value.flows.forEach(((a,l)=>{a.bind=l!=e?"通用":"仅现货"}))})(l)},{default:u((()=>[s(k,{name:"仅现货"},{default:u((()=>[d("现货单使用")])),_:1})])),_:2},1032,["modelValue","onUpdate:modelValue","onClick"])])),_:2},1024)))),128))])),_:1})])),_:1},512)])),_:1}),s(r,{style:{display:"flex","justify-content":"space-between",padding:"0 30px","margin-top":"15px"}},{default:u((()=>[s(D,{type:"primary",block:"",onClick:V},{default:u((()=>[d("保存")])),_:1})])),_:1})])),_:1})])),_:1},8,["show"]),s(I,{show:C.value,"onUpdate:show":a[2]||(a[2]=e=>C.value=e),round:"",position:"bottom",onOpen:R},{default:u((()=>[s(A,{"show-toolbar":"",columns:q.value,onConfirm:B,onCancel:E,ref:"pickerRef"},null,8,["columns"])])),_:1},8,["show"])],64)}}}),[["__scopeId","data-v-40105d94"]]);export{g as default};
|
@ -1 +1 @@
|
||||
import{d as e,r as l,j as a,b as t,c as o,w as d,k as n,m as u,e as s,f as i,F as m,q as r,i as c,t as f}from"./index-BmnJ93Po.js";import{a as p}from"./uni-app.es.C4qf4Coy.js";import{a as b}from"./index.BXTZ2GXu.js";import{_}from"./_plugin-vue_export-helper.BCo6x5W8.js";const v=_(e({__name:"audit",setup(e){p((e=>{v.value=JSON.parse(e.item)}));const _=()=>{history.back()},v=l({}),y=()=>{let e="/interOrder/check/"+v.value.id+"?comment="+v.value.comment;b(e,v.value.fabric).then((e=>{200===e.code&&(r("审核通过!"),window.history.back())}))},V=()=>{let e="/interOrder/reject/"+v.value.id;b(e).then((e=>{200===e.code&&(r("驳回成功!"),window.history.back())}))};return(e,l)=>{const r=a("van-nav-bar"),p=a("van-field"),b=a("van-button"),g=c,k=a("van-cell-group");return t(),o(g,{class:"flex"},{default:d((()=>[n(r,{title:"现货需求单","left-text":"返回","left-arrow":"",onClickLeft:_}),n(g,{class:"content"},{default:d((()=>[n(k,{inset:""},{default:d((()=>[n(p,{modelValue:v.value.id,"onUpdate:modelValue":l[0]||(l[0]=e=>v.value.id=e),name:"需求单号",label:"需求单号",colon:"","label-width":"5em",readonly:""},null,8,["modelValue"]),n(p,{modelValue:v.value.makeTime,"onUpdate:modelValue":l[1]||(l[1]=e=>v.value.makeTime=e),name:"做单日期",label:"做单日期",colon:"",class:"bor","label-width":"5em",readonly:""},null,8,["modelValue"]),n(p,{modelValue:v.value.makeUser,"onUpdate:modelValue":l[2]||(l[2]=e=>v.value.makeUser=e),name:"做单人",label:"做单人",colon:"","label-width":"5em",readonly:""},null,8,["modelValue"]),n(p,{modelValue:v.value.color,"onUpdate:modelValue":l[3]||(l[3]=e=>v.value.color=e),name:"颜色色号",label:"颜色色号",colon:"",readonly:"","label-width":"5em"},null,8,["modelValue"]),n(p,{modelValue:v.value.craft,"onUpdate:modelValue":l[4]||(l[4]=e=>v.value.craft=e),name:"工艺",label:"工艺",colon:"",readonly:"","label-width":"5em",class:"bor"},null,8,["modelValue"]),n(g,{class:"a-b"},{default:d((()=>[n(b,{type:"primary"},{default:d((()=>[u("面料添加")])),_:1})])),_:1}),n(g,{class:"grid-container"},{default:d((()=>[n(g,{class:"grid-item"},{default:d((()=>[u("面料名称")])),_:1}),n(g,{class:"grid-item"},{default:d((()=>[u("匹数")])),_:1}),n(g,{class:"grid-item"},{default:d((()=>[u("库存")])),_:1}),n(g,{class:"grid-item"},{default:d((()=>[u("谁定")])),_:1}),n(g,{class:"grid-item"},{default:d((()=>[u("操作")])),_:1})])),_:1}),(t(!0),s(m,null,i(v.value.fabric,((e,l)=>(t(),o(g,{class:"grid-container",key:l},{default:d((()=>[n(g,{class:"grid-item"},{default:d((()=>[u(f(e.name),1)])),_:2},1024),n(g,{class:"grid-item"},{default:d((()=>[n(p,{modelValue:e.quantity,"onUpdate:modelValue":l=>e.quantity=l,class:"bor",type:"number"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),n(g,{class:"grid-item"},{default:d((()=>[u(f(e.storageQuantity),1)])),_:2},1024),n(g,{class:"grid-item"},{default:d((()=>[u(f(e.belongTo),1)])),_:2},1024),n(g,{class:"grid-item",style:{color:"red"},onClick:e=>v.value.fabric.splice(l,1)},{default:d((()=>[u("删除")])),_:2},1032,["onClick"])])),_:2},1024)))),128)),n(p,{modelValue:v.value.comment,"onUpdate:modelValue":l[5]||(l[5]=e=>v.value.comment=e),name:"备注",label:"备注",colon:"","label-width":"5em"},null,8,["modelValue"])])),_:1}),n(g,{style:{margin:"16px",display:"flex","align-items":"center","justify-content":"space-between"}},{default:d((()=>[n(b,{round:"",block:"",type:"danger",onClick:V},{default:d((()=>[u(" 驳回 ")])),_:1}),u(" "),n(b,{round:"",block:"",type:"primary",onClick:y},{default:d((()=>[u(" 通过 ")])),_:1})])),_:1})])),_:1})])),_:1})}}}),[["__scopeId","data-v-50fa285d"]]);export{v as default};
|
||||
import{d as e,r as l,j as a,b as t,c as o,w as d,k as n,m as u,e as s,f as i,F as m,q as r,i as c,t as f}from"./index-D2NElrYl.js";import{a as p}from"./uni-app.es.CyjALRV_.js";import{a as b}from"./index.Cv2D9Hyi.js";import{_}from"./_plugin-vue_export-helper.BCo6x5W8.js";const v=_(e({__name:"audit",setup(e){p((e=>{v.value=JSON.parse(e.item)}));const _=()=>{history.back()},v=l({}),y=()=>{let e="/interOrder/check/"+v.value.id+"?comment="+v.value.comment;b(e,v.value.fabric).then((e=>{200===e.code&&(r("审核通过!"),window.history.back())}))},V=()=>{let e="/interOrder/reject/"+v.value.id;b(e).then((e=>{200===e.code&&(r("驳回成功!"),window.history.back())}))};return(e,l)=>{const r=a("van-nav-bar"),p=a("van-field"),b=a("van-button"),g=c,k=a("van-cell-group");return t(),o(g,{class:"flex"},{default:d((()=>[n(r,{title:"现货需求单","left-text":"返回","left-arrow":"",onClickLeft:_}),n(g,{class:"content"},{default:d((()=>[n(k,{inset:""},{default:d((()=>[n(p,{modelValue:v.value.id,"onUpdate:modelValue":l[0]||(l[0]=e=>v.value.id=e),name:"需求单号",label:"需求单号",colon:"","label-width":"5em",readonly:""},null,8,["modelValue"]),n(p,{modelValue:v.value.makeTime,"onUpdate:modelValue":l[1]||(l[1]=e=>v.value.makeTime=e),name:"做单日期",label:"做单日期",colon:"",class:"bor","label-width":"5em",readonly:""},null,8,["modelValue"]),n(p,{modelValue:v.value.makeUser,"onUpdate:modelValue":l[2]||(l[2]=e=>v.value.makeUser=e),name:"做单人",label:"做单人",colon:"","label-width":"5em",readonly:""},null,8,["modelValue"]),n(p,{modelValue:v.value.color,"onUpdate:modelValue":l[3]||(l[3]=e=>v.value.color=e),name:"颜色色号",label:"颜色色号",colon:"",readonly:"","label-width":"5em"},null,8,["modelValue"]),n(p,{modelValue:v.value.craft,"onUpdate:modelValue":l[4]||(l[4]=e=>v.value.craft=e),name:"工艺",label:"工艺",colon:"",readonly:"","label-width":"5em",class:"bor"},null,8,["modelValue"]),n(g,{class:"a-b"},{default:d((()=>[n(b,{type:"primary"},{default:d((()=>[u("面料添加")])),_:1})])),_:1}),n(g,{class:"grid-container"},{default:d((()=>[n(g,{class:"grid-item"},{default:d((()=>[u("面料名称")])),_:1}),n(g,{class:"grid-item"},{default:d((()=>[u("匹数")])),_:1}),n(g,{class:"grid-item"},{default:d((()=>[u("库存")])),_:1}),n(g,{class:"grid-item"},{default:d((()=>[u("谁定")])),_:1}),n(g,{class:"grid-item"},{default:d((()=>[u("操作")])),_:1})])),_:1}),(t(!0),s(m,null,i(v.value.fabric,((e,l)=>(t(),o(g,{class:"grid-container",key:l},{default:d((()=>[n(g,{class:"grid-item"},{default:d((()=>[u(f(e.name),1)])),_:2},1024),n(g,{class:"grid-item"},{default:d((()=>[n(p,{modelValue:e.quantity,"onUpdate:modelValue":l=>e.quantity=l,class:"bor",type:"number"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),n(g,{class:"grid-item"},{default:d((()=>[u(f(e.storageQuantity),1)])),_:2},1024),n(g,{class:"grid-item"},{default:d((()=>[u(f(e.belongTo),1)])),_:2},1024),n(g,{class:"grid-item",style:{color:"red"},onClick:e=>v.value.fabric.splice(l,1)},{default:d((()=>[u("删除")])),_:2},1032,["onClick"])])),_:2},1024)))),128)),n(p,{modelValue:v.value.comment,"onUpdate:modelValue":l[5]||(l[5]=e=>v.value.comment=e),name:"备注",label:"备注",colon:"","label-width":"5em"},null,8,["modelValue"])])),_:1}),n(g,{style:{margin:"16px",display:"flex","align-items":"center","justify-content":"space-between"}},{default:d((()=>[n(b,{round:"",block:"",type:"danger",onClick:V},{default:d((()=>[u(" 驳回 ")])),_:1}),u(" "),n(b,{round:"",block:"",type:"primary",onClick:y},{default:d((()=>[u(" 通过 ")])),_:1})])),_:1})])),_:1})])),_:1})}}}),[["__scopeId","data-v-50fa285d"]]);export{v as default};
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{d as e,r as l,j as a,b as t,c as o,w as d,k as u,m as s,e as n,f as m,F as r,i,t as c}from"./index-BmnJ93Po.js";import{a as f}from"./uni-app.es.C4qf4Coy.js";import{_ as p}from"./_plugin-vue_export-helper.BCo6x5W8.js";const b=p(e({__name:"pass",setup(e){f((e=>{b.value=JSON.parse(e.item)}));const p=()=>{history.back()},b=l({});return(e,l)=>{const f=a("van-nav-bar"),_=a("van-field"),v=a("van-button"),V=i,g=a("van-cell-group");return t(),o(V,{class:"flex"},{default:d((()=>[u(f,{title:"现货需求单","left-text":"返回","left-arrow":"",onClickLeft:p}),u(V,{class:"content"},{default:d((()=>[u(g,{inset:""},{default:d((()=>[u(_,{modelValue:b.value.id,"onUpdate:modelValue":l[0]||(l[0]=e=>b.value.id=e),name:"需求单号",label:"需求单号",colon:"","label-width":"5em",readonly:""},null,8,["modelValue"]),u(_,{modelValue:b.value.makeTime,"onUpdate:modelValue":l[1]||(l[1]=e=>b.value.makeTime=e),name:"做单日期",label:"做单日期",colon:"",class:"bor","label-width":"5em",readonly:""},null,8,["modelValue"]),u(_,{modelValue:b.value.makeUser,"onUpdate:modelValue":l[2]||(l[2]=e=>b.value.makeUser=e),name:"做单人",label:"做单人",colon:"","label-width":"5em",readonly:""},null,8,["modelValue"]),u(_,{modelValue:b.value.color,"onUpdate:modelValue":l[3]||(l[3]=e=>b.value.color=e),name:"颜色色号",label:"颜色色号",colon:"",readonly:"","label-width":"5em"},null,8,["modelValue"]),u(_,{modelValue:b.value.craft,"onUpdate:modelValue":l[4]||(l[4]=e=>b.value.craft=e),name:"工艺",label:"工艺",colon:"",readonly:"","label-width":"5em",class:"bor"},null,8,["modelValue"]),u(V,{class:"a-b"},{default:d((()=>[u(v,{type:"primary"},{default:d((()=>[s("面料添加")])),_:1})])),_:1}),u(V,{class:"grid-container"},{default:d((()=>[u(V,{class:"grid-item"},{default:d((()=>[s("面料名称")])),_:1}),u(V,{class:"grid-item"},{default:d((()=>[s("匹数")])),_:1}),u(V,{class:"grid-item"},{default:d((()=>[s("库存")])),_:1}),u(V,{class:"grid-item"},{default:d((()=>[s("谁定")])),_:1}),u(V,{class:"grid-item"},{default:d((()=>[s("操作")])),_:1})])),_:1}),(t(!0),n(r,null,m(b.value.fabric,((e,l)=>(t(),o(V,{class:"grid-container",key:l},{default:d((()=>[u(V,{class:"grid-item"},{default:d((()=>[s(c(e.name),1)])),_:2},1024),u(V,{class:"grid-item"},{default:d((()=>[u(_,{modelValue:e.quantity,"onUpdate:modelValue":l=>e.quantity=l,class:"bor",type:"number"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),u(V,{class:"grid-item"},{default:d((()=>[s(c(e.storageQuantity),1)])),_:2},1024),u(V,{class:"grid-item"},{default:d((()=>[s(c(e.belongTo),1)])),_:2},1024),u(V,{class:"grid-item",style:{color:"red"},onClick:e=>b.value.fabric.splice(l,1)},{default:d((()=>[s("删除")])),_:2},1032,["onClick"])])),_:2},1024)))),128)),u(_,{modelValue:b.value.comment,"onUpdate:modelValue":l[5]||(l[5]=e=>b.value.comment=e),name:"备注",label:"备注",colon:"","label-width":"5em",readonly:""},null,8,["modelValue"])])),_:1})])),_:1})])),_:1})}}}),[["__scopeId","data-v-1ddb6145"]]);export{b as default};
|
||||
import{d as e,r as l,j as a,b as t,c as o,w as d,k as u,m as s,e as n,f as m,F as r,i,t as c}from"./index-D2NElrYl.js";import{a as f}from"./uni-app.es.CyjALRV_.js";import{_ as p}from"./_plugin-vue_export-helper.BCo6x5W8.js";const b=p(e({__name:"pass",setup(e){f((e=>{b.value=JSON.parse(e.item)}));const p=()=>{history.back()},b=l({});return(e,l)=>{const f=a("van-nav-bar"),_=a("van-field"),v=a("van-button"),V=i,g=a("van-cell-group");return t(),o(V,{class:"flex"},{default:d((()=>[u(f,{title:"现货需求单","left-text":"返回","left-arrow":"",onClickLeft:p}),u(V,{class:"content"},{default:d((()=>[u(g,{inset:""},{default:d((()=>[u(_,{modelValue:b.value.id,"onUpdate:modelValue":l[0]||(l[0]=e=>b.value.id=e),name:"需求单号",label:"需求单号",colon:"","label-width":"5em",readonly:""},null,8,["modelValue"]),u(_,{modelValue:b.value.makeTime,"onUpdate:modelValue":l[1]||(l[1]=e=>b.value.makeTime=e),name:"做单日期",label:"做单日期",colon:"",class:"bor","label-width":"5em",readonly:""},null,8,["modelValue"]),u(_,{modelValue:b.value.makeUser,"onUpdate:modelValue":l[2]||(l[2]=e=>b.value.makeUser=e),name:"做单人",label:"做单人",colon:"","label-width":"5em",readonly:""},null,8,["modelValue"]),u(_,{modelValue:b.value.color,"onUpdate:modelValue":l[3]||(l[3]=e=>b.value.color=e),name:"颜色色号",label:"颜色色号",colon:"",readonly:"","label-width":"5em"},null,8,["modelValue"]),u(_,{modelValue:b.value.craft,"onUpdate:modelValue":l[4]||(l[4]=e=>b.value.craft=e),name:"工艺",label:"工艺",colon:"",readonly:"","label-width":"5em",class:"bor"},null,8,["modelValue"]),u(V,{class:"a-b"},{default:d((()=>[u(v,{type:"primary"},{default:d((()=>[s("面料添加")])),_:1})])),_:1}),u(V,{class:"grid-container"},{default:d((()=>[u(V,{class:"grid-item"},{default:d((()=>[s("面料名称")])),_:1}),u(V,{class:"grid-item"},{default:d((()=>[s("匹数")])),_:1}),u(V,{class:"grid-item"},{default:d((()=>[s("库存")])),_:1}),u(V,{class:"grid-item"},{default:d((()=>[s("谁定")])),_:1}),u(V,{class:"grid-item"},{default:d((()=>[s("操作")])),_:1})])),_:1}),(t(!0),n(r,null,m(b.value.fabric,((e,l)=>(t(),o(V,{class:"grid-container",key:l},{default:d((()=>[u(V,{class:"grid-item"},{default:d((()=>[s(c(e.name),1)])),_:2},1024),u(V,{class:"grid-item"},{default:d((()=>[u(_,{modelValue:e.quantity,"onUpdate:modelValue":l=>e.quantity=l,class:"bor",type:"number"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024),u(V,{class:"grid-item"},{default:d((()=>[s(c(e.storageQuantity),1)])),_:2},1024),u(V,{class:"grid-item"},{default:d((()=>[s(c(e.belongTo),1)])),_:2},1024),u(V,{class:"grid-item",style:{color:"red"},onClick:e=>b.value.fabric.splice(l,1)},{default:d((()=>[s("删除")])),_:2},1032,["onClick"])])),_:2},1024)))),128)),u(_,{modelValue:b.value.comment,"onUpdate:modelValue":l[5]||(l[5]=e=>b.value.comment=e),name:"备注",label:"备注",colon:"","label-width":"5em",readonly:""},null,8,["modelValue"])])),_:1})])),_:1})])),_:1})}}}),[["__scopeId","data-v-1ddb6145"]]);export{b as default};
|
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/assets/pages-whiteEmbryo-listSearch.CYHt2Enr.js
vendored
Normal file
1
unpackage/dist/build/web/assets/pages-whiteEmbryo-listSearch.CYHt2Enr.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{d as e,r as a,o as l,j as t,b as s,e as o,k as n,w as i,m as r,F as u,f as c,i as d,c as f,t as m}from"./index-D2NElrYl.js";import{g as p,p as v}from"./index.Cv2D9Hyi.js";import{_ as g}from"./_plugin-vue_export-helper.BCo6x5W8.js";const _=g(e({__name:"listSearch",setup(e){const g=a({}),_=a([]);l((()=>{p("/fabric/info/all").then((e=>{if(200===e.code){let a=new Set,l=[];e.data.forEach((e=>{a.add(e.category);let t=l.find((a=>a.category===e.category));t?t.list.push(e.name):l.push({category:e.category,list:[e.name]})})),g.value.list=l,b.value=[...a].map((e=>({text:e,value:e})))}}))}));const h=()=>{window.history.back()},w=a(!1),b=a([]),y=()=>{w.value=!0},k=e=>{g.value.pl=e.selectedValues[0];let a=g.value.list.find((a=>a.category==e.selectedValues[0]));var l;l=a.list,_.value=[],v("/rawFabric/preview",l).then((e=>{200==e.code&&(_.value=e.data)})),x()},x=()=>{w.value=!1};return(e,a)=>{const l=t("van-nav-bar"),p=t("van-field"),v=t("van-cell-group"),C=d,V=t("van-picker"),j=t("van-popup");return s(),o(u,null,[n(C,{class:"flex"},{default:i((()=>[n(l,{title:"白胚库存列表","left-text":"返回","left-arrow":"",onClickLeft:h}),n(v,{inset:""},{default:i((()=>[n(p,{modelValue:g.value.pl,"onUpdate:modelValue":a[0]||(a[0]=e=>g.value.pl=e),name:"品类",label:"品类",colon:"",class:"bor","label-width":"3em",readonly:"",onClick:y},null,8,["modelValue"])])),_:1}),n(C,{class:"grid-container"},{default:i((()=>[n(C,{class:"grid-item"},{default:i((()=>[r("面料名称")])),_:1}),n(C,{class:"grid-item"},{default:i((()=>[r("面料匹数")])),_:1}),n(C,{class:"grid-item"},{default:i((()=>[r("面料米数")])),_:1}),n(C,{class:"grid-item"},{default:i((()=>[r("操作")])),_:1})])),_:1}),n(C,{class:"content"},{default:i((()=>[(s(!0),o(u,null,c(_.value,((e,a)=>(s(),f(C,{class:"grid-container",key:a,onClick:a=>(e=>{console.log(e)})(e)},{default:i((()=>[n(C,{class:"grid-item"},{default:i((()=>[r(m(e.category),1)])),_:2},1024),n(C,{class:"grid-item"},{default:i((()=>[r(m(e.count),1)])),_:2},1024),n(C,{class:"grid-item"},{default:i((()=>[r(m(e.len),1)])),_:2},1024),n(C,{class:"grid-item"},{default:i((()=>[r("查看")])),_:1})])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1}),n(j,{show:w.value,"onUpdate:show":a[1]||(a[1]=e=>w.value=e),round:"",position:"bottom"},{default:i((()=>[n(V,{"show-toolbar":"",columns:b.value,onConfirm:k,onCancel:x,ref:"pickerRef"},null,8,["columns"])])),_:1},8,["show"])],64)}}}),[["__scopeId","data-v-88630125"]]);export{_ as default};
|
@ -1 +0,0 @@
|
||||
import{d as e,r as a,o as l,j as t,b as s,e as o,k as n,w as i,m as r,F as u,f as d,i as c,c as f,t as p}from"./index-BmnJ93Po.js";import{g as m,p as v}from"./index.BXTZ2GXu.js";import{_}from"./_plugin-vue_export-helper.BCo6x5W8.js";const g=_(e({__name:"listSearch",setup(e){const _=a({}),g=a([]);l((()=>{m("/fabric/info/all").then((e=>{if(200===e.code){let a=new Set,l=[];e.data.forEach((e=>{a.add(e.category);let t=l.find((a=>a.category===e.category));t?t.list.push(e.name):l.push({category:e.category,list:[e.name]})})),_.value.list=l,b.value=[...a].map((e=>({text:e,value:e})))}}))}));const h=()=>{window.history.back()},w=a(!1),b=a([]),k=()=>{w.value=!0},y=e=>{_.value.pl=e.selectedValues[0];let a=_.value.list.find((a=>a.category==e.selectedValues[0]));var l;l=a.list,g.value=[],v("/rawFabric/preview",l).then((e=>{if(200==e.code)for(let a in e.data)g.value.push({name:a,ps:e.data[a]})})),x()},x=()=>{w.value=!1};return(e,a)=>{const l=t("van-nav-bar"),m=t("van-field"),v=t("van-cell-group"),C=c,V=t("van-picker"),j=t("van-popup");return s(),o(u,null,[n(C,{class:"flex"},{default:i((()=>[n(l,{title:"白胚库存列表","left-text":"返回","left-arrow":"",onClickLeft:h}),n(v,{inset:""},{default:i((()=>[n(m,{modelValue:_.value.pl,"onUpdate:modelValue":a[0]||(a[0]=e=>_.value.pl=e),name:"品类",label:"品类",colon:"",class:"bor","label-width":"3em",readonly:"",onClick:k},null,8,["modelValue"])])),_:1}),n(C,{class:"grid-container"},{default:i((()=>[n(C,{class:"grid-item"},{default:i((()=>[r("面料名称")])),_:1}),n(C,{class:"grid-item"},{default:i((()=>[r("面料匹数")])),_:1}),n(C,{class:"grid-item"},{default:i((()=>[r("操作")])),_:1})])),_:1}),n(C,{class:"content"},{default:i((()=>[(s(!0),o(u,null,d(g.value,((e,a)=>(s(),f(C,{class:"grid-container",key:a,onClick:a=>(e=>{console.log(e)})(e)},{default:i((()=>[n(C,{class:"grid-item"},{default:i((()=>[r(p(e.name),1)])),_:2},1024),n(C,{class:"grid-item"},{default:i((()=>[r(p(e.ps),1)])),_:2},1024),n(C,{class:"grid-item"},{default:i((()=>[r("查看")])),_:1})])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1}),n(j,{show:w.value,"onUpdate:show":a[1]||(a[1]=e=>w.value=e),round:"",position:"bottom"},{default:i((()=>[n(V,{"show-toolbar":"",columns:b.value,onConfirm:y,onCancel:x,ref:"pickerRef"},null,8,["columns"])])),_:1},8,["show"])],64)}}}),[["__scopeId","data-v-5d61d7a9"]]);export{g as default};
|
@ -1 +1 @@
|
||||
import{d as e,r as a,o as l,j as t,b as s,e as u,k as d,w as i,m as n,F as o,f as r,l as c,q as v,i as f,c as _,t as p}from"./index-BmnJ93Po.js";import{g as m,a as g,p as h,d as w}from"./index.BXTZ2GXu.js";import{_ as k}from"./_plugin-vue_export-helper.BCo6x5W8.js";const b=k(e({__name:"w-level",setup(e){const k=a(!1),b=a([]),y=a(""),x=a("");l((()=>{C()}));const C=()=>{m("/rawFabricLevels",{page:1,size:100}).then((e=>{200===e.code&&(b.value=e.data.record)}))},F=()=>{history.back()},L=()=>{k.value=!0,y.value="",x.value=""},j=()=>{if(!y.value)return v("请填写等级!");x.value?g("/rawFabricLevels",{id:x.value,level:y.value}).then((e=>{200===e.code&&(k.value=!1,v("编辑成功!"),C())})):h("/rawFabricLevels",{level:y.value}).then((e=>{200===e.code&&(k.value=!1,v("提交成功!"),C())}))};return(e,a)=>{const l=t("van-nav-bar"),m=f,g=t("van-field"),h=t("van-cell-group"),V=t("van-button"),U=t("van-popup");return s(),u(o,null,[d(m,{class:"flex"},{default:i((()=>[d(l,{title:"白胚等级维护","left-text":"返回","left-arrow":"","right-text":"新增",onClickLeft:F,onClickRight:L}),d(m,{class:"content"},{default:i((()=>[d(m,{class:"grid-container"},{default:i((()=>[d(m,{class:"grid-item"},{default:i((()=>[n("编号")])),_:1}),d(m,{class:"grid-item"},{default:i((()=>[n("白胚等级")])),_:1}),d(m,{class:"grid-item"},{default:i((()=>[n("操作")])),_:1})])),_:1}),(s(!0),u(o,null,r(b.value,((e,a)=>(s(),_(m,{class:"grid-container",key:a},{default:i((()=>[d(m,{class:"grid-item"},{default:i((()=>[n(p(e.id),1)])),_:2},1024),d(m,{class:"grid-item"},{default:i((()=>[n(p(e.level),1)])),_:2},1024),d(m,{class:"grid-item"},{default:i((()=>[c("span",{style:{color:"#35a5f7"},onClick:a=>(e=>{y.value=e.level,x.value=e.id,k.value=!0})(e)},"编辑",8,["onClick"]),n(" "),c("span",{style:{color:"red"},onClick:a=>(e=>{let a=/rawFabricLevels/+e.id;w(a).then((e=>{200===e.code&&(v("删除成功!"),C())}))})(e)},"删除 ",8,["onClick"])])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1}),d(U,{show:k.value,"onUpdate:show":a[2]||(a[2]=e=>k.value=e),style:{width:"80%"},round:""},{default:i((()=>[d(m,null,{default:i((()=>[c("h3",{style:{"text-align":"center"}},"新增"),d(h,{inset:""},{default:i((()=>[d(g,{modelValue:y.value,"onUpdate:modelValue":a[0]||(a[0]=e=>y.value=e),name:"白胚等级",label:"白胚等级",colon:"","label-width":"5em"},null,8,["modelValue"])])),_:1}),d(m,{class:"a-c"},{default:i((()=>[d(V,{type:"danger",onClick:a[1]||(a[1]=e=>k.value=!1)},{default:i((()=>[n("取消")])),_:1}),d(V,{type:"primary",onClick:j},{default:i((()=>[n("确认")])),_:1})])),_:1})])),_:1})])),_:1},8,["show"])],64)}}}),[["__scopeId","data-v-f945a2ac"]]);export{b as default};
|
||||
import{d as e,r as a,o as l,j as t,b as s,e as u,k as d,w as i,m as n,F as o,f as r,l as c,q as v,i as f,c as _,t as p}from"./index-D2NElrYl.js";import{g as m,a as g,p as h,d as w}from"./index.Cv2D9Hyi.js";import{_ as k}from"./_plugin-vue_export-helper.BCo6x5W8.js";const b=k(e({__name:"w-level",setup(e){const k=a(!1),b=a([]),y=a(""),x=a("");l((()=>{C()}));const C=()=>{m("/rawFabricLevels",{page:1,size:100}).then((e=>{200===e.code&&(b.value=e.data.record)}))},F=()=>{history.back()},L=()=>{k.value=!0,y.value="",x.value=""},j=()=>{if(!y.value)return v("请填写等级!");x.value?g("/rawFabricLevels",{id:x.value,level:y.value}).then((e=>{200===e.code&&(k.value=!1,v("编辑成功!"),C())})):h("/rawFabricLevels",{level:y.value}).then((e=>{200===e.code&&(k.value=!1,v("提交成功!"),C())}))};return(e,a)=>{const l=t("van-nav-bar"),m=f,g=t("van-field"),h=t("van-cell-group"),V=t("van-button"),U=t("van-popup");return s(),u(o,null,[d(m,{class:"flex"},{default:i((()=>[d(l,{title:"白胚等级维护","left-text":"返回","left-arrow":"","right-text":"新增",onClickLeft:F,onClickRight:L}),d(m,{class:"content"},{default:i((()=>[d(m,{class:"grid-container"},{default:i((()=>[d(m,{class:"grid-item"},{default:i((()=>[n("编号")])),_:1}),d(m,{class:"grid-item"},{default:i((()=>[n("白胚等级")])),_:1}),d(m,{class:"grid-item"},{default:i((()=>[n("操作")])),_:1})])),_:1}),(s(!0),u(o,null,r(b.value,((e,a)=>(s(),_(m,{class:"grid-container",key:a},{default:i((()=>[d(m,{class:"grid-item"},{default:i((()=>[n(p(e.id),1)])),_:2},1024),d(m,{class:"grid-item"},{default:i((()=>[n(p(e.level),1)])),_:2},1024),d(m,{class:"grid-item"},{default:i((()=>[c("span",{style:{color:"#35a5f7"},onClick:a=>(e=>{y.value=e.level,x.value=e.id,k.value=!0})(e)},"编辑",8,["onClick"]),n(" "),c("span",{style:{color:"red"},onClick:a=>(e=>{let a=/rawFabricLevels/+e.id;w(a).then((e=>{200===e.code&&(v("删除成功!"),C())}))})(e)},"删除 ",8,["onClick"])])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1}),d(U,{show:k.value,"onUpdate:show":a[2]||(a[2]=e=>k.value=e),style:{width:"80%"},round:""},{default:i((()=>[d(m,null,{default:i((()=>[c("h3",{style:{"text-align":"center"}},"新增"),d(h,{inset:""},{default:i((()=>[d(g,{modelValue:y.value,"onUpdate:modelValue":a[0]||(a[0]=e=>y.value=e),name:"白胚等级",label:"白胚等级",colon:"","label-width":"5em"},null,8,["modelValue"])])),_:1}),d(m,{class:"a-c"},{default:i((()=>[d(V,{type:"danger",onClick:a[1]||(a[1]=e=>k.value=!1)},{default:i((()=>[n("取消")])),_:1}),d(V,{type:"primary",onClick:j},{default:i((()=>[n("确认")])),_:1})])),_:1})])),_:1})])),_:1},8,["show"])],64)}}}),[["__scopeId","data-v-ce6ea5c7"]]);export{b as default};
|
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/assets/pages-whiteEmbryo-w-libraryLocation.ByrGrt19.js
vendored
Normal file
1
unpackage/dist/build/web/assets/pages-whiteEmbryo-w-libraryLocation.ByrGrt19.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/assets/pages-whiteEmbryo-w-list.MWeWL4m1.js
vendored
Normal file
1
unpackage/dist/build/web/assets/pages-whiteEmbryo-w-list.MWeWL4m1.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/assets/pages-whiteEmbryo-w-scanCode.CaG4mx6K.js
vendored
Normal file
1
unpackage/dist/build/web/assets/pages-whiteEmbryo-w-scanCode.CaG4mx6K.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{d as t,o as e,r as a,j as n,x as o,b as s,c as l,w as c,k as r,m as i,t as p,h as u,q as d,B as f,i as v}from"./index-D2NElrYl.js";import{_ as m}from"./cshaptx4869-scancode.C5bz-F02.js";import{r as x}from"./uni-app.es.CyjALRV_.js";import{a as h,g as w}from"./index.Cv2D9Hyi.js";import{s as g}from"./function-call.DSHj1ZhI.js";import{_ as y}from"./_plugin-vue_export-helper.BCo6x5W8.js";const b=y(t({__name:"w-scanCode",setup(t){e((()=>{}));const y=()=>{window.history.back()},b=()=>{T()},_=a(!1);function T(){_.value=!0}const $=a(),z=a();function C(t){_.value=!1,z.value?($.value=t,h("/rawFabric/sign",{barcode:$.value,location:z.value},{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((t=>{if(7778===t.code){let e=JSON.parse(t.msg);if(e.location==z.value)g({message:"该面料已放置在"+e.location+",请勿重复扫码",allowHtml:!0,confirmButtonText:"扫一扫"}).then((()=>{T()})).catch((()=>{z.value="",$.value=""}));else{let t=`\n\t\t\t\t\t\t\t\t\t\t\t<div style="text-align: left">\n\t\t\t\t\t\t\t\t\t\t\t<p>面料编号:<span style="color:red;font-size:18px">${$.value}</span></p>\n\t\t\t\t\t\t\t\t\t\t\t<p>面料名称:<span style="color:red;font-size:18px">${e.category}</span></p>\n\t\t\t\t\t\t\t\t\t\t\t<p>面料位置:<span style="color:red;font-size:18px">${e.location}</span></p>\n\t\t\t\t\t\t\t\t\t\t\t<p style="margin-top:8px">是否将面料移动到<span style="color:red;font-size:18px">${z.value}</span>?</p>\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t`;g({title:"扫码成功!",message:t,allowHtml:!0,confirmButtonText:"确认"}).then((()=>{h("/rawFabric/sign",{barcode:$.value,location:z.value,force:!0},{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((t=>{200===t.code?d("入货架成功!"):d(t.msg)}))})).catch((()=>{z.value="",$.value=""}))}}else if(7777===t.code){let e=JSON.parse(t.msg),a=`\n\t\t\t\t\t<p>面料编号为<span style="color:red;font-size:18px">${$.value}</span>的<span style="color:red;font-size:18px">${e.category}</span>被暂存在检验室,是否确认移动到<span style="color:red;font-size:18px">${z.value}</span>?</p>\n\t\t\t `;g({message:a,allowHtml:!0,confirmButtonText:"确认"}).then((()=>{h("/rawFabric/sign",{barcode:$.value,location:z.value,force:!0},{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((t=>{200===t.code?d("入货架成功!"):d(t.msg)}))})).catch((()=>{z.value="",$.value=""}))}else if(200===t.code){let e=`\n\t\t\t\t\t<p>面料编号:<span style="color:red;font-size:18px">${$.value}</span></p>\n\t\t\t\t\t<p>面料名称:<span style="color:red;font-size:18px">${t.data}</span></p>\n\t\t\t\t\t`;g({title:"扫码成功!",message:e,allowHtml:!0,confirmButtonText:"扫一扫"}).then((()=>{T()})).catch((()=>{z.value="",$.value=""}))}else d(t.msg)}))):w("/shelves/isActive?code="+t).then((e=>{if(200===e.code)if(e.data.active){z.value=t;let a="";e.data.recommend.forEach((t=>{a+=`\n\t\t\t\t\t\t\t<div>${t.fabricName}</div>\n\t\t\t\t\t\t\t`})),a+=`\n\t\t\t\t\t\t\t<div>货架号:<span style="color:red;font-size:18px">${z.value}</span></div>\n\t\t\t\t\t\t`,g({title:"扫码成功,推荐放置面料",message:a,allowHtml:!0,confirmButtonText:"扫一扫"}).then((()=>{T()})).catch((()=>{z.value="",$.value=""}))}else d("该库位码已被禁用,请联系管理员")}))}function F(t){f({title:t.errName,content:t.errMsg,complete:()=>{_.value=!1}})}function j(){_.value=!1}return(t,e)=>{const a=n("van-nav-bar"),d=v,f=x(o("cshaptx4869-scancode"),m);return s(),l(d,{class:"flex"},{default:c((()=>[r(a,{title:"扫码入库","left-text":"返回","left-arrow":"",onClickLeft:y}),r(d,{class:"btn",onClick:b},{default:c((()=>[i("扫描库位码")])),_:1}),r(d,{style:{margin:"20rpx 50rpx"}},{default:c((()=>[i("当前库位码:"+p(z.value),1)])),_:1}),z.value?(s(),l(d,{key:0,class:"btn",onClick:T},{default:c((()=>[i("扫描面料编号")])),_:1})):u("",!0),_.value?(s(),l(f,{key:1,onSuccess:C,onFail:F,onClose:j})):u("",!0)])),_:1})}}}),[["__scopeId","data-v-f9422053"]]);export{b as default};
|
@ -1 +0,0 @@
|
||||
import{d as e,o as t,r as a,j as o,v as n,b as s,c as l,w as c,k as r,m as i,h as p,q as u,A as d,i as f}from"./index-BmnJ93Po.js";import{_ as m}from"./cshaptx4869-scancode.B3yK47M6.js";import{r as v}from"./uni-app.es.C4qf4Coy.js";import{a as x,g as h}from"./index.BXTZ2GXu.js";import{s as g}from"./function-call.BxuSyXbr.js";import"./_plugin-vue_export-helper.BCo6x5W8.js";const w=e({__name:"w-scanCode",setup(e){t((()=>{}));const w=()=>{window.history.back()},y=()=>{b()},T=a(!1);function b(){T.value=!0}const F=a(),j=a();function z(e){T.value=!1,j.value?(F.value=e,x("/rawFabric/sign",{barcode:F.value,location:j.value},{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((e=>{if(7778===e.code){let t=JSON.parse(e.msg),a=`\n\t\t\t\t\t<p>面料编号为<span style="color:red;font-size:18px">${F.value}</span>的<span style="color:red;font-size:18px">${t.category}</span>已放置在<span style="color:red;font-size:18px">${t.location}</span>,是否将面料移动到<span style="color:red;font-size:18px">${j.value}</span>?</p>\n\t\t\t `;g({message:a,allowHtml:!0,confirmButtonText:"确认"}).then((()=>{x("/rawFabric/sign",{barcode:F.value,location:j.value,force:!0},{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((e=>{200===e.code?u("入货架成功!"):u(e.msg)}))})).catch((()=>{j.value="",F.value=""}))}else if(7777===e.code){let t=JSON.parse(e.msg),a=`\n\t\t\t\t\t<p>面料编号为<span style="color:red;font-size:18px">${F.value}</span>的<span style="color:red;font-size:18px">${t.category}</span>被暂存在检验室,是否确认移动到<span style="color:red;font-size:18px">${j.value}</span>?</p>\n\t\t\t `;g({message:a,allowHtml:!0,confirmButtonText:"确认"}).then((()=>{x("/rawFabric/sign",{barcode:F.value,location:j.value,force:!0},{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((e=>{200===e.code?u("入货架成功!"):u(e.msg)}))})).catch((()=>{j.value="",F.value=""}))}else 200===e.code?g({title:"扫码成功,请扫描面料编号",message:"货架号:"+j.value,confirmButtonText:"扫一扫"}).then((()=>{b()})).catch((()=>{j.value="",F.value=""})):u(e.msg)}))):h("/shelves/isActive?code="+e).then((t=>{200===t.code&&(t.data?(j.value=e,g({title:"扫码成功,请扫描面料编号",message:"货架号:"+j.value,confirmButtonText:"扫一扫"}).then((()=>{b()})).catch((()=>{j.value="",F.value=""}))):u("该库位码已被禁用,请联系管理员"))}))}function C(e){d({title:e.errName,content:e.errMsg,complete:()=>{T.value=!1}})}function $(){T.value=!1}return(e,t)=>{const a=o("van-nav-bar"),u=f,d=v(n("cshaptx4869-scancode"),m);return s(),l(u,null,{default:c((()=>[r(a,{title:"扫码入库","left-text":"返回","left-arrow":"","right-text":"扫一扫",onClickLeft:w,onClickRight:y}),r(u,{style:{"text-align":"center","margin-top":"20px"}},{default:c((()=>[i("请扫描库位码")])),_:1}),T.value?(s(),l(d,{key:0,onSuccess:z,onFail:C,onClose:$})):p("",!0)])),_:1})}}});export{w as default};
|
1
unpackage/dist/build/web/assets/pages-whiteEmbryo-w-suppliers.BVjG1GxP.js
vendored
Normal file
1
unpackage/dist/build/web/assets/pages-whiteEmbryo-w-suppliers.BVjG1GxP.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{d as e,r as a,o as l,u as t,j as s,b as u,e as d,k as i,w as n,m as o,F as c,f as r,l as m,t as v,q as p,i as f,c as _}from"./index-D2NElrYl.js";import{g,a as h,p as b,d as k}from"./index.Cv2D9Hyi.js";import{_ as w}from"./_plugin-vue_export-helper.BCo6x5W8.js";const y=w(e({__name:"w-suppliers",setup(e){const w=a(!1),y=a([]),V=a({active:!1}),x=a("");l((()=>{C()}));const C=()=>{g("/suppliers",{page:1,size:100,name:x.value}).then((e=>{200===e.code&&(y.value=e.data.record)}))};t(x,(()=>{C()}));const j=()=>{history.back()},U=()=>{w.value=!0,V.value={active:!1}},q=()=>{V.value.id?h("/suppliers",{id:V.value.id,name:V.value.name,active:V.value.active}).then((e=>{200===e.code&&(w.value=!1,p("提交成功!"),C())})):b("/suppliers",{name:V.value.name,active:V.value.active}).then((e=>{200===e.code&&(w.value=!1,p("提交成功!"),C())}))};return(e,a)=>{const l=s("van-nav-bar"),t=s("van-field"),g=s("van-cell-group"),h=f,b=s("van-radio"),z=s("van-radio-group"),D=s("van-button"),E=s("van-popup");return u(),d(c,null,[i(h,{class:"flex"},{default:n((()=>[i(l,{title:"供应商维护","left-text":"返回","left-arrow":"","right-text":"新增",onClickLeft:j,onClickRight:U}),i(h,null,{default:n((()=>[i(g,{inset:""},{default:n((()=>[i(t,{modelValue:x.value,"onUpdate:modelValue":a[0]||(a[0]=e=>x.value=e),name:"供应商名称",label:"供应商名称",colon:"",class:"bot","label-width":"6em"},null,8,["modelValue"])])),_:1})])),_:1}),i(h,{class:"content"},{default:n((()=>[i(h,{class:"grid-container"},{default:n((()=>[i(h,{class:"grid-item"},{default:n((()=>[o("编号")])),_:1}),i(h,{class:"grid-item"},{default:n((()=>[o("供应商名称")])),_:1}),i(h,{class:"grid-item"},{default:n((()=>[o("分数")])),_:1}),i(h,{class:"grid-item"},{default:n((()=>[o("操作")])),_:1})])),_:1}),(u(!0),d(c,null,r(y.value,((e,a)=>(u(),_(h,{class:"grid-container",key:a},{default:n((()=>[i(h,{class:"grid-item"},{default:n((()=>[o(v(e.id),1)])),_:2},1024),i(h,{class:"grid-item"},{default:n((()=>[o(v(e.name),1)])),_:2},1024),i(h,{class:"grid-item"},{default:n((()=>[o(v(e.id),1)])),_:2},1024),i(h,{class:"grid-item"},{default:n((()=>[m("span",{style:{color:"#35a5f7"},onClick:a=>(e=>{V.value=e,w.value=!0})(e)},"编辑",8,["onClick"]),o(" "),m("span",{style:{color:"red"},onClick:a=>(e=>{let a="/suppliers/"+e.id;k(a).then((e=>{200===e.code&&(p("删除成功!"),C())}))})(e)},"删除 ",8,["onClick"])])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1}),i(E,{show:w.value,"onUpdate:show":a[4]||(a[4]=e=>w.value=e),style:{width:"80%"},round:""},{default:n((()=>[i(h,null,{default:n((()=>[m("h3",{style:{"text-align":"center"}},v(V.value.id?"编辑":"新增"),1),i(g,{inset:""},{default:n((()=>[i(t,{modelValue:V.value.name,"onUpdate:modelValue":a[1]||(a[1]=e=>V.value.name=e),name:"供应商名称",label:"供应商名称",colon:"",class:"bot","label-width":"6em",rules:[{required:!0,message:"请填写"}]},null,8,["modelValue"]),i(t,{name:"状态",label:"状态",colon:"","label-width":"6em"},{input:n((()=>[i(z,{modelValue:V.value.active,"onUpdate:modelValue":a[2]||(a[2]=e=>V.value.active=e),direction:"horizontal"},{default:n((()=>[i(b,{name:!0},{default:n((()=>[o("启用")])),_:1}),i(b,{name:!1},{default:n((()=>[o("禁用")])),_:1})])),_:1},8,["modelValue"])])),_:1})])),_:1}),i(h,{class:"a-c"},{default:n((()=>[i(D,{type:"danger",onClick:a[3]||(a[3]=e=>w.value=!1)},{default:n((()=>[o("取消")])),_:1}),i(D,{type:"primary",onClick:q},{default:n((()=>[o("确认")])),_:1})])),_:1})])),_:1})])),_:1},8,["show"])],64)}}}),[["__scopeId","data-v-96e988b7"]]);export{y as default};
|
@ -1 +0,0 @@
|
||||
import{d as e,r as a,o as l,j as t,b as s,e as u,k as d,w as i,m as n,F as o,f as c,l as r,t as m,q as v,i as p,c as f}from"./index-BmnJ93Po.js";import{g as _,a as g,p as h,d as b}from"./index.BXTZ2GXu.js";import{_ as k}from"./_plugin-vue_export-helper.BCo6x5W8.js";const w=k(e({__name:"w-suppliers",setup(e){const k=a(!1),w=a([]),y=a({active:!1}),V=a("");l((()=>{x()}));const x=()=>{_("/suppliers",{page:1,size:100}).then((e=>{200===e.code&&(w.value=e.data.record)}))},C=()=>{history.back()},j=()=>{k.value=!0,y.value={active:!1}},U=()=>{y.value.id?g("/suppliers",{id:y.value.id,name:y.value.name,active:y.value.active}).then((e=>{200===e.code&&(k.value=!1,v("提交成功!"),x())})):h("/suppliers",{name:y.value.name,active:y.value.active}).then((e=>{200===e.code&&(k.value=!1,v("提交成功!"),x())}))};return(e,a)=>{const l=t("van-nav-bar"),_=t("van-field"),g=t("van-cell-group"),h=p,q=t("van-radio"),z=t("van-radio-group"),D=t("van-button"),E=t("van-popup");return s(),u(o,null,[d(h,{class:"flex"},{default:i((()=>[d(l,{title:"供应商维护","left-text":"返回","left-arrow":"","right-text":"新增",onClickLeft:C,onClickRight:j}),d(h,null,{default:i((()=>[d(g,{inset:""},{default:i((()=>[d(_,{modelValue:V.value,"onUpdate:modelValue":a[0]||(a[0]=e=>V.value=e),name:"供应商名称",label:"供应商名称",colon:"",class:"bot","label-width":"6em"},null,8,["modelValue"])])),_:1})])),_:1}),d(h,{class:"content"},{default:i((()=>[d(h,{class:"grid-container"},{default:i((()=>[d(h,{class:"grid-item"},{default:i((()=>[n("编号")])),_:1}),d(h,{class:"grid-item"},{default:i((()=>[n("供应商名称")])),_:1}),d(h,{class:"grid-item"},{default:i((()=>[n("分数")])),_:1}),d(h,{class:"grid-item"},{default:i((()=>[n("操作")])),_:1})])),_:1}),(s(!0),u(o,null,c(w.value,((e,a)=>(s(),f(h,{class:"grid-container",key:a},{default:i((()=>[d(h,{class:"grid-item"},{default:i((()=>[n(m(e.id),1)])),_:2},1024),d(h,{class:"grid-item"},{default:i((()=>[n(m(e.name),1)])),_:2},1024),d(h,{class:"grid-item"},{default:i((()=>[n(m(e.id),1)])),_:2},1024),d(h,{class:"grid-item"},{default:i((()=>[r("span",{style:{color:"#35a5f7"},onClick:a=>(e=>{y.value=e,k.value=!0})(e)},"编辑",8,["onClick"]),n(" "),r("span",{style:{color:"red"},onClick:a=>(e=>{let a="/suppliers/"+e.id;b(a).then((e=>{200===e.code&&(v("删除成功!"),x())}))})(e)},"删除 ",8,["onClick"])])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1}),d(E,{show:k.value,"onUpdate:show":a[4]||(a[4]=e=>k.value=e),style:{width:"80%"},round:""},{default:i((()=>[d(h,null,{default:i((()=>[r("h3",{style:{"text-align":"center"}},m(y.value.id?"编辑":"新增"),1),d(g,{inset:""},{default:i((()=>[d(_,{modelValue:y.value.name,"onUpdate:modelValue":a[1]||(a[1]=e=>y.value.name=e),name:"供应商名称",label:"供应商名称",colon:"",class:"bot","label-width":"6em",rules:[{required:!0,message:"请填写"}]},null,8,["modelValue"]),d(_,{name:"状态",label:"状态",colon:"","label-width":"6em"},{input:i((()=>[d(z,{modelValue:y.value.active,"onUpdate:modelValue":a[2]||(a[2]=e=>y.value.active=e),direction:"horizontal"},{default:i((()=>[d(q,{name:!0},{default:i((()=>[n("启用")])),_:1}),d(q,{name:!1},{default:i((()=>[n("禁用")])),_:1})])),_:1},8,["modelValue"])])),_:1})])),_:1}),d(h,{class:"a-c"},{default:i((()=>[d(D,{type:"danger",onClick:a[3]||(a[3]=e=>k.value=!1)},{default:i((()=>[n("取消")])),_:1}),d(D,{type:"primary",onClick:U},{default:i((()=>[n("确认")])),_:1})])),_:1})])),_:1})])),_:1},8,["show"])],64)}}}),[["__scopeId","data-v-702e5e1a"]]);export{w as default};
|
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/assets/pages-whiteEmbryo-w-warehousing.CW7sPzQj.js
vendored
Normal file
1
unpackage/dist/build/web/assets/pages-whiteEmbryo-w-warehousing.CW7sPzQj.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/assets/pages-whiteEmbryo-warehouse-in-out.DhpsS7DY.js
vendored
Normal file
1
unpackage/dist/build/web/assets/pages-whiteEmbryo-warehouse-in-out.DhpsS7DY.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{S as s,U as a,V as o,W as r,X as t}from"./index-BmnJ93Po.js";function n(s,a){return"string"==typeof s?a:s}const e=r=>(t,n=o())=>{!s&&a(r,t,n)},i=e(r),f=e(t);export{f as a,i as o,n as r};
|
||||
import{S as s,U as a,V as o,W as r,X as t}from"./index-D2NElrYl.js";function n(s,a){return"string"==typeof s?a:s}const e=r=>(t,n=o())=>{!s&&a(r,t,n)},i=e(r),f=e(t);export{f as a,i as o,n as r};
|
1
unpackage/dist/build/web/assets/w-level-BTiiLcKB.css
vendored
Normal file
1
unpackage/dist/build/web/assets/w-level-BTiiLcKB.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.flex[data-v-ce6ea5c7]{display:flex;flex-direction:column;height:100vh;width:100vw;overflow:hidden}.flex .van-nav-bar[data-v-ce6ea5c7]{width:100%}.flex .content[data-v-ce6ea5c7]{flex:1;padding:0 10px;overflow-y:scroll}.flex .content .grid-container[data-v-ce6ea5c7]{display:grid;grid-template-columns:1fr 3fr 2fr}.flex .content .grid-container .grid-item[data-v-ce6ea5c7]{border:1px solid #f2f2f2;text-align:center}.flex .content .grid-container .grid-item[data-v-ce6ea5c7] .van-cell{padding:0 5px}.flex .content .card[data-v-ce6ea5c7]{margin:10px 15px;padding:5px;border:1px solid #02a7f0;border-radius:10px}.a-b[data-v-ce6ea5c7]{display:flex;margin-bottom:10px}.a-b[data-v-ce6ea5c7] .van-cell{padding:0}[data-v-ce6ea5c7] .van-field{font-size:16px}[data-v-ce6ea5c7] .van-field__control{border-bottom:1px solid #d7d7d7;font-size:16px}[data-v-ce6ea5c7] .van-field__label{text-align:end}.a-c[data-v-ce6ea5c7]{display:flex;align-items:center;justify-content:space-around;margin:15px}.a-c[data-v-ce6ea5c7] .van-button--normal{padding:5px;height:30px}
|
@ -1 +0,0 @@
|
||||
.flex[data-v-f945a2ac]{display:flex;flex-direction:column;height:100vh;width:100vw}.flex .van-nav-bar[data-v-f945a2ac]{width:100%}.flex .content[data-v-f945a2ac]{flex:1;padding:0 10px}.flex .content .grid-container[data-v-f945a2ac]{display:grid;grid-template-columns:1fr 3fr 2fr}.flex .content .grid-container .grid-item[data-v-f945a2ac]{border:1px solid #f2f2f2;text-align:center}.flex .content .grid-container .grid-item[data-v-f945a2ac] .van-cell{padding:0 5px}.flex .content .card[data-v-f945a2ac]{margin:10px 15px;padding:5px;border:1px solid #02a7f0;border-radius:10px}.a-b[data-v-f945a2ac]{display:flex;margin-bottom:10px}.a-b[data-v-f945a2ac] .van-cell{padding:0}[data-v-f945a2ac] .van-field{font-size:16px}[data-v-f945a2ac] .van-field__control{border-bottom:1px solid #d7d7d7;font-size:16px}[data-v-f945a2ac] .van-field__label{text-align:end}.a-c[data-v-f945a2ac]{display:flex;align-items:center;justify-content:space-around;margin:15px}.a-c[data-v-f945a2ac] .van-button--normal{padding:5px;height:30px}
|
@ -1 +0,0 @@
|
||||
.flex[data-v-258182a9]{display:flex;flex-direction:column;height:100vh;width:100vw}.flex .van-nav-bar[data-v-258182a9]{width:100%}.flex .content[data-v-258182a9]{flex:1;padding:0 10px}.flex .content .grid-container[data-v-258182a9]{display:grid;grid-template-columns:2fr 1.2fr 1.2fr 2fr}.flex .content .grid-container .grid-item[data-v-258182a9]{border:1px solid #f2f2f2;text-align:center}.flex .content .grid-container .grid-item[data-v-258182a9]{padding:0 5px}.flex .content .card[data-v-258182a9]{margin:10px 15px;padding:5px;border:1px solid #02a7f0;border-radius:10px}.a-b[data-v-258182a9]{display:flex;margin-bottom:.3125rem}.a-b[data-v-258182a9] .van-cell{padding:0}[data-v-258182a9] .van-field{font-size:16px}.bor-b[data-v-258182a9] .van-field__control{border-bottom:.03125rem solid #d7d7d7;text-align:center}.nonBom[data-v-258182a9] .van-field__control{border-bottom:none;text-align:center}[data-v-258182a9] .van-field__label{text-align:end}.a-c[data-v-258182a9]{display:flex;align-items:center;justify-content:space-around;margin:.46875rem}.a-c[data-v-258182a9] .van-button--normal{padding:.25rem .5rem;height:1.5625rem}.bor[data-v-258182a9] .van-field__control{border:.03125rem solid #d7d7d7;text-align:center;font-size:16px}.select-model[data-v-258182a9]{position:relative}.confirm-select[data-v-258182a9]{width:100%}.confirm-select>p[data-v-258182a9]{text-align:center}.confirm-select>uni-button[data-v-258182a9]{border:none;background-color:#fff;color:#388aed;margin:10px 30px 0 0}.top-select[data-v-258182a9]{position:absolute;top:0;left:0;right:0;margin:auto;z-index:999}[data-v-258182a9] .select-model .van-picker__toolbar{height:66px;align-items:flex-start}[data-v-258182a9] .select-model .van-picker__cancel,.select-model .van-picker__confirm[data-v-258182a9]{height:30px;padding:10px 16px 0}[data-v-258182a9] .van-button--normal{padding:5px 8px;height:30px}.search-btn[data-v-258182a9]{padding:1px 8px;border:none;background-color:#388aed;color:#fff;margin-left:5px;height:30px;line-height:25px}.search-box[data-v-258182a9]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding-top:15px;padding-bottom:5px;position:relative;background-color:#fff}.van-search[data-v-258182a9]{background-color:#f7f7f8}.ml-search-jump[data-v-258182a9]{padding:3px 10px;background-color:#388aed;color:#fff;border:none;margin-left:10px}.flex-btn[data-v-258182a9]{display:flex;flex-direction:row;align-items:center;justify-content:space-between}
|
1
unpackage/dist/build/web/assets/w-libraryLocation-Dc44m2Sn.css
vendored
Normal file
1
unpackage/dist/build/web/assets/w-libraryLocation-Dc44m2Sn.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.flex[data-v-19ef3905]{display:flex;flex-direction:column;height:100vh;width:100vw;overflow:hidden}.flex .van-nav-bar[data-v-19ef3905]{width:100%}.flex .content[data-v-19ef3905]{flex:1;padding:0 10px;overflow-y:scroll}.flex .content .grid-container[data-v-19ef3905]{display:grid;grid-template-columns:2fr 1.2fr 1.2fr 2fr}.flex .content .grid-container .grid-item[data-v-19ef3905]{border:1px solid #f2f2f2;text-align:center}.flex .content .grid-container .grid-item[data-v-19ef3905]{padding:0 5px}.flex .content .card[data-v-19ef3905]{margin:10px 15px;padding:5px;border:1px solid #02a7f0;border-radius:10px}.a-b[data-v-19ef3905]{display:flex;margin-bottom:.3125rem}.a-b[data-v-19ef3905] .van-cell{padding:0}[data-v-19ef3905] .van-field{font-size:16px}.bor-b[data-v-19ef3905] .van-field__control{border-bottom:.03125rem solid #d7d7d7;text-align:center}.nonBom[data-v-19ef3905] .van-field__control{border-bottom:none;text-align:center}[data-v-19ef3905] .van-field__label{text-align:end}.a-c[data-v-19ef3905]{display:flex;align-items:center;justify-content:space-around;margin:.46875rem}.a-c[data-v-19ef3905] .van-button--normal{padding:.25rem .5rem;height:1.5625rem}.bor[data-v-19ef3905] .van-field__control{border:.03125rem solid #d7d7d7;text-align:center;font-size:16px}.select-model[data-v-19ef3905]{position:relative}.confirm-select[data-v-19ef3905]{width:100%}.confirm-select>p[data-v-19ef3905]{text-align:center}.confirm-select>uni-button[data-v-19ef3905]{border:none;background-color:#fff;color:#388aed;margin:10px 30px 0 0}.top-select[data-v-19ef3905]{position:absolute;top:0;left:0;right:0;margin:auto;z-index:999}[data-v-19ef3905] .select-model .van-picker__toolbar{height:66px;align-items:flex-start}[data-v-19ef3905] .select-model .van-picker__cancel,.select-model .van-picker__confirm[data-v-19ef3905]{height:30px;padding:10px 16px 0}[data-v-19ef3905] .van-button--normal{padding:5px 8px;height:30px}.search-btn[data-v-19ef3905]{padding:1px 8px;border:none;background-color:#388aed;color:#fff;margin-left:5px;height:30px;line-height:25px}.search-box[data-v-19ef3905]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding-top:15px;padding-bottom:5px;position:relative;background-color:#fff}.van-search[data-v-19ef3905]{background-color:#f7f7f8}.ml-search-jump[data-v-19ef3905]{padding:3px 10px;background-color:#388aed;color:#fff;border:none;margin-left:10px}.flex-btn[data-v-19ef3905]{display:flex;flex-direction:row;align-items:center;justify-content:space-between}
|
@ -1 +0,0 @@
|
||||
.flex[data-v-0bfb4ec7]{display:flex;flex-direction:column;height:100vh;width:100vw}.flex .van-nav-bar[data-v-0bfb4ec7]{width:100%}.flex .grid-container[data-v-0bfb4ec7]{display:grid;grid-template-columns:2fr 1.6fr 1.3fr 1.5fr;padding:0 .46875rem}.flex .grid-container .grid-item[data-v-0bfb4ec7]{border:.03125rem solid #f2f2f2;display:flex;align-items:center;justify-content:center;padding:.15625rem}.flex .content[data-v-0bfb4ec7]{flex:1}[data-v-0bfb4ec7] .van-cell{padding:5px!important}[data-v-0bfb4ec7] .van-field{font-size:16px}.bor[data-v-0bfb4ec7] .van-field__control{border:1px solid #d7d7d7;text-align:center}.bor[data-v-0bfb4ec7] .van-field__label{margin:0}.bor-a[data-v-0bfb4ec7] .van-field__control{border-bottom:1px solid #d7d7d7;text-align:center}.bor-a[data-v-0bfb4ec7] .van-field__label{margin:0}[data-v-0bfb4ec7] .van-button--normal{padding:5px 8px;height:30px}[data-v-0bfb4ec7] .van-field__control{text-align:center}.footer-button[data-v-0bfb4ec7]{margin:20px;display:flex;justify-content:space-around}.select-model[data-v-0bfb4ec7]{position:relative}.confirm-select[data-v-0bfb4ec7]{width:100%}.confirm-select>p[data-v-0bfb4ec7]{text-align:center}.confirm-select>uni-button[data-v-0bfb4ec7]{border:none;background-color:#fff;color:#388aed;margin:10px 30px 0 0}.top-select[data-v-0bfb4ec7]{position:absolute;top:30px;left:0;right:0;margin:auto;z-index:999}[data-v-0bfb4ec7] .select-model .van-picker__toolbar{height:66px;align-items:flex-start}[data-v-0bfb4ec7] .select-model .van-picker__cancel,.select-model .van-picker__confirm[data-v-0bfb4ec7]{height:30px;padding:10px 16px 0}.search-btn[data-v-0bfb4ec7]{padding:1px 8px;border:none;background-color:#388aed;color:#fff;margin-left:5px;height:30px;line-height:25px}.search-box[data-v-0bfb4ec7]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding-top:15px;padding-bottom:5px;position:relative;background-color:#fff}.van-search[data-v-0bfb4ec7]{background-color:#f7f7f8}.ml-search-jump[data-v-0bfb4ec7]{padding:3px 10px;background-color:#388aed;color:#fff;border:none;margin-left:10px}.flex-btn[data-v-0bfb4ec7]{display:flex;flex-direction:row;align-items:center;justify-content:space-between}
|
1
unpackage/dist/build/web/assets/w-list-rjZGiaya.css
vendored
Normal file
1
unpackage/dist/build/web/assets/w-list-rjZGiaya.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.flex[data-v-e2ef4d7b]{display:flex;flex-direction:column;height:100vh;width:100vw;overflow-y:hidden}.flex .van-nav-bar[data-v-e2ef4d7b]{width:100%}.flex .grid-container[data-v-e2ef4d7b]{display:grid;grid-template-columns:2fr 1.6fr 1.3fr 1.5fr;padding:0 .46875rem}.flex .grid-container .grid-item[data-v-e2ef4d7b]{border:.03125rem solid #f2f2f2;display:flex;align-items:center;justify-content:center;padding:.15625rem}.flex .content[data-v-e2ef4d7b]{flex:1;overflow-y:scroll}[data-v-e2ef4d7b] .van-cell{padding:5px!important}[data-v-e2ef4d7b] .van-field{font-size:16px}.floot[data-v-e2ef4d7b]{padding:.625rem}.ck-box[data-v-e2ef4d7b]{position:relative}.ck-box .ck[data-v-e2ef4d7b]{position:absolute;top:2.5rem;left:0;right:0;z-index:999}.ck-box .ck-a[data-v-e2ef4d7b]{width:100%;display:flex;align-items:center;justify-content:center}.bor[data-v-e2ef4d7b] .van-field__control{border:1px solid #d7d7d7;text-align:center}.bor[data-v-e2ef4d7b] .van-field__label{margin:0}.bor-a[data-v-e2ef4d7b] .van-field__control{border-bottom:1px solid #d7d7d7;text-align:center}.bor-a[data-v-e2ef4d7b] .van-field__label{margin:0}[data-v-e2ef4d7b] .van-button--normal{padding:5px 8px;height:30px}[data-v-e2ef4d7b] .van-field__control{text-align:center}.footer-button[data-v-e2ef4d7b]{margin:20px;display:flex;justify-content:space-around}.select-model[data-v-e2ef4d7b]{position:relative}.confirm-select[data-v-e2ef4d7b]{width:100%}.confirm-select>p[data-v-e2ef4d7b]{text-align:center}.confirm-select>uni-button[data-v-e2ef4d7b]{border:none;background-color:#fff;color:#388aed;margin:10px 30px 0 0}.top-select[data-v-e2ef4d7b]{position:absolute;top:30px;left:0;right:0;margin:auto;z-index:999}[data-v-e2ef4d7b] .select-model .van-picker__toolbar{height:66px;align-items:flex-start}[data-v-e2ef4d7b] .select-model .van-picker__cancel,.select-model .van-picker__confirm[data-v-e2ef4d7b]{height:30px;padding:10px 16px 0}.search-btn[data-v-e2ef4d7b]{padding:1px 8px;border:none;background-color:#388aed;color:#fff;margin-left:5px;height:30px;line-height:25px}.search-box[data-v-e2ef4d7b]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding-top:15px;padding-bottom:5px;position:relative;background-color:#fff}.van-search[data-v-e2ef4d7b]{background-color:#f7f7f8}.ml-search-jump[data-v-e2ef4d7b]{padding:3px 10px;background-color:#388aed;color:#fff;border:none;margin-left:10px}.flex-btn[data-v-e2ef4d7b]{display:flex;flex-direction:row;align-items:center;justify-content:space-between}
|
1
unpackage/dist/build/web/assets/w-scanCode-xmd7GKJO.css
vendored
Normal file
1
unpackage/dist/build/web/assets/w-scanCode-xmd7GKJO.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.btn[data-v-f9422053]{padding:15px 0;margin:10px 1.5625rem;background-color:#35a5f7;color:#fff;text-align:center;border-radius:.625rem}.flex[data-v-f9422053]{font-size:16px}[data-v-f9422053] .van-dialog__message{white-space:normal}
|
@ -1 +0,0 @@
|
||||
.flex[data-v-702e5e1a]{display:flex;flex-direction:column;height:100vh;width:100vw}.flex .van-nav-bar[data-v-702e5e1a]{width:100%}.flex .content[data-v-702e5e1a]{flex:1;padding:0 10px}.flex .content .grid-container[data-v-702e5e1a]{display:grid;grid-template-columns:1fr 3fr 1.5fr 2fr}.flex .content .grid-container .grid-item[data-v-702e5e1a]{border:1px solid #f2f2f2;text-align:center}.flex .content .grid-container .grid-item[data-v-702e5e1a]{padding:0 5px}.flex .content .card[data-v-702e5e1a]{margin:10px 15px;padding:5px;border:1px solid #02a7f0;border-radius:10px}.a-b[data-v-702e5e1a]{display:flex;margin-bottom:10px}.a-b[data-v-702e5e1a] .van-cell{padding:0}[data-v-702e5e1a] .van-field{font-size:16px}.bot[data-v-702e5e1a] .van-field__control{border-bottom:1px solid #d7d7d7;font-size:16px}[data-v-702e5e1a] .van-field__label{text-align:end}.a-c[data-v-702e5e1a]{display:flex;align-items:center;justify-content:space-around;margin:15px}.a-c[data-v-702e5e1a] .van-button--normal{padding:5px;height:30px}
|
1
unpackage/dist/build/web/assets/w-suppliers-DOeu-ocu.css
vendored
Normal file
1
unpackage/dist/build/web/assets/w-suppliers-DOeu-ocu.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.flex[data-v-96e988b7]{display:flex;flex-direction:column;height:100vh;width:100vw;overflow-y:hidden}.flex .van-nav-bar[data-v-96e988b7]{width:100%}.flex .content[data-v-96e988b7]{flex:1;padding:0 10px;overflow-y:scroll}.flex .content .grid-container[data-v-96e988b7]{display:grid;grid-template-columns:1fr 3fr 1.5fr 2fr}.flex .content .grid-container .grid-item[data-v-96e988b7]{border:1px solid #f2f2f2;text-align:center}.flex .content .grid-container .grid-item[data-v-96e988b7]{padding:0 5px}.flex .content .card[data-v-96e988b7]{margin:10px 15px;padding:5px;border:1px solid #02a7f0;border-radius:10px}.a-b[data-v-96e988b7]{display:flex;margin-bottom:10px}.a-b[data-v-96e988b7] .van-cell{padding:0}[data-v-96e988b7] .van-field{font-size:16px}.bot[data-v-96e988b7] .van-field__control{border-bottom:1px solid #d7d7d7;font-size:16px}[data-v-96e988b7] .van-field__label{text-align:end}.a-c[data-v-96e988b7]{display:flex;align-items:center;justify-content:space-around;margin:15px}.a-c[data-v-96e988b7] .van-button--normal{padding:5px;height:30px}
|
1
unpackage/dist/build/web/assets/w-warehouse-B62XmRPx.css
vendored
Normal file
1
unpackage/dist/build/web/assets/w-warehouse-B62XmRPx.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.flex[data-v-ec91081a]{display:flex;flex-direction:column;height:100vh;width:100vw}.flex .van-nav-bar[data-v-ec91081a]{width:100%}.flex .content[data-v-ec91081a]{flex:1;padding:0 10px}.flex .content .grid-container[data-v-ec91081a]{display:grid;grid-template-columns:1fr 3fr 2fr 2fr}.flex .content .grid-container .grid-item[data-v-ec91081a]{border:1px solid #f2f2f2;text-align:center}.flex .content .grid-container .grid-item[data-v-ec91081a]{padding:0 5px}.flex .content .card[data-v-ec91081a]{margin:10px 15px;padding:5px;border:1px solid #02a7f0;border-radius:10px}.a-b[data-v-ec91081a]{display:flex;margin-bottom:10px}.a-b[data-v-ec91081a] .van-cell{padding:0}[data-v-ec91081a] .van-field{font-size:16px}[data-v-ec91081a] .van-field__control{border-bottom:1px solid #d7d7d7;font-size:16px}.nonBom[data-v-ec91081a] .van-field__control{border-bottom:none}[data-v-ec91081a] .van-field__label{text-align:end}.a-c[data-v-ec91081a]{display:flex;align-items:center;justify-content:space-around;margin:15px}.a-c[data-v-ec91081a] .van-button--normal{padding:5px;height:30px}
|
@ -1 +0,0 @@
|
||||
.flex[data-v-394a9d4c]{display:flex;flex-direction:column;height:100vh;width:100vw}.flex .van-nav-bar[data-v-394a9d4c]{width:100%}.flex .content[data-v-394a9d4c]{flex:1;padding:0 10px}.flex .content .grid-container[data-v-394a9d4c]{display:grid;grid-template-columns:1fr 3fr 2fr 2fr}.flex .content .grid-container .grid-item[data-v-394a9d4c]{border:1px solid #f2f2f2;text-align:center}.flex .content .grid-container .grid-item[data-v-394a9d4c]{padding:0 5px}.flex .content .card[data-v-394a9d4c]{margin:10px 15px;padding:5px;border:1px solid #02a7f0;border-radius:10px}.a-b[data-v-394a9d4c]{display:flex;margin-bottom:10px}.a-b[data-v-394a9d4c] .van-cell{padding:0}[data-v-394a9d4c] .van-field{font-size:16px}[data-v-394a9d4c] .van-field__control{border-bottom:1px solid #d7d7d7;font-size:16px}.nonBom[data-v-394a9d4c] .van-field__control{border-bottom:none}[data-v-394a9d4c] .van-field__label{text-align:end}.a-c[data-v-394a9d4c]{display:flex;align-items:center;justify-content:space-around;margin:15px}.a-c[data-v-394a9d4c] .van-button--normal{padding:5px;height:30px}
|
@ -1 +0,0 @@
|
||||
.flex[data-v-cfb79c42]{display:flex;flex-direction:column;height:100vh;width:100vw}.flex .van-nav-bar[data-v-cfb79c42]{width:100%}.flex .content[data-v-cfb79c42]{flex:1}.flex .content .grid-container[data-v-cfb79c42]{display:grid;grid-template-columns:2fr 2fr 1fr}.flex .content .grid-container .grid-item[data-v-cfb79c42]{border:1px solid #f2f2f2;text-align:center;padding:.25rem 0}.flex .content .grid-container .grid-item[data-v-cfb79c42] .van-cell{padding:0 5px}[data-v-cfb79c42] .van-field{font-size:16px}.bor[data-v-cfb79c42] .van-field__control{border:1px solid #d7d7d7;text-align:center;font-size:16px}[data-v-cfb79c42] .van-button--normal{padding:5px 8px;height:30px}.footer-button[data-v-cfb79c42]{margin:20px;display:flex;justify-content:space-around}.line[data-v-cfb79c42] .van-field__control{border-bottom:1px solid #d7d7d7;text-align:center;font-size:16px}.ck-box[data-v-cfb79c42]{position:relative}.ck-box .ck[data-v-cfb79c42]{position:absolute;top:2.5rem;left:0;right:0;z-index:999}.ck-box .ck-a[data-v-cfb79c42]{width:100%;display:flex;align-items:center;justify-content:center}.select-model[data-v-cfb79c42]{position:relative}.confirm-select[data-v-cfb79c42]{width:100%}.confirm-select>p[data-v-cfb79c42]{text-align:center}.confirm-select>uni-button[data-v-cfb79c42]{border:none;background-color:#fff;color:#388aed;margin:10px 30px 0 0}.top-select[data-v-cfb79c42]{position:absolute;top:30px;left:0;right:0;margin:auto;z-index:999}[data-v-cfb79c42] .select-model .van-picker__toolbar{height:66px;align-items:flex-start}[data-v-cfb79c42] .select-model .van-picker__cancel,.select-model .van-picker__confirm[data-v-cfb79c42],[data-v-cfb79c42] .select-model .van-picker__confirm{height:30px;padding:10px 16px 0}.search-btn[data-v-cfb79c42]{padding:1px 8px;border:none;background-color:#388aed;color:#fff;margin-left:5px;height:30px;line-height:25px}.search-box[data-v-cfb79c42]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding-top:15px;padding-bottom:5px;position:relative;background-color:#fff}.van-search[data-v-cfb79c42]{background-color:#f7f7f8}.ml-search-jump[data-v-cfb79c42]{padding:3px 10px;background-color:#388aed;color:#fff;border:none;margin-left:10px}.flex-btn[data-v-cfb79c42]{display:flex;flex-direction:row;align-items:center;justify-content:space-between}
|
1
unpackage/dist/build/web/assets/w-warehousing-DNmdOGbf.css
vendored
Normal file
1
unpackage/dist/build/web/assets/w-warehousing-DNmdOGbf.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.flex[data-v-6b77367f]{display:flex;flex-direction:column;height:100vh;width:100vw}.flex .van-nav-bar[data-v-6b77367f]{width:100%}.flex .content[data-v-6b77367f]{flex:1}.flex .content .grid-container[data-v-6b77367f]{display:grid;grid-template-columns:2fr 2fr 1fr}.flex .content .grid-container .grid-item[data-v-6b77367f]{border:1px solid #f2f2f2;text-align:center;padding:.25rem 0}.flex .content .grid-container .grid-item[data-v-6b77367f] .van-cell{padding:0 5px}[data-v-6b77367f] .van-field{font-size:16px}.bor[data-v-6b77367f] .van-field__control{border:1px solid #d7d7d7;text-align:center;font-size:16px}[data-v-6b77367f] .van-button--normal{padding:5px 8px;height:30px}.footer-button[data-v-6b77367f]{margin:20px;display:flex;justify-content:space-around}.line[data-v-6b77367f] .van-field__control{border-bottom:1px solid #d7d7d7;text-align:center;font-size:16px}.ck-box[data-v-6b77367f]{position:relative}.ck-box .ck[data-v-6b77367f]{position:absolute;top:2.5rem;left:0;right:0;z-index:999}.ck-box .ck-a[data-v-6b77367f]{width:100%;display:flex;align-items:center;justify-content:center}.select-model[data-v-6b77367f]{position:relative}.confirm-select[data-v-6b77367f]{width:100%}.confirm-select>p[data-v-6b77367f]{text-align:center}.confirm-select>uni-button[data-v-6b77367f]{border:none;background-color:#fff;color:#388aed;margin:10px 30px 0 0}.top-select[data-v-6b77367f]{position:absolute;top:30px;left:0;right:0;margin:auto;z-index:999}[data-v-6b77367f] .select-model .van-picker__toolbar{height:66px;align-items:flex-start}[data-v-6b77367f] .select-model .van-picker__cancel,.select-model .van-picker__confirm[data-v-6b77367f],[data-v-6b77367f] .select-model .van-picker__confirm{height:30px;padding:10px 16px 0}.search-btn[data-v-6b77367f]{padding:1px 8px;border:none;background-color:#388aed;color:#fff;margin-left:5px;height:30px;line-height:25px}.search-box[data-v-6b77367f]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding-top:15px;padding-bottom:5px;position:relative;background-color:#fff}.van-search[data-v-6b77367f]{background-color:#f7f7f8}.ml-search-jump[data-v-6b77367f]{padding:3px 10px;background-color:#388aed;color:#fff;border:none;margin-left:10px}.flex-btn[data-v-6b77367f]{display:flex;flex-direction:row;align-items:center;justify-content:space-between}
|
@ -1 +0,0 @@
|
||||
.flex[data-v-1409d6e9]{display:flex;flex-direction:column;height:100vh;width:100vw}.flex .van-nav-bar[data-v-1409d6e9]{width:100%}.flex .grid-container[data-v-1409d6e9]{display:grid;grid-template-columns:2fr 1.6fr 1.3fr 1.5fr;padding:0 .46875rem}.flex .grid-container .grid-item[data-v-1409d6e9]{border:.03125rem solid #f2f2f2;display:flex;align-items:center;justify-content:center;padding:.15625rem;text-align:center}.flex .content[data-v-1409d6e9]{flex:1}[data-v-1409d6e9] .van-cell{padding:5px!important}[data-v-1409d6e9] .van-field{font-size:16px}.bor[data-v-1409d6e9] .van-field__control{border:1px solid #d7d7d7;text-align:center}.bor[data-v-1409d6e9] .van-field__label{margin:0}.bor-a[data-v-1409d6e9] .van-field__control{border-bottom:1px solid #d7d7d7;text-align:center}.bor-a[data-v-1409d6e9] .van-field__label{margin:0}[data-v-1409d6e9] .van-button--normal{padding:5px 8px;height:30px}[data-v-1409d6e9] .van-field__control{text-align:center}.footer-button[data-v-1409d6e9]{margin:20px;display:flex;justify-content:space-around}.select-model[data-v-1409d6e9]{position:relative}.confirm-select[data-v-1409d6e9]{width:100%}.confirm-select>p[data-v-1409d6e9]{text-align:center}.confirm-select>uni-button[data-v-1409d6e9]{border:none;background-color:#fff;color:#388aed;margin:10px 30px 0 0}.top-select[data-v-1409d6e9]{position:absolute;top:30px;left:0;right:0;margin:auto;z-index:999}[data-v-1409d6e9] .select-model .van-picker__toolbar{height:66px;align-items:flex-start}[data-v-1409d6e9] .select-model .van-picker__cancel,.select-model .van-picker__confirm[data-v-1409d6e9],[data-v-1409d6e9] .select-model .van-picker__confirm{height:30px;padding:10px 16px 0}.search-btn[data-v-1409d6e9]{padding:1px 8px;border:none;background-color:#388aed;color:#fff;margin-left:5px;height:30px;line-height:25px}.search-box[data-v-1409d6e9]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding-top:15px;padding-bottom:5px;position:relative;background-color:#fff}.van-search[data-v-1409d6e9]{background-color:#f7f7f8}.ml-search-jump[data-v-1409d6e9]{padding:3px 10px;background-color:#388aed;color:#fff;border:none;margin-left:10px}.flex-btn[data-v-1409d6e9]{display:flex;flex-direction:row;align-items:center;justify-content:space-between}
|
1
unpackage/dist/build/web/assets/warehouse-in-out-CHY4uuFw.css
vendored
Normal file
1
unpackage/dist/build/web/assets/warehouse-in-out-CHY4uuFw.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.flex[data-v-33ab2621]{display:flex;flex-direction:column;height:100vh;width:100vw;overflow-y:hidden}.flex .van-nav-bar[data-v-33ab2621]{width:100%}.content[data-v-33ab2621]{flex:1;overflow-y:scroll}.grid-container[data-v-33ab2621]{display:grid;grid-template-columns:2fr 1.6fr 1.3fr 1.5fr;padding:0 .46875rem}.grid-container .grid-item[data-v-33ab2621]{border:.03125rem solid #f2f2f2;display:flex;align-items:center;justify-content:center;padding:.15625rem;text-align:center}[data-v-33ab2621] .van-cell{padding:5px!important}[data-v-33ab2621] .van-field{font-size:16px}.bor[data-v-33ab2621] .van-field__control{border:1px solid #d7d7d7;text-align:center}.bor[data-v-33ab2621] .van-field__label{margin:0}.bor-a[data-v-33ab2621] .van-field__control{border-bottom:1px solid #d7d7d7;text-align:center}.bor-a[data-v-33ab2621] .van-field__label{margin:0}[data-v-33ab2621] .van-button--normal{padding:5px 8px;height:30px}[data-v-33ab2621] .van-field__control{text-align:center}.footer-button[data-v-33ab2621]{margin:20px;display:flex;justify-content:space-around}.select-model[data-v-33ab2621]{position:relative}.confirm-select[data-v-33ab2621]{width:100%}.confirm-select>p[data-v-33ab2621]{text-align:center}.confirm-select>uni-button[data-v-33ab2621]{border:none;background-color:#fff;color:#388aed;margin:10px 30px 0 0}.top-select[data-v-33ab2621]{position:absolute;top:30px;left:0;right:0;margin:auto;z-index:999}[data-v-33ab2621] .select-model .van-picker__toolbar{height:66px;align-items:flex-start}[data-v-33ab2621] .select-model .van-picker__cancel,.select-model .van-picker__confirm[data-v-33ab2621],[data-v-33ab2621] .select-model .van-picker__confirm{height:30px;padding:10px 16px 0}.search-btn[data-v-33ab2621]{padding:1px 8px;border:none;background-color:#388aed;color:#fff;margin-left:5px;height:30px;line-height:25px}.search-box[data-v-33ab2621]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding-top:15px;padding-bottom:5px;position:relative;background-color:#fff}.van-search[data-v-33ab2621]{background-color:#f7f7f8}.ml-search-jump[data-v-33ab2621]{padding:3px 10px;background-color:#388aed;color:#fff;border:none;margin-left:10px}.flex-btn[data-v-33ab2621]{display:flex;flex-direction:row;align-items:center;justify-content:space-between}
|
2
unpackage/dist/build/web/index.html
vendored
2
unpackage/dist/build/web/index.html
vendored
@ -14,7 +14,7 @@
|
||||
<title>ckqt</title>
|
||||
<!--preload-links-->
|
||||
<!--app-context-->
|
||||
<script type="module" crossorigin src="/assets/index-BmnJ93Po.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-D2NElrYl.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-B2VL-k8D.css">
|
||||
</head>
|
||||
<body>
|
||||
|
Loading…
Reference in New Issue
Block a user