|
@@ -42,6 +42,9 @@ Page({
|
|
|
* 生命周期函数--监听页面加载
|
|
|
*/
|
|
|
onLoad: function (options) {
|
|
|
+ // if(options.seal_no){
|
|
|
+
|
|
|
+ // }
|
|
|
this.data.tagnum = options.seal_no
|
|
|
var type= options.type
|
|
|
this.data.fenid = options.fenid?options.fenid:0
|
|
@@ -85,12 +88,11 @@ getdata(){
|
|
|
console.log(data.images[i])
|
|
|
fileList.push({url: data.images[i]});
|
|
|
}
|
|
|
-
|
|
|
that.setData({
|
|
|
inputval:data.wash_code,
|
|
|
title:data.cat_title,
|
|
|
ispick:data.color,
|
|
|
- rustr:data.flaw[0].name,
|
|
|
+ rustr:data.flaw.length>0?data.flaw[0].name:'',
|
|
|
results:data.standard_id,
|
|
|
isworkstr:data.is_machining,
|
|
|
fileList,
|