|
|
@@ -843,12 +843,15 @@ const add_Dialog = async () => {
|
|
|
//流水号序号
|
|
|
// _serial_num.value++;
|
|
|
// params.serial_num = _serial_num.value;
|
|
|
-
|
|
|
+ // params.serial = _serial_num.value;
|
|
|
// 流水号序号
|
|
|
params.serial_num = serialNumber;
|
|
|
paramsList.push(params);
|
|
|
+ serialNumber++;
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
+ // params.serial_num = serialNumber;
|
|
|
console.log("新增报工",paramsList)
|
|
|
// return;
|
|
|
if (paramsList.length === 0) {
|
|
|
@@ -875,10 +878,6 @@ const add_Dialog = async () => {
|
|
|
|
|
|
|
|
|
if (allSuccess) {
|
|
|
- // const lsjltable = await getTab({
|
|
|
- // order_id: add_searchInfo.value,
|
|
|
- // sczl_jtbh: add_formData['机台号']
|
|
|
- // });
|
|
|
const getSpotLists = await getSpotList({
|
|
|
order: add_searchInfo.value,
|
|
|
code: _code,
|
|
|
@@ -889,7 +888,6 @@ const add_Dialog = async () => {
|
|
|
add_printxp();
|
|
|
|
|
|
search.value = '';
|
|
|
- // add_searchInfo.value = '';
|
|
|
ElMessage({
|
|
|
type: 'success',
|
|
|
message: '报工成功'
|
|
|
@@ -1122,7 +1120,8 @@ const add_printxp = async () => {
|
|
|
lsh: row['serial']
|
|
|
};
|
|
|
});
|
|
|
-
|
|
|
+ _serial.value++;
|
|
|
+ console.log('小票打印后的流水号', _serial.value)
|
|
|
const hiprintTemplate = new hiprint.PrintTemplate({
|
|
|
template: jsondata
|
|
|
});
|