|
|
@@ -3,14 +3,18 @@
|
|
|
<layout>
|
|
|
<layout-header>
|
|
|
<div class="">
|
|
|
- <!-- 按钮部分-->
|
|
|
- <el-form ref="elSearchFormRef" class="demo-form-inline" :rules="searchRule" @keyup.enter="onSubmit">
|
|
|
+ <!--按钮部分-->
|
|
|
+ <el-form ref="elSearchFormRef" class="demo-form-inline" :rules="searchRule" @keyup.enter="onSubmit">
|
|
|
<el-form-item>
|
|
|
- <el-input v-model="searchInfo" placeholder="搜索" clearable style="width: 180px;"></el-input>
|
|
|
- <el-button type="primary" icon="search" @click="onSubmit" >查询</el-button>
|
|
|
- <el-button type="primary" @click="onAttendance" style="margin: 5px">新增</el-button>
|
|
|
- <el-button type="primary" @click="baogong_del" style="margin: 5px;float: right;background-color: red">删除</el-button>
|
|
|
- <el-button type="primary" @click="onxiaopiaoclick" style="margin: 5px">补打小票</el-button>
|
|
|
+ <el-input v-model="searchInfo" placeholder="搜索" clearable style="width: 180px;height:40px;"></el-input>
|
|
|
+ <el-button type="primary" @click="onSubmit"
|
|
|
+ style="margin: 0px 5px 0px 0px;width: 80px;height:40px;border-radius: 5%;" icon="search" >查询</el-button>
|
|
|
+ <el-button type="primary" @click="onAttendance"
|
|
|
+ style="margin: 0px 5px 0px 0px;width: 80px;height:40px;border-radius: 5%;">新增</el-button>
|
|
|
+ <el-button type="primary" @click="baogong_del"
|
|
|
+ style="margin: 0px 5px 0px 0px;width: 80px;height:40px;border-radius: 5%;float: right;background-color: red">删除</el-button>
|
|
|
+ <!-- <el-button type="primary" @click="onxiaopiaoclick"
|
|
|
+ style="margin: 0px 5px 0px 0px;width: 80px;height:40px;border-radius: 5%;background-color: #20a53a;">补打小票</el-button> -->
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
@@ -21,7 +25,7 @@
|
|
|
<layout-sider :resize-directions="['right']" :width="190" style="margin-right: 10px;">
|
|
|
<div class="JKWTree-tree" style="height: 200px">
|
|
|
<h3>包装报工</h3>
|
|
|
- <el-tree :data="treeData" class="treecolor" @node-click="handleNodeClick"></el-tree>
|
|
|
+ <el-tree :data="treeData" class="treecolor" @node-click="handleNodeClick"></el-tree>
|
|
|
</div>
|
|
|
</layout-sider>
|
|
|
|
|
|
@@ -33,27 +37,26 @@
|
|
|
<el-table ref="multipleTable" style="width: 100%;height: 65vh" tooltip-effect="dark"
|
|
|
:row-style="{ height: '20px' }" :header-cell-style="{ padding: '0px' }"
|
|
|
:cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
|
|
|
- :data="tableData" border row-key="ID"
|
|
|
- size="small"
|
|
|
+ :data="tableData" border row-key="ID" size="small"
|
|
|
highlight-current-row="true" @row-dblclick="updateCompanyFunc"
|
|
|
@row-click="tableRowClick" :show-overflow-tooltip="true"
|
|
|
@selection-change="handleSelectionChange">
|
|
|
- <el-table-column type="selection" width="55" />
|
|
|
- <el-table-column sortable align="center" label="序号" prop="序号" width="80" />
|
|
|
- <el-table-column sortable align="left" label="订单子编号" prop="订单子编号" width="120"/>
|
|
|
- <el-table-column sortable align="center" label="订单号" prop="订单号" width="120"/>
|
|
|
- <el-table-column sortable align="left" label="生产款号" prop="生产款号" width="120" />
|
|
|
- <el-table-column sortable align="left" label="款式" prop="款式" width="110" />
|
|
|
- <el-table-column sortable align="left" label="颜色" prop="颜色" width="80" />
|
|
|
- <el-table-column sortable align="left" label="制单总数" prop="制单总数" width="100" />
|
|
|
- <el-table-column sortable align="left" label="组别" prop="组别" width="110" />
|
|
|
- <el-table-column sortable align="left" label="排产单数" prop="排产单数" width="110" />
|
|
|
- <el-table-column sortable align="left" label="尺码" prop="尺码" width="80" />
|
|
|
- <el-table-column sortable align="left" label="入仓数量" prop="入仓数量" width="110" />
|
|
|
- <el-table-column sortable align="left" label="订单累计入仓数量" prop="订单累计入仓数量" width="220" />
|
|
|
- <el-table-column sortable align="left" label="是否尾包" prop="是否尾包" width="100" />
|
|
|
- <el-table-column sortable align="left" label="记录员" prop="记录员" width="90" />
|
|
|
- <el-table-column sortable align="left" label="日期" prop="日期" width="120" />
|
|
|
+ <!-- <el-table-column type="selection" width="55" /> -->
|
|
|
+ <el-table-column sortable align="center" label="序号" prop="序号" width="70" />
|
|
|
+ <el-table-column sortable align="left" label="订单子编号" prop="订单子编号" width="115"/>
|
|
|
+ <el-table-column sortable align="left" label="订单号" prop="订单号" width="115"/>
|
|
|
+ <el-table-column sortable align="left" label="生产款号" prop="生产款号" width="120" />
|
|
|
+ <el-table-column sortable align="left" label="款式" prop="款式" width="100" />
|
|
|
+ <el-table-column sortable align="left" label="颜色" prop="颜色" width="80" />
|
|
|
+ <el-table-column sortable align="left" label="制单总数" prop="制单总数" width="100" />
|
|
|
+ <el-table-column sortable align="left" label="组别" prop="组别" width="100" />
|
|
|
+ <el-table-column sortable align="left" label="排产单数" prop="排产单数" width="100" />
|
|
|
+ <el-table-column sortable align="left" label="尺码" prop="尺码" width="70" />
|
|
|
+ <el-table-column sortable align="left" label="报工数量" prop="报工数量" width="100" />
|
|
|
+ <el-table-column sortable align="left" label="是否尾包" prop="是否尾包" width="100" />
|
|
|
+ <el-table-column sortable align="left" label="工序" prop="工序" width="80" />
|
|
|
+ <el-table-column sortable align="left" label="验片人" prop="验片人" width="90" />
|
|
|
+ <el-table-column sortable align="left" label="日期" prop="日期" width="100" />
|
|
|
</el-table>
|
|
|
<!-- 分页 -->
|
|
|
<div class="gva-pagination">
|
|
|
@@ -63,10 +66,10 @@
|
|
|
<!-- :total="total" @current-change="handleCurrentChange" @size-change="handleSizeChange" />-->
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<!-- 修改弹窗 -->
|
|
|
<el-dialog v-model="dialogFormVisible" :before-close="edit_closeDialog" destroy-on-close style="width: 100%; height: 100%;margin: 0%;">
|
|
|
- <h1 style="margin: 0%;margin-bottom: 10px;">修改</h1>
|
|
|
+ <h1 style="margin: 0%;margin-bottom: 10px;">包装报工修改</h1>
|
|
|
<el-row :gutter="24">
|
|
|
<el-col :span="10">
|
|
|
<el-form-item label="订单子编号:" prop="deliveryDate" class="mab" label-width="180" style="font-size: 30px;margin: 10px;">
|
|
|
@@ -128,19 +131,19 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row :gutter="24" >
|
|
|
- <el-col :span="10">
|
|
|
- <el-form-item label="是否尾包:" prop="deliveryDate" class="mab" label-width="180" style="font-size: 30px;margin: 10px;">
|
|
|
- <el-select v-model="edit_formData['是否订单尾包']" style="width: 60%; height: 40px;" id="是否订单尾包">
|
|
|
- <el-option label="是" value="是"></el-option>
|
|
|
- <el-option label="否" value="否"></el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="11">
|
|
|
- <el-form-item label="订单累计入仓数量:" prop="deliveryDate" class="mab" label-width="270" style="font-size: 30px;margin: 10px;">
|
|
|
- <el-input v-model="edit_formData['订单累计入仓数量']" style="width: 60%; height: 40px;" id="订单累计入仓数量" />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="是否尾包:" prop="deliveryDate" class="mab" label-width="180" style="font-size: 30px;margin: 10px;">
|
|
|
+ <el-select v-model="edit_formData['是否订单尾包']" style="width: 60%; height: 40px;" id="是否订单尾包">
|
|
|
+ <el-option label="是" value="是"></el-option>
|
|
|
+ <el-option label="否" value="否"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="订单累计入仓数量:" prop="deliveryDate" class="mab" label-width="270" style="font-size: 30px;margin: 10px;">
|
|
|
+ <el-input v-model="edit_formData['订单累计入仓数量']" style="width: 52%; height: 40px;" id="订单累计入仓数量" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
<el-row :gutter="24" style="margin-bottom: 20px;">
|
|
|
<el-col :span="10">
|
|
|
@@ -164,7 +167,7 @@
|
|
|
|
|
|
<!-- 新增弹窗 -->
|
|
|
<el-dialog v-model="AttendanceVisible" destroy-on-close style="width: 100%;height: 100%;margin: 0px;">
|
|
|
- <h1 style="margin: 0%;margin-bottom: 10px;">成品入库</h1>
|
|
|
+ <h1 style="margin: 0%;margin-bottom: 10px;">包装报工</h1>
|
|
|
<el-row :gutter="24" style="margin-bottom: 15px;">
|
|
|
<el-input v-model="add_searchInfo" placeholder="扫描订单二维码获取订单信息"
|
|
|
@keyup.enter="add_onSubmit"
|
|
|
@@ -185,7 +188,7 @@
|
|
|
<el-form-item label="人员:" prop="deliveryDate" class="mab" style="font-size: 30px;margin: 10px;" label-width="100">
|
|
|
<el-input v-model="add_formData['人员']" style="width: 120px;height: 40px;" id="人员" />
|
|
|
</el-form-item>
|
|
|
-
|
|
|
+
|
|
|
<el-form-item label="尺码:" prop="joinDate" style="font-size: 30px;" label-width="110">
|
|
|
<el-select v-model="add_formData['尺码']" style="width: 120px;" id="尺码">
|
|
|
<el-option label="32" value="32"></el-option>
|
|
|
@@ -196,7 +199,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="数量:" prop="joinDate" style="font-size: 30px;" label-width="110">
|
|
|
- <el-input v-model="add_formData['数量']" style="width: 120px;height: 40px;" id="人员" />
|
|
|
+ <el-input v-model="add_formData['数量']" style="width: 150px;height: 40px;" id="人员" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="是否尾包:" prop="joinDate" style="font-size: 30px;" label-width="150">
|
|
|
<el-select v-model="add_formData['是否订单尾包']" style="width: 120px;height: 40px;" id="尺码" @change="wbSelectChange">
|
|
|
@@ -205,41 +208,67 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-row>
|
|
|
- <el-row :gutter="24" style="margin-bottom: 15px;">
|
|
|
+ <el-row :gutter="24" style="margin-bottom: 10px;">
|
|
|
<div @contextmenu.prevent>
|
|
|
<el-table
|
|
|
ref="multipleTableRef"
|
|
|
style="width: 100%;height: 40vh"
|
|
|
tooltip-effect="dark"
|
|
|
- :row-style="{ height: '50px' }"
|
|
|
- :header-cell-style="{ padding: '5px', fontSize: '20px' }"
|
|
|
- :cell-style="{ padding: '10px', fontSize: '20px' }"
|
|
|
- :header-row-style="{ height: '20px' }"
|
|
|
- :data="add_tableData"
|
|
|
- border
|
|
|
- row-key="ID"
|
|
|
- size="small"
|
|
|
+ :row-style="{ height: '50px' }" :header-cell-style="{ padding: '5px', fontSize: '20px' }"
|
|
|
+ :cell-style="{ padding: '10px', fontSize: '20px' }" :header-row-style="{ height: '20px' }"
|
|
|
+ :data="add_tableData" border row-key="ID" size="small"
|
|
|
highlight-current-row="true"
|
|
|
- @row-dblclick="add_updateCompanyFunc"
|
|
|
- @row-click="add_tableRowClick"
|
|
|
- @row-contextmenu="handleRightClick"
|
|
|
- :show-overflow-tooltip="true"
|
|
|
- @selection-change="add_xpSelectionChange">
|
|
|
- <el-table-column type="selection" width="70" />
|
|
|
- <el-table-column sortable align="left" label="订单子编号" prop="订单子编号" width="310"/>
|
|
|
- <el-table-column sortable align="left" label="订单号" prop="订单号" width="310"/>
|
|
|
- <el-table-column sortable align="left" label="生产款号" prop="生产款号" width="380"/>
|
|
|
- <el-table-column sortable align="left" label="款式" prop="款式" width="310"/>
|
|
|
- <el-table-column sortable align="left" label="颜色" prop="颜色" width="310"/>
|
|
|
+ @row-dblclick="add_updateCompanyFunc" @row-click="add_tableRowClick" @row-contextmenu="handleRightClick"
|
|
|
+ :show-overflow-tooltip="true" @selection-change="add_xpSelectionChange">
|
|
|
+ <el-table-column type="selection" width="70" />
|
|
|
+ <el-table-column sortable align="left" label="订单号" prop="订单号" width="140"/>
|
|
|
+ <el-table-column sortable align="left" label="订单子编号" prop="订单子编号" width="140"/>
|
|
|
+ <el-table-column sortable align="left" label="生产款号" prop="生产款号" width="140"/>
|
|
|
+ <el-table-column sortable align="left" label="款式" prop="款式" width="140"/>
|
|
|
+ <el-table-column sortable align="left" label="颜色" prop="颜色" width="140"/>
|
|
|
+ <el-table-column sortable align="left" label="S" prop="S" width="140"/>
|
|
|
+ <el-table-column sortable align="left" label="M" prop="M" width="140"/>
|
|
|
+ <el-table-column sortable align="left" label="L" prop="L" width="140"/>
|
|
|
+ <el-table-column sortable align="left" label="XL" prop="XL" width="140"/>
|
|
|
+ <el-table-column sortable align="left" label="2XL" prop="2XL" width="140"/>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</el-row>
|
|
|
|
|
|
+ <el-row :gutter="24" style="margin-bottom: 10px;">
|
|
|
+ <el-form-item label="尺码:" class="mab" prop="keyOrder" label-width="120" style="font-size: 30px;">
|
|
|
+ <el-input v-model="cmformdata.cm1" disabled style="width: 90px;height: 40px;"/>
|
|
|
+ <el-input v-model="cmformdata.cm2" disabled style="width: 90px;height: 40px;"/>
|
|
|
+ <el-input v-model="cmformdata.cm3" disabled style="width: 90px;height: 40px;"/>
|
|
|
+ <el-input v-model="cmformdata.cm4" disabled style="width: 90px;height: 40px;"/>
|
|
|
+ <el-input v-model="cmformdata.cm5" disabled style="width: 90px;height: 40px;"/>
|
|
|
+ <el-input v-model="cmformdata.cm6" disabled style="width: 90px;height: 40px;"/>
|
|
|
+ <el-input v-model="cmformdata.cm7" disabled style="width: 90px;height: 40px;"/>
|
|
|
+ <el-input v-model="cmformdata.cm8" disabled style="width: 90px;height: 40px;"/>
|
|
|
+ <el-input v-model="cmformdata.cm9" disabled style="width: 90px;height: 40px;"/>
|
|
|
+ </el-form-item>
|
|
|
+ </el-row>
|
|
|
+
|
|
|
+
|
|
|
+ <el-row :gutter="24">
|
|
|
+ <el-form-item label="数量:" class="mab" prop="keyOrder" label-width="120" style="font-size: 30px;">
|
|
|
+ <el-input v-model="scsformdata.scs1" disabled style="width: 90px;height: 40px;" id="scs1"/>
|
|
|
+ <el-input v-model="scsformdata.scs2" disabled style="width: 90px;height: 40px;" id="scs2"/>
|
|
|
+ <el-input v-model="scsformdata.scs3" disabled style="width: 90px;height: 40px;" id="scs3"/>
|
|
|
+ <el-input v-model="scsformdata.scs4" disabled style="width: 90px;height: 40px;" id="scs4"/>
|
|
|
+ <el-input v-model="scsformdata.scs5" disabled style="width: 90px;height: 40px;" id="scs5"/>
|
|
|
+ <el-input v-model="scsformdata.scs6" disabled style="width: 90px;height: 40px;" id="scs6"/>
|
|
|
+ <el-input v-model="scsformdata.scs7" disabled style="width: 90px;height: 40px;" id="scs7"/>
|
|
|
+ <el-input v-model="scsformdata.scs8" disabled style="width: 90px;height: 40px;" id="scs8"/>
|
|
|
+ <el-input v-model="scsformdata.scs9" disabled style="width: 90px;height: 40px;" id="scs9"/>
|
|
|
+ </el-form-item>
|
|
|
+ </el-row>
|
|
|
+
|
|
|
<template #footer>
|
|
|
<div class="dialog-footer" >
|
|
|
<el-button @click="add_closeDialog" style="width: 110px;height: 60px;font-size: 20px;">取消</el-button>
|
|
|
- <el-button type="primary" @click="add_Dialog" style="width: 110px;height: 60px;font-size: 20px;">保存</el-button>
|
|
|
- <el-button type="primary" @click="add_printxp" style="width: 110px;height: 60px;font-size: 20px;">打印小票</el-button>
|
|
|
+ <el-button type="primary" @click="add_Dialog" style="width: 110px;height: 60px;font-size: 20px;">确认</el-button>
|
|
|
+ <!-- <el-button type="primary" @click="add_printxp" style="width: 110px;height: 60px;font-size: 20px;">打印小票</el-button> -->
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
@@ -291,17 +320,14 @@ const treeData = ref({})
|
|
|
const DataListdata = async () => {
|
|
|
try {
|
|
|
const data =
|
|
|
- [{
|
|
|
- label : '包装报工完成记录',
|
|
|
- children : [
|
|
|
+ [
|
|
|
{label : '2024.7.16'},
|
|
|
{label : '2024.7.15'},
|
|
|
{label : '2024.7.14'},
|
|
|
{label : '2024.7.13'},
|
|
|
{label : '2024.7.12'},
|
|
|
{label : '2024.7.11'}
|
|
|
- ]
|
|
|
- }];
|
|
|
+ ];
|
|
|
treeData.value = data
|
|
|
} catch (error) {
|
|
|
console.error(error);
|
|
|
@@ -349,12 +375,12 @@ const _getStaffList = async ()=>{
|
|
|
'款式':'连衣裙',
|
|
|
'颜色':'红色',
|
|
|
'制单总数':'90',
|
|
|
- '组别':'服装厂1组',
|
|
|
+ '组别':'车缝1组',
|
|
|
'排产单数':'50',
|
|
|
'尺码':'32',
|
|
|
- '入仓数量':'42',
|
|
|
- '订单累计入仓数量':'40',
|
|
|
- '是否尾包':'否',
|
|
|
+ '入仓数量':'10',
|
|
|
+ '是否尾包':'否',
|
|
|
+ '订单累计入仓数量':'12',
|
|
|
'记录员':'xxx',
|
|
|
'日期':'2024-07-16'
|
|
|
},
|
|
|
@@ -366,13 +392,13 @@ const _getStaffList = async ()=>{
|
|
|
'款式':'长袖',
|
|
|
'颜色':'蓝色',
|
|
|
'制单总数':'90',
|
|
|
- '组别':'服装厂1组',
|
|
|
+ '组别':'车缝2组',
|
|
|
'排产单数':'60',
|
|
|
'尺码':'35',
|
|
|
- '入仓数量':'95',
|
|
|
- '订单累计入仓数量':'163',
|
|
|
- '是否尾包':'否',
|
|
|
- '记录员':'xxx',
|
|
|
+ '入仓数量':'58',
|
|
|
+ '是否尾包':'否',
|
|
|
+ '订单累计入仓数量':'25',
|
|
|
+ '记录员':'xxx',
|
|
|
'日期':'2024-07-16'
|
|
|
},
|
|
|
{
|
|
|
@@ -383,13 +409,13 @@ const _getStaffList = async ()=>{
|
|
|
'款式':'西服',
|
|
|
'颜色':'白色',
|
|
|
'制单总数':'90',
|
|
|
- '组别':'服装厂2组',
|
|
|
+ '组别':'车缝3组',
|
|
|
'排产单数':'60',
|
|
|
'尺码':'35',
|
|
|
- '入仓数量':'55',
|
|
|
- '订单累计入仓数量':'111',
|
|
|
- '是否尾包':'否',
|
|
|
- '记录员':'xxx',
|
|
|
+ '入仓数量':'58',
|
|
|
+ '是否尾包':'否',
|
|
|
+ '订单累计入仓数量':'66',
|
|
|
+ '记录员':'xxx',
|
|
|
'日期':'2024-07-16'
|
|
|
},
|
|
|
{
|
|
|
@@ -400,13 +426,13 @@ const _getStaffList = async ()=>{
|
|
|
'款式':'裤子',
|
|
|
'颜色':'黑色',
|
|
|
'制单总数':'90',
|
|
|
- '组别':'服装厂3组',
|
|
|
+ '组别':'车缝4组',
|
|
|
'排产单数':'40',
|
|
|
'尺码':'36',
|
|
|
- '入仓数量':'60',
|
|
|
- '订单累计入仓数量':'124',
|
|
|
- '是否尾包':'是',
|
|
|
- '记录员':'xxx',
|
|
|
+ '入仓数量':'37',
|
|
|
+ '是否尾包':'是',
|
|
|
+ '订单累计入仓数量':'34',
|
|
|
+ '记录员':'xxx',
|
|
|
'日期':'2024-07-16'
|
|
|
},
|
|
|
|
|
|
@@ -439,9 +465,6 @@ const onAttendance = () => {
|
|
|
}
|
|
|
}, 100); // 延迟100毫秒
|
|
|
gd_clearFormData();
|
|
|
- add_formData['机台号'] = '总检'
|
|
|
- add_formData['工序'] = '库房'
|
|
|
- add_formData['组别'] = '库房'
|
|
|
add_formData['人员'] = 'xxx'
|
|
|
add_searchInfo.value = ''
|
|
|
const WorkListdata = [];
|
|
|
@@ -456,6 +479,30 @@ const add_formData = reactive({
|
|
|
数量: '',
|
|
|
是否订单尾包: '',
|
|
|
});
|
|
|
+// 尺码
|
|
|
+const cmformdata = reactive({
|
|
|
+ cm1:'S',
|
|
|
+ cm2:'M',
|
|
|
+ cm3:'L',
|
|
|
+ cm4:'XL',
|
|
|
+ cm5:'2XL',
|
|
|
+ cm6:'',
|
|
|
+ cm7:'',
|
|
|
+ cm8:'',
|
|
|
+ cm9:'合计',
|
|
|
+});
|
|
|
+// 实裁数
|
|
|
+const scsformdata = reactive({
|
|
|
+ scs1:'',
|
|
|
+ scs2:'',
|
|
|
+ scs3:'',
|
|
|
+ scs4:'',
|
|
|
+ scs5:'',
|
|
|
+ scs6:'',
|
|
|
+ scs7:'',
|
|
|
+ scs8:'',
|
|
|
+ scs9:'',
|
|
|
+});
|
|
|
// 新增确定
|
|
|
const add_Dialog = () => {
|
|
|
// AttendanceVisible.value = false
|
|
|
@@ -500,16 +547,29 @@ const add_onSubmit = async ()=>{
|
|
|
'订单号':'2408001',
|
|
|
'生产款号':'2401-1622款',
|
|
|
'款式':'连衣裙',
|
|
|
- '颜色':'红色'
|
|
|
+ '颜色':'红色',
|
|
|
+ 'S':'34',
|
|
|
+ 'M':'12',
|
|
|
+ 'L':'53',
|
|
|
+ 'XL':'44',
|
|
|
+ '2XL':'15'
|
|
|
},
|
|
|
{
|
|
|
'订单子编号':'2408001-2',
|
|
|
'订单号':'2408001',
|
|
|
'生产款号':'2401-1623款',
|
|
|
'款式':'长袖',
|
|
|
- '颜色':'蓝色'
|
|
|
+ '颜色':'蓝色',
|
|
|
+ 'S':'23',
|
|
|
+ 'M':'26',
|
|
|
+ 'L':'48',
|
|
|
+ 'XL':'67',
|
|
|
+ '2XL':'12'
|
|
|
},
|
|
|
];
|
|
|
+ add_formData['机台号'] = '包装'
|
|
|
+ add_formData['工序'] = '包装'
|
|
|
+ add_formData['组别'] = '包装1组'
|
|
|
add_formData['尺码'] = '32'
|
|
|
add_formData['数量'] = '10'
|
|
|
add_formData['是否订单尾包'] = '否'
|
|
|
@@ -524,6 +584,9 @@ const add_onSubmit = async ()=>{
|
|
|
'颜色':'白色'
|
|
|
},
|
|
|
];
|
|
|
+ add_formData['机台号'] = '包装'
|
|
|
+ add_formData['工序'] = '包装'
|
|
|
+ add_formData['组别'] = '包装1组'
|
|
|
add_formData['尺码'] = '35'
|
|
|
add_formData['数量'] = '58'
|
|
|
add_formData['是否订单尾包'] = '否'
|
|
|
@@ -538,10 +601,69 @@ const add_onSubmit = async ()=>{
|
|
|
'颜色':'白色'
|
|
|
},
|
|
|
];
|
|
|
+ add_formData['机台号'] = '包装'
|
|
|
+ add_formData['工序'] = '包装'
|
|
|
+ add_formData['组别'] = '包装1组'
|
|
|
add_formData['尺码'] = '35'
|
|
|
add_formData['数量'] = '58'
|
|
|
add_formData['是否订单尾包'] = '是'
|
|
|
add_tableData.splice(0,add_tableData.length,...WorkListdata);//表格数据
|
|
|
+ }else if(add_searchInfo.value === '2408001-1'){
|
|
|
+ const WorkListdata = [
|
|
|
+ {
|
|
|
+ '订单子编号':'2408001-1',
|
|
|
+ '订单号':'2408001',
|
|
|
+ '生产款号':'2401-1622款',
|
|
|
+ '款式':'连衣裙',
|
|
|
+ '颜色':'红色',
|
|
|
+ 'S':'34',
|
|
|
+ 'M':'12',
|
|
|
+ 'L':'53',
|
|
|
+ 'XL':'44',
|
|
|
+ '2XL':'15'
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ scsformdata['scs1'] = 34
|
|
|
+ scsformdata['scs2'] = 12
|
|
|
+ scsformdata['scs3'] = 53
|
|
|
+ scsformdata['scs4'] = 44
|
|
|
+ scsformdata['scs5'] = 15
|
|
|
+ scsformdata['scs9'] = 158
|
|
|
+ add_formData['机台号'] = '包装'
|
|
|
+ add_formData['工序'] = '包装'
|
|
|
+ add_formData['组别'] = '包装1组'
|
|
|
+ add_formData['尺码'] = '32'
|
|
|
+ add_formData['数量'] = '10'
|
|
|
+ add_formData['是否订单尾包'] = '否'
|
|
|
+ add_tableData.splice(0,add_tableData.length,...WorkListdata);//表格数据
|
|
|
+ }else if(add_searchInfo.value === '2408001-2'){
|
|
|
+ const WorkListdata = [
|
|
|
+ {
|
|
|
+ '订单子编号':'2408001-2',
|
|
|
+ '订单号':'2408001',
|
|
|
+ '生产款号':'2401-1623款',
|
|
|
+ '款式':'长袖',
|
|
|
+ '颜色':'蓝色',
|
|
|
+ 'S':'23',
|
|
|
+ 'M':'26',
|
|
|
+ 'L':'48',
|
|
|
+ 'XL':'67',
|
|
|
+ '2XL':'12'
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ scsformdata['scs1'] = 23
|
|
|
+ scsformdata['scs2'] = 26
|
|
|
+ scsformdata['scs3'] = 48
|
|
|
+ scsformdata['scs4'] = 67
|
|
|
+ scsformdata['scs5'] = 12
|
|
|
+ scsformdata['scs9'] = 176
|
|
|
+ add_formData['机台号'] = '包装'
|
|
|
+ add_formData['工序'] = '包装'
|
|
|
+ add_formData['组别'] = '包装1组'
|
|
|
+ add_formData['尺码'] = '32'
|
|
|
+ add_formData['数量'] = '10'
|
|
|
+ add_formData['是否订单尾包'] = '否'
|
|
|
+ add_tableData.splice(0,add_tableData.length,...WorkListdata);//表格数据
|
|
|
}
|
|
|
setTimeout(() => {
|
|
|
const inputElement = document.querySelector('#searchInput');
|
|
|
@@ -567,7 +689,7 @@ const add_tableRowClick = async (row) => {
|
|
|
roww.value = row
|
|
|
}
|
|
|
//双击
|
|
|
-const gyupdateCompanyFunc = async (row) => {
|
|
|
+const add_updateCompanyFunc = async (row) => {
|
|
|
|
|
|
}
|
|
|
//右键
|
|
|
@@ -602,7 +724,7 @@ const add_xpSelectionChange = (selection, type) => {
|
|
|
cm: add_formData['尺码'],
|
|
|
sl: add_formData['数量'],
|
|
|
zb: add_formData['组别'],
|
|
|
- dyrq: currentDate,
|
|
|
+ dyrq: currentDates,
|
|
|
wb: add_formData['是否订单尾包'],
|
|
|
};
|
|
|
}
|