defeatOrder.wxml 29 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729
<!--tabWorkOrder/pages/defeatOrder/defeatOrder.wxml-->
<wxs src="../../index.wxs" module="filter" />
<block>
	<view
		class="main {{ isFullSucreen?'isFullSucreen':'' }} {{showTips?'fullSucreen-tips':'' }}"
		style="height:calc(100vh - {{ isFullSucreen? var(--fontSize211) : var(--fontSize143) }});"
	>
		<view class="createData">
			<view class="label">选择战败日期</view>
			<calendar
				id="calender"
				class="calendar"
				allowSameDay
				shortcut
				bindselect="rangeSelect"
				rangeAll
				dateType="single"
				calenderColor="#347BFF"
				vertical
				minDate="2020-10-01"
				maxDate="{{ dateObj.maxDate }}"
				isComponents
			>
				<view class="calendarItem text-center dateNum">
					{{dateObj.todayShow}}
					<image class="solidArrow" src="https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/images/arrSolid.png" />
				</view>
			</calendar>
		</view>
		<view class="box">
			<scroll-view scroll-y class="list" scroll-into-view="{{ toView }}" style="height:100%">
				<view class="seller_box">
					<view class="employeeBox">
						<gl-cell
							border
							valueAlign="right"
							label="销售顾问"
							requiredAfter
							labelWidth="var(--fontSize140)"
							required
							haveArrow
							bindclick="showPopup"
							data-show-name="selesBox"
							placeholder="点击选择"
							disabled="{{ orderObj.orderSource == 5 }}"
						>
							<block wx:if="{{ orderObj.merchantName && orderObj.employeeName }}">
								<view class="between">
									<view class="start text-hide">{{orderObj.merchantName}}</view>
									<view class="end text-hide">
										<text>|</text>
										{{orderObj.employeeName}}
									</view>
								</view>
							</block>
						</gl-cell>
					</view>
					<view class="subShopMerchantId" wx:if="{{ isShowSubShopMerchant }}">
						<gl-cell
							border
							valueAlign="right"
							label="二级流量方"
							requiredAfter
							labelWidth="var(--fontSize180)"
							required
							haveArrow
							bindclick="showPopup"
							data-show-name="subShopMerchantBox"
							placeholder="点击选择"
						>
							<block wx:if="{{ orderObj.subShopMerchantName }}">
								<view class="between">{{orderObj.subShopMerchantName}}</view>
							</block>
						</gl-cell>
					</view>
					<view class="sellerUserId">
						<gl-cell
							border
							valueAlign="right"
							label="转化人员"
							requiredAfter
							labelWidth="var(--fontSize140)"
							required
							haveArrow
							placeholder="点击选择"
							bindclick="showPopup"
							data-show-name="salesmanBox"
						>
							<block wx:if="{{ orderObj.sellerMerchantName && orderObj.sellerName }}">
								<view class="between">
									<view class="start text-hide">{{orderObj.sellerMerchantName}}</view>
									<view class="end text-hide">
										<text>|</text>
										{{orderObj.sellerName}}
									</view>
								</view>
							</block>
						</gl-cell>
					</view>
				</view>
				<block wx:for="{{ notUpgradeOrderList }}" wx:for-item="li" wx:for-index="ind" wx:key="ind">
					<view
						style="{{ li.txtStyle }}"
						class="touch-item {{ li.isTouchMove ? 'touch-move-active' : '' }}"
						data-ind="{{ ind }}"
						data-index="{{ ind }}"
					>
						<view
							class="item content"
							data-ind="{{ ind }}"
							data-index="{{ ind }}"
							bindtouchstart="touchstart"
							bindtouchmove="touchmove"
							bindtouchend="touchE"
							data-name="{{ 'orderDetail' }}"
							data-item="{{ li }}"
						>
							<gl-cell
								border
								valueAlign="right"
								label="车主姓名"
								titleBtn="客户档案"
								bindtitleClick="showCustomPop"
								data-index="{{ ind }}"
								requiredAfter
								labelWidth="var(--fontSize290)"
								required
							>
								<input
									placeholder="点击输入"
									class="input"
									placeholder-class="placeholder-class"
									maxlength="16"
									value="{{ li.customer.customerName }}"
									bindinput="input"
									data-index="{{ ind }}"
									data-name="customer.customerName"
									always-embed
									disabled="{{ orderObj.orderSource == 5 }}"
								></input>
							</gl-cell>
							<gl-cell border label="性别" valueAlign="right" labelWidth="var(--fontSize140)">
								<view class="gender-box">
									<view class="block text-center {{ li.customer.customerSex==1?'':'right' }}" />
									<view
										class="male text-center {{ li.customer.customerSex == 1?'active':'' }}"
										bindtap="changeGender"
										data-index="{{ ind }}"
										data-gender="1"
									>男</view>
									<view
										class="woman text-center {{ li.customer.customerSex == 2?'active':'' }}"
										bindtap="changeGender"
										data-index="{{ ind }}"
										data-gender="2"
									>女</view>
								</view>
							</gl-cell>
							<gl-cell wx:if="{{ !phoneShow }}" border valueAlign="right" label="手机号" requiredAfter labelWidth="var(--fontSize140)" required>
								<input
									placeholder="点击输入"
									class="input"
									type="number"
									maxlength="11"
									placeholder-class="placeholder-class"
									value="{{ li.customer.customerPhone }}"
									bindinput="input"
									data-index="{{ ind }}"
									data-name="customer.customerPhone"
									always-embed
									disabled="{{ orderObj.orderSource == 5 }}"
								></input>
							</gl-cell>
							<gl-cell
								required="{{ isCarBrand }}"
								border
								valueAlign="right"
								label="选择车型"
								labelWidth="var(--fontSize140)"
								haveArrow
								requiredAfter
								placeholder="点击选择"
								bindclick="showPopup"
								data-show-name="carBrandBox"
								data-index="{{ ind }}"
							>
								<block wx:if="{{ li.customer.carSeriesName }}">
									<view class="between">{{li.customer.carBrand}}-{{li.customer.carChildsBrandName}}-{{li.customer.carSeriesName}}</view>
								</block>
							</gl-cell>
							<gl-cell
								wx:if="{{ orderObj.selectPayType !=0 }}"
								required="{{ isStandNo }}"
								border
								iconSrc="{{ scanIcon }}"
								bindtitleClick="navOcr"
								valueAlign="right"
								label="车架号( VIN )"
								requiredAfter
								data-type="standNo"
								labelWidth="var(--fontSize280)"
							>
								<input
									placeholder="点击输入"
									class="input"
									placeholder-class="placeholder-class"
									value="{{ li.customer.standNo }}"
									bindinput="input"
									data-name="customer.standNo"
									data-index="{{ ind }}"
									maxlength="17"
									always-embed
								></input>
							</gl-cell>
							<gl-cell
								wx:if="{{ orderObj.selectPayType !=0 }}"
								required="{{ isPlateNumber }}"
								border
								valueAlign="right"
								iconSrc="{{ scanIcon }}"
								bindtitleClick="navOcr"
								data-type="plateNumber"
								label="车牌号"
								requiredAfter
								labelWidth="var(--fontSize240)"
							>
								<input
									placeholder="点击输入"
									class="input"
									placeholder-class="placeholder-class"
									value="{{ li.customer.plateNumber }}"
									bindinput="input"
									data-name="customer.plateNumber"
									data-index="{{ ind }}"
									maxlength="8"
									always-embed
								></input>
							</gl-cell>
							<view class="goods_box" wx:if="{{ !isExpiredTraffic }}">
								<view
									class="label"
									style="margin-bottom: {{ !frontGearArr.length && !sideRearGearArr.length && !skylightArr.length ? 'var(--fontSize40)' : '' }};"
								>
									请选择产品
									<text class="required">*</text>
								</view>
								<block wx:if="{{ frontGearArr.length }}">
									<gl-cell
										border
										valueAlign="right"
										label="前挡"
										logoSrc="{{ windshield }}"
										labelWidth="var(--fontSize140)"
										haveArrow
										placeholder="点击选择"
										bindclick="showPopup"
										data-show-name="goodsBox"
										data-index="{{ ind }}"
										data-type="1"
									/>
									<block wx:if="{{ li.subOrderList.length > 0 }}">
										<view class="goods-box">
											<block wx:for="{{ li.subOrderList }}" wx:key="index">
												<!-- 前挡 -->
												<view class="goods" wx:if="{{ filter.filterIncludes((item.merchantGoodsPosition || item.upgradeGoodsPosition), [1]) }}">
													<view class="name_box">
														<view class="name text-hide">
															{{filter.replaceItemText(item.upgradeGoodsAlias) ||filter.replaceItemText(item.upgradeGoodsName) || filter.replaceItemText(item.goodsInfo.goodsName)}}
														</view>
													</view>
													<view class="bottom_box">
														<!-- merchantGoodsPosition商品列表部位字段 upgradeGoodsPosition订单详情部位字段 -->
														<view
															class="position"
															wx:if="{{ item.merchantGoodsPosition || item.upgradeGoodsPosition }}"
														>{{filter.formatPosition((item.merchantGoodsPosition || item.upgradeGoodsPosition), positionTypeList)}}</view>
														<view
															class="position red_text"
															wx:if="{{ (item.goodsInfo.goodsType == 1 || item.upgradeGoodsType == 1 || item.goodsInfo.goodsType == baseConfigData.selfBuildFilmType || item.upgradeGoodsType == baseConfigData.selfBuildFilmType) && !item.merchantGoodsPosition && !item.upgradeGoodsPosition }}"
														>无部位属性</view>
														<view class="position" wx:else></view>
														<view class="price_count">
															<view class="price">
																<text>¥</text>
																<input
																	type="digit"
																	value="{{ item.price }}"
																	disabled="{{ true }}"
																	data-item="{{ item }}"
																	bindblur="priceBlur"
																	data-index="{{ index }}"
																	class="disabled"
																	always-embed
																/>
															</view>
															<view class="count" catchtap="showPopup" data-show-name="goodsBox" data-index="{{ ind }}" data-type="1">x{{item.count}}</view>
														</view>
													</view>
													<view class="icon" bindtap="delGoodsList" data-index="{{ index }}" data-custom-index="{{ ind }}">
														<image src="../../images/del.png" />
													</view>
												</view>
											</block>
										</view>
									</block>
								</block>
								<block wx:if="{{ sideBeforeRearGearArr.length }}">
									<gl-cell
										border
										valueAlign="right"
										label="前侧窗玻璃"
										logoSrc="{{ tricorn }}"
										labelWidth="var(--fontSize180)"
										haveArrow
										placeholder="点击选择"
										bindclick="showPopup"
										data-show-name="goodsBox"
										data-index="{{ ind }}"
										data-type="2"
										data-positionnnum="2"
									/>
									<block wx:if="{{ li.subOrderList.length > 0 }}">
										<view class="goods-box">
											<block wx:for="{{ li.subOrderList }}" wx:key="index">
												<!-- 前侧窗玻璃 -->
												<view class="goods" wx:if="{{ filter.filterIncludes((item.merchantGoodsPosition || item.upgradeGoodsPosition), [2]) }}">
													<view class="name_box">
														<view class="name text-hide">
															{{filter.replaceItemText(item.upgradeGoodsAlias) ||filter.replaceItemText(item.upgradeGoodsName) || filter.replaceItemText(item.goodsInfo.goodsName)}}
														</view>
													</view>
													<view class="bottom_box">
														<!-- merchantGoodsPosition商品列表部位字段 upgradeGoodsPosition订单详情部位字段 -->
														<view
															class="position"
															wx:if="{{ item.merchantGoodsPosition || item.upgradeGoodsPosition }}"
														>{{filter.formatPosition((item.merchantGoodsPosition || item.upgradeGoodsPosition), positionTypeList)}}</view>
														<view
															class="position red_text"
															wx:if="{{ (item.goodsInfo.goodsType == 1 || item.upgradeGoodsType == 1 || item.goodsInfo.goodsType == baseConfigData.selfBuildFilmType || item.upgradeGoodsType == baseConfigData.selfBuildFilmType) && !item.merchantGoodsPosition && !item.upgradeGoodsPosition }}"
														>无部位属性</view>
														<view class="position" wx:else></view>
														<view class="price_count">
															<view class="price">
																<text>¥</text>
																<input
																	type="digit"
																	value="{{ item.price }}"
																	disabled="{{ true }}"
																	data-item="{{ item }}"
																	data-index="{{ index }}"
																	class="disabled"
																	always-embed
																/>
															</view>
															<view class="count" catchtap="showPopup" data-show-name="goodsBox" data-index="{{ ind }}" data-type="2" data-positionnnum="2">x{{item.count}}</view>
														</view>
													</view>
													<view class="icon" bindtap="delGoodsList" data-index="{{ index }}" data-custom-index="{{ ind }}">
														<image src="../../images/del.png" />
													</view>
												</view>
											</block>
										</view>
									</block>
								</block>
								<block wx:if="{{ sideRearGearArr.length }}">
									<gl-cell
										border
										valueAlign="right"
										label="后侧窗玻璃"
										logoSrc="{{ sideIcorn }}"
										labelWidth="var(--fontSize180)"
										haveArrow
										placeholder="点击选择"
										bindclick="showPopup"
										data-show-name="goodsBox"
										data-index="{{ ind }}"
										data-type="2"
										data-positionnnum="3"
									/>
									<block wx:if="{{ li.subOrderList.length > 0 }}">
										<view class="goods-box">
											<block wx:for="{{ li.subOrderList }}" wx:key="index">
												<!-- 后侧窗玻璃 -->
												<view class="goods" wx:if="{{ filter.filterIncludes((item.merchantGoodsPosition || item.upgradeGoodsPosition), [3]) }}">
													<view class="name_box">
														<view class="name text-hide">
															{{filter.replaceItemText(item.upgradeGoodsAlias) ||filter.replaceItemText(item.upgradeGoodsName) || filter.replaceItemText(item.goodsInfo.goodsName)}}
														</view>
													</view>
													<view class="bottom_box">
														<!-- merchantGoodsPosition商品列表部位字段 upgradeGoodsPosition订单详情部位字段 -->
														<view
															class="position"
															wx:if="{{ item.merchantGoodsPosition || item.upgradeGoodsPosition }}"
														>{{filter.formatPosition((item.merchantGoodsPosition || item.upgradeGoodsPosition), positionTypeList)}}</view>
														<view
															class="position red_text"
															wx:if="{{ (item.goodsInfo.goodsType == 1 || item.upgradeGoodsType == 1 || item.goodsInfo.goodsType == baseConfigData.selfBuildFilmType || item.upgradeGoodsType == baseConfigData.selfBuildFilmType) && !item.merchantGoodsPosition && !item.upgradeGoodsPosition }}"
														>无部位属性</view>
														<view class="position" wx:else></view>
														<view class="price_count">
															<view class="price">
																<text>¥</text>
																<input
																	type="digit"
																	value="{{ item.price }}"
																	disabled="{{ true }}"
																	data-item="{{ item }}"
																	data-index="{{ index }}"
																	class="disabled"
																	always-embed
																/>
															</view>
															<view class="count" catchtap="showPopup" data-show-name="goodsBox" data-index="{{ ind }}" data-type="2" data-positionnnum="3">x{{item.count}}</view>
														</view>
													</view>
													<view class="icon" bindtap="delGoodsList" data-index="{{ index }}" data-custom-index="{{ ind }}">
														<image src="../../images/del.png" />
													</view>
												</view>
											</block>
										</view>
									</block>
								</block>
								<block wx:if="{{ sideAfterRearGearArr.length }}">
									<gl-cell
										border
										valueAlign="right"
										label="后档"
										logoSrc="{{ afterIcorn }}"
										labelWidth="var(--fontSize140)"
										haveArrow
										placeholder="点击选择"
										bindclick="showPopup"
										data-show-name="goodsBox"
										data-index="{{ ind }}"
										data-type="2"
										data-positionnnum="4"
									/>
									<block wx:if="{{ li.subOrderList.length > 0 }}">
										<view class="goods-box">
											<block wx:for="{{ li.subOrderList }}" wx:key="index">
												<!-- 后档 -->
												<view class="goods" wx:if="{{ filter.filterIncludes((item.merchantGoodsPosition || item.upgradeGoodsPosition), [4]) }}">
													<view class="name_box">
														<view class="name text-hide">
															{{filter.replaceItemText(item.upgradeGoodsAlias) ||filter.replaceItemText(item.upgradeGoodsName) || filter.replaceItemText(item.goodsInfo.goodsName)}}
														</view>
													</view>
													<view class="bottom_box">
														<!-- merchantGoodsPosition商品列表部位字段 upgradeGoodsPosition订单详情部位字段 -->
														<view
															class="position"
															wx:if="{{ item.merchantGoodsPosition || item.upgradeGoodsPosition }}"
														>{{filter.formatPosition((item.merchantGoodsPosition || item.upgradeGoodsPosition), positionTypeList)}}</view>
														<view
															class="position red_text"
															wx:if="{{ (item.goodsInfo.goodsType == 1 || item.upgradeGoodsType == 1 || item.goodsInfo.goodsType == baseConfigData.selfBuildFilmType || item.upgradeGoodsType == baseConfigData.selfBuildFilmType) && !item.merchantGoodsPosition && !item.upgradeGoodsPosition }}"
														>无部位属性</view>
														<view class="position" wx:else></view>
														<view class="price_count">
															<view class="price">
																<text>¥</text>
																<input type="digit" value="{{ item.price }}" disabled="{{ true }}" class="disabled" always-embed />
															</view>
															<view class="count" catchtap="showPopup" data-show-name="goodsBox" data-index="{{ ind }}" data-type="2" data-positionnnum="4">x{{item.count}}</view>
														</view>
													</view>
													<view class="icon" bindtap="delGoodsList" data-index="{{ index }}" data-custom-index="{{ ind }}">
														<image src="../../images/del.png" />
													</view>
												</view>
											</block>
										</view>
									</block>
								</block>
								<block wx:if="{{ skylightArr.length }}">
									<gl-cell
										border
										valueAlign="right"
										label="天窗"
										logoSrc="{{ skylight }}"
										labelWidth="var(--fontSize140)"
										haveArrow
										placeholder="点击选择"
										bindclick="showPopup"
										data-show-name="goodsBox"
										data-index="{{ ind }}"
										data-type="3"
									/>
									<block wx:if="{{ li.subOrderList.length > 0 }}">
										<view class="goods-box">
											<block wx:for="{{ li.subOrderList }}" wx:key="index">
												<!-- 天窗 -->
												<view class="goods" wx:if="{{ filter.filterIncludes((item.merchantGoodsPosition || item.upgradeGoodsPosition), [5, 6, 7]) }}">
													<view class="name_box">
														<view class="name text-hide">
															{{filter.replaceItemText(item.upgradeGoodsAlias) ||filter.replaceItemText(item.upgradeGoodsName) || filter.replaceItemText(item.goodsInfo.goodsName)}}
														</view>
													</view>
													<view class="bottom_box">
														<!-- merchantGoodsPosition商品列表部位字段 upgradeGoodsPosition订单详情部位字段 -->
														<view
															class="position"
															wx:if="{{ item.merchantGoodsPosition || item.upgradeGoodsPosition }}"
														>{{filter.formatPosition((item.merchantGoodsPosition || item.upgradeGoodsPosition), positionTypeList)}}</view>
														<view
															class="position red_text"
															wx:if="{{ (item.goodsInfo.goodsType == 1 || item.upgradeGoodsType == 1 || item.goodsInfo.goodsType == baseConfigData.selfBuildFilmType || item.upgradeGoodsType == baseConfigData.selfBuildFilmType) && !item.merchantGoodsPosition && !item.upgradeGoodsPosition }}"
														>无部位属性</view>
														<view class="position" wx:else></view>
														<view class="price_count">
															<view class="price">
																<text>¥</text>
																<input type="digit" value="{{ item.price }}" disabled="{{ true }}" class="disabled" always-embed />
															</view>
															<view class="count" catchtap="showPopup" data-show-name="goodsBox" data-index="{{ ind }}" data-type="3">x{{item.count}}</view>
														</view>
													</view>
													<view class="icon" bindtap="delGoodsList" data-index="{{ index }}" data-custom-index="{{ ind }}">
														<image src="../../images/del.png" />
													</view>
												</view>
											</block>
										</view>
									</block>
								</block>
								<gl-cell
									border
									valueAlign="right"
									label="其它精品"
									labelWidth="var(--fontSize140)"
									haveArrow
									placeholder="点击选择"
									bindclick="showPopup"
									data-show-name="goodsBox"
									data-positionnnum="other"
									data-type="4"
									data-index="{{ ind }}"
								/>
								<!-- 其它精品 -->
								<block wx:if="{{ li.subOrderList.length > 0 }}">
									<view class="goods-box">
										<block wx:for="{{ li.subOrderList }}" wx:key="index">
											<block>
												<view class="goods" wx:if="{{ item.otherFlag }}">
													<view class="name_box">
														<view class="name text-hide">
															{{filter.replaceItemText(item.goodsAlias) ||filter.replaceItemText(item.upgradeGoodsName) || filter.replaceItemText(item.goodsInfo.goodsName)}}
														</view>
													</view>
													<view class="bottom_box">
														<!-- merchantGoodsPosition商品列表部位字段 upgradeGoodsPosition订单详情部位字段 -->
														<view
															class="position"
															wx:if="{{ item.merchantGoodsPosition || item.upgradeGoodsPosition }}"
														>{{filter.formatPosition((item.merchantGoodsPosition || item.upgradeGoodsPosition), positionTypeList)}}</view>
														<view
															class="position red_text"
															wx:if="{{ (item.goodsInfo.goodsType == 1 || item.upgradeGoodsType == 1) && !item.merchantGoodsPosition && !item.upgradeGoodsPosition }}"
														>无部位属性</view>
														<view class="position" wx:else>{{item.goodsInfo.goodsTypeName || item.upgradeGoodsTypeName}}</view>
														<view class="price_count">
															<view class="price">
																<text>¥</text>
																<input type="digit" value="{{ item.price }}" disabled="{{ true }}" class="disabled" always-embed />
															</view>
															<view
																class="count"
																catchtap="showPopup"
																data-show-name="goodsBox"
																data-positionnnum="other"
																data-type="4"
																data-index="{{ ind }}"
															>x{{item.count}}</view>
														</view>
													</view>
													<view class="icon" bindtap="delGoodsList" data-index="{{ index }}" data-custom-index="{{ ind }}">
														<image src="../../images/del.png" />
													</view>
												</view>
											</block>
											<block wx:if="{{ item.multipleSpecificationsGoods }}">
												<view class="goods">
													<view class="name_box">
														<view class="name text-hide alias" wx:if="{{ item.multipleSpecificationsGoods.goodsAlias }}">商品别名:{{item.multipleSpecificationsGoods.goodsAlias}}</view>
														<view class="name text-hide">{{item.multipleSpecificationsGoods.baseGoodsName}}</view>
													</view>
													<view class="bottom_box">
														<view class="position" wx:if="{{ item.multipleSpecificationsGoods.specificationStr }}">{{item.multipleSpecificationsGoods.specificationStr}}</view>
														<view class="price_count">
															<view class="price">
																<text>¥</text>
																<input
																	type="digit"
																	value="{{ item.multipleSpecificationsGoods.price }}"
																	disabled="{{ true }}"
																	data-item="{{ item }}"
																	bindblur="priceBlur"
																	data-index="{{ index }}"
																	class="{{ item.multipleSpecificationsGoods.errorTarget && (orderObj.selectPayType !=0) ? 'error':'' }} 'disabled'"
																	always-embed
																/>
															</view>
															<view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="4" data-positionnnum="other">x{{item.count}}</view>
														</view>
													</view>
													<view class="icon" bindtap="delGoodsList" data-index="{{ index }}">
														<image src="../../images/del.png" />
													</view>
												</view>
											</block>
										</block>
									</view>
								</block>
							</view>
							<!-- required="{{ experienceFlag }}" requiredAfter -->
							<gl-cell wx:if="{{ experienceFlag && !isExpiredTraffic }}" border label="是否体验" valueAlign="right" labelWidth="var(--fontSize140)">
								<view class="gender-box">
									<view class="block text-center {{ li.customer.experienceFlag=='Y'?'':'right' }}" />
									<view
										class="male text-center {{ li.customer.experienceFlag == 'Y'?'active':'' }}"
										bindtap="changeExperience"
										data-index="{{ ind }}"
										data-experience="Y"
									>是</view>
									<view
										class="woman text-center {{ li.customer.experienceFlag == 'N'?'active':'' }}"
										bindtap="changeExperience"
										data-index="{{ ind }}"
										data-experience="N"
									>否</view>
								</view>
							</gl-cell>
							<view class="remarkCon" wx:if="{{ refusalReason }}">
								<view class="title">
									车主拒升理由
									<text class="requiredStar" wx:if="{{ refusalReason }}">*</text>
								</view>
								<view class="textarea">
									<gl-textarea
										focus="{{ li.focus }}"
										data-liindex="{{ ind }}"
										value="{{ li.customer.refusalReason }}"
										bindinput="blur"
										bindblur="blur"
										maxlength="100"
										placeholder="请输入内容,最多30个字"
									/>
								</view>
								<view class="shortcut-list">
									<block wx:for="{{ li.shortcutList }}" wx:key="idx" wx:for-index="idx" wx:for-item="itemName">
										<view class="shortcut" bindtap="chooseShortcut" data-item="{{ itemName }}" data-index="{{ idx }}" data-liindex="{{ ind }}">{{itemName.confValue}}</view>
									</block>
								</view>
							</view>
						</view>
						<view
							wx:if="{{ !li['confirmIndex'] }}"
							class="del"
							catchtap="delBtn"
							data-ind="{{ ind }}"
							data-item="{{ li }}"
							data-index="{{ index }}"
						>
							<view>删除</view>
						</view>
					</view>
				</block>
				<!-- 待根据不显示 -->
				<view class="addBtn" bindtap="addUserItem" id="addBtn" wx:if="{{ notUpgradeOrderList.length < 10 && !orderObj.orderCode }}">
					<!-- <image class="addIcon" src="../../images/addIcon.png" mode="scaleToFill|aspectFit|aspectFill|widthFix" /> -->
					<image class="addIcon" src="{{ IMG_URL }}/miniProgram/iconBoldPlus.png" />
					<text class="text">新增客户<text class="customerNum">(已有{{notUpgradeOrderList.length?notUpgradeOrderList.length:''}}个)</text></text>
				</view>
			</scroll-view>
		</view>
	</view>
