sale-client 4.3.10 → 4.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -114,7 +114,7 @@ export default {
|
|
|
114
114
|
getFiles () {
|
|
115
115
|
this.files = []
|
|
116
116
|
this.userinfo_id = this.row.f_userinfo_id
|
|
117
|
-
let condition = `CONVERT(varchar(200),f_blobid) = '${this.userinfo_id}' `
|
|
117
|
+
let condition = `CONVERT(varchar(200),f_blobid) = '${this.userinfo_id}' and f_state!='删除'`
|
|
118
118
|
if (this.upload_date !== '') {
|
|
119
119
|
condition += `and CONVERT( VARCHAR ( 100 ), f_uploaddate, 23 )='${this.upload_date}' `
|
|
120
120
|
}
|
|
@@ -240,7 +240,6 @@
|
|
|
240
240
|
let getSafeCheckGen = async function (self) {
|
|
241
241
|
// 获取安检信息
|
|
242
242
|
try {
|
|
243
|
-
console.log(123)
|
|
244
243
|
let http = new HttpResetClass()
|
|
245
244
|
let param = {
|
|
246
245
|
f_userfiles_id: self.data.f_userfiles_id,
|
|
@@ -250,10 +249,14 @@
|
|
|
250
249
|
param.f_olduserinfo_code = self.data.f_olduserinfo_code
|
|
251
250
|
}
|
|
252
251
|
let getSafeCheck = await http.load('POST', 'api/af-revenue/logic/getSafecheck', param, {resolveMsg: null, rejectMsg: null})
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
252
|
+
if (!(JSON.stringify(getSafeCheck.data) == '{}')) {
|
|
253
|
+
self.model = {}
|
|
254
|
+
self.model = Object.assign({}, self.model, getSafeCheck.data)
|
|
255
|
+
// self.model.safecheckitem[0].f_filename_paths = '50eeff69c7ff78bd7831f17ff181f4b2-device10-0-f_items1.jpg?0.10122581621022331,6a6ce267f9ddd8904f6a52aeabe11c0b-device10-0-f_items1.jpg?0.9118883785380048'
|
|
256
|
+
self.hasCheck = 1
|
|
257
|
+
} else {
|
|
258
|
+
self.hasCheck = 0
|
|
259
|
+
}
|
|
257
260
|
} catch (error) {
|
|
258
261
|
self.hasCheck = 0
|
|
259
262
|
}
|