Showing
40 changed files
with
264 additions
and
244 deletions
| ... | ... | @@ -98,37 +98,37 @@ |
| 98 | 98 | <uni-list-item title="件重条头"> |
| 99 | 99 | <template v-slot:footer> |
| 100 | 100 | <uni-easyinput type="textarea" v-model="form.pieceWeightHeader" placeholder="请输入件重条头" |
| 101 | - :inputBorder="false" /> | |
| 101 | + :inputBorder="false" maxlength="200" /> | |
| 102 | 102 | </template> |
| 103 | 103 | </uni-list-item> |
| 104 | 104 | <uni-list-item title="表面"> |
| 105 | 105 | <template v-slot:footer> |
| 106 | - <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入表面" :inputBorder="false" /> | |
| 106 | + <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入表面" :inputBorder="false" maxlength="200" /> | |
| 107 | 107 | </template> |
| 108 | 108 | </uni-list-item> |
| 109 | 109 | <uni-list-item title="公差"> |
| 110 | 110 | <template v-slot:footer> |
| 111 | - <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入公差" :inputBorder="false" /> | |
| 111 | + <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入公差" :inputBorder="false" maxlength="200" /> | |
| 112 | 112 | </template> |
| 113 | 113 | </uni-list-item> |
| 114 | 114 | <uni-list-item title="性能"> |
| 115 | 115 | <template v-slot:footer> |
| 116 | - <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入性能" :inputBorder="false" /> | |
| 116 | + <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入性能" :inputBorder="false" maxlength="200" /> | |
| 117 | 117 | </template> |
| 118 | 118 | </uni-list-item> |
| 119 | 119 | <uni-list-item title="成分"> |
| 120 | 120 | <template v-slot:footer> |
| 121 | - <uni-easyinput type="textarea" v-model="form.element" placeholder="请输入成分" :inputBorder="false" /> | |
| 121 | + <uni-easyinput type="textarea" v-model="form.element" placeholder="请输入成分" :inputBorder="false" maxlength="200" /> | |
| 122 | 122 | </template> |
| 123 | 123 | </uni-list-item> |
| 124 | 124 | <uni-list-item title="包装"> |
| 125 | 125 | <template v-slot:footer> |
| 126 | - <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入包装" :inputBorder="false" /> | |
| 126 | + <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入包装" :inputBorder="false" maxlength="200" /> | |
| 127 | 127 | </template> |
| 128 | 128 | </uni-list-item> |
| 129 | 129 | <uni-list-item title="备注"> |
| 130 | 130 | <template v-slot:footer> |
| 131 | - <uni-easyinput type="textarea" v-model="form.remarks" placeholder="请输入备注" :inputBorder="false" /> | |
| 131 | + <uni-easyinput type="textarea" v-model="form.remarks" placeholder="请输入备注" :inputBorder="false" maxlength="500" /> | |
| 132 | 132 | </template> |
| 133 | 133 | </uni-list-item> |
| 134 | 134 | <view class="footer"> | ... | ... |
| ... | ... | @@ -102,32 +102,32 @@ |
| 102 | 102 | </uni-list-item> |
| 103 | 103 | <uni-list-item title="表面"> |
| 104 | 104 | <template v-slot:footer> |
| 105 | - <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入表面" :inputBorder="false" /> | |
| 105 | + <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入表面" :inputBorder="false" maxlength="200" /> | |
| 106 | 106 | </template> |
| 107 | 107 | </uni-list-item> |
| 108 | 108 | <uni-list-item title="公差"> |
| 109 | 109 | <template v-slot:footer> |
| 110 | - <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入公差" :inputBorder="false" /> | |
| 110 | + <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入公差" :inputBorder="false" maxlength="200" /> | |
| 111 | 111 | </template> |
| 112 | 112 | </uni-list-item> |
| 113 | 113 | <uni-list-item title="性能"> |
| 114 | 114 | <template v-slot:footer> |
| 115 | - <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入性能" :inputBorder="false" /> | |
| 115 | + <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入性能" :inputBorder="false" maxlength="200" /> | |
| 116 | 116 | </template> |
| 117 | 117 | </uni-list-item> |
| 118 | 118 | <uni-list-item title="成分"> |
| 119 | 119 | <template v-slot:footer> |
| 120 | - <uni-easyinput type="textarea" v-model="form.element" placeholder="请输入成分" :inputBorder="false" /> | |
| 120 | + <uni-easyinput type="textarea" v-model="form.element" placeholder="请输入成分" :inputBorder="false" maxlength="200" /> | |
| 121 | 121 | </template> |
| 122 | 122 | </uni-list-item> |
| 123 | 123 | <uni-list-item title="包装"> |
| 124 | 124 | <template v-slot:footer> |
| 125 | - <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入包装" :inputBorder="false" /> | |
| 125 | + <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入包装" :inputBorder="false" maxlength="200" /> | |
| 126 | 126 | </template> |
| 127 | 127 | </uni-list-item> |
| 128 | 128 | <uni-list-item title="备注"> |
| 129 | 129 | <template v-slot:footer> |
| 130 | - <uni-easyinput type="textarea" v-model="form.remarks" placeholder="请输入备注" :inputBorder="false" /> | |
| 130 | + <uni-easyinput type="textarea" v-model="form.remarks" placeholder="请输入备注" :inputBorder="false" maxlength="500" /> | |
| 131 | 131 | </template> |
| 132 | 132 | </uni-list-item> |
| 133 | 133 | <view class="footer"> | ... | ... |
| ... | ... | @@ -157,32 +157,32 @@ |
| 157 | 157 | </view> |
| 158 | 158 | <uni-list-item title="件重条头"> |
| 159 | 159 | <template v-slot:footer> |
| 160 | - <uni-easyinput type="textarea" v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 160 | + <uni-easyinput type="textarea" v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 161 | 161 | </template> |
| 162 | 162 | </uni-list-item> |
| 163 | 163 | <uni-list-item title="表面"> |
| 164 | 164 | <template v-slot:footer> |
| 165 | - <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 165 | + <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 166 | 166 | </template> |
| 167 | 167 | </uni-list-item> |
| 168 | 168 | <uni-list-item title="公差"> |
| 169 | 169 | <template v-slot:footer> |
| 170 | - <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 170 | + <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 171 | 171 | </template> |
| 172 | 172 | </uni-list-item> |
| 173 | 173 | <uni-list-item title="性能"> |
| 174 | 174 | <template v-slot:footer> |
| 175 | - <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 175 | + <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 176 | 176 | </template> |
| 177 | 177 | </uni-list-item> |
| 178 | 178 | <uni-list-item title="成分"> |
| 179 | 179 | <template v-slot:footer> |
| 180 | - <uni-easyinput type="textarea" v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 180 | + <uni-easyinput type="textarea" v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 181 | 181 | </template> |
| 182 | 182 | </uni-list-item> |
| 183 | 183 | <uni-list-item title="包装"> |
| 184 | 184 | <template v-slot:footer> |
| 185 | - <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 185 | + <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 186 | 186 | </template> |
| 187 | 187 | </uni-list-item> |
| 188 | 188 | <view class="footer"> | ... | ... |
| ... | ... | @@ -146,32 +146,32 @@ |
| 146 | 146 | </view> |
| 147 | 147 | <uni-list-item title="件重条头"> |
| 148 | 148 | <template v-slot:footer> |
| 149 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 149 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 150 | 150 | </template> |
| 151 | 151 | </uni-list-item> |
| 152 | 152 | <uni-list-item title="表面"> |
| 153 | 153 | <template v-slot:footer> |
| 154 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 154 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 155 | 155 | </template> |
| 156 | 156 | </uni-list-item> |
| 157 | 157 | <uni-list-item title="公差"> |
| 158 | 158 | <template v-slot:footer> |
| 159 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 159 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 160 | 160 | </template> |
| 161 | 161 | </uni-list-item> |
| 162 | 162 | <uni-list-item title="性能"> |
| 163 | 163 | <template v-slot:footer> |
| 164 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 164 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 165 | 165 | </template> |
| 166 | 166 | </uni-list-item> |
| 167 | 167 | <uni-list-item title="成分"> |
| 168 | 168 | <template v-slot:footer> |
| 169 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 169 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 170 | 170 | </template> |
| 171 | 171 | </uni-list-item> |
| 172 | 172 | <uni-list-item title="包装"> |
| 173 | 173 | <template v-slot:footer> |
| 174 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 174 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 175 | 175 | </template> |
| 176 | 176 | </uni-list-item> |
| 177 | 177 | ... | ... |
| ... | ... | @@ -151,32 +151,32 @@ |
| 151 | 151 | </view> |
| 152 | 152 | <uni-list-item title="件重条头"> |
| 153 | 153 | <template v-slot:footer> |
| 154 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 154 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 155 | 155 | </template> |
| 156 | 156 | </uni-list-item> |
| 157 | 157 | <uni-list-item title="表面"> |
| 158 | 158 | <template v-slot:footer> |
| 159 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 159 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 160 | 160 | </template> |
| 161 | 161 | </uni-list-item> |
| 162 | 162 | <uni-list-item title="公差"> |
| 163 | 163 | <template v-slot:footer> |
| 164 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 164 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 165 | 165 | </template> |
| 166 | 166 | </uni-list-item> |
| 167 | 167 | <uni-list-item title="性能"> |
| 168 | 168 | <template v-slot:footer> |
| 169 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 169 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 170 | 170 | </template> |
| 171 | 171 | </uni-list-item> |
| 172 | 172 | <uni-list-item title="成分"> |
| 173 | 173 | <template v-slot:footer> |
| 174 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 174 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 175 | 175 | </template> |
| 176 | 176 | </uni-list-item> |
| 177 | 177 | <uni-list-item title="包装"> |
| 178 | 178 | <template v-slot:footer> |
| 179 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 179 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 180 | 180 | </template> |
| 181 | 181 | </uni-list-item> |
| 182 | 182 | <view class="footer"> | ... | ... |
| ... | ... | @@ -146,32 +146,32 @@ |
| 146 | 146 | </view> |
| 147 | 147 | <uni-list-item title="件重条头"> |
| 148 | 148 | <template v-slot:footer> |
| 149 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 149 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 150 | 150 | </template> |
| 151 | 151 | </uni-list-item> |
| 152 | 152 | <uni-list-item title="表面"> |
| 153 | 153 | <template v-slot:footer> |
| 154 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 154 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 155 | 155 | </template> |
| 156 | 156 | </uni-list-item> |
| 157 | 157 | <uni-list-item title="公差"> |
| 158 | 158 | <template v-slot:footer> |
| 159 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 159 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 160 | 160 | </template> |
| 161 | 161 | </uni-list-item> |
| 162 | 162 | <uni-list-item title="性能"> |
| 163 | 163 | <template v-slot:footer> |
| 164 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 164 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 165 | 165 | </template> |
| 166 | 166 | </uni-list-item> |
| 167 | 167 | <uni-list-item title="成分"> |
| 168 | 168 | <template v-slot:footer> |
| 169 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 169 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 170 | 170 | </template> |
| 171 | 171 | </uni-list-item> |
| 172 | 172 | <uni-list-item title="包装"> |
| 173 | 173 | <template v-slot:footer> |
| 174 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 174 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 175 | 175 | </template> |
| 176 | 176 | </uni-list-item> |
| 177 | 177 | ... | ... |
| ... | ... | @@ -160,32 +160,32 @@ |
| 160 | 160 | </view> |
| 161 | 161 | <uni-list-item title="件重条头"> |
| 162 | 162 | <template v-slot:footer> |
| 163 | - <uni-easyinput type="textarea" v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 163 | + <uni-easyinput type="textarea" v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 164 | 164 | </template> |
| 165 | 165 | </uni-list-item> |
| 166 | 166 | <uni-list-item title="表面"> |
| 167 | 167 | <template v-slot:footer> |
| 168 | - <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 168 | + <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 169 | 169 | </template> |
| 170 | 170 | </uni-list-item> |
| 171 | 171 | <uni-list-item title="公差"> |
| 172 | 172 | <template v-slot:footer> |
| 173 | - <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 173 | + <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 174 | 174 | </template> |
| 175 | 175 | </uni-list-item> |
| 176 | 176 | <uni-list-item title="性能"> |
| 177 | 177 | <template v-slot:footer> |
| 178 | - <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 178 | + <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 179 | 179 | </template> |
| 180 | 180 | </uni-list-item> |
| 181 | 181 | <uni-list-item title="成分"> |
| 182 | 182 | <template v-slot:footer> |
| 183 | - <uni-easyinput type="textarea" v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 183 | + <uni-easyinput type="textarea" v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 184 | 184 | </template> |
| 185 | 185 | </uni-list-item> |
| 186 | 186 | <uni-list-item title="包装"> |
| 187 | 187 | <template v-slot:footer> |
| 188 | - <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 188 | + <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 189 | 189 | </template> |
| 190 | 190 | </uni-list-item> |
| 191 | 191 | <view class="footer"> | ... | ... |
| ... | ... | @@ -149,32 +149,32 @@ |
| 149 | 149 | </view> |
| 150 | 150 | <uni-list-item title="件重条头"> |
| 151 | 151 | <template v-slot:footer> |
| 152 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 152 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 153 | 153 | </template> |
| 154 | 154 | </uni-list-item> |
| 155 | 155 | <uni-list-item title="表面"> |
| 156 | 156 | <template v-slot:footer> |
| 157 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 157 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 158 | 158 | </template> |
| 159 | 159 | </uni-list-item> |
| 160 | 160 | <uni-list-item title="公差"> |
| 161 | 161 | <template v-slot:footer> |
| 162 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 162 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 163 | 163 | </template> |
| 164 | 164 | </uni-list-item> |
| 165 | 165 | <uni-list-item title="性能"> |
| 166 | 166 | <template v-slot:footer> |
| 167 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 167 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 168 | 168 | </template> |
| 169 | 169 | </uni-list-item> |
| 170 | 170 | <uni-list-item title="成分"> |
| 171 | 171 | <template v-slot:footer> |
| 172 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 172 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 173 | 173 | </template> |
| 174 | 174 | </uni-list-item> |
| 175 | 175 | <uni-list-item title="包装"> |
| 176 | 176 | <template v-slot:footer> |
| 177 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 177 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 178 | 178 | </template> |
| 179 | 179 | </uni-list-item> |
| 180 | 180 | ... | ... |
| ... | ... | @@ -155,32 +155,32 @@ |
| 155 | 155 | </view> |
| 156 | 156 | <uni-list-item title="件重条头"> |
| 157 | 157 | <template v-slot:footer> |
| 158 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 158 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 159 | 159 | </template> |
| 160 | 160 | </uni-list-item> |
| 161 | 161 | <uni-list-item title="表面"> |
| 162 | 162 | <template v-slot:footer> |
| 163 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 163 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 164 | 164 | </template> |
| 165 | 165 | </uni-list-item> |
| 166 | 166 | <uni-list-item title="公差"> |
| 167 | 167 | <template v-slot:footer> |
| 168 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 168 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 169 | 169 | </template> |
| 170 | 170 | </uni-list-item> |
| 171 | 171 | <uni-list-item title="性能"> |
| 172 | 172 | <template v-slot:footer> |
| 173 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 173 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 174 | 174 | </template> |
| 175 | 175 | </uni-list-item> |
| 176 | 176 | <uni-list-item title="成分"> |
| 177 | 177 | <template v-slot:footer> |
| 178 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 178 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 179 | 179 | </template> |
| 180 | 180 | </uni-list-item> |
| 181 | 181 | <uni-list-item title="包装"> |
| 182 | 182 | <template v-slot:footer> |
| 183 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 183 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 184 | 184 | </template> |
| 185 | 185 | </uni-list-item> |
| 186 | 186 | <view class="footer"> | ... | ... |
| ... | ... | @@ -149,32 +149,32 @@ |
| 149 | 149 | </view> |
| 150 | 150 | <uni-list-item title="件重条头"> |
| 151 | 151 | <template v-slot:footer> |
| 152 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 152 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 153 | 153 | </template> |
| 154 | 154 | </uni-list-item> |
| 155 | 155 | <uni-list-item title="表面"> |
| 156 | 156 | <template v-slot:footer> |
| 157 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 157 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 158 | 158 | </template> |
| 159 | 159 | </uni-list-item> |
| 160 | 160 | <uni-list-item title="公差"> |
| 161 | 161 | <template v-slot:footer> |
| 162 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 162 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 163 | 163 | </template> |
| 164 | 164 | </uni-list-item> |
| 165 | 165 | <uni-list-item title="性能"> |
| 166 | 166 | <template v-slot:footer> |
| 167 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 167 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 168 | 168 | </template> |
| 169 | 169 | </uni-list-item> |
| 170 | 170 | <uni-list-item title="成分"> |
| 171 | 171 | <template v-slot:footer> |
| 172 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 172 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 173 | 173 | </template> |
| 174 | 174 | </uni-list-item> |
| 175 | 175 | <uni-list-item title="包装"> |
| 176 | 176 | <template v-slot:footer> |
| 177 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 177 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 178 | 178 | </template> |
| 179 | 179 | </uni-list-item> |
| 180 | 180 | ... | ... |
| ... | ... | @@ -158,32 +158,32 @@ |
| 158 | 158 | </view> |
| 159 | 159 | <uni-list-item title="件重条头"> |
| 160 | 160 | <template v-slot:footer> |
| 161 | - <uni-easyinput type="textarea" v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 161 | + <uni-easyinput type="textarea" v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 162 | 162 | </template> |
| 163 | 163 | </uni-list-item> |
| 164 | 164 | <uni-list-item title="表面"> |
| 165 | 165 | <template v-slot:footer> |
| 166 | - <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 166 | + <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 167 | 167 | </template> |
| 168 | 168 | </uni-list-item> |
| 169 | 169 | <uni-list-item title="公差"> |
| 170 | 170 | <template v-slot:footer> |
| 171 | - <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 171 | + <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 172 | 172 | </template> |
| 173 | 173 | </uni-list-item> |
| 174 | 174 | <uni-list-item title="性能"> |
| 175 | 175 | <template v-slot:footer> |
| 176 | - <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 176 | + <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 177 | 177 | </template> |
| 178 | 178 | </uni-list-item> |
| 179 | 179 | <uni-list-item title="成分"> |
| 180 | 180 | <template v-slot:footer> |
| 181 | - <uni-easyinput type="textarea" v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 181 | + <uni-easyinput type="textarea" v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 182 | 182 | </template> |
| 183 | 183 | </uni-list-item> |
| 184 | 184 | <uni-list-item title="包装"> |
| 185 | 185 | <template v-slot:footer> |
| 186 | - <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 186 | + <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 187 | 187 | </template> |
| 188 | 188 | </uni-list-item> |
| 189 | 189 | <view class="footer"> | ... | ... |
| ... | ... | @@ -149,32 +149,32 @@ |
| 149 | 149 | </view> |
| 150 | 150 | <uni-list-item title="件重条头"> |
| 151 | 151 | <template v-slot:footer> |
| 152 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 152 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 153 | 153 | </template> |
| 154 | 154 | </uni-list-item> |
| 155 | 155 | <uni-list-item title="表面"> |
| 156 | 156 | <template v-slot:footer> |
| 157 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 157 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 158 | 158 | </template> |
| 159 | 159 | </uni-list-item> |
| 160 | 160 | <uni-list-item title="公差"> |
| 161 | 161 | <template v-slot:footer> |
| 162 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 162 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 163 | 163 | </template> |
| 164 | 164 | </uni-list-item> |
| 165 | 165 | <uni-list-item title="性能"> |
| 166 | 166 | <template v-slot:footer> |
| 167 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 167 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 168 | 168 | </template> |
| 169 | 169 | </uni-list-item> |
| 170 | 170 | <uni-list-item title="成分"> |
| 171 | 171 | <template v-slot:footer> |
| 172 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 172 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 173 | 173 | </template> |
| 174 | 174 | </uni-list-item> |
| 175 | 175 | <uni-list-item title="包装"> |
| 176 | 176 | <template v-slot:footer> |
| 177 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 177 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 178 | 178 | </template> |
| 179 | 179 | </uni-list-item> |
| 180 | 180 | ... | ... |
| ... | ... | @@ -9,37 +9,37 @@ |
| 9 | 9 | <uni-list> |
| 10 | 10 | <uni-list-item title="件重条头"> |
| 11 | 11 | <template v-slot:footer> |
| 12 | - <uni-easyinput v-model="qualityForm.pieceWeightHead" placeholder="请输入" /> | |
| 12 | + <uni-easyinput v-model="qualityForm.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 13 | 13 | </template> |
| 14 | 14 | </uni-list-item> |
| 15 | 15 | <uni-list-item title="表面"> |
| 16 | 16 | <template v-slot:footer> |
| 17 | - <uni-easyinput v-model="qualityForm.surface" placeholder="请输入" /> | |
| 17 | + <uni-easyinput v-model="qualityForm.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 18 | 18 | </template> |
| 19 | 19 | </uni-list-item> |
| 20 | 20 | <uni-list-item title="公差"> |
| 21 | 21 | <template v-slot:footer> |
| 22 | - <uni-easyinput v-model="qualityForm.tolerance" placeholder="请输入" /> | |
| 22 | + <uni-easyinput v-model="qualityForm.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 23 | 23 | </template> |
| 24 | 24 | </uni-list-item> |
| 25 | 25 | <uni-list-item title="性能"> |
| 26 | 26 | <template v-slot:footer> |
| 27 | - <uni-easyinput v-model="qualityForm.performance" placeholder="请输入" /> | |
| 27 | + <uni-easyinput v-model="qualityForm.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 28 | 28 | </template> |
| 29 | 29 | </uni-list-item> |
| 30 | 30 | <uni-list-item title="成分"> |
| 31 | 31 | <template v-slot:footer> |
| 32 | - <uni-easyinput v-model="qualityForm.component" placeholder="请输入" /> | |
| 32 | + <uni-easyinput v-model="qualityForm.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 33 | 33 | </template> |
| 34 | 34 | </uni-list-item> |
| 35 | 35 | <uni-list-item title="包装"> |
| 36 | 36 | <template v-slot:footer> |
| 37 | - <uni-easyinput v-model="qualityForm.packaging" placeholder="请输入" /> | |
| 37 | + <uni-easyinput v-model="qualityForm.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 38 | 38 | </template> |
| 39 | 39 | </uni-list-item> |
| 40 | 40 | <uni-list-item title="备注"> |
| 41 | 41 | <template v-slot:footer> |
| 42 | - <uni-easyinput v-model="qualityForm.remarks" placeholder="请输入" /> | |
| 42 | + <uni-easyinput v-model="qualityForm.remarks" placeholder="请输入" :inputBorder="false" maxlength="500" /> | |
| 43 | 43 | </template> |
| 44 | 44 | </uni-list-item> |
| 45 | 45 | </uni-list> | ... | ... |
| ... | ... | @@ -154,32 +154,32 @@ |
| 154 | 154 | </view> |
| 155 | 155 | <uni-list-item title="件重条头"> |
| 156 | 156 | <template v-slot:footer> |
| 157 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 157 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 158 | 158 | </template> |
| 159 | 159 | </uni-list-item> |
| 160 | 160 | <uni-list-item title="表面"> |
| 161 | 161 | <template v-slot:footer> |
| 162 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 162 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 163 | 163 | </template> |
| 164 | 164 | </uni-list-item> |
| 165 | 165 | <uni-list-item title="公差"> |
| 166 | 166 | <template v-slot:footer> |
| 167 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 167 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 168 | 168 | </template> |
| 169 | 169 | </uni-list-item> |
| 170 | 170 | <uni-list-item title="性能"> |
| 171 | 171 | <template v-slot:footer> |
| 172 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 172 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 173 | 173 | </template> |
| 174 | 174 | </uni-list-item> |
| 175 | 175 | <uni-list-item title="成分"> |
| 176 | 176 | <template v-slot:footer> |
| 177 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 177 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 178 | 178 | </template> |
| 179 | 179 | </uni-list-item> |
| 180 | 180 | <uni-list-item title="包装"> |
| 181 | 181 | <template v-slot:footer> |
| 182 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 182 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 183 | 183 | </template> |
| 184 | 184 | </uni-list-item> |
| 185 | 185 | <view class="footer"> | ... | ... |
| ... | ... | @@ -149,32 +149,32 @@ |
| 149 | 149 | </view> |
| 150 | 150 | <uni-list-item title="件重条头"> |
| 151 | 151 | <template v-slot:footer> |
| 152 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 152 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 153 | 153 | </template> |
| 154 | 154 | </uni-list-item> |
| 155 | 155 | <uni-list-item title="表面"> |
| 156 | 156 | <template v-slot:footer> |
| 157 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 157 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 158 | 158 | </template> |
| 159 | 159 | </uni-list-item> |
| 160 | 160 | <uni-list-item title="公差"> |
| 161 | 161 | <template v-slot:footer> |
| 162 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 162 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 163 | 163 | </template> |
| 164 | 164 | </uni-list-item> |
| 165 | 165 | <uni-list-item title="性能"> |
| 166 | 166 | <template v-slot:footer> |
| 167 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 167 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 168 | 168 | </template> |
| 169 | 169 | </uni-list-item> |
| 170 | 170 | <uni-list-item title="成分"> |
| 171 | 171 | <template v-slot:footer> |
| 172 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 172 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 173 | 173 | </template> |
| 174 | 174 | </uni-list-item> |
| 175 | 175 | <uni-list-item title="包装"> |
| 176 | 176 | <template v-slot:footer> |
| 177 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 177 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 178 | 178 | </template> |
| 179 | 179 | </uni-list-item> |
| 180 | 180 | ... | ... |
| ... | ... | @@ -160,32 +160,32 @@ |
| 160 | 160 | </view> |
| 161 | 161 | <uni-list-item title="件重条头"> |
| 162 | 162 | <template v-slot:footer> |
| 163 | - <uni-easyinput type="textarea" v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 163 | + <uni-easyinput type="textarea" v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 164 | 164 | </template> |
| 165 | 165 | </uni-list-item> |
| 166 | 166 | <uni-list-item title="表面"> |
| 167 | 167 | <template v-slot:footer> |
| 168 | - <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 168 | + <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 169 | 169 | </template> |
| 170 | 170 | </uni-list-item> |
| 171 | 171 | <uni-list-item title="公差"> |
| 172 | 172 | <template v-slot:footer> |
| 173 | - <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 173 | + <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 174 | 174 | </template> |
| 175 | 175 | </uni-list-item> |
| 176 | 176 | <uni-list-item title="性能"> |
| 177 | 177 | <template v-slot:footer> |
| 178 | - <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 178 | + <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 179 | 179 | </template> |
| 180 | 180 | </uni-list-item> |
| 181 | 181 | <uni-list-item title="成分"> |
| 182 | 182 | <template v-slot:footer> |
| 183 | - <uni-easyinput type="textarea" v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 183 | + <uni-easyinput type="textarea" v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 184 | 184 | </template> |
| 185 | 185 | </uni-list-item> |
| 186 | 186 | <uni-list-item title="包装"> |
| 187 | 187 | <template v-slot:footer> |
| 188 | - <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 188 | + <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 189 | 189 | </template> |
| 190 | 190 | </uni-list-item> |
| 191 | 191 | <view class="footer"> | ... | ... |
| ... | ... | @@ -134,32 +134,32 @@ |
| 134 | 134 | </view> |
| 135 | 135 | <uni-list-item title="件重条头"> |
| 136 | 136 | <template v-slot:footer> |
| 137 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 137 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 138 | 138 | </template> |
| 139 | 139 | </uni-list-item> |
| 140 | 140 | <uni-list-item title="表面"> |
| 141 | 141 | <template v-slot:footer> |
| 142 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 142 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 143 | 143 | </template> |
| 144 | 144 | </uni-list-item> |
| 145 | 145 | <uni-list-item title="公差"> |
| 146 | 146 | <template v-slot:footer> |
| 147 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 147 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 148 | 148 | </template> |
| 149 | 149 | </uni-list-item> |
| 150 | 150 | <uni-list-item title="性能"> |
| 151 | 151 | <template v-slot:footer> |
| 152 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 152 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 153 | 153 | </template> |
| 154 | 154 | </uni-list-item> |
| 155 | 155 | <uni-list-item title="成分"> |
| 156 | 156 | <template v-slot:footer> |
| 157 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 157 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 158 | 158 | </template> |
| 159 | 159 | </uni-list-item> |
| 160 | 160 | <uni-list-item title="包装"> |
| 161 | 161 | <template v-slot:footer> |
| 162 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 162 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 163 | 163 | </template> |
| 164 | 164 | </uni-list-item> |
| 165 | 165 | <uni-list-item title="合同附件" style="margin-top: 20rpx;"> | ... | ... |
| ... | ... | @@ -134,32 +134,32 @@ |
| 134 | 134 | </view> |
| 135 | 135 | <uni-list-item title="件重条头"> |
| 136 | 136 | <template v-slot:footer> |
| 137 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 137 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 138 | 138 | </template> |
| 139 | 139 | </uni-list-item> |
| 140 | 140 | <uni-list-item title="表面"> |
| 141 | 141 | <template v-slot:footer> |
| 142 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 142 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 143 | 143 | </template> |
| 144 | 144 | </uni-list-item> |
| 145 | 145 | <uni-list-item title="公差"> |
| 146 | 146 | <template v-slot:footer> |
| 147 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 147 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 148 | 148 | </template> |
| 149 | 149 | </uni-list-item> |
| 150 | 150 | <uni-list-item title="性能"> |
| 151 | 151 | <template v-slot:footer> |
| 152 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 152 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 153 | 153 | </template> |
| 154 | 154 | </uni-list-item> |
| 155 | 155 | <uni-list-item title="成分"> |
| 156 | 156 | <template v-slot:footer> |
| 157 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 157 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 158 | 158 | </template> |
| 159 | 159 | </uni-list-item> |
| 160 | 160 | <uni-list-item title="包装"> |
| 161 | 161 | <template v-slot:footer> |
| 162 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 162 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 163 | 163 | </template> |
| 164 | 164 | </uni-list-item> |
| 165 | 165 | <view class="footer"> | ... | ... |
| ... | ... | @@ -134,32 +134,32 @@ |
| 134 | 134 | </view> |
| 135 | 135 | <uni-list-item title="件重条头"> |
| 136 | 136 | <template v-slot:footer> |
| 137 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 137 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 138 | 138 | </template> |
| 139 | 139 | </uni-list-item> |
| 140 | 140 | <uni-list-item title="表面"> |
| 141 | 141 | <template v-slot:footer> |
| 142 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 142 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 143 | 143 | </template> |
| 144 | 144 | </uni-list-item> |
| 145 | 145 | <uni-list-item title="公差"> |
| 146 | 146 | <template v-slot:footer> |
| 147 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 147 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 148 | 148 | </template> |
| 149 | 149 | </uni-list-item> |
| 150 | 150 | <uni-list-item title="性能"> |
| 151 | 151 | <template v-slot:footer> |
| 152 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 152 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 153 | 153 | </template> |
| 154 | 154 | </uni-list-item> |
| 155 | 155 | <uni-list-item title="成分"> |
| 156 | 156 | <template v-slot:footer> |
| 157 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 157 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 158 | 158 | </template> |
| 159 | 159 | </uni-list-item> |
| 160 | 160 | <uni-list-item title="包装"> |
| 161 | 161 | <template v-slot:footer> |
| 162 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 162 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 163 | 163 | </template> |
| 164 | 164 | </uni-list-item> |
| 165 | 165 | <uni-list-item title="合同附件" style="margin-top: 20rpx;"> | ... | ... |
| ... | ... | @@ -156,32 +156,32 @@ |
| 156 | 156 | </view> |
| 157 | 157 | <uni-list-item title="件重条头"> |
| 158 | 158 | <template v-slot:footer> |
| 159 | - <uni-easyinput type="textarea" v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 159 | + <uni-easyinput type="textarea" v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 160 | 160 | </template> |
| 161 | 161 | </uni-list-item> |
| 162 | 162 | <uni-list-item title="表面"> |
| 163 | 163 | <template v-slot:footer> |
| 164 | - <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 164 | + <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200"/> | |
| 165 | 165 | </template> |
| 166 | 166 | </uni-list-item> |
| 167 | 167 | <uni-list-item title="公差"> |
| 168 | 168 | <template v-slot:footer> |
| 169 | - <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 169 | + <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 170 | 170 | </template> |
| 171 | 171 | </uni-list-item> |
| 172 | 172 | <uni-list-item title="性能"> |
| 173 | 173 | <template v-slot:footer> |
| 174 | - <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 174 | + <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 175 | 175 | </template> |
| 176 | 176 | </uni-list-item> |
| 177 | 177 | <uni-list-item title="成分"> |
| 178 | 178 | <template v-slot:footer> |
| 179 | - <uni-easyinput type="textarea" v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 179 | + <uni-easyinput type="textarea" v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 180 | 180 | </template> |
| 181 | 181 | </uni-list-item> |
| 182 | 182 | <uni-list-item title="包装"> |
| 183 | 183 | <template v-slot:footer> |
| 184 | - <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 184 | + <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 185 | 185 | </template> |
| 186 | 186 | </uni-list-item> |
| 187 | 187 | <view class="footer"> | ... | ... |
| ... | ... | @@ -149,32 +149,32 @@ |
| 149 | 149 | </view> |
| 150 | 150 | <uni-list-item title="件重条头"> |
| 151 | 151 | <template v-slot:footer> |
| 152 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 152 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 153 | 153 | </template> |
| 154 | 154 | </uni-list-item> |
| 155 | 155 | <uni-list-item title="表面"> |
| 156 | 156 | <template v-slot:footer> |
| 157 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 157 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 158 | 158 | </template> |
| 159 | 159 | </uni-list-item> |
| 160 | 160 | <uni-list-item title="公差"> |
| 161 | 161 | <template v-slot:footer> |
| 162 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 162 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 163 | 163 | </template> |
| 164 | 164 | </uni-list-item> |
| 165 | 165 | <uni-list-item title="性能"> |
| 166 | 166 | <template v-slot:footer> |
| 167 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 167 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 168 | 168 | </template> |
| 169 | 169 | </uni-list-item> |
| 170 | 170 | <uni-list-item title="成分"> |
| 171 | 171 | <template v-slot:footer> |
| 172 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 172 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 173 | 173 | </template> |
| 174 | 174 | </uni-list-item> |
| 175 | 175 | <uni-list-item title="包装"> |
| 176 | 176 | <template v-slot:footer> |
| 177 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 177 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 178 | 178 | </template> |
| 179 | 179 | </uni-list-item> |
| 180 | 180 | <view class="footer"> | ... | ... |
| ... | ... | @@ -149,32 +149,32 @@ |
| 149 | 149 | </view> |
| 150 | 150 | <uni-list-item title="件重条头"> |
| 151 | 151 | <template v-slot:footer> |
| 152 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 152 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 153 | 153 | </template> |
| 154 | 154 | </uni-list-item> |
| 155 | 155 | <uni-list-item title="表面"> |
| 156 | 156 | <template v-slot:footer> |
| 157 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 157 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 158 | 158 | </template> |
| 159 | 159 | </uni-list-item> |
| 160 | 160 | <uni-list-item title="公差"> |
| 161 | 161 | <template v-slot:footer> |
| 162 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 162 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 163 | 163 | </template> |
| 164 | 164 | </uni-list-item> |
| 165 | 165 | <uni-list-item title="性能"> |
| 166 | 166 | <template v-slot:footer> |
| 167 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 167 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 168 | 168 | </template> |
| 169 | 169 | </uni-list-item> |
| 170 | 170 | <uni-list-item title="成分"> |
| 171 | 171 | <template v-slot:footer> |
| 172 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 172 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 173 | 173 | </template> |
| 174 | 174 | </uni-list-item> |
| 175 | 175 | <uni-list-item title="包装"> |
| 176 | 176 | <template v-slot:footer> |
| 177 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 177 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 178 | 178 | </template> |
| 179 | 179 | </uni-list-item> |
| 180 | 180 | <uni-list-item title="合同附件" style="margin-top: 20rpx;"> | ... | ... |
| ... | ... | @@ -149,32 +149,32 @@ |
| 149 | 149 | </view> |
| 150 | 150 | <uni-list-item title="件重条头"> |
| 151 | 151 | <template v-slot:footer> |
| 152 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 152 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 153 | 153 | </template> |
| 154 | 154 | </uni-list-item> |
| 155 | 155 | <uni-list-item title="表面"> |
| 156 | 156 | <template v-slot:footer> |
| 157 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 157 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 158 | 158 | </template> |
| 159 | 159 | </uni-list-item> |
| 160 | 160 | <uni-list-item title="公差"> |
| 161 | 161 | <template v-slot:footer> |
| 162 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 162 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 163 | 163 | </template> |
| 164 | 164 | </uni-list-item> |
| 165 | 165 | <uni-list-item title="性能"> |
| 166 | 166 | <template v-slot:footer> |
| 167 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 167 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 168 | 168 | </template> |
| 169 | 169 | </uni-list-item> |
| 170 | 170 | <uni-list-item title="成分"> |
| 171 | 171 | <template v-slot:footer> |
| 172 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 172 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 173 | 173 | </template> |
| 174 | 174 | </uni-list-item> |
| 175 | 175 | <uni-list-item title="包装"> |
| 176 | 176 | <template v-slot:footer> |
| 177 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 177 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 178 | 178 | </template> |
| 179 | 179 | </uni-list-item> |
| 180 | 180 | <uni-list-item title="合同附件" style="margin-top: 20rpx;"> | ... | ... |
| ... | ... | @@ -154,32 +154,32 @@ |
| 154 | 154 | </view> |
| 155 | 155 | <uni-list-item title="件重条头"> |
| 156 | 156 | <template v-slot:footer> |
| 157 | - <uni-easyinput type="textarea" v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 157 | + <uni-easyinput type="textarea" v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 158 | 158 | </template> |
| 159 | 159 | </uni-list-item> |
| 160 | 160 | <uni-list-item title="表面"> |
| 161 | 161 | <template v-slot:footer> |
| 162 | - <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 162 | + <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 163 | 163 | </template> |
| 164 | 164 | </uni-list-item> |
| 165 | 165 | <uni-list-item title="公差"> |
| 166 | 166 | <template v-slot:footer> |
| 167 | - <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 167 | + <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 168 | 168 | </template> |
| 169 | 169 | </uni-list-item> |
| 170 | 170 | <uni-list-item title="性能"> |
| 171 | 171 | <template v-slot:footer> |
| 172 | - <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 172 | + <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 173 | 173 | </template> |
| 174 | 174 | </uni-list-item> |
| 175 | 175 | <uni-list-item title="成分"> |
| 176 | 176 | <template v-slot:footer> |
| 177 | - <uni-easyinput type="textarea" v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 177 | + <uni-easyinput type="textarea" v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 178 | 178 | </template> |
| 179 | 179 | </uni-list-item> |
| 180 | 180 | <uni-list-item title="包装"> |
| 181 | 181 | <template v-slot:footer> |
| 182 | - <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 182 | + <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 183 | 183 | </template> |
| 184 | 184 | </uni-list-item> |
| 185 | 185 | <view class="footer"> | ... | ... |
| ... | ... | @@ -152,32 +152,32 @@ |
| 152 | 152 | </view> |
| 153 | 153 | <uni-list-item title="件重条头"> |
| 154 | 154 | <template v-slot:footer> |
| 155 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 155 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 156 | 156 | </template> |
| 157 | 157 | </uni-list-item> |
| 158 | 158 | <uni-list-item title="表面"> |
| 159 | 159 | <template v-slot:footer> |
| 160 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 160 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 161 | 161 | </template> |
| 162 | 162 | </uni-list-item> |
| 163 | 163 | <uni-list-item title="公差"> |
| 164 | 164 | <template v-slot:footer> |
| 165 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 165 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 166 | 166 | </template> |
| 167 | 167 | </uni-list-item> |
| 168 | 168 | <uni-list-item title="性能"> |
| 169 | 169 | <template v-slot:footer> |
| 170 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 170 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 171 | 171 | </template> |
| 172 | 172 | </uni-list-item> |
| 173 | 173 | <uni-list-item title="成分"> |
| 174 | 174 | <template v-slot:footer> |
| 175 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 175 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 176 | 176 | </template> |
| 177 | 177 | </uni-list-item> |
| 178 | 178 | <uni-list-item title="包装"> |
| 179 | 179 | <template v-slot:footer> |
| 180 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 180 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 181 | 181 | </template> |
| 182 | 182 | </uni-list-item> |
| 183 | 183 | <view class="footer"> | ... | ... |
| ... | ... | @@ -147,32 +147,32 @@ |
| 147 | 147 | </view> |
| 148 | 148 | <uni-list-item title="件重条头"> |
| 149 | 149 | <template v-slot:footer> |
| 150 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 150 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 151 | 151 | </template> |
| 152 | 152 | </uni-list-item> |
| 153 | 153 | <uni-list-item title="表面"> |
| 154 | 154 | <template v-slot:footer> |
| 155 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 155 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 156 | 156 | </template> |
| 157 | 157 | </uni-list-item> |
| 158 | 158 | <uni-list-item title="公差"> |
| 159 | 159 | <template v-slot:footer> |
| 160 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 160 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 161 | 161 | </template> |
| 162 | 162 | </uni-list-item> |
| 163 | 163 | <uni-list-item title="性能"> |
| 164 | 164 | <template v-slot:footer> |
| 165 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 165 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 166 | 166 | </template> |
| 167 | 167 | </uni-list-item> |
| 168 | 168 | <uni-list-item title="成分"> |
| 169 | 169 | <template v-slot:footer> |
| 170 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 170 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 171 | 171 | </template> |
| 172 | 172 | </uni-list-item> |
| 173 | 173 | <uni-list-item title="包装"> |
| 174 | 174 | <template v-slot:footer> |
| 175 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 175 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 176 | 176 | </template> |
| 177 | 177 | </uni-list-item> |
| 178 | 178 | ... | ... |
| ... | ... | @@ -147,32 +147,32 @@ |
| 147 | 147 | </view> |
| 148 | 148 | <uni-list-item title="件重条头"> |
| 149 | 149 | <template v-slot:footer> |
| 150 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 150 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 151 | 151 | </template> |
| 152 | 152 | </uni-list-item> |
| 153 | 153 | <uni-list-item title="表面"> |
| 154 | 154 | <template v-slot:footer> |
| 155 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 155 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 156 | 156 | </template> |
| 157 | 157 | </uni-list-item> |
| 158 | 158 | <uni-list-item title="公差"> |
| 159 | 159 | <template v-slot:footer> |
| 160 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 160 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 161 | 161 | </template> |
| 162 | 162 | </uni-list-item> |
| 163 | 163 | <uni-list-item title="性能"> |
| 164 | 164 | <template v-slot:footer> |
| 165 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 165 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 166 | 166 | </template> |
| 167 | 167 | </uni-list-item> |
| 168 | 168 | <uni-list-item title="成分"> |
| 169 | 169 | <template v-slot:footer> |
| 170 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 170 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 171 | 171 | </template> |
| 172 | 172 | </uni-list-item> |
| 173 | 173 | <uni-list-item title="包装"> |
| 174 | 174 | <template v-slot:footer> |
| 175 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 175 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 176 | 176 | </template> |
| 177 | 177 | </uni-list-item> |
| 178 | 178 | ... | ... |
| ... | ... | @@ -156,32 +156,32 @@ |
| 156 | 156 | </view> |
| 157 | 157 | <uni-list-item title="件重条头"> |
| 158 | 158 | <template v-slot:footer> |
| 159 | - <uni-easyinput type="textarea" v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 159 | + <uni-easyinput type="textarea" v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 160 | 160 | </template> |
| 161 | 161 | </uni-list-item> |
| 162 | 162 | <uni-list-item title="表面"> |
| 163 | 163 | <template v-slot:footer> |
| 164 | - <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 164 | + <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 165 | 165 | </template> |
| 166 | 166 | </uni-list-item> |
| 167 | 167 | <uni-list-item title="公差"> |
| 168 | 168 | <template v-slot:footer> |
| 169 | - <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 169 | + <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 170 | 170 | </template> |
| 171 | 171 | </uni-list-item> |
| 172 | 172 | <uni-list-item title="性能"> |
| 173 | 173 | <template v-slot:footer> |
| 174 | - <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 174 | + <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 175 | 175 | </template> |
| 176 | 176 | </uni-list-item> |
| 177 | 177 | <uni-list-item title="成分"> |
| 178 | 178 | <template v-slot:footer> |
| 179 | - <uni-easyinput type="textarea" v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 179 | + <uni-easyinput type="textarea" v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 180 | 180 | </template> |
| 181 | 181 | </uni-list-item> |
| 182 | 182 | <uni-list-item title="包装"> |
| 183 | 183 | <template v-slot:footer> |
| 184 | - <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 184 | + <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 185 | 185 | </template> |
| 186 | 186 | </uni-list-item> |
| 187 | 187 | <view class="footer"> | ... | ... |
| ... | ... | @@ -148,32 +148,32 @@ |
| 148 | 148 | </view> |
| 149 | 149 | <uni-list-item title="件重条头"> |
| 150 | 150 | <template v-slot:footer> |
| 151 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 151 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 152 | 152 | </template> |
| 153 | 153 | </uni-list-item> |
| 154 | 154 | <uni-list-item title="表面"> |
| 155 | 155 | <template v-slot:footer> |
| 156 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 156 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 157 | 157 | </template> |
| 158 | 158 | </uni-list-item> |
| 159 | 159 | <uni-list-item title="公差"> |
| 160 | 160 | <template v-slot:footer> |
| 161 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 161 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 162 | 162 | </template> |
| 163 | 163 | </uni-list-item> |
| 164 | 164 | <uni-list-item title="性能"> |
| 165 | 165 | <template v-slot:footer> |
| 166 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 166 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 167 | 167 | </template> |
| 168 | 168 | </uni-list-item> |
| 169 | 169 | <uni-list-item title="成分"> |
| 170 | 170 | <template v-slot:footer> |
| 171 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 171 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 172 | 172 | </template> |
| 173 | 173 | </uni-list-item> |
| 174 | 174 | <uni-list-item title="包装"> |
| 175 | 175 | <template v-slot:footer> |
| 176 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 176 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 177 | 177 | </template> |
| 178 | 178 | </uni-list-item> |
| 179 | 179 | ... | ... |
| ... | ... | @@ -9,37 +9,37 @@ |
| 9 | 9 | <uni-list> |
| 10 | 10 | <uni-list-item title="件重条头"> |
| 11 | 11 | <template v-slot:footer> |
| 12 | - <uni-easyinput v-model="qualityForm.pieceWeightHead" placeholder="请输入" /> | |
| 12 | + <uni-easyinput v-model="qualityForm.pieceWeightHead" placeholder="请输入" maxlength="200" /> | |
| 13 | 13 | </template> |
| 14 | 14 | </uni-list-item> |
| 15 | 15 | <uni-list-item title="表面"> |
| 16 | 16 | <template v-slot:footer> |
| 17 | - <uni-easyinput v-model="qualityForm.surface" placeholder="请输入" /> | |
| 17 | + <uni-easyinput v-model="qualityForm.surface" placeholder="请输入" maxlength="200" /> | |
| 18 | 18 | </template> |
| 19 | 19 | </uni-list-item> |
| 20 | 20 | <uni-list-item title="公差"> |
| 21 | 21 | <template v-slot:footer> |
| 22 | - <uni-easyinput v-model="qualityForm.tolerance" placeholder="请输入" /> | |
| 22 | + <uni-easyinput v-model="qualityForm.tolerance" placeholder="请输入" maxlength="200" /> | |
| 23 | 23 | </template> |
| 24 | 24 | </uni-list-item> |
| 25 | 25 | <uni-list-item title="性能"> |
| 26 | 26 | <template v-slot:footer> |
| 27 | - <uni-easyinput v-model="qualityForm.performance" placeholder="请输入" /> | |
| 27 | + <uni-easyinput v-model="qualityForm.performance" placeholder="请输入" maxlength="200" /> | |
| 28 | 28 | </template> |
| 29 | 29 | </uni-list-item> |
| 30 | 30 | <uni-list-item title="成分"> |
| 31 | 31 | <template v-slot:footer> |
| 32 | - <uni-easyinput v-model="qualityForm.component" placeholder="请输入" /> | |
| 32 | + <uni-easyinput v-model="qualityForm.component" placeholder="请输入" maxlength="200" /> | |
| 33 | 33 | </template> |
| 34 | 34 | </uni-list-item> |
| 35 | 35 | <uni-list-item title="包装"> |
| 36 | 36 | <template v-slot:footer> |
| 37 | - <uni-easyinput v-model="qualityForm.packaging" placeholder="请输入" /> | |
| 37 | + <uni-easyinput v-model="qualityForm.packaging" placeholder="请输入" maxlength="200" /> | |
| 38 | 38 | </template> |
| 39 | 39 | </uni-list-item> |
| 40 | 40 | <uni-list-item title="备注"> |
| 41 | 41 | <template v-slot:footer> |
| 42 | - <uni-easyinput v-model="qualityForm.remarks" placeholder="请输入" /> | |
| 42 | + <uni-easyinput v-model="qualityForm.remarks" placeholder="请输入" maxlength="200" /> | |
| 43 | 43 | </template> |
| 44 | 44 | </uni-list-item> |
| 45 | 45 | </uni-list> | ... | ... |
| ... | ... | @@ -149,32 +149,32 @@ |
| 149 | 149 | </view> |
| 150 | 150 | <uni-list-item title="件重条头"> |
| 151 | 151 | <template v-slot:footer> |
| 152 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 152 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 153 | 153 | </template> |
| 154 | 154 | </uni-list-item> |
| 155 | 155 | <uni-list-item title="表面"> |
| 156 | 156 | <template v-slot:footer> |
| 157 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 157 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 158 | 158 | </template> |
| 159 | 159 | </uni-list-item> |
| 160 | 160 | <uni-list-item title="公差"> |
| 161 | 161 | <template v-slot:footer> |
| 162 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 162 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 163 | 163 | </template> |
| 164 | 164 | </uni-list-item> |
| 165 | 165 | <uni-list-item title="性能"> |
| 166 | 166 | <template v-slot:footer> |
| 167 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 167 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 168 | 168 | </template> |
| 169 | 169 | </uni-list-item> |
| 170 | 170 | <uni-list-item title="成分"> |
| 171 | 171 | <template v-slot:footer> |
| 172 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 172 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 173 | 173 | </template> |
| 174 | 174 | </uni-list-item> |
| 175 | 175 | <uni-list-item title="包装"> |
| 176 | 176 | <template v-slot:footer> |
| 177 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 177 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 178 | 178 | </template> |
| 179 | 179 | </uni-list-item> |
| 180 | 180 | <view class="footer"> | ... | ... |
| ... | ... | @@ -148,32 +148,32 @@ |
| 148 | 148 | </view> |
| 149 | 149 | <uni-list-item title="件重条头"> |
| 150 | 150 | <template v-slot:footer> |
| 151 | - <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" /> | |
| 151 | + <uni-easyinput v-model="form.pieceWeightHead" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 152 | 152 | </template> |
| 153 | 153 | </uni-list-item> |
| 154 | 154 | <uni-list-item title="表面"> |
| 155 | 155 | <template v-slot:footer> |
| 156 | - <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" /> | |
| 156 | + <uni-easyinput v-model="form.surface" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 157 | 157 | </template> |
| 158 | 158 | </uni-list-item> |
| 159 | 159 | <uni-list-item title="公差"> |
| 160 | 160 | <template v-slot:footer> |
| 161 | - <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" /> | |
| 161 | + <uni-easyinput v-model="form.tolerance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 162 | 162 | </template> |
| 163 | 163 | </uni-list-item> |
| 164 | 164 | <uni-list-item title="性能"> |
| 165 | 165 | <template v-slot:footer> |
| 166 | - <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" /> | |
| 166 | + <uni-easyinput v-model="form.performance" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 167 | 167 | </template> |
| 168 | 168 | </uni-list-item> |
| 169 | 169 | <uni-list-item title="成分"> |
| 170 | 170 | <template v-slot:footer> |
| 171 | - <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" /> | |
| 171 | + <uni-easyinput v-model="form.component" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 172 | 172 | </template> |
| 173 | 173 | </uni-list-item> |
| 174 | 174 | <uni-list-item title="包装"> |
| 175 | 175 | <template v-slot:footer> |
| 176 | - <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" /> | |
| 176 | + <uni-easyinput v-model="form.packaging" placeholder="请输入" :inputBorder="false" maxlength="200" /> | |
| 177 | 177 | </template> |
| 178 | 178 | </uni-list-item> |
| 179 | 179 | ... | ... |
| ... | ... | @@ -110,6 +110,7 @@ export default { |
| 110 | 110 | event: 'cancel', |
| 111 | 111 | }], |
| 112 | 112 | currentUserId: '', |
| 113 | + createById: '', | |
| 113 | 114 | } |
| 114 | 115 | }, |
| 115 | 116 | computed: { |
| ... | ... | @@ -120,12 +121,14 @@ export default { |
| 120 | 121 | const isAudit = status === 'AUDIT'; |
| 121 | 122 | const isPass = status === 'PASS'; |
| 122 | 123 | const isRefuse = status === 'REFUSE'; |
| 124 | + console.log('displayButtons__', row); | |
| 125 | + console.log('this.currentUserId', this.currentUserId); | |
| 123 | 126 | return [ |
| 124 | 127 | { ...this.buttons[0], visible: (isAudit || isPass)&& this.form?.showExamineDetail === true && this.$auth.hasPermi('agreement-manage:domestic-agreement:view') }, |
| 125 | 128 | { ...this.buttons[1], visible: isAudit && this.form?.showExamine === true && this.$auth.hasPermi('agreement-manage:domestic-agreement:approve') }, |
| 126 | 129 | { ...this.buttons[2], visible: this.$auth.hasPermi('agreement-manage:domestic-agreement:modify') }, |
| 127 | - { ...this.buttons[3], visible: (isDraft || isRefuse) && row.createById === this.currentUserId&& this.$auth.hasPermi('agreement-manage:domestic-agreement:submit') }, | |
| 128 | - { ...this.buttons[4], visible:(isRefuse || !status) && this.currentUserId === row?.createById && this.$auth.hasPermi('agreement-manage:domestic-agreement:cancel') }, | |
| 130 | + { ...this.buttons[3], visible: (isDraft || isRefuse) && this.createById === this.currentUserId && this.$auth.hasPermi('agreement-manage:domestic-agreement:submit') }, | |
| 131 | + { ...this.buttons[4], visible:(isRefuse || !status) && this.currentUserId === this.createById && this.$auth.hasPermi('agreement-manage:domestic-agreement:cancel') }, | |
| 129 | 132 | ] |
| 130 | 133 | }, |
| 131 | 134 | approvalStatusVisible() { |
| ... | ... | @@ -134,6 +137,7 @@ export default { |
| 134 | 137 | }, |
| 135 | 138 | onLoad(query) { |
| 136 | 139 | this.id = (query && query.id) || '' |
| 140 | + this.createById = (query && query.createById) || '' | |
| 137 | 141 | this.loadDicData() |
| 138 | 142 | this.loadDetail() |
| 139 | 143 | this.getUserInfo() |
| ... | ... | @@ -241,7 +245,8 @@ export default { |
| 241 | 245 | async getUserInfo() { |
| 242 | 246 | try { |
| 243 | 247 | var res = await getInfo() |
| 244 | - this.currentUserId = (res && res.id) ? res.id : '' | |
| 248 | + console.log('getUserInfo__', res); | |
| 249 | + this.currentUserId = res.data.id || '' | |
| 245 | 250 | } catch (e) { |
| 246 | 251 | this.currentUserId = '' |
| 247 | 252 | } | ... | ... |
| ... | ... | @@ -319,7 +319,7 @@ export default { |
| 319 | 319 | uni.showToast({ title: '缺少ID', icon: 'none' }) |
| 320 | 320 | return |
| 321 | 321 | } |
| 322 | - uni.navigateTo({ url: '/pages/domestic-agreement/detail?id=' + id }) | |
| 322 | + uni.navigateTo({ url: '/pages/domestic-agreement/detail?id=' + id + '&createById=' + item.createById }) | |
| 323 | 323 | } |
| 324 | 324 | } |
| 325 | 325 | } | ... | ... |
| ... | ... | @@ -244,7 +244,7 @@ export default { |
| 244 | 244 | }, |
| 245 | 245 | list: { |
| 246 | 246 | handler(v) { |
| 247 | - if (this._emitSuppressed) return | |
| 247 | + // 始终以最新 props 重建 items,仅抑制 emit,避免跳过初始化导致子组件停留在旧数据 | |
| 248 | 248 | this._emitSuppressed = true |
| 249 | 249 | this._initialized = false |
| 250 | 250 | this.initItems() |
| ... | ... | @@ -291,7 +291,10 @@ export default { |
| 291 | 291 | return Object.assign({}, self.defaultItem(), x, { |
| 292 | 292 | _key: key, |
| 293 | 293 | itemId: x && x.itemId ? x.itemId : key, |
| 294 | - collapsed: old ? old.collapsed : true | |
| 294 | + collapsed: old ? old.collapsed : true, | |
| 295 | + // 兼容服务端返回的 factoryId/factoryName/factoryName2 字段 | |
| 296 | + workshopId: (x && x.workshopId != null && x.workshopId !== '') ? x.workshopId : ((x && x.factoryId != null) ? x.factoryId : ''), | |
| 297 | + workshopName: (x && x.workshopName != null && String(x.workshopName).trim() !== '') ? x.workshopName : ((x && (x.factoryName || x.factoryName2)) ? (x.factoryName || x.factoryName2) : '') | |
| 295 | 298 | }) |
| 296 | 299 | }) |
| 297 | 300 | }, |
| ... | ... | @@ -474,10 +477,9 @@ export default { |
| 474 | 477 | this.$set(it, 'workshopName', label) |
| 475 | 478 | } |
| 476 | 479 | }, |
| 477 | - emitChange() { | |
| 478 | - if (!this._initialized) return | |
| 479 | - if (this._emitSuppressed) return | |
| 480 | - var list = (this.items || []).map(function (it) { | |
| 480 | + getTableData() { | |
| 481 | + var self = this | |
| 482 | + return (this.items || []).map(function (it) { | |
| 481 | 483 | var c = Object.assign({}, it) |
| 482 | 484 | var key = c._key |
| 483 | 485 | delete c._key |
| ... | ... | @@ -485,10 +487,14 @@ export default { |
| 485 | 487 | delete c._selected |
| 486 | 488 | delete c.fixedLossRate |
| 487 | 489 | if (!c.itemId) c.itemId = key |
| 488 | - if (!this.isAnyBuyout) c.estimatedLoss = null | |
| 490 | + if (!self.isAnyBuyout) c.estimatedLoss = null | |
| 489 | 491 | return c |
| 490 | 492 | }) |
| 491 | - this.$emit('change', list) | |
| 493 | + }, | |
| 494 | + emitChange() { | |
| 495 | + if (!this._initialized) return | |
| 496 | + if (this._emitSuppressed) return | |
| 497 | + this.$emit('change', this.getTableData()) | |
| 492 | 498 | }, |
| 493 | 499 | safeText(v) { |
| 494 | 500 | var s = v == null ? '' : String(v) | ... | ... |
| ... | ... | @@ -311,7 +311,7 @@ export default { |
| 311 | 311 | }, |
| 312 | 312 | computed: { |
| 313 | 313 | isAnyBuyout() { |
| 314 | - return this.form.commodityBuyout || this.form.qualityBuyout || this.form.quantityBuyout | |
| 314 | + return this.detail.commodityBuyout || this.detail.qualityBuyout || this.detail.quantityBuyout | |
| 315 | 315 | }, |
| 316 | 316 | companyNameDisplay() { |
| 317 | 317 | var d = this.detail || {} |
| ... | ... | @@ -395,7 +395,7 @@ export default { |
| 395 | 395 | }, |
| 396 | 396 | methods: { |
| 397 | 397 | handleInvoiceNameChange(name) { |
| 398 | - this.form.invoiceProductName = name | |
| 398 | + this.detail.invoiceProductName = name | |
| 399 | 399 | }, |
| 400 | 400 | toNumber(v) { |
| 401 | 401 | if (v == null || v === '') return 0 |
| ... | ... | @@ -470,18 +470,19 @@ export default { |
| 470 | 470 | if (!this.id) return |
| 471 | 471 | try { |
| 472 | 472 | var res = await procurementPlanDetailApi({ id: this.id }) |
| 473 | - var d = (res && res.data) ? res.data : {} | |
| 473 | + console.log(res,'6666') | |
| 474 | + | |
| 475 | + this.detail = (res && res.data) ? res.data : {} | |
| 474 | 476 | var self = this |
| 475 | 477 | this.materialConditionConfigs.forEach(function (mc) { |
| 476 | - var v = d[mc.field] | |
| 478 | + var v = self.detail[mc.field] | |
| 477 | 479 | if (typeof v === 'string' && v) { |
| 478 | - d[mc.field] = v.split(',').filter(Boolean) | |
| 480 | + self.detail[mc.field] = v.split(',').filter(Boolean) | |
| 479 | 481 | } else if (!Array.isArray(v)) { |
| 480 | - d[mc.field] = [] | |
| 482 | + self.detail[mc.field] = [] | |
| 481 | 483 | } |
| 482 | 484 | }) |
| 483 | - this.detail = d | |
| 484 | - this.lineList = Array.isArray(d.procurementPlanLineList) ? d.procurementPlanLineList.slice() : [] | |
| 485 | + this.lineList = Array.isArray(this.detail.procurementPlanLineList) ? this.detail.procurementPlanLineList.slice() : [] | |
| 485 | 486 | this.buildAttachmentList() |
| 486 | 487 | this.fillLineNames() |
| 487 | 488 | await this.fillPriceByDetailPriceId() |
| ... | ... | @@ -524,7 +525,7 @@ export default { |
| 524 | 525 | this.lineList = this.lineList.map(function (row) { |
| 525 | 526 | var r = Object.assign({}, row) |
| 526 | 527 | var pid = r.productId != null ? String(r.productId) : '' |
| 527 | - var wid = r.workshopId != null ? String(r.workshopId) : '' | |
| 528 | + var wid = (r.workshopId != null && r.workshopId !== '') ? String(r.workshopId) : (r.factoryId != null ? String(r.factoryId) : '') | |
| 528 | 529 | if ((r.productName == null || String(r.productName).trim() === '') && pid) { |
| 529 | 530 | var p = pOpts.find(function (o) { |
| 530 | 531 | var id = o.id != null ? String(o.id) : (o.productId != null ? String(o.productId) : (o.value != null ? String(o.value) : '')) |
| ... | ... | @@ -534,7 +535,17 @@ export default { |
| 534 | 535 | r.productName = p.name != null ? p.name : (p.productName != null ? p.productName : (p.label != null ? p.label : '')) |
| 535 | 536 | } |
| 536 | 537 | } |
| 537 | - if ((r.workshopName == null || String(r.workshopName).trim() === '') && wid) { | |
| 538 | + var wName = '' | |
| 539 | + if (r.workshopName != null && String(r.workshopName).trim() !== '') { | |
| 540 | + wName = r.workshopName | |
| 541 | + } else if (r.factoryName != null && String(r.factoryName).trim() !== '') { | |
| 542 | + wName = r.factoryName | |
| 543 | + } else if (r.factoryName2 != null && String(r.factoryName2).trim() !== '') { | |
| 544 | + wName = r.factoryName2 | |
| 545 | + } | |
| 546 | + if (wName) { | |
| 547 | + r.workshopName = wName | |
| 548 | + } else if (wid) { | |
| 538 | 549 | var w = wOpts.find(function (o) { |
| 539 | 550 | var id = o.id != null ? String(o.id) : (o.workshopId != null ? String(o.workshopId) : (o.value != null ? String(o.value) : '')) |
| 540 | 551 | return id === wid |
| ... | ... | @@ -671,7 +682,9 @@ export default { |
| 671 | 682 | buildPayload() { |
| 672 | 683 | var self = this |
| 673 | 684 | var d = this.detail || {} |
| 674 | - var lines = Array.isArray(this.lineList) ? this.lineList.slice() : [] | |
| 685 | + // 与桌面端 select-factory 一致:保存时直接取子组件最新明细数据,避免 emit 同步链路丢数据 | |
| 686 | + var pr = this.$refs.productRel | |
| 687 | + var lines = (pr && typeof pr.getTableData === 'function') ? pr.getTableData() : (Array.isArray(this.lineList) ? this.lineList.slice() : []) | |
| 675 | 688 | var lineList = lines.map(function (row, i) { |
| 676 | 689 | var r = row || {} |
| 677 | 690 | var itemId = r.itemId || (r._key != null ? r._key : (r.id ? String(r.id) : ('line-' + Date.now() + '-' + i))) |
| ... | ... | @@ -689,7 +702,7 @@ export default { |
| 689 | 702 | coordinationRange: self.toNumber(r.coordinationRange), |
| 690 | 703 | estimatedLoss: self.toNumber(r.estimatedLoss), |
| 691 | 704 | applicationAttrition: self.toNumber(r.applicationAttrition), |
| 692 | - workshopId: self.pickId(r.workshopId) | |
| 705 | + workshopId: self.pickId(r.workshopId || r.factoryId) | |
| 693 | 706 | } |
| 694 | 707 | }) |
| 695 | 708 | var mcFields = this.materialConditionConfigs.map(function (mc) { return mc.field }) | ... | ... |
| ... | ... | @@ -163,10 +163,10 @@ export default { |
| 163 | 163 | return [ |
| 164 | 164 | { ...this.buttons[0], visible: d && this.$auth.hasPermi('procure-manage:domestic-trade:review') }, |
| 165 | 165 | { ...this.buttons[1], visible: s === 'AUDIT' && e && this.$auth.hasPermi('procure-manage:domestic-trade:approve') }, |
| 166 | - { ...this.buttons[2], visible: (s === 'REFUSE' || !s) && this.$auth.hasPermi('procure-manage:domestic-trade:modify') }, | |
| 166 | + { ...this.buttons[2], visible: (s === 'REFUSE' || !s) && this.investigatorId === this.form.createById && this.$auth.hasPermi('procure-manage:domestic-trade:modify') }, | |
| 167 | 167 | // { ...this.buttons[3], visible: s === 'PASS' && this.$auth.hasPermi('procure-manage:domestic-trade:change') }, |
| 168 | 168 | { ...this.buttons[3], visible: s === 'REFUSE' && this.$auth.hasPermi('procure-manage:domestic-trade:cancel') }, |
| 169 | - { ...this.buttons[4], visible: (s === 'REFUSE' || !s) && this.$auth.hasPermi('procure-manage:domestic-trade:submit') }, | |
| 169 | + { ...this.buttons[4], visible: (s === 'REFUSE' || !s) && this.investigatorId === this.form.createById && this.$auth.hasPermi('procure-manage:domestic-trade:submit') }, | |
| 170 | 170 | ] |
| 171 | 171 | }, |
| 172 | 172 | companyNatureOptions() { |
| ... | ... | @@ -220,6 +220,7 @@ export default { |
| 220 | 220 | created() { |
| 221 | 221 | this.loadDicData() |
| 222 | 222 | this.loadPurchaseDeptOptions() |
| 223 | + this.getUserInfo() | |
| 223 | 224 | }, |
| 224 | 225 | onShow() { |
| 225 | 226 | const options = (this.$route && this.$route.query) ? this.$route.query : {} | ... | ... |
| ... | ... | @@ -113,42 +113,42 @@ |
| 113 | 113 | <uni-list-item title="件重条头"> |
| 114 | 114 | <template v-slot:footer> |
| 115 | 115 | <uni-easyinput type="textarea" v-model="form.pieceWeightHeader" placeholder="请输入件重条头" |
| 116 | - :inputBorder="false" :disabled="!canEditQualityFields" /> | |
| 116 | + :inputBorder="false" :disabled="!canEditQualityFields" maxlength="200" /> | |
| 117 | 117 | </template> |
| 118 | 118 | </uni-list-item> |
| 119 | 119 | <uni-list-item title="表面"> |
| 120 | 120 | <template v-slot:footer> |
| 121 | 121 | <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入表面" :inputBorder="false" |
| 122 | - :disabled="!canEditQualityFields" /> | |
| 122 | + :disabled="!canEditQualityFields" maxlength="200" /> | |
| 123 | 123 | </template> |
| 124 | 124 | </uni-list-item> |
| 125 | 125 | <uni-list-item title="公差"> |
| 126 | 126 | <template v-slot:footer> |
| 127 | 127 | <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入公差" :inputBorder="false" |
| 128 | - :disabled="!canEditQualityFields" /> | |
| 128 | + :disabled="!canEditQualityFields" maxlength="200" /> | |
| 129 | 129 | </template> |
| 130 | 130 | </uni-list-item> |
| 131 | 131 | <uni-list-item title="性能"> |
| 132 | 132 | <template v-slot:footer> |
| 133 | 133 | <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入性能" :inputBorder="false" |
| 134 | - :disabled="!canEditQualityFields" /> | |
| 134 | + :disabled="!canEditQualityFields" maxlength="200" /> | |
| 135 | 135 | </template> |
| 136 | 136 | </uni-list-item> |
| 137 | 137 | <uni-list-item title="成分"> |
| 138 | 138 | <template v-slot:footer> |
| 139 | 139 | <uni-easyinput type="textarea" v-model="form.element" placeholder="请输入成分" :inputBorder="false" |
| 140 | - :disabled="!canEditQualityFields" /> | |
| 140 | + :disabled="!canEditQualityFields" maxlength="200" /> | |
| 141 | 141 | </template> |
| 142 | 142 | </uni-list-item> |
| 143 | 143 | <uni-list-item title="包装"> |
| 144 | 144 | <template v-slot:footer> |
| 145 | 145 | <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入包装" :inputBorder="false" |
| 146 | - :disabled="!canEditQualityFields" /> | |
| 146 | + :disabled="!canEditQualityFields" maxlength="200" /> | |
| 147 | 147 | </template> |
| 148 | 148 | </uni-list-item> |
| 149 | 149 | <uni-list-item title="备注"> |
| 150 | 150 | <template v-slot:footer> |
| 151 | - <uni-easyinput type="textarea" v-model="form.remarks" placeholder="请输入备注" :inputBorder="false" /> | |
| 151 | + <uni-easyinput type="textarea" v-model="form.remarks" placeholder="请输入备注" :inputBorder="false" maxlength="500" /> | |
| 152 | 152 | </template> |
| 153 | 153 | </uni-list-item> |
| 154 | 154 | ... | ... |
| ... | ... | @@ -111,37 +111,37 @@ |
| 111 | 111 | <uni-list-item title="件重条头"> |
| 112 | 112 | <template v-slot:footer> |
| 113 | 113 | <uni-easyinput type="textarea" v-model="form.pieceWeightHeader" placeholder="请输入件重条头" |
| 114 | - :inputBorder="false" :disabled="!canEditQualityFields"/> | |
| 114 | + :inputBorder="false" :disabled="!canEditQualityFields" maxlength="200" /> | |
| 115 | 115 | </template> |
| 116 | 116 | </uni-list-item> |
| 117 | 117 | <uni-list-item title="表面"> |
| 118 | 118 | <template v-slot:footer> |
| 119 | - <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入表面" :inputBorder="false" :disabled="!canEditQualityFields" /> | |
| 119 | + <uni-easyinput type="textarea" v-model="form.surface" placeholder="请输入表面" :inputBorder="false" :disabled="!canEditQualityFields" maxlength="200" /> | |
| 120 | 120 | </template> |
| 121 | 121 | </uni-list-item> |
| 122 | 122 | <uni-list-item title="公差"> |
| 123 | 123 | <template v-slot:footer> |
| 124 | - <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入公差" :inputBorder="false" :disabled="!canEditQualityFields" /> | |
| 124 | + <uni-easyinput type="textarea" v-model="form.tolerance" placeholder="请输入公差" :inputBorder="false" :disabled="!canEditQualityFields" maxlength="200" /> | |
| 125 | 125 | </template> |
| 126 | 126 | </uni-list-item> |
| 127 | 127 | <uni-list-item title="性能"> |
| 128 | 128 | <template v-slot:footer> |
| 129 | - <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入性能" :inputBorder="false" :disabled="!canEditQualityFields" /> | |
| 129 | + <uni-easyinput type="textarea" v-model="form.performance" placeholder="请输入性能" :inputBorder="false" :disabled="!canEditQualityFields" maxlength="200" /> | |
| 130 | 130 | </template> |
| 131 | 131 | </uni-list-item> |
| 132 | 132 | <uni-list-item title="成分"> |
| 133 | 133 | <template v-slot:footer> |
| 134 | - <uni-easyinput type="textarea" v-model="form.element" placeholder="请输入成分" :inputBorder="false" :disabled="!canEditQualityFields" /> | |
| 134 | + <uni-easyinput type="textarea" v-model="form.element" placeholder="请输入成分" :inputBorder="false" :disabled="!canEditQualityFields" maxlength="200" /> | |
| 135 | 135 | </template> |
| 136 | 136 | </uni-list-item> |
| 137 | 137 | <uni-list-item title="包装"> |
| 138 | 138 | <template v-slot:footer> |
| 139 | - <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入包装" :inputBorder="false" :disabled="!canEditQualityFields" /> | |
| 139 | + <uni-easyinput type="textarea" v-model="form.packaging" placeholder="请输入包装" :inputBorder="false" :disabled="!canEditQualityFields" maxlength="200" /> | |
| 140 | 140 | </template> |
| 141 | 141 | </uni-list-item> |
| 142 | 142 | <uni-list-item title="备注"> |
| 143 | 143 | <template v-slot:footer> |
| 144 | - <uni-easyinput type="textarea" v-model="form.remarks" placeholder="请输入备注" :inputBorder="false" /> | |
| 144 | + <uni-easyinput type="textarea" v-model="form.remarks" placeholder="请输入备注" :inputBorder="false" maxlength="200" /> | |
| 145 | 145 | </template> |
| 146 | 146 | </uni-list-item> |
| 147 | 147 | <view class="footer"> | ... | ... |
| ... | ... | @@ -424,10 +424,6 @@ export default { |
| 424 | 424 | delete d.code |
| 425 | 425 | // 清空明细行的 id 和 itemId |
| 426 | 426 | const lineList = Array.isArray(d.quotationLineList) ? d.quotationLineList : (Array.isArray(d.salesmanQuotationLineList) ? d.salesmanQuotationLineList : []) |
| 427 | - lineList.forEach(it => { | |
| 428 | - delete it.id | |
| 429 | - delete it.itemId | |
| 430 | - }) | |
| 431 | 427 | const materialFields = this.materialConditionConfigs.map(mc => mc.field) |
| 432 | 428 | materialFields.forEach(f => { |
| 433 | 429 | const v = d[f] |
| ... | ... | @@ -585,13 +581,12 @@ export default { |
| 585 | 581 | } |
| 586 | 582 | const lines = (this.productLineList || []).map(it => { |
| 587 | 583 | const c = clean(it) |
| 588 | - delete c.id | |
| 589 | - delete c.itemId | |
| 590 | - return c | |
| 584 | + return c | |
| 591 | 585 | }) |
| 592 | 586 | const materialFields = this.materialConditionConfigs.map(mc => mc.field) |
| 593 | - const formCopy = { ...this.form } | |
| 594 | - delete formCopy.id | |
| 587 | + const formCopy = { ...this.form, id: this.sourceId } | |
| 588 | + delete formCopy.approvalStatus | |
| 589 | + delete formCopy.status; | |
| 595 | 590 | materialFields.forEach(f => { |
| 596 | 591 | const arr = formCopy[f] |
| 597 | 592 | formCopy[f] = Array.isArray(arr) ? arr.join(',') : (arr || '') | ... | ... |