</block>
<view class="btns {{ isFullSucreen?'isFullSucreen-btn':'' }}">
	<tips-bottom style="width: 100%;box-sizing: border-box;" tipsProps="{{ tipsProps }}" />
	<view class="btns-con">
		<view class="confirm save text-center" bindtap="submit" data-type="success">战败下单</view>
	</view>
</view>
<merchant-seles
	show="{{ selesBox }}"
	title="选择合作门店"
	sub-title="选择销售顾问"
	orderObj="{{ orderObj }}"
	userInfo="{{ userInfo }}"
	singleSeller="{{ true }}"
	type="1"
	scene="1"
/>
<car-brands
	show="{{ carBrandBox }}"
	bindconfirm="chooseCar"
	carSeriesId="{{ notUpgradeOrderList[selectCustomIndex].customer.carSeriesId || '' }}"
	merchantId="{{ orderObj.merchantId || undefined }}"
/>
<merchant-seles
	show="{{ salesmanBox }}"
	isDefault="{{ isDefault }}"
	title="选择园区店"
	sub-title="选择转化人员"
	userInfo="{{ userInfo }}"
	type="2"
	scene="1"
/>
<goods
	show="{{ goodsBox }}"
	bindconfirm="chooseGoods"
	goodsData="{{ goodsData }}"
	chooseGoodsList="{{ notUpgradeOrderList[selectCustomIndex].subOrderList || [] }}"
	isSolarFilm="{{ true }}"
	baseConfigData="{{ baseConfigData }}"
/>
<customerInfo show="{{ customerInfoBox }}" bindconfirm="chooseCustomerInfo" bindcancel="onCustomerInfoCancel" />
<sub-shop-merchant
	show="{{ subShopMerchantBox }}"
	title="选择二级流量方"
	selectedSelesMerchantId="{{ orderObj.merchantId }}"
	selectedCustomerInfo="{{ orderObj.customer.customerId || '' }}"
	selectedSubShopMerchantId="{{ orderObj.subShopMerchantId || '' }}"
/>
<study-permission-modal id="customModal" />