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