|
@@ -712,9 +712,23 @@ const updateDetailData = async() => {
|
|
|
const handleShowAdd = async() => {
|
|
const handleShowAdd = async() => {
|
|
|
type.value = '新增'
|
|
type.value = '新增'
|
|
|
if(currentRow.value.UniqId==null){
|
|
if(currentRow.value.UniqId==null){
|
|
|
|
|
+ detailData.table = Array.from({ length: 6 }, (_, i) => i + 1)
|
|
|
|
|
+ .map(num => {
|
|
|
|
|
+ return {
|
|
|
|
|
+ sczl_gdbh: '',
|
|
|
|
|
+ sczl_yjGx: '',
|
|
|
|
|
+ sczl_gxmc: '',
|
|
|
|
|
+ Gd_cpmc: '',
|
|
|
|
|
+ sczl_cl: '',
|
|
|
|
|
+ sczl_返工产量: '',
|
|
|
|
|
+ sczl_PgCl: '',
|
|
|
|
|
+ sczl_计产系数: '',
|
|
|
|
|
+ sczl_Jtbh1: '',
|
|
|
|
|
+ sczl_dedh: '',
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
dialogFormVisible.value = true
|
|
dialogFormVisible.value = true
|
|
|
- }else{
|
|
|
|
|
-
|
|
|
|
|
|
|
+ }else{
|
|
|
await getTableInfo(currentRow.value?.UniqId)
|
|
await getTableInfo(currentRow.value?.UniqId)
|
|
|
// 默认日期为前一天的日期
|
|
// 默认日期为前一天的日期
|
|
|
const date = dayjs().subtract(1, 'day').format('YYYY-MM-DD')
|
|
const date = dayjs().subtract(1, 'day').format('YYYY-MM-DD')
|