作者 雷海东

注释控制台打印语句

@@ -251,7 +251,6 @@ export const JeecgListMixin = { @@ -251,7 +251,6 @@ export const JeecgListMixin = {
251 }, 251 },
252 252
253 handleEdit: function (record) { 253 handleEdit: function (record) {
254 - console.log(record)  
255 this.$refs.modalForm.edit(record); 254 this.$refs.modalForm.edit(record);
256 this.$refs.modalForm.title = "编辑"; 255 this.$refs.modalForm.title = "编辑";
257 this.$refs.modalForm.disableSubmit = false; 256 this.$refs.modalForm.disableSubmit = false;
@@ -306,7 +305,6 @@ export const JeecgListMixin = { @@ -306,7 +305,6 @@ export const JeecgListMixin = {
306 }, 305 },
307 // 生产计划查看 306 // 生产计划查看
308 handleDetail2: function (record) { 307 handleDetail2: function (record) {
309 - console.log("生产计划查看:",record.orderId)  
310 this.$refs.modalForm.edit(record); 308 this.$refs.modalForm.edit(record);
311 this.$refs.modalForm.queryBynumber(record.orderId); 309 this.$refs.modalForm.queryBynumber(record.orderId);
312 this.$refs.modalForm.querygx(record.orderId,record.productType) 310 this.$refs.modalForm.querygx(record.orderId,record.productType)
@@ -315,8 +313,6 @@ export const JeecgListMixin = { @@ -315,8 +313,6 @@ export const JeecgListMixin = {
315 }, 313 },
316 // 根据月份和姓名查看工序 314 // 根据月份和姓名查看工序
317 querygxone: function (record) { 315 querygxone: function (record) {
318 - console.log("月份:",record.yanTime)  
319 - console.log("姓名:",record.undertaker)  
320 this.$refs.modalForm.edit(record); 316 this.$refs.modalForm.edit(record);
321 this.$refs.modalForm.queryGxOne(record.yanTime,record.undertaker); 317 this.$refs.modalForm.queryGxOne(record.yanTime,record.undertaker);
322 this.$refs.modalForm.title = "工序查看"; 318 this.$refs.modalForm.title = "工序查看";
@@ -102,11 +102,9 @@ @@ -102,11 +102,9 @@
102 // this.model.isagree = '1' 102 // this.model.isagree = '1'
103 // } 103 // }
104 this.visible = true; 104 this.visible = true;
105 - console.log('this.model',this.model)  
106 }, 105 },
107 onChange(e) { 106 onChange(e) {
108 - console.log('radio checked', e.target.value);  
109 - console.log('radio value',this.value); 107 +
110 //this.model.isagree = e.target.value 108 //this.model.isagree = e.target.value
111 }, 109 },
112 handleOk () { 110 handleOk () {
@@ -114,7 +112,7 @@ @@ -114,7 +112,7 @@
114 // 触发表单验证 112 // 触发表单验证
115 this.$refs.form.validate(valid => { 113 this.$refs.form.validate(valid => {
116 if (valid) { 114 if (valid) {
117 - console.log(this.model) 115 +
118 const tempMOdel = { 116 const tempMOdel = {
119 partNumber:this.model.partNumber, 117 partNumber:this.model.partNumber,
120 approvalOpinions:this.model.approvalOpinions, 118 approvalOpinions:this.model.approvalOpinions,
@@ -99,10 +99,10 @@ @@ -99,10 +99,10 @@
99 this.model = Object.assign({}, record); 99 this.model = Object.assign({}, record);
100 this.visible = true; 100 this.visible = true;
101 // this.model.isagree = '1' 101 // this.model.isagree = '1'
102 - console.log('this.model',this.model) 102 + // console.log('this.model',this.model)
103 }, 103 },
104 onChange(e) { 104 onChange(e) {
105 - console.log('radio checked', e.target.value); 105 + // console.log('radio checked', e.target.value);
106 this.model.isagree = this.value 106 this.model.isagree = this.value
107 }, 107 },
108 handleOk () { 108 handleOk () {
@@ -110,7 +110,7 @@ @@ -110,7 +110,7 @@
110 // 触发表单验证 110 // 触发表单验证
111 this.$refs.form.validate(valid => { 111 this.$refs.form.validate(valid => {
112 if (valid) { 112 if (valid) {
113 - console.log(this.model) 113 + // console.log(this.model)
114 const tempMOdel = { 114 const tempMOdel = {
115 partNumber:this.model.partNumber, 115 partNumber:this.model.partNumber,
116 approvalOpinions:this.model.approvalOpinions, 116 approvalOpinions:this.model.approvalOpinions,
@@ -231,7 +231,7 @@ export default { @@ -231,7 +231,7 @@ export default {
231 }, 231 },
232 edit(record) { 232 edit(record) {
233 this.model = Object.assign({}, record) 233 this.model = Object.assign({}, record)
234 - console.log('this.model',this.model) 234 + // console.log('this.model',this.model)
235 this.modelDefault = this.model 235 this.modelDefault = this.model
236 this.choose = this.model.chooseStatus 236 this.choose = this.model.chooseStatus
237 if(!this.model.chooseStatus){ 237 if(!this.model.chooseStatus){
@@ -282,7 +282,7 @@ export default { @@ -282,7 +282,7 @@ export default {
282 }, 282 },
283 handleChange (value,option){ 283 handleChange (value,option){
284 let tempModel = option.data.attrs.channel 284 let tempModel = option.data.attrs.channel
285 - console.log('tempModel',tempModel) 285 + // console.log('tempModel',tempModel)
286 if(tempModel.partNumber){ 286 if(tempModel.partNumber){
287 this.model.partNumber = tempModel.partNumber 287 this.model.partNumber = tempModel.partNumber
288 } 288 }
@@ -333,7 +333,7 @@ export default { @@ -333,7 +333,7 @@ export default {
333 httpurl += this.url.edit 333 httpurl += this.url.edit
334 method = 'put' 334 method = 'put'
335 } 335 }
336 - console.log(this.model) 336 + // console.log(this.model)
337 // return 337 // return
338 httpAction(httpurl, this.model, method) 338 httpAction(httpurl, this.model, method)
339 .then((res) => { 339 .then((res) => {
@@ -346,8 +346,8 @@ export default { @@ -346,8 +346,8 @@ export default {
346 }) 346 })
347 .finally(() => { 347 .finally(() => {
348 that.confirmLoading = false 348 that.confirmLoading = false
349 - console.log(this.nickname())  
350 - console.log(this.userInfo().username) 349 + // console.log(this.nickname())
  350 + // console.log(this.userInfo().username)
351 }) 351 })
352 } 352 }
353 }) 353 })
@@ -46,9 +46,9 @@ @@ -46,9 +46,9 @@
46 <div class="table-operator"> 46 <div class="table-operator">
47 <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> 47 <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
48 <!-- <a-button type="primary" icon="download" @click="handleExportXls('订单表')">导出</a-button> --> 48 <!-- <a-button type="primary" icon="download" @click="handleExportXls('订单表')">导出</a-button> -->
49 - <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> 49 + <!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
50 <a-button type="primary" icon="import">导入</a-button> 50 <a-button type="primary" icon="import">导入</a-button>
51 - </a-upload> 51 + </a-upload> -->
52 <!-- 高级查询区域 --> 52 <!-- 高级查询区域 -->
53 <!-- <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query> --> 53 <!-- <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query> -->
54 </div> 54 </div>
@@ -328,7 +328,7 @@ @@ -328,7 +328,7 @@
328 this.$refs.ViewOrdersModal.disableSubmit = false; 328 this.$refs.ViewOrdersModal.disableSubmit = false;
329 }, 329 },
330 handleViewProductionPlan(record){ 330 handleViewProductionPlan(record){
331 - console.log('handleViewProductionPlan',record) 331 + // console.log('handleViewProductionPlan',record)
332 this.$refs.ViewProductionPlanModal.edit(record); 332 this.$refs.ViewProductionPlanModal.edit(record);
333 this.$refs.ViewProductionPlanModal.disableSubmit = false; 333 this.$refs.ViewProductionPlanModal.disableSubmit = false;
334 }, 334 },
@@ -177,7 +177,7 @@ export default { @@ -177,7 +177,7 @@ export default {
177 getOrderCompanyList().then((res)=>{ 177 getOrderCompanyList().then((res)=>{
178 if(res.success){ 178 if(res.success){
179 this.orderCompanyList = res.result 179 this.orderCompanyList = res.result
180 - console.log('getOrderCompanyList',res) 180 + // console.log('getOrderCompanyList',res)
181 } 181 }
182 }); 182 });
183 }, 183 },
@@ -185,7 +185,7 @@ export default { @@ -185,7 +185,7 @@ export default {
185 getProductNameList().then((res)=>{ 185 getProductNameList().then((res)=>{
186 if(res.success){ 186 if(res.success){
187 this.productNameList = res.result 187 this.productNameList = res.result
188 - console.log('getProductNameList',res) 188 + // console.log('getProductNameList',res)
189 } 189 }
190 }); 190 });
191 }, 191 },
@@ -266,7 +266,7 @@ export default { @@ -266,7 +266,7 @@ export default {
266 throw new Error('File path is empty.') 266 throw new Error('File path is empty.')
267 } 267 }
268 let token = Vue.ls.get(ACCESS_TOKEN) 268 let token = Vue.ls.get(ACCESS_TOKEN)
269 - console.log(token) 269 + // console.log(token)
270 // 发起文件下载请求 270 // 发起文件下载请求
271 const response = await fetch(Vue.prototype.API_BASE_URL + `/salary/calculation/download/${filePath}`, { 271 const response = await fetch(Vue.prototype.API_BASE_URL + `/salary/calculation/download/${filePath}`, {
272 method: 'GET', 272 method: 'GET',
@@ -204,7 +204,7 @@ export default { @@ -204,7 +204,7 @@ export default {
204 }, 204 },
205 methods: { 205 methods: {
206 validatePhone(rule, value, callback) { 206 validatePhone(rule, value, callback) {
207 - console.log(this.currentPhone) 207 + // console.log(this.currentPhone)
208 if (!value) { 208 if (!value) {
209 callback() 209 callback()
210 } else { 210 } else {
@@ -214,7 +214,7 @@ export default { @@ -214,7 +214,7 @@ export default {
214 // 使用 Promise 或者 async/await 来等待异步请求完成 214 // 使用 Promise 或者 async/await 来等待异步请求完成
215 getAction('/salary/base/listphone', param) 215 getAction('/salary/base/listphone', param)
216 .then((res) => { 216 .then((res) => {
217 - console.log(value) 217 + // console.log(value)
218 if (value === this.currentPhone) { 218 if (value === this.currentPhone) {
219 callback() 219 callback()
220 }else if (res.result && res.result.length <= 0) { 220 }else if (res.result && res.result.length <= 0) {
@@ -160,17 +160,17 @@ export default { @@ -160,17 +160,17 @@ export default {
160 }) 160 })
161 }, 161 },
162 add(record) { 162 add(record) {
163 - console.log('产品类型:', record.productType) 163 + // console.log('产品类型:', record.productType)
164 this.productType = record.productType 164 this.productType = record.productType
165 this.panduan = record 165 this.panduan = record
166 166
167 gongxuList(this.url.queryByType, { productTypeId: record.productType }).then((ress) => { 167 gongxuList(this.url.queryByType, { productTypeId: record.productType }).then((ress) => {
168 if (ress) { 168 if (ress) {
169 //如果已派工时为0总工时*工时比例,否则(总工时-已派工时)*工时比例 169 //如果已派工时为0总工时*工时比例,否则(总工时-已派工时)*工时比例
170 - console.log(record.dispatchedWorkingHours) 170 + // console.log(record.dispatchedWorkingHours)
171 if (record.dispatchedWorkingHours <= 0 || record.dispatchedWorkingHours === '') { 171 if (record.dispatchedWorkingHours <= 0 || record.dispatchedWorkingHours === '') {
172 - console.log('aa', ress.result)  
173 - console.log(record.totalWorkingHours) 172 + // console.log('aa', ress.result)
  173 + // console.log(record.totalWorkingHours)
174 // 将获取到的工序列表添加到数据源中 174 // 将获取到的工序列表添加到数据源中
175 this.res = ress.result.map((item) => ({ 175 this.res = ress.result.map((item) => ({
176 workingProcedure: item.gongxu + ' (' + (item.bili * 100).toFixed() + '%)', 176 workingProcedure: item.gongxu + ' (' + (item.bili * 100).toFixed() + '%)',
@@ -184,8 +184,8 @@ export default { @@ -184,8 +184,8 @@ export default {
184 productType: record.productType, 184 productType: record.productType,
185 })) 185 }))
186 } else if (record.dispatchedWorkingHours > 0) { 186 } else if (record.dispatchedWorkingHours > 0) {
187 - console.log('bb', ress.result)  
188 - console.log(record.totalWorkingHours) 187 + // console.log('bb', ress.result)
  188 + // console.log(record.totalWorkingHours)
189 // 将获取到的工序列表添加到数据源中 189 // 将获取到的工序列表添加到数据源中
190 this.res = ress.result.map((item) => ({ 190 this.res = ress.result.map((item) => ({
191 workingProcedure: item.gongxu + ' (' + (item.bili * 100).toFixed() + '%)', 191 workingProcedure: item.gongxu + ' (' + (item.bili * 100).toFixed() + '%)',
@@ -201,7 +201,7 @@ export default { @@ -201,7 +201,7 @@ export default {
201 } 201 }
202 } 202 }
203 }) 203 })
204 - console.log('派发人:', this.userInfo().realname) 204 + // console.log('派发人:', this.userInfo().realname)
205 }, 205 },
206 ...mapGetters(['nickname', 'avatar', 'userInfo']), 206 ...mapGetters(['nickname', 'avatar', 'userInfo']),
207 submitForm() { 207 submitForm() {
@@ -220,23 +220,23 @@ export default { @@ -220,23 +220,23 @@ export default {
220 if (allNumeric) { 220 if (allNumeric) {
221 that.confirmLoading = true 221 that.confirmLoading = true
222 data=nonEmptyUndertakerRecords; 222 data=nonEmptyUndertakerRecords;
223 - console.log('res:', this.res) 223 + // console.log('res:', this.res)
224 // 使用 reduce 方法累加工时字段值 224 // 使用 reduce 方法累加工时字段值
225 const zong = this.res.reduce((acc, current) => { 225 const zong = this.res.reduce((acc, current) => {
226 if (current.undertaker !== null && current.undertaker !== undefined && current.undertaker !== '') { 226 if (current.undertaker !== null && current.undertaker !== undefined && current.undertaker !== '') {
227 - console.log('current.workhours:', current.workHours) 227 + // console.log('current.workhours:', current.workHours)
228 return acc + parseFloat(current.workHours) 228 return acc + parseFloat(current.workHours)
229 } 229 }
230 return acc 230 return acc
231 }, 0) 231 }, 0)
232 - console.log(this.panduan.dispatchedWorkingHours) 232 + // console.log(this.panduan.dispatchedWorkingHours)
233 if (this.panduan.dispatchedWorkingHours === '' || this.panduan.dispatchedWorkingHours === null) { 233 if (this.panduan.dispatchedWorkingHours === '' || this.panduan.dispatchedWorkingHours === null) {
234 this.panduan.dispatchedWorkingHours = 0 234 this.panduan.dispatchedWorkingHours = 0
235 } 235 }
236 - console.log(this.panduan.dispatchedWorkingHours) 236 + // console.log(this.panduan.dispatchedWorkingHours)
237 const zongpaifa = parseFloat(this.panduan.dispatchedWorkingHours) + zong 237 const zongpaifa = parseFloat(this.panduan.dispatchedWorkingHours) + zong
238 - console.log('派发工时和:', zong)  
239 - console.log('已派发工时:', zongpaifa) 238 + // console.log('派发工时和:', zong)
  239 + // console.log('已派发工时:', zongpaifa)
240 if (zongpaifa <= this.panduan.totalWorkingHours) { 240 if (zongpaifa <= this.panduan.totalWorkingHours) {
241 addPg(this.url.add, data) 241 addPg(this.url.add, data)
242 .then((res) => { 242 .then((res) => {
@@ -213,7 +213,7 @@ export default { @@ -213,7 +213,7 @@ export default {
213 }, 213 },
214 methods: { 214 methods: {
215 onImg(e) { 215 onImg(e) {
216 - console.log(e) 216 + // console.log(e)
217 this.show = this.picList[e] 217 this.show = this.picList[e]
218 this.num = e 218 this.num = e
219 }, 219 },
@@ -244,7 +244,7 @@ export default { @@ -244,7 +244,7 @@ export default {
244 }) 244 })
245 }, 245 },
246 queryBynumber(orderId) { 246 queryBynumber(orderId) {
247 - console.log('1订单号:', orderId) 247 + // console.log('1订单号:', orderId)
248 if(this.model.productType === '接地'){ 248 if(this.model.productType === '接地'){
249 this.productType='接地' 249 this.productType='接地'
250 }else if(this.model.productType === '线槽'){ 250 }else if(this.model.productType === '线槽'){
@@ -126,23 +126,23 @@ export default { @@ -126,23 +126,23 @@ export default {
126 handleInputChange(record){ 126 handleInputChange(record){
127 // 找到当前更改行的索引 127 // 找到当前更改行的索引
128 const index = this.res.findIndex((item) => item.id === record.id) 128 const index = this.res.findIndex((item) => item.id === record.id)
129 - console.log("index:",index) 129 +
130 // 如果找到了该行 130 // 如果找到了该行
131 if (index !== -1) { 131 if (index !== -1) {
132 this.res[index].modified2 = true 132 this.res[index].modified2 = true
133 } 133 }
134 - console.log("modified2:",this.res[index].modified2) 134 + // console.log("modified2:",this.res[index].modified2)
135 }, 135 },
136 handleYanResultChange(record) { 136 handleYanResultChange(record) {
137 - console.log('当前更改的行的ID:', record.id)  
138 - console.log('当前选中的值:', record.yanResult) 137 + // console.log('当前更改的行的ID:', record.id)
  138 + // console.log('当前选中的值:', record.yanResult)
139 139
140 // 找到当前更改行的索引 140 // 找到当前更改行的索引
141 const index = this.res.findIndex((item) => item.id === record.id) 141 const index = this.res.findIndex((item) => item.id === record.id)
142 142
143 // 如果找到了该行 143 // 如果找到了该行
144 if (index !== -1) { 144 if (index !== -1) {
145 - console.log('页面加载时显示的值:', this.res[index].originalYanResult) 145 + // console.log('页面加载时显示的值:', this.res[index].originalYanResult)
146 146
147 // 比较当前选中的值和页面加载时显示的值 147 // 比较当前选中的值和页面加载时显示的值
148 if (record.yanResult !== this.res[index].originalYanResult) { 148 if (record.yanResult !== this.res[index].originalYanResult) {
@@ -156,7 +156,7 @@ export default { @@ -156,7 +156,7 @@ export default {
156 }, 156 },
157 ...mapGetters(['nickname', 'avatar', 'userInfo']), 157 ...mapGetters(['nickname', 'avatar', 'userInfo']),
158 yanshouList(record) { 158 yanshouList(record) {
159 - console.log(record.orderId) 159 +
160 yanshouList(this.url.queryByNumber, { orderId: record.orderId }).then((ress) => { 160 yanshouList(this.url.queryByNumber, { orderId: record.orderId }).then((ress) => {
161 if (ress) { 161 if (ress) {
162 this.res = ress.result.map((item) => ({ 162 this.res = ress.result.map((item) => ({
@@ -188,8 +188,7 @@ export default { @@ -188,8 +188,7 @@ export default {
188 188
189 // 对记录进行分组,根据不同字段的修改情况进行更新 189 // 对记录进行分组,根据不同字段的修改情况进行更新
190 const recordsToUpdate = this.res.reduce((acc, record) => { 190 const recordsToUpdate = this.res.reduce((acc, record) => {
191 - console.log("是否修改2:",record.modified2)  
192 - console.log("是否修改:",record.modified) 191 +
193 // 判断是否有字段被修改 192 // 判断是否有字段被修改
194 if (record.modified) { 193 if (record.modified) {
195 // 若 yanResult 字段被修改,则整条记录更新 194 // 若 yanResult 字段被修改,则整条记录更新
@@ -199,12 +198,12 @@ export default { @@ -199,12 +198,12 @@ export default {
199 }else if(record.modified2){ 198 }else if(record.modified2){
200 // 若只有 notes 字段被修改,则只更新 notes 字段 199 // 若只有 notes 字段被修改,则只更新 notes 字段
201 const updatedRecord = Object.assign({}, record, { notes: record.notes,yanTime:record.jiazaitime }) 200 const updatedRecord = Object.assign({}, record, { notes: record.notes,yanTime:record.jiazaitime })
202 - console.log("备注:",record) 201 +
203 acc.push(updatedRecord) 202 acc.push(updatedRecord)
204 } 203 }
205 return acc 204 return acc
206 }, []) 205 }, [])
207 - console.log("recordsToUpdate:",recordsToUpdate) 206 +
208 if(recordsToUpdate.length>0){ 207 if(recordsToUpdate.length>0){
209 updateYan(this.url.updateYan, recordsToUpdate) 208 updateYan(this.url.updateYan, recordsToUpdate)
210 .then((res) => { 209 .then((res) => {
@@ -219,8 +218,10 @@ export default { @@ -219,8 +218,10 @@ export default {
219 that.confirmLoading = false 218 that.confirmLoading = false
220 }) 219 })
221 }else{ 220 }else{
222 - this.confirmLoading = false 221 + that.confirmLoading = false
  222 + that.$emit('ok')
223 this.visible = false; 223 this.visible = false;
  224 +
224 } 225 }
225 226
226 } 227 }
@@ -168,9 +168,9 @@ export default { @@ -168,9 +168,9 @@ export default {
168 }, 168 },
169 methods: { 169 methods: {
170 validProductName(rule, value, callback) { 170 validProductName(rule, value, callback) {
171 - console.log('rule',rule)  
172 - console.log('value',value)  
173 - console.log('this.model',this.model) 171 + // console.log('rule',rule)
  172 + // console.log('value',value)
  173 + // console.log('this.model',this.model)
174 }, 174 },
175 add() { 175 add() {
176 this.edit(); 176 this.edit();
@@ -178,7 +178,7 @@ export default { @@ -178,7 +178,7 @@ export default {
178 edit(id) { 178 edit(id) {
179 this.model.orderId = id 179 this.model.orderId = id
180 this.model.chooseStatus = 0 180 this.model.chooseStatus = 0
181 - console.log('this.model:===',this.model) 181 + // console.log('this.model:===',this.model)
182 // this.model = Object.assign({}, record); 182 // this.model = Object.assign({}, record);
183 this.visible = true; 183 this.visible = true;
184 this.loadTree() 184 this.loadTree()
@@ -192,7 +192,7 @@ export default { @@ -192,7 +192,7 @@ export default {
192 httpAction(this.url.listAllMaterial,null, "get").then((res) => { 192 httpAction(this.url.listAllMaterial,null, "get").then((res) => {
193 if (res.success) { 193 if (res.success) {
194 this.materialOptions = res.result 194 this.materialOptions = res.result
195 - console.log('materialOptions',this.materialOptions) 195 + // console.log('materialOptions',this.materialOptions)
196 } else { 196 } else {
197 // that.$message.warning(res.message); 197 // that.$message.warning(res.message);
198 } 198 }
@@ -211,7 +211,7 @@ export default { @@ -211,7 +211,7 @@ export default {
211 // 触发表单验证 211 // 触发表单验证
212 this.$refs.form.validate(valid => { 212 this.$refs.form.validate(valid => {
213 if (valid) { 213 if (valid) {
214 - console.log(this.model) 214 + // console.log(this.model)
215 // return 215 // return
216 this.$emit('childByValue', this.model) 216 this.$emit('childByValue', this.model)
217 that.close(); 217 that.close();
@@ -233,7 +233,7 @@ export default { @@ -233,7 +233,7 @@ export default {
233 }, 233 },
234 handleChange (value,option){ 234 handleChange (value,option){
235 let tempModel = option.data.attrs.channel 235 let tempModel = option.data.attrs.channel
236 - console.log('tempModel',tempModel) 236 + // console.log('tempModel',tempModel)
237 if(tempModel.partNumber){ 237 if(tempModel.partNumber){
238 this.model.partNumber = tempModel.partNumber 238 this.model.partNumber = tempModel.partNumber
239 } 239 }
@@ -191,8 +191,8 @@ export default { @@ -191,8 +191,8 @@ export default {
191 }, 191 },
192 methods: { 192 methods: {
193 validateNumber(rule, value, callback) { 193 validateNumber(rule, value, callback) {
194 - console.log(this.currentTenNumber)  
195 - console.log(this.currentPartNumber) 194 + // console.log(this.currentTenNumber)
  195 + // console.log(this.currentPartNumber)
196 if (!value) { 196 if (!value) {
197 callback() 197 callback()
198 } else { 198 } else {
@@ -102,8 +102,8 @@ export default { @@ -102,8 +102,8 @@ export default {
102 let res2 = await getAction(this.url.queryhetongBy, param2) 102 let res2 = await getAction(this.url.queryhetongBy, param2)
103 let res = await getAction(this.url.queryBy, param) 103 let res = await getAction(this.url.queryBy, param)
104 104
105 - console.log(res)  
106 - console.log(res2) 105 + // console.log(res)
  106 + // console.log(res2)
107 if (res.result && res.result.length <=0) { 107 if (res.result && res.result.length <=0) {
108 this.$message.error('没有这个招标信息,请重新输入') 108 this.$message.error('没有这个招标信息,请重新输入')
109 109
@@ -120,7 +120,7 @@ export default { @@ -120,7 +120,7 @@ export default {
120 } 120 }
121 // this.readOnly = false 121 // this.readOnly = false
122 this.isBianhaoDisabled=false 122 this.isBianhaoDisabled=false
123 - console.log('禁否:', this.isBianhaoDisabled) 123 + // console.log('禁否:', this.isBianhaoDisabled)
124 this.confirmLoading = false 124 this.confirmLoading = false
125 return 125 return
126 }, 126 },
@@ -129,8 +129,8 @@ export default { @@ -129,8 +129,8 @@ export default {
129 let res2 = await getAction(this.url.queryfphkBy, param2) 129 let res2 = await getAction(this.url.queryfphkBy, param2)
130 let res = await getAction(this.url.queryBy, param) 130 let res = await getAction(this.url.queryBy, param)
131 131
132 - console.log(res)  
133 - console.log(res2) 132 + // console.log(res)
  133 + // console.log(res2)
134 if (res.result && res.result.length <=0) { 134 if (res.result && res.result.length <=0) {
135 this.$message.error('没有这个招标信息,请重新输入') 135 this.$message.error('没有这个招标信息,请重新输入')
136 136
@@ -120,7 +120,7 @@ export default { @@ -120,7 +120,7 @@ export default {
120 const param = { tenderNumber: this.model.tenderNumber, partNumber: this.model.partNumber } 120 const param = { tenderNumber: this.model.tenderNumber, partNumber: this.model.partNumber }
121 let res = await getAction(this.url.queryBy, param) 121 let res = await getAction(this.url.queryBy, param)
122 122
123 - console.log(res) 123 + // console.log(res)
124 if (res.result && res.result.length <=0) { 124 if (res.result && res.result.length <=0) {
125 this.$message.error('没有这个招标信息,请重新输入') 125 this.$message.error('没有这个招标信息,请重新输入')
126 126
@@ -176,8 +176,8 @@ export default { @@ -176,8 +176,8 @@ export default {
176 let res2 = await getAction(this.url.querytenderBy, param2) 176 let res2 = await getAction(this.url.querytenderBy, param2)
177 let res = await getAction(this.url.queryBy, param) 177 let res = await getAction(this.url.queryBy, param)
178 178
179 - console.log(res)  
180 - console.log(res2) 179 + // console.log(res)
  180 + // console.log(res2)
181 if (res.result && res.result.length <=0) { 181 if (res.result && res.result.length <=0) {
182 this.$message.error('没有这个招标信息,请重新输入') 182 this.$message.error('没有这个招标信息,请重新输入')
183 183
@@ -118,8 +118,8 @@ export default { @@ -118,8 +118,8 @@ export default {
118 let res2 = await getAction(this.url.querytouBy, param2) 118 let res2 = await getAction(this.url.querytouBy, param2)
119 let res = await getAction(this.url.queryBy, param) 119 let res = await getAction(this.url.queryBy, param)
120 120
121 - console.log(res)  
122 - console.log(res2) 121 + // console.log(res)
  122 + // console.log(res2)
123 if (res.result && res.result.length <=0) { 123 if (res.result && res.result.length <=0) {
124 this.$message.error('没有这个招标信息,请重新输入') 124 this.$message.error('没有这个招标信息,请重新输入')
125 125
@@ -6,13 +6,13 @@ @@ -6,13 +6,13 @@
6 <a-row :gutter="24"> 6 <a-row :gutter="24">
7 <a-col :xl="6" :lg="7" :md="8" :sm="24"> 7 <a-col :xl="6" :lg="7" :md="8" :sm="24">
8 <a-form-item label="姓名"> 8 <a-form-item label="姓名">
9 - <a-input placeholder="请输入姓名" v-model="queryParam.name"></a-input> 9 + <a-input placeholder="请输入姓名" v-model="queryParam.undertaker"></a-input>
10 </a-form-item> 10 </a-form-item>
11 </a-col> 11 </a-col>
12 <a-col :xl="6" :lg="7" :md="8" :sm="24"> 12 <a-col :xl="6" :lg="7" :md="8" :sm="24">
13 <a-form-item label="工资月份"> 13 <a-form-item label="工资月份">
14 <a-month-picker 14 <a-month-picker
15 - v-model="queryParam.salaryMonth" 15 + v-model="queryParam.yanTime"
16 placeholder="请选择工资月份" 16 placeholder="请选择工资月份"
17 format="YYYY-MM" 17 format="YYYY-MM"
18 @change="handleMonthChange" 18 @change="handleMonthChange"
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
33 <!-- 操作按钮区域 --> 33 <!-- 操作按钮区域 -->
34 <div class="table-operator"> 34 <div class="table-operator">
35 <!-- <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> --> 35 <!-- <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> -->
36 - <a-button type="primary" icon="download" @click="handleExportXls('tbl_work_time')">导出</a-button> 36 + <a-button type="primary" icon="download" @click="handleExportXls('月工时信息')">导出</a-button>
37 <!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> 37 <!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
38 <a-button type="primary" icon="import">导入</a-button> 38 <a-button type="primary" icon="import">导入</a-button>
39 </a-upload> --> 39 </a-upload> -->
@@ -178,7 +178,7 @@ @@ -178,7 +178,7 @@
178 178
179 }, 179 },
180 dictOptions:{}, 180 dictOptions:{},
181 - superFieldList:[], 181 + superFieldList:[]
182 } 182 }
183 }, 183 },
184 created() { 184 created() {
@@ -191,7 +191,7 @@ @@ -191,7 +191,7 @@
191 }, 191 },
192 methods: { 192 methods: {
193 handleMonthChange(value) { 193 handleMonthChange(value) {
194 - this.queryParam.salaryMonth = value ? value.format('YYYY-MM') : null 194 + this.queryParam.yanTime = value ? value.format('YYYY-MM') : null
195 }, 195 },
196 initDictConfig(){ 196 initDictConfig(){
197 }, 197 },