|
@@ -84,16 +84,16 @@
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<el-row :gutter="24">
|
|
<el-row :gutter="24">
|
|
|
<el-form-item label="上报数量" class="mab" prop="keyOrder" label-width="140" style="font-size: 30px;margin-top: -10px;">
|
|
<el-form-item label="上报数量" class="mab" prop="keyOrder" label-width="140" style="font-size: 30px;margin-top: -10px;">
|
|
|
- <el-input v-model="slformdata.sl1" @input="updateTotal" style="width: 65px;height: 40px;" id="sl1" @keydown="handleKeyDown($event, 'sl10', 'sl1', 'sl2')"/>
|
|
|
|
|
- <el-input v-model="slformdata.sl2" @input="updateTotal" style="width: 65px;height: 40px;" id="sl2" @keydown="handleKeyDown($event, 'sl1', 'sl2', 'sl3')"/>
|
|
|
|
|
- <el-input v-model="slformdata.sl3" @input="updateTotal" style="width: 65px;height: 40px;" id="sl3"@keydown="handleKeyDown($event, 'sl2', 'sl3', 'sl4')"/>
|
|
|
|
|
- <el-input v-model="slformdata.sl4" @input="updateTotal" style="width: 65px;height: 40px;" id="sl4"@keydown="handleKeyDown($event, 'sl3', 'sl4', 'sl5')"/>
|
|
|
|
|
- <el-input v-model="slformdata.sl5" @input="updateTotal" style="width: 65px;height: 40px;" id="sl5"@keydown="handleKeyDown($event, 'sl4', 'sl5', 'sl6')"/>
|
|
|
|
|
- <el-input v-model="slformdata.sl6" @input="updateTotal" style="width: 65px;height: 40px;" id="sl6"@keydown="handleKeyDown($event, 'sl5', 'sl6', 'sl7')"/>
|
|
|
|
|
- <el-input v-model="slformdata.sl7" @input="updateTotal" style="width: 65px;height: 40px;" id="sl7"@keydown="handleKeyDown($event, 'sl6', 'sl7', 'sl8')"/>
|
|
|
|
|
- <el-input v-model="slformdata.sl8" @input="updateTotal" style="width: 65px;height: 40px;" id="sl8"@keydown="handleKeyDown($event, 'sl7', 'sl8', 'sl9')"/>
|
|
|
|
|
- <el-input v-model="slformdata.sl9" @input="updateTotal" style="width: 65px;height: 40px;" id="sl9"@keydown="handleKeyDown($event, 'sl8', 'sl9', 'sl10')"/>
|
|
|
|
|
- <el-input v-model="slformdata.sl10" @input="updateTotal" style="width: 65px;height: 40px;" id="sl10"@keydown="handleKeyDown($event, 'sl9', 'sl10', 'sl1')"/>
|
|
|
|
|
|
|
+ <el-input v-model="slformdata.sl1" :readonly="!zdslformdata.cmsl1" @input="updateTotal" style="width: 65px;height: 40px;" id="sl1" @keydown="handleKeyDown($event, 'sl10', 'sl1', 'sl2')"/>
|
|
|
|
|
+ <el-input v-model="slformdata.sl2" :readonly="!zdslformdata.cmsl2" @input="updateTotal" style="width: 65px;height: 40px;" id="sl2" @keydown="handleKeyDown($event, 'sl1', 'sl2', 'sl3')"/>
|
|
|
|
|
+ <el-input v-model="slformdata.sl3" :readonly="!zdslformdata.cmsl3" @input="updateTotal" style="width: 65px;height: 40px;" id="sl3"@keydown="handleKeyDown($event, 'sl2', 'sl3', 'sl4')"/>
|
|
|
|
|
+ <el-input v-model="slformdata.sl4" :readonly="!zdslformdata.cmsl4" @input="updateTotal" style="width: 65px;height: 40px;" id="sl4"@keydown="handleKeyDown($event, 'sl3', 'sl4', 'sl5')"/>
|
|
|
|
|
+ <el-input v-model="slformdata.sl5" :readonly="!zdslformdata.cmsl5 "@input="updateTotal" style="width: 65px;height: 40px;" id="sl5"@keydown="handleKeyDown($event, 'sl4', 'sl5', 'sl6')"/>
|
|
|
|
|
+ <el-input v-model="slformdata.sl6" :readonly="!zdslformdata.cmsl6" @input="updateTotal" style="width: 65px;height: 40px;" id="sl6"@keydown="handleKeyDown($event, 'sl5', 'sl6', 'sl7')"/>
|
|
|
|
|
+ <el-input v-model="slformdata.sl7" :readonly="!zdslformdata.cmsl7" @input="updateTotal" style="width: 65px;height: 40px;" id="sl7"@keydown="handleKeyDown($event, 'sl6', 'sl7', 'sl8')"/>
|
|
|
|
|
+ <el-input v-model="slformdata.sl8" :readonly="!zdslformdata.cmsl8" @input="updateTotal" style="width: 65px;height: 40px;" id="sl8"@keydown="handleKeyDown($event, 'sl7', 'sl8', 'sl9')"/>
|
|
|
|
|
+ <el-input v-model="slformdata.sl9" :readonly="!zdslformdata.cmsl9" @input="updateTotal" style="width: 65px;height: 40px;" id="sl9"@keydown="handleKeyDown($event, 'sl8', 'sl9', 'sl10')"/>
|
|
|
|
|
+ <el-input v-model="slformdata.sl10" :readonly="!zdslformdata.cmsl10" @input="updateTotal" style="width: 65px;height: 40px;" id="sl10"@keydown="handleKeyDown($event, 'sl9', 'sl10', 'sl1')"/>
|
|
|
<el-input v-model="slformdata.sctotal" readonly style="width: 65px;height: 40px;" id="sctotal"/>
|
|
<el-input v-model="slformdata.sctotal" readonly style="width: 65px;height: 40px;" id="sctotal"/>
|
|
|
<el-button type="primary" @click="add_Dialog" style="width: 100px;height: 60px;font-size: 20px;margin: -20px 0 0 10px">确认上报</el-button>
|
|
<el-button type="primary" @click="add_Dialog" style="width: 100px;height: 60px;font-size: 20px;margin: -20px 0 0 10px">确认上报</el-button>
|
|
|
<el-button type="primary" @click="add_printxp" style="width: 100px;height: 60px;font-size: 20px;margin: -20px 0 0 10px">打印预览</el-button>
|
|
<el-button type="primary" @click="add_printxp" style="width: 100px;height: 60px;font-size: 20px;margin: -20px 0 0 10px">打印预览</el-button>
|
|
@@ -104,7 +104,7 @@
|
|
|
<div @contextmenu.prevent>
|
|
<div @contextmenu.prevent>
|
|
|
<el-table
|
|
<el-table
|
|
|
ref="multipleTableRef"
|
|
ref="multipleTableRef"
|
|
|
- style="width: 80%; height: 40vh"
|
|
|
|
|
|
|
+ style="width:85%; height: 40vh"
|
|
|
tooltip-effect="dark"
|
|
tooltip-effect="dark"
|
|
|
:row-style="{ height: '40px' }"
|
|
:row-style="{ height: '40px' }"
|
|
|
:header-cell-style="{ padding: '5px', fontSize: '20px' }"
|
|
:header-cell-style="{ padding: '5px', fontSize: '20px' }"
|
|
@@ -355,6 +355,8 @@ const sizeDatas = reactive([])
|
|
|
const add_searchInfo = ref('')
|
|
const add_searchInfo = ref('')
|
|
|
//查询事件
|
|
//查询事件
|
|
|
const add_onSubmit = async ()=>{
|
|
const add_onSubmit = async ()=>{
|
|
|
|
|
+ sizeDatas.length = 0;
|
|
|
|
|
+ add_tableData.length = 0;
|
|
|
if(add_searchInfo.value === '' || add_searchInfo.value === undefined){
|
|
if(add_searchInfo.value === '' || add_searchInfo.value === undefined){
|
|
|
const WorkListdata = [];
|
|
const WorkListdata = [];
|
|
|
add_tableData.splice(0,add_tableData.length,...WorkListdata);
|
|
add_tableData.splice(0,add_tableData.length,...WorkListdata);
|
|
@@ -415,6 +417,7 @@ const add_onSubmit = async ()=>{
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
|
|
|
const AttendanceVisible=ref(false)
|
|
const AttendanceVisible=ref(false)
|
|
|
|
|
|
|
@@ -438,6 +441,8 @@ const add_onSubmit = async ()=>{
|
|
|
const currentSlValue = ref('')
|
|
const currentSlValue = ref('')
|
|
|
//车缝确认上报按钮
|
|
//车缝确认上报按钮
|
|
|
const add_Dialog = async ()=>{
|
|
const add_Dialog = async ()=>{
|
|
|
|
|
+ sizeDatas.length = 0;
|
|
|
|
|
+ add_tableData.length = 0;
|
|
|
console.log(_serial.value)
|
|
console.log(_serial.value)
|
|
|
if(_serial.value === NaN){
|
|
if(_serial.value === NaN){
|
|
|
ElMessage({type: 'warning',message: '网络异常.请检查'})
|
|
ElMessage({type: 'warning',message: '网络异常.请检查'})
|
|
@@ -712,7 +717,7 @@ const add_printxp = () => {
|
|
|
let allParams = []; // 用于存储所有要打印的参数对象
|
|
let allParams = []; // 用于存储所有要打印的参数对象
|
|
|
let allParamss = ref([]); // 用于存储所有要打印的参数对象
|
|
let allParamss = ref([]); // 用于存储所有要打印的参数对象
|
|
|
if (!slArray.some(item => item !== "" && item !== null && item !== undefined)) {
|
|
if (!slArray.some(item => item !== "" && item !== null && item !== undefined)) {
|
|
|
- ElMessage({type: 'warning', message: '没有填写数量,请填写数量后再使用此功能'});
|
|
|
|
|
|
|
+ ElMessage({type: 'warning', message: '请填写上报数量后再使用打印功能'});
|
|
|
return;
|
|
return;
|
|
|
}else{
|
|
}else{
|
|
|
let serialNumber = parseInt(_serial.value, 10);
|
|
let serialNumber = parseInt(_serial.value, 10);
